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

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

Issue 1876363005: cc: GPU rasterize to an auxiliary surface when using MSAA renderbuffers Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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.cc ('k') | gpu/ipc/common/gpu_command_buffer_traits_multi.h » ('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 908fbda052b65b547a0d9b54d42eba1857da2f9c..cf9264b36c95f3d955f11ed6d4576474da60701f 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -3364,6 +3364,10 @@ Capabilities GLES2DecoderImpl::GetCapabilities() {
feature_info_->workarounds().disable_webgl_rgb_multisampling_usage;
caps.emulate_rgb_buffer_with_rgba =
feature_info_->workarounds().disable_gl_rgb_format;
+ caps.multisampled_render_to_texture =
+ feature_info_->feature_flags().multisampled_render_to_texture;
+ caps.chromium_framebuffer_mixed_samples =
+ feature_info_->feature_flags().chromium_framebuffer_mixed_samples;
return caps;
}
« no previous file with comments | « gpu/command_buffer/common/capabilities.cc ('k') | gpu/ipc/common/gpu_command_buffer_traits_multi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698