summaryrefslogtreecommitdiff
path: root/src/noop-renderer.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-21Add a weston_buffer structure to replace wl_bufferJason Ekstrand1-1/+1
This commit adds a weston_buffer structure to replace wl_buffer. This way we can hold onto buffers by just their resource. In order to do this, the every renderer.attach function has to fill in the weston_buffer.width and weston_buffer.height fields. Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
2013-06-05configure.ac: Enable AC_USE_SYSTEM_EXTENSIONSDaniel Stone1-1/+1
AC_USE_SYSTEM_EXTENSIONS enables _XOPEN_SOURCE, _GNU_SOURCE and similar macros to expose the largest extent of functionality supported by the underlying system. This is required since these macros are often limiting rather than merely additive, e.g. _XOPEN_SOURCE will actually on some systems hide declarations which are not part of the X/Open spec. Since this goes into config.h rather than the command line, ensure all source is consistently including config.h before anything else, including system libraries. This doesn't need to be guarded by a HAVE_CONFIG_H ifdef, which was only ever a hangover from the X.Org modular transition. Signed-off-by: Daniel Stone <daniel@fooishbar.org> [pq: rebased and converted more files]
2013-01-08renderer: introduce destroy callbackVasily Khoruzhick1-1/+2
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
2012-11-27noop-renderer: Remove unused variableKristian Høgsberg1-1/+0
2012-11-13compositor: Move surface color state to gles2-renderer.John Kåre Alsaker1-0/+14
This moves the surface color state into gles2-renderer. To do this it adds two new weston_renderer functions. create_surface to be able to create per-surface renderer state, and surface_set_color to set the color of a surface and changes it to a color surface.
2012-11-13compositor: Add a renderer function to read out pixelsJohn Kåre Alsaker1-0/+10
2012-11-08Add a headless backendAnder Conselvan de Oliveira1-0/+74
Add a headless backend and a noop renderer, mainly for testing purposes. Although no rendering is performed with this backend, this allow some of the code paths inside Weston and shm clients to be tested without any windowing system or any need for drm access.