mutter/cogl/driver/gl
Neil Roberts 5030356e0e cogl: Move data only used for upload out of CoglTexture
The CoglTexture struct previously contained some fields which are only
used to upload data such as the CoglBitmap and the source GL
format. These are now moved to a separate CoglTextureUploadData struct
which only exists for the duration of one of the cogl_texture_*_new
functions. In cogl-texture there are utility functions which operate
on this new struct rather than on CoglTexture directly.

Some of the fields that were previously stored in the CoglBitmap
struct are now copied to the CoglTexture such as the width, height,
format and internal GL format.

The rowstride was previously stored in CoglTexture and this was
publicly accessible with the cogl_texture_get_rowstride
function. However this doesn't seem to be a useful function because
there is no need to use the same rowstride again when uploading or
downloading new data. Instead cogl_texture_get_rowstride now just
calculates a suitable rowstride from the format and width of the
texture.
2009-12-02 22:03:07 +00:00
..
cogl-context-driver.c cogl: Make it easier to add checks for GL extensions 2009-11-17 15:11:26 +00:00
cogl-context-driver.h cogl: Use APIENTRY for GL function pointer declarations 2009-11-18 19:24:09 +00:00
cogl-defines.h.in cogl: Make it easier to add checks for GL extensions 2009-11-17 15:11:26 +00:00
cogl-feature-functions.h cogl: Use the GL_EXT_blend_{func,equation}_separate extensions 2009-11-17 18:06:31 +00:00
cogl-program.c cogl: Make it easier to add checks for GL extensions 2009-11-17 15:11:26 +00:00
cogl-program.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-shader-private.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-shader.c cogl: Make it easier to add checks for GL extensions 2009-11-17 15:11:26 +00:00
cogl-texture-driver.c cogl: Move data only used for upload out of CoglTexture 2009-12-02 22:03:07 +00:00
cogl.c cogl: Add the missing terminators for the arrays of feature functions 2009-11-18 13:23:10 +00:00
Makefile.am build: Add cogl-feature-functions.h to the dist 2009-11-18 14:43:46 +00:00