summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppb_graphics_3d_proxy.h
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-08 03:08:01 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-08 03:08:01 +0000
commitb096d03b3a3c42789371afde33de83b8b9c2f131 (patch)
treef59685dff742251844f4a56f26dfe2f026d628ed /ppapi/proxy/ppb_graphics_3d_proxy.h
parent26eee511db49e180162ce56f99dc330488140192 (diff)
downloadchromium_src-b096d03b3a3c42789371afde33de83b8b9c2f131.zip
chromium_src-b096d03b3a3c42789371afde33de83b8b9c2f131.tar.gz
chromium_src-b096d03b3a3c42789371afde33de83b8b9c2f131.tar.bz2
Move InsertSyncPoint to GLES2Interface
This is needed to allow Pepper to use mailboxes rather than parenting to integrate with the compositor. BUG=164095 Review URL: https://chromiumcodereview.appspot.com/12581004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186869 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_graphics_3d_proxy.h')
-rw-r--r--ppapi/proxy/ppb_graphics_3d_proxy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ppapi/proxy/ppb_graphics_3d_proxy.h b/ppapi/proxy/ppb_graphics_3d_proxy.h
index 493c489..f07d2c4 100644
--- a/ppapi/proxy/ppb_graphics_3d_proxy.h
+++ b/ppapi/proxy/ppb_graphics_3d_proxy.h
@@ -46,6 +46,7 @@ class Graphics3D : public PPB_Graphics3D_Shared {
virtual PP_Graphics3DTrustedState FlushSyncFast(
int32_t put_offset,
int32_t last_known_get) OVERRIDE;
+ virtual uint32_t InsertSyncPoint() OVERRIDE;
private:
class LockingCommandBuffer;
@@ -105,6 +106,7 @@ class PPB_Graphics3D_Proxy : public InterfaceProxy {
int32 id,
ppapi::proxy::SerializedHandle* transfer_buffer);
void OnMsgSwapBuffers(const HostResource& context);
+ void OnMsgInsertSyncPoint(const HostResource& context, uint32* sync_point);
// Renderer->plugin message handlers.
void OnMsgSwapBuffersACK(const HostResource& context,
int32_t pp_error);