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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder.cc

Issue 1290053004: Reland of "gpu: Nexus5 and ANGLE crashes with GL_TEXTURE_CUBE_MAP_NEGATIVE_X" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/command_buffer/service/gles2_cmd_decoder.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index db91adffc8aeb47aa9fc43e733c8386914bd8bfa..2de670adc2bc33a8b63eed1a562a08934798a0c5 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -2577,9 +2577,7 @@ GLES2DecoderImpl::GLES2DecoderImpl(ContextGroup* group)
: false),
viewport_max_width_(0),
viewport_max_height_(0),
- texture_state_(group_->feature_info()
- ->workarounds()
- .texsubimage_faster_than_teximage),
+ texture_state_(group_->feature_info()->workarounds()),
cb_command_trace_category_(TRACE_EVENT_API_GET_CATEGORY_GROUP_ENABLED(
TRACE_DISABLED_BY_DEFAULT("cb_command"))),
gpu_decoder_category_(TRACE_EVENT_API_GET_CATEGORY_GROUP_ENABLED(

Powered by Google App Engine
This is Rietveld 408576698