diff options
author | Neil Roberts <neil@linux.intel.com> | 2012-03-19 14:18:25 +0000 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2012-03-19 14:47:49 +0000 |
commit | 5cf2c5762f23076ba27416570db9c6c912ac0e27 (patch) | |
tree | d88d5032af214958025800459ad7227516e77423 /doc | |
parent | 35e083303e86f52a4449104a012d535f7b1c017e (diff) |
Add cogl_framebuffer_read_pixels()
This adds a public convenience wrapper around
cogl_framebuffer_read_pixels_into_bitmap which allocates a temporary
CoglBitmap to read into the application's own buffer. This can only be
used for the 99% common case where the rowstride is exactly the
bpp*width and the source is the color buffer.
Reviewed-by: Robert Bragg <robert@linux.intel.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-sections.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-sections.txt b/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-sections.txt index 1907687a..ad3e0675 100644 --- a/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-sections.txt +++ b/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-sections.txt @@ -396,6 +396,7 @@ cogl_framebuffer_get_context cogl_framebuffer_clear cogl_framebuffer_clear4f cogl_framebuffer_read_pixels_into_bitmap +cogl_framebuffer_read_pixels <SUBSECTION> cogl_framebuffer_draw_primitive |