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

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

Issue 1159833002: content: Partial copy workaround for devices with known upload performance problems. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sort Created 5 years, 6 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 | « gpu/command_buffer/service/feature_info.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/feature_info.cc
diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc
index d692b546ed4885cc1f536207cd212eb0a3a4b518..50114850694ae234c2842b882b37bf18786826fb 100644
--- a/gpu/command_buffer/service/feature_info.cc
+++ b/gpu/command_buffer/service/feature_info.cc
@@ -114,6 +114,9 @@ void StringToWorkarounds(
workarounds->max_varying_vectors = 16;
if (workarounds->max_vertex_uniform_vectors_256)
workarounds->max_vertex_uniform_vectors = 256;
+
+ if (workarounds->max_copy_texture_chromium_size_262144)
+ workarounds->max_copy_texture_chromium_size = 262144;
}
} // anonymous namespace.
@@ -175,7 +178,8 @@ FeatureInfo::Workarounds::Workarounds() :
max_cube_map_texture_size(0),
max_fragment_uniform_vectors(0),
max_varying_vectors(0),
- max_vertex_uniform_vectors(0) {
+ max_vertex_uniform_vectors(0),
+ max_copy_texture_chromium_size(0) {
}
FeatureInfo::FeatureInfo() {
« no previous file with comments | « gpu/command_buffer/service/feature_info.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698