Evas GL: Fix support for the SW engines (OSMesa)
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 14 Oct 2015 10:42:49 +0000 (19:42 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 14 Oct 2015 11:14:51 +0000 (20:14 +0900)
commit425265ca6d1d926081155d0f23a8d801b5ff56d4
treee65eedf0b2ce282bbdbdd227b5b83307daf7a6e4
parent045f774c2772bf7fc0b5380051e35c671bdef6be
Evas GL: Fix support for the SW engines (OSMesa)

Since @raster changed the behaviour of the dirty flag on images,
damages must be added to redraw the GL surface. Evas_Image checks
if it is an Evas GL surface by looking at its native surface.
But in case of SW engine, there was no native surface information
for Evas GL surfaces. Also, the OPENGL surface type was awfully
abused for OSMesa support. Luckily EVASGL surface type lets us
pass arbitrary pointers :)
src/modules/evas/engines/software_generic/evas_engine.c
src/modules/evas/engines/software_x11/evas_engine.c