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

Unified Diff: webkit/common/gpu/context_provider_in_process.h

Issue 226423002: Merge 261120 "gpu: Lose context when BeginQueryEXT fails to allo..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1916/src/
Patch Set: Created 6 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
« no previous file with comments | « ui/compositor/test/in_process_context_factory.cc ('k') | webkit/common/gpu/context_provider_in_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/gpu/context_provider_in_process.h
===================================================================
--- webkit/common/gpu/context_provider_in_process.h (revision 261815)
+++ webkit/common/gpu/context_provider_in_process.h (working copy)
@@ -26,9 +26,9 @@
scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl> context3d,
const std::string& debug_name);
- // Calls Create() with a default factory method for creating an offscreen
- // context.
- static scoped_refptr<ContextProviderInProcess> CreateOffscreen();
+ // Uses default attributes for creating an offscreen context.
+ static scoped_refptr<ContextProviderInProcess> CreateOffscreen(
+ bool lose_context_when_out_of_memory);
virtual blink::WebGraphicsContext3D* WebContext3D() OVERRIDE;
« no previous file with comments | « ui/compositor/test/in_process_context_factory.cc ('k') | webkit/common/gpu/context_provider_in_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698