Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1064)

Unified Diff: content/renderer/pepper/pepper_platform_context_3d_impl.h

Issue 9580030: Inform webkit when PPAPI plugin contents are opaque. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix is_opaque Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/renderer/pepper/pepper_platform_context_3d_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_platform_context_3d_impl.h
diff --git a/content/renderer/pepper/pepper_platform_context_3d_impl.h b/content/renderer/pepper/pepper_platform_context_3d_impl.h
index 627d0dce3797211937370806db3709d6ecb014f9..4f5112c191470c466152208ad2618af7d3ca4356 100644
--- a/content/renderer/pepper/pepper_platform_context_3d_impl.h
+++ b/content/renderer/pepper/pepper_platform_context_3d_impl.h
@@ -33,6 +33,7 @@ class PlatformContext3DImpl
virtual bool Init(const int32* attrib_list) OVERRIDE;
virtual unsigned GetBackingTextureId() OVERRIDE;
+ virtual bool IsOpaque() OVERRIDE;
virtual gpu::CommandBuffer* GetCommandBuffer() OVERRIDE;
virtual int GetCommandBufferRouteId() OVERRIDE;
virtual void SetContextLostCallback(const base::Closure& callback) OVERRIDE;
@@ -47,6 +48,7 @@ class PlatformContext3DImpl
base::WeakPtr<ContentGLContext> parent_context_;
scoped_refptr<GpuChannelHost> channel_;
unsigned int parent_texture_id_;
+ bool has_alpha_;
CommandBufferProxy* command_buffer_;
base::Closure context_lost_callback_;
base::WeakPtrFactory<PlatformContext3DImpl> weak_ptr_factory_;
« no previous file with comments | « no previous file | content/renderer/pepper/pepper_platform_context_3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698