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

Unified Diff: content/renderer/pepper/ppb_graphics_3d_impl.cc

Issue 2251203006: Don't let Pepper GL create ES3 contexts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/ppb_graphics_3d_impl.cc
diff --git a/content/renderer/pepper/ppb_graphics_3d_impl.cc b/content/renderer/pepper/ppb_graphics_3d_impl.cc
index 01ef5f5dd7a2a2234b2f8556ee68b240f9f065db..7c59611d1341f3ebf9b9721f993f1fb922595ecc 100644
--- a/content/renderer/pepper/ppb_graphics_3d_impl.cc
+++ b/content/renderer/pepper/ppb_graphics_3d_impl.cc
@@ -249,6 +249,7 @@ bool PPB_Graphics3D_Impl::InitRaw(
gpu::gles2::ContextCreationAttribHelper attrib_helper = requested_attribs;
attrib_helper.should_use_native_gmb_for_backbuffer = use_image_chromium_;
+ attrib_helper.context_type = gpu::gles2::CONTEXT_TYPE_OPENGLES2;
gpu::CommandBufferProxyImpl* share_buffer = NULL;
if (share_context) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698