mutter/cogl
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
..
driver cogl: Move data only used for upload out of CoglTexture 2009-12-02 22:03:07 +00:00
winsys build: Make COGL pass distcheck 2009-10-23 13:38:40 +01:00
cogl-bitmap-fallback.c Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-bitmap-pixbuf.c osx: CGBitmapContextCreate can't make 24bpp, alphaless offscreen pixmaps 2009-11-06 14:10:41 +00:00
cogl-bitmap-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-bitmap.c Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-bitmap.h docs: Documentation fixes for CoglBitmap 2009-11-19 13:56:47 +00:00
cogl-blend-string.c Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-blend-string.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-clip-stack.c cogl: deprecate cogl_draw_buffer API and replace with a cogl_framebuffer API 2009-11-26 19:33:14 +00:00
cogl-clip-stack.h [draw-buffers] First pass at overhauling Cogl's framebuffer management 2009-11-03 17:23:03 +00:00
cogl-color.c Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-color.h Whitespace fix for cogl-color.h 2009-11-19 13:56:47 +00:00
cogl-context.c cogl: deprecate cogl_draw_buffer API and replace with a cogl_framebuffer API 2009-11-26 19:33:14 +00:00
cogl-context.h cogl: deprecate cogl_draw_buffer API and replace with a cogl_framebuffer API 2009-11-26 19:33:14 +00:00
cogl-debug.c debug: remove the COGL_DEBUG=client-side-matrices option 2009-11-25 02:55:56 +00:00
cogl-debug.h debug: remove the COGL_DEBUG=client-side-matrices option 2009-11-25 02:55:56 +00:00
cogl-deprecated.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-enum-types.c.in Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-enum-types.h.in Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-feature-private.c cogl: Make it easier to add checks for GL extensions 2009-11-17 15:11:26 +00:00
cogl-feature-private.h cogl: Make it easier to add checks for GL extensions 2009-11-17 15:11:26 +00:00
cogl-fixed.c Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-fixed.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-framebuffer-private.h cogl: deprecate cogl_draw_buffer API and replace with a cogl_framebuffer API 2009-11-26 19:33:14 +00:00
cogl-framebuffer.c cogl: Use #ifdef GL around GL_TEXTURE_RECTANGLE_ARB 2009-12-02 21:59:58 +00:00
cogl-handle.h [cogl-texture] Split CoglTexture into an abstract class + CoglTexture2dSliced 2009-10-16 18:58:51 +01:00
cogl-internal.h Remove _cogl_flush_matrix_stacks from cogl-internal.h 2009-11-12 17:01:44 +00:00
cogl-journal-private.h [cogl-primitives] Split the journal out from cogl-primitives.c 2009-10-16 18:58:52 +01:00
cogl-journal.c cogl: deprecate cogl_draw_buffer API and replace with a cogl_framebuffer API 2009-11-26 19:33:14 +00:00
cogl-material-private.h [cogl-material] Adds cogl_material_copy() API 2009-11-24 17:58:22 +00:00
cogl-material.c cogl: Enable blending if a lighting colour is semi-transparent 2009-11-30 19:08:38 +00:00
cogl-material.h [cogl-material] Adds cogl_material_copy() API 2009-11-24 17:58:22 +00:00
cogl-matrix-mesa.c Remove a gtk-doc annotation 2009-12-02 11:37:13 +00:00
cogl-matrix-mesa.h docs: Remove non-gtk-doc annotations 2009-11-19 13:55:46 +00:00
cogl-matrix-private.h [debug] Adds a COGL_DEBUG=matrices debug option 2009-11-04 03:34:04 +00:00
cogl-matrix-stack.c cogl: deprecate cogl_draw_buffer API and replace with a cogl_framebuffer API 2009-11-26 19:33:14 +00:00
cogl-matrix-stack.h [matrix] Adds cogl_matrix_get_inverse API 2009-11-04 03:34:05 +00:00
cogl-matrix.c [matrix] Adds cogl_matrix_get_inverse API 2009-11-04 03:34:05 +00:00
cogl-matrix.h docs: Documentation fixes for CoglMatrix 2009-11-19 13:56:47 +00:00
cogl-offscreen.h cogl_offscreen: deprecate cogl_offscreen_ref/unref. 2009-11-26 19:33:13 +00:00
cogl-path.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-primitives.c primitives: Don't use dynamic arrays since VS2008 can't cope with them :-( 2009-11-27 15:24:09 +00:00
cogl-primitives.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.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-spans.c [cogl-spans] split out cogl-spans code from cogl-texture-2d-sliced 2009-10-16 18:58:52 +01:00
cogl-spans.h [cogl-spans] split out cogl-spans code from cogl-texture-2d-sliced 2009-10-16 18:58:52 +01:00
cogl-texture-2d-sliced-private.h cogl: Use a vtable for the texture backends instead of a type and switch 2009-11-25 13:47:28 +00:00
cogl-texture-2d-sliced.c cogl: Move data only used for upload out of CoglTexture 2009-12-02 22:03:07 +00:00
cogl-texture-driver.h cogl: Move data only used for upload out of CoglTexture 2009-12-02 22:03:07 +00:00
cogl-texture-private.h cogl: Move data only used for upload out of CoglTexture 2009-12-02 22:03:07 +00:00
cogl-texture.c cogl: Move data only used for upload out of CoglTexture 2009-12-02 22:03:07 +00:00
cogl-texture.h docs: Increase consistency in Cogl documentation 2009-11-19 14:19:59 +00:00
cogl-types.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-util.c [cogl] Removes the cogl-current-matrix abstraction 2009-10-20 12:32:50 +01:00
cogl-util.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-vertex-buffer-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-vertex-buffer.c cogl: deprecate cogl_draw_buffer API and replace with a cogl_framebuffer API 2009-11-26 19:33:14 +00:00
cogl-vertex-buffer.h docs: Increase consistency in Cogl documentation 2009-11-19 14:19:59 +00:00
cogl.c cogl: deprecate cogl_draw_buffer API and replace with a cogl_framebuffer API 2009-11-26 19:33:14 +00:00
cogl.h cogl: deprecate cogl_draw_buffer API and replace with a cogl_framebuffer API 2009-11-26 19:33:14 +00:00
cogl.pc.in Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
Makefile.am cogl: deprecate cogl_draw_buffer API and replace with a cogl_framebuffer API 2009-11-26 19:33:14 +00:00
stb_image.c Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00