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

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

Issue 2166083002: texture_manager: disable cubemap workaround on ES3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: texture_manager: disable cubemap workaround on ES3 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
« no previous file with comments | « content/test/gpu/gpu_tests/webgl2_conformance_expectations.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/texture_manager.cc
diff --git a/gpu/command_buffer/service/texture_manager.cc b/gpu/command_buffer/service/texture_manager.cc
index 0cb15a2c01339937308607805dc7022ad4dba5ec..48b41c05511206835d60362f56dad766953c9844 100644
--- a/gpu/command_buffer/service/texture_manager.cc
+++ b/gpu/command_buffer/service/texture_manager.cc
@@ -2383,6 +2383,7 @@ void TextureManager::ValidateAndDoTexImage(
// ValidateTexImage is passed already.
Texture* texture = texture_ref->texture();
bool need_cube_map_workaround =
+ !feature_info_->IsES3Enabled() &&
texture->target() == GL_TEXTURE_CUBE_MAP &&
(texture_state->force_cube_complete ||
(texture_state->force_cube_map_positive_x_allocation &&
« no previous file with comments | « content/test/gpu/gpu_tests/webgl2_conformance_expectations.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698