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

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

Issue 17176027: Add gpu command buffer support for loseContextCHROMIUM (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch 2 Created 7 years, 6 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 baf8bbb56aac528317bed8fa973f0ea15a1f1b4f..e383e5f74f9cee4f3a5f7b52f0d597718da071e3 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
@@ -125,6 +125,8 @@ class WebGraphicsContext3DCommandBufferImpl
virtual void signalSyncPoint(unsigned sync_point,
WebGraphicsSyncPointCallback* callback);
+ virtual void loseContextCHROMIUM(WGC3Denum current, WGC3Denum other);
+
virtual void reshape(int width, int height);
virtual void reshapeWithScaleFactor(
int width, int height, float scale_factor);

Powered by Google App Engine
This is Rietveld 408576698