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

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

Issue 2713553005: Add GL_EXT_color_buffer_half_float support (Closed)
Patch Set: Add WebGL, cleanup Created 3 years, 10 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/common/capabilities.h ('k') | gpu/command_buffer/service/feature_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/context_group.cc
diff --git a/gpu/command_buffer/service/context_group.cc b/gpu/command_buffer/service/context_group.cc
index 3bb365ad1496b55ef0beca28e552d325443874be..98274c7d055719f56e078ff036e85810f3175b59 100644
--- a/gpu/command_buffer/service/context_group.cc
+++ b/gpu/command_buffer/service/context_group.cc
@@ -52,6 +52,9 @@ DisallowedFeatures AdjustDisallowedFeatures(
adjusted_disallowed_features.ext_color_buffer_float = true;
adjusted_disallowed_features.oes_texture_float_linear = true;
}
+ if (context_type == CONTEXT_TYPE_WEBGL2) {
+ adjusted_disallowed_features.ext_color_buffer_half_float = true;
Zhenyao Mo 2017/02/23 05:49:10 This also needs to be disallowed for WebGL1 becaus
+ }
return adjusted_disallowed_features;
}
« no previous file with comments | « gpu/command_buffer/common/capabilities.h ('k') | gpu/command_buffer/service/feature_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698