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

Unified Diff: content/renderer/render_widget_fullscreen_pepper.cc

Issue 7669072: Use 3D graphics context shareResources flag to decide whether a context should share resources. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 4 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/renderer/render_widget_fullscreen_pepper.cc
===================================================================
--- content/renderer/render_widget_fullscreen_pepper.cc (revision 97282)
+++ content/renderer/render_widget_fullscreen_pepper.cc (working copy)
@@ -348,12 +348,13 @@
RendererGLContext::STENCIL_SIZE, 0,
RendererGLContext::SAMPLES, 0,
RendererGLContext::SAMPLE_BUFFERS, 0,
+ RendererGLContext::SHARE_RESOURCES, 0,
+ RendererGLContext::BIND_GENERATES_RESOURCES, 1,
piman 2011/08/26 23:18:57 I think this was false before (the default), do we
apatrick_chromium 2011/08/26 23:40:01 False referred to whether resource sharing was ena
piman 2011/08/27 00:40:42 This is for the full-screen "compositor" (which sc
RendererGLContext::NONE,
};
context_ = RendererGLContext::CreateViewContext(
host,
routing_id(),
- false,
NULL,
"GL_OES_packed_depth_stencil GL_OES_depth24",
attribs,

Powered by Google App Engine
This is Rietveld 408576698