compositor: Move surface color state to gles2-renderer.
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>
Tue, 13 Nov 2012 18:10:23 +0000 (19:10 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 13 Nov 2012 22:01:59 +0000 (17:01 -0500)
commit878f44969d44e8a8f3108ab3f613e761d1644e56
treeaf76202bd32637e5466c4dad189631a9e709f2c1
parentf9e710b57c9b21638431fbfec6cf45a40bdf1b57
compositor: Move surface color state to gles2-renderer.

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.
src/compositor.c
src/compositor.h
src/gles2-renderer.c
src/noop-renderer.c