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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder.cc

Issue 2676153002: Revert of Add compositor support for half-float RGBA buffers and textures (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « gpu/command_buffer/service/feature_info.cc ('k') | gpu/command_buffer/service/test_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" 5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h"
6 6
7 #include <limits.h> 7 #include <limits.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 #include <stdio.h> 10 #include <stdio.h>
(...skipping 3722 matching lines...) Expand 10 before | Expand all | Expand 10 after
3733 caps.flips_vertically = !is_offscreen && surface_->FlipsVertically(); 3733 caps.flips_vertically = !is_offscreen && surface_->FlipsVertically();
3734 caps.msaa_is_slow = workarounds().msaa_is_slow; 3734 caps.msaa_is_slow = workarounds().msaa_is_slow;
3735 3735
3736 caps.blend_equation_advanced = 3736 caps.blend_equation_advanced =
3737 feature_info_->feature_flags().blend_equation_advanced; 3737 feature_info_->feature_flags().blend_equation_advanced;
3738 caps.blend_equation_advanced_coherent = 3738 caps.blend_equation_advanced_coherent =
3739 feature_info_->feature_flags().blend_equation_advanced_coherent; 3739 feature_info_->feature_flags().blend_equation_advanced_coherent;
3740 caps.texture_rg = feature_info_->feature_flags().ext_texture_rg; 3740 caps.texture_rg = feature_info_->feature_flags().ext_texture_rg;
3741 caps.texture_half_float_linear = 3741 caps.texture_half_float_linear =
3742 feature_info_->feature_flags().enable_texture_half_float_linear; 3742 feature_info_->feature_flags().enable_texture_half_float_linear;
3743 caps.color_buffer_float =
3744 feature_info_->feature_flags().enable_color_buffer_float;
3745 caps.image_ycbcr_422 = 3743 caps.image_ycbcr_422 =
3746 feature_info_->feature_flags().chromium_image_ycbcr_422; 3744 feature_info_->feature_flags().chromium_image_ycbcr_422;
3747 caps.image_ycbcr_420v = 3745 caps.image_ycbcr_420v =
3748 feature_info_->feature_flags().chromium_image_ycbcr_420v; 3746 feature_info_->feature_flags().chromium_image_ycbcr_420v;
3749 caps.max_copy_texture_chromium_size = 3747 caps.max_copy_texture_chromium_size =
3750 workarounds().max_copy_texture_chromium_size; 3748 workarounds().max_copy_texture_chromium_size;
3751 caps.render_buffer_format_bgra8888 = 3749 caps.render_buffer_format_bgra8888 =
3752 feature_info_->feature_flags().ext_render_buffer_format_bgra8888; 3750 feature_info_->feature_flags().ext_render_buffer_format_bgra8888;
3753 caps.occlusion_query = feature_info_->feature_flags().occlusion_query; 3751 caps.occlusion_query = feature_info_->feature_flags().occlusion_query;
3754 caps.occlusion_query_boolean = 3752 caps.occlusion_query_boolean =
(...skipping 15488 matching lines...) Expand 10 before | Expand all | Expand 10 after
19243 } 19241 }
19244 19242
19245 // Include the auto-generated part of this file. We split this because it means 19243 // Include the auto-generated part of this file. We split this because it means
19246 // we can easily edit the non-auto generated parts right here in this file 19244 // we can easily edit the non-auto generated parts right here in this file
19247 // instead of having to edit some template or the code generator. 19245 // instead of having to edit some template or the code generator.
19248 #include "base/macros.h" 19246 #include "base/macros.h"
19249 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" 19247 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h"
19250 19248
19251 } // namespace gles2 19249 } // namespace gles2
19252 } // namespace gpu 19250 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/feature_info.cc ('k') | gpu/command_buffer/service/test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698