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

Unified Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

Issue 9609008: Implemented Browser Plugin (NOT FOR REVIEW) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Merged with Tip-of-Tree Created 8 years, 9 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
Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
index 31a5c81ffcb8409aff3777df119e129fde743276..8cad78161144b74986bca52039461d5811916b68 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
@@ -77,6 +77,8 @@ class WebGraphicsContext3DCommandBufferImpl
virtual int width();
virtual int height();
+ virtual void playDead();
+
virtual bool isGLES2Compliant();
virtual bool setParentContext(WebGraphicsContext3D* parent_context);
@@ -535,6 +537,7 @@ class WebGraphicsContext3DCommandBufferImpl
WebKit::WebGraphicsContext3D::Attributes attributes_;
gfx::GpuPreference gpu_preference_;
int cached_width_, cached_height_;
+ bool dead_;
// For tracking which FBO is bound.
WebGLId bound_fbo_;

Powered by Google App Engine
This is Rietveld 408576698