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

Side by Side Diff: gpu/command_buffer/common/capabilities.cc

Issue 2302393002: Support swap damage rect using eglSwapBuffersWithDamageKHR (Closed)
Patch Set: Add to Capabilities Created 4 years, 3 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/common/capabilities.h" 5 #include "gpu/command_buffer/common/capabilities.h"
6 6
7 namespace gpu { 7 namespace gpu {
8 8
9 Capabilities::PerStagePrecisions::PerStagePrecisions() { 9 Capabilities::PerStagePrecisions::PerStagePrecisions() {
10 } 10 }
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 render_buffer_format_bgra8888(false), 81 render_buffer_format_bgra8888(false),
82 occlusion_query_boolean(false), 82 occlusion_query_boolean(false),
83 timer_queries(false), 83 timer_queries(false),
84 surfaceless(false), 84 surfaceless(false),
85 flips_vertically(false), 85 flips_vertically(false),
86 msaa_is_slow(false), 86 msaa_is_slow(false),
87 disable_multisampling_color_mask_usage(false), 87 disable_multisampling_color_mask_usage(false),
88 disable_webgl_rgb_multisampling_usage(false), 88 disable_webgl_rgb_multisampling_usage(false),
89 chromium_image_rgb_emulation(false), 89 chromium_image_rgb_emulation(false),
90 emulate_rgb_buffer_with_rgba(false), 90 emulate_rgb_buffer_with_rgba(false),
91 swap_buffers_with_damage(false),
91 major_version(2), 92 major_version(2),
92 minor_version(0) {} 93 minor_version(0) {}
93 94
94 Capabilities::Capabilities(const Capabilities& other) = default; 95 Capabilities::Capabilities(const Capabilities& other) = default;
95 96
96 } // namespace gpu 97 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698