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

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

Issue 2713553005: Add GL_EXT_color_buffer_half_float support (Closed)
Patch Set: Fix compile error 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/service/gles2_cmd_decoder.h ('k') | gpu/command_buffer/service/test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c823faa86045760849505492ca0eb3fc9f753288..7d15e3cbfef64a13d002b343a3d82a882cfc96d8 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -3745,8 +3745,9 @@ Capabilities GLES2DecoderImpl::GetCapabilities() {
caps.texture_rg = feature_info_->feature_flags().ext_texture_rg;
caps.texture_half_float_linear =
feature_info_->feature_flags().enable_texture_half_float_linear;
- caps.color_buffer_float =
- feature_info_->feature_flags().enable_color_buffer_float;
+ caps.color_buffer_half_float_rgba =
+ feature_info_->feature_flags().enable_color_buffer_float ||
+ feature_info_->feature_flags().enable_color_buffer_half_float;
caps.image_ycbcr_422 =
feature_info_->feature_flags().chromium_image_ycbcr_422;
caps.image_ycbcr_420v =
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.h ('k') | gpu/command_buffer/service/test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698