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

Unified Diff: gpu/gles2_conform_support/egl/display.cc

Issue 7623001: Rename and document glCommandBufferEnableCHROMIUM (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix stuff 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: gpu/gles2_conform_support/egl/display.cc
diff --git a/gpu/gles2_conform_support/egl/display.cc b/gpu/gles2_conform_support/egl/display.cc
index 7baa94ed0d58ce188c7acb214cb07330da0c7999..05603a0d558e2faa77abc9c5957db1f90697d125 100644
--- a/gpu/gles2_conform_support/egl/display.cc
+++ b/gpu/gles2_conform_support/egl/display.cc
@@ -10,7 +10,6 @@
#include "gpu/command_buffer/service/context_group.h"
#include "gpu/command_buffer/service/gles2_cmd_decoder.h"
#include "gpu/command_buffer/service/gpu_scheduler.h"
-#include "gpu/GLES2/gles2_command_buffer.h"
#include "gpu/gles2_conform_support/egl/config.h"
#include "gpu/gles2_conform_support/egl/surface.h"
@@ -163,10 +162,10 @@ EGLContext Display::CreateContext(EGLConfig config,
transfer_buffer_id_,
share_resources));
- context_->CommandBufferEnableCHROMIUM(
- PEPPER3D_ALLOW_BUFFERS_ON_MULTIPLE_TARGETS);
- context_->CommandBufferEnableCHROMIUM(
- PEPPER3D_SUPPORT_FIXED_ATTRIBS);
+ context_->EnableFeatureCHROMIUM(
+ "pepper3d_allow_buffers_on_multiple_targets");
+ context_->EnableFeatureCHROMIUM(
+ "pepper3d_support_fixed_attribs");
return context_.get();
}

Powered by Google App Engine
This is Rietveld 408576698