diff options
author | ccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-28 13:05:26 +0000 |
---|---|---|
committer | ccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-28 13:05:26 +0000 |
commit | bc390f12b3be83a0698fae361e7c47dbf4270661 (patch) | |
tree | 84ebd168ffc18ccc587397fd7ca07284b3fd7a1c /ppapi/proxy/ppapi_command_buffer_proxy.h | |
parent | cf54fa5cba06f2d2468ee20cb019b0bfb2f7722b (diff) | |
download | chromium_src-bc390f12b3be83a0698fae361e7c47dbf4270661.zip chromium_src-bc390f12b3be83a0698fae361e7c47dbf4270661.tar.gz chromium_src-bc390f12b3be83a0698fae361e7c47dbf4270661.tar.bz2 |
Fix layering violation where content is included by gpu.
Make WebGraphicsContext3DCommandBufferImpl aways use CommandBufferProxyImpl
instead of the more abstract CommandBufferProxy. Then remove methods used
only by WebGraphicsContext3DCommandBufferImpl from CommandBufferProxy.
BUG=157175
Review URL: https://chromiumcodereview.appspot.com/11267035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164564 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppapi_command_buffer_proxy.h')
-rw-r--r-- | ppapi/proxy/ppapi_command_buffer_proxy.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/ppapi/proxy/ppapi_command_buffer_proxy.h b/ppapi/proxy/ppapi_command_buffer_proxy.h index d78ee87..716d3f3 100644 --- a/ppapi/proxy/ppapi_command_buffer_proxy.h +++ b/ppapi/proxy/ppapi_command_buffer_proxy.h @@ -32,22 +32,9 @@ class PPAPI_PROXY_EXPORT PpapiCommandBufferProxy : public CommandBufferProxy { // CommandBufferProxy implementation: virtual int GetRouteID() const OVERRIDE; virtual bool Echo(const base::Closure& callback) OVERRIDE; - virtual bool SetSurfaceVisible(bool visible) OVERRIDE; - virtual bool DiscardBackbuffer() OVERRIDE; - virtual bool EnsureBackbuffer() OVERRIDE; - virtual uint32 InsertSyncPoint() OVERRIDE; - virtual void WaitSyncPoint(uint32 sync_point) OVERRIDE; - virtual bool SignalSyncPoint(uint32 sync_point, - const base::Closure& callback) OVERRIDE; - virtual void SetMemoryAllocationChangedCallback( - const base::Callback<void( - const content::GpuMemoryAllocationForRenderer&)>& callback) OVERRIDE; virtual bool SetParent(CommandBufferProxy* parent_command_buffer, uint32 parent_texture_id) OVERRIDE; virtual void SetChannelErrorCallback(const base::Closure& callback) OVERRIDE; - virtual void SetNotifyRepaintTask(const base::Closure& callback) OVERRIDE; - virtual void SetOnConsoleMessageCallback( - const GpuConsoleMessageCallback& callback) OVERRIDE; // gpu::CommandBuffer implementation: virtual bool Initialize(); |