diff options
author | Robert Bragg <robert@linux.intel.com> | 2009-06-17 14:30:44 +0100 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2009-06-29 23:49:06 +0100 |
commit | 606fb8f56ffa3be522d1a3e1709c2f1986740f2e (patch) | |
tree | 84001fc17f3d4da1b4fd3b95521f85f58869b4fd /doc | |
parent | 3d79cfaba1a09c0e0ce3e1933478977af77da8f2 (diff) | |
download | cogl-606fb8f56ffa3be522d1a3e1709c2f1986740f2e.tar.gz |
[cogl] Adds cogl_read_pixels to replace direct use of glReadPixels
To allow for flushing of batched geometry within Cogl we can't support users
directly calling glReadPixels. glReadPixels is also awkward, not least
because it returns upside down image data.
All the unit tests have been swithed over and clutter_stage_read_pixels now
sits on top of this too.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/reference/cogl/cogl-sections.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/reference/cogl/cogl-sections.txt b/doc/reference/cogl/cogl-sections.txt index 623aa3e9..c28ab52f 100644 --- a/doc/reference/cogl/cogl-sections.txt +++ b/doc/reference/cogl/cogl-sections.txt @@ -68,6 +68,10 @@ cogl_set_source_color4ub cogl_set_source_color4f cogl_set_source_texture +<SUBSECTION> +CoglReadPixelsFlags +cogl_read_pixels + <SUBSECTION Standard> COGL_TYPE_ATTRIBUTE_TYPE COGL_TYPE_BUFFER_BIT |