diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-27 01:18:35 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-27 01:18:35 +0000 |
commit | 744e079897d430c91b18352c8e200bbeeadffe8b (patch) | |
tree | 2d75297b938cd2e21586455340240c5b9e88bf32 /content/renderer/pepper/ppb_graphics_3d_impl.h | |
parent | 7ba34a0114537b08164b4f44943ec5c25aac9417 (diff) | |
download | chromium_src-744e079897d430c91b18352c8e200bbeeadffe8b.zip chromium_src-744e079897d430c91b18352c8e200bbeeadffe8b.tar.gz chromium_src-744e079897d430c91b18352c8e200bbeeadffe8b.tar.bz2 |
Make *CommandBufferProxy* implement GpuControl
GpuControl is where we will pipe out-of-band stuff, that is currently done in
each of the WGC3D implementations, but we want to move down into
GLES2Implementation.
This is essentially just a refactoring, since the current GpuControl only deals
with GpuMemoryBuffer that's not available out-of-process, but we can then add
things like GenerateMailboxes, Ensure/DiscardBackbuffer or callback stuff on
top.
BUG=181120
R=dmichael@chromium.org, sievers@chromium.org
Review URL: https://codereview.chromium.org/24711002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225627 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/pepper/ppb_graphics_3d_impl.h')
-rw-r--r-- | content/renderer/pepper/ppb_graphics_3d_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/renderer/pepper/ppb_graphics_3d_impl.h b/content/renderer/pepper/ppb_graphics_3d_impl.h index 3e1c797..2ddeb86 100644 --- a/content/renderer/pepper/ppb_graphics_3d_impl.h +++ b/content/renderer/pepper/ppb_graphics_3d_impl.h @@ -55,6 +55,7 @@ class PPB_Graphics3D_Impl : public ppapi::PPB_Graphics3D_Shared { virtual ~PPB_Graphics3D_Impl(); // ppapi::PPB_Graphics3D_Shared overrides. virtual gpu::CommandBuffer* GetCommandBuffer() OVERRIDE; + virtual gpu::GpuControl* GetGpuControl() OVERRIDE; virtual int32 DoSwapBuffers() OVERRIDE; private: |