summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2013-04-04 20:25:42 +0100
committerRobert Bragg <robert@linux.intel.com>2013-04-30 16:39:31 +0100
commit816a5bc43764a3cbb6eda3a608ba71d528d66eb7 (patch)
tree0a94b68c4bcce232c2e7cf7702d12472cc411004 /doc
parentb01e0e6a487f6bb57265f2815d05d1596b3edbe1 (diff)
downloadcogl-816a5bc43764a3cbb6eda3a608ba71d528d66eb7.tar.gz
onscreen: Make the resize callback work the same as the frame callback
When adding the frame callback API in 70040166 we decided on a common idiom for adding callbacks which would return an opaque pointer representing the closure for the callback. This pointer can then be used to later remove the callback. The closure can also contain an optional callback to invoke when the user data parameter is destroyed. The resize callback didn't work this way and instead had an integer handle to identify the closure. This patch changes it to work the same way as the frame callback. Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit 33164c4b04d253ebe0ff41b12c1e90232c519274)
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-sections.txt6
1 files changed, 6 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 daead2c5..b923fd02 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
@@ -610,6 +610,12 @@ cogl_onscreen_add_frame_callback
cogl_onscreen_remove_frame_callback
<SUBSECTION>
+CoglOnscreenResizeCallback
+CoglOnscreenResizeClosure
+cogl_onscreen_add_resize_callback
+cogl_onscreen_remove_resize_callback
+
+<SUBSECTION>
cogl_onscreen_swap_buffers
cogl_onscreen_swap_region
cogl_onscreen_set_swap_throttled