summaryrefslogtreecommitdiff
path: root/cogl/cogl-texture-2d.c
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2011-12-19 19:26:44 +0000
committerRobert Bragg <robert@linux.intel.com>2012-02-08 17:00:25 +0000
commit99c651d2b4c5e713bcae260b850f1183e935e95c (patch)
tree05f38202d1cc4c19a44acf35ca8d1aa8f0acb0a8 /cogl/cogl-texture-2d.c
parent389198a0d50eb79cf5b134ca943cff4552ecb301 (diff)
downloadcogl-99c651d2b4c5e713bcae260b850f1183e935e95c.tar.gz
Move the add_swap_buffers_callback functions out of the winsys
Instead of having each winsys implement its own list of callbacks the list is now just attached directly to the CoglOnscreen using code in cogl-onscreen.c. The winsys's can invoke this list of callbacks by calling _cogl_onscreen_notify_swap_buffers(). All of the winsys's would probably have a very similar implementation for this anyway and I don't think it makes much sense to try and save the cost of a list pointer in the CoglOnscreen struct. Reviewed-by: Robert Bragg <robert@linux.intel.com>
Diffstat (limited to 'cogl/cogl-texture-2d.c')
0 files changed, 0 insertions, 0 deletions