Damien Lespiau 18d96005ec texture: Remove reading the texture data back in ::unrealize()
Reading back the texture data in unrealize does not seem like a
desirable feature any more, clutter has evolved a lot since it was
implemented.

What's wrong with it now:

  * It takes *a lot* of time to read the data back with glReadPixel(),
  * When several textures share the same CoglTexture, the same data can
    be read back multiple times,
  * If the underlying material uses multiple texture units, only the
    first one was copied back,
  * In ClutterCairoTexture, we end up having two separate copies of the
    data,
  * GL actually manages texture memory accross system/video memory
    for us!

For all the reasons above, let's get rid of the glReadPixel() in
Texture::unrealize()

Fixes: OHB#1842
2010-01-13 15:13:10 +00:00
..
2010-01-12 17:10:15 +00:00
2009-11-06 11:48:42 +00:00
2009-11-13 17:23:13 +00:00
2009-12-10 22:20:36 +00:00
2009-12-10 22:20:36 +00:00
2009-10-14 11:31:26 +01:00
2009-07-10 11:38:42 +01:00
2009-10-19 12:01:38 +01:00
2009-12-11 23:48:58 +00:00
2009-10-16 15:55:05 +01:00