summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2013-05-14 02:51:55 +0100
committerRobert Bragg <robert@linux.intel.com>2013-05-28 21:36:03 +0100
commit7b14b5e3dadd78c86c6063ace359b119b940609f (patch)
treea737bcd52e748967acf9346129715a89c25c08ff /doc
parentc08fe74cd0dd363e68b8019cad1f2954817ca4a3 (diff)
downloadcogl-7b14b5e3dadd78c86c6063ace359b119b940609f.tar.gz
poll: Add general way to hook into mainloop without fd
This adds a _cogl_poll_renderer_add_source() function that we can use within cogl to hook into the mainloop without necessarily having a file descriptor to poll. Since the intention is to use this to support polling for fence completions this also updates the CoglPollCheckCallback type to take a timeout pointer so sources can optionally update the timeout that will be passed to poll. Reviewed-by: Neil Roberts <neil@linux.intel.com> (cherry picked from commit 81c1ce0ffce4e75e08622e20848405987e00b3cc)
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions