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

Unified Diff: gpu/command_buffer/tests/gl_manager.cc

Issue 2121293004: Reland of Fix initialization ordering in GLES2CmdDecoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/command_buffer/tests/gl_manager.cc
diff --git a/gpu/command_buffer/tests/gl_manager.cc b/gpu/command_buffer/tests/gl_manager.cc
index b489bb4fd7bb7636baf50c473b93ff7811d51fc8..455301b41eade7d1e0279383dc99d0153e9feb7e 100644
--- a/gpu/command_buffer/tests/gl_manager.cc
+++ b/gpu/command_buffer/tests/gl_manager.cc
@@ -187,8 +187,7 @@
force_shader_name_hashing(false),
multisampled(false),
backbuffer_alpha(true),
- image_factory(nullptr),
- enable_arb_texture_rectangle(false) {}
+ image_factory(nullptr) {}
GLManager::GLManager()
: sync_point_manager_(nullptr),
@@ -298,12 +297,6 @@
GpuDriverBugWorkarounds gpu_driver_bug_workaround(&command_line);
scoped_refptr<gles2::FeatureInfo> feature_info =
new gles2::FeatureInfo(command_line, gpu_driver_bug_workaround);
- if (options.enable_arb_texture_rectangle) {
- gles2::FeatureInfo::FeatureFlags& flags =
- const_cast<gles2::FeatureInfo::FeatureFlags&>(
- feature_info->feature_flags());
- flags.arb_texture_rectangle = true;
- }
context_group = new gles2::ContextGroup(
gpu_preferences_, mailbox_manager_.get(), NULL,
new gpu::gles2::ShaderTranslatorCache(gpu_preferences_),
« no previous file with comments | « gpu/command_buffer/tests/gl_manager.h ('k') | gpu/command_buffer/tests/gl_native_gmb_backbuffer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698