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

Side by Side Diff: cc/test/test_web_graphics_context_3d.h

Issue 499283002: gpu: support immutable texture on Linux Mesa driver and GLES3. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CompleteHandlingOfGLESandBGRA. Apply CC Created 6 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
« no previous file with comments | « cc/resources/resource_provider_unittest.cc ('k') | gpu/command_buffer/service/feature_info.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 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 #ifndef CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ 5 #ifndef CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_
6 #define CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ 6 #define CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 } 297 }
298 void set_have_post_sub_buffer(bool have) { 298 void set_have_post_sub_buffer(bool have) {
299 test_capabilities_.gpu.post_sub_buffer = have; 299 test_capabilities_.gpu.post_sub_buffer = have;
300 } 300 }
301 void set_have_discard_framebuffer(bool have) { 301 void set_have_discard_framebuffer(bool have) {
302 test_capabilities_.gpu.discard_framebuffer = have; 302 test_capabilities_.gpu.discard_framebuffer = have;
303 } 303 }
304 void set_support_compressed_texture_etc1(bool support) { 304 void set_support_compressed_texture_etc1(bool support) {
305 test_capabilities_.gpu.texture_format_etc1 = support; 305 test_capabilities_.gpu.texture_format_etc1 = support;
306 } 306 }
307 void set_support_texture_format_bgra8888(bool support) {
308 test_capabilities_.gpu.texture_format_bgra8888 = support;
309 }
307 void set_support_texture_storage(bool support) { 310 void set_support_texture_storage(bool support) {
308 test_capabilities_.gpu.texture_storage = support; 311 test_capabilities_.gpu.texture_storage = support;
309 } 312 }
310 void set_support_texture_usage(bool support) { 313 void set_support_texture_usage(bool support) {
311 test_capabilities_.gpu.texture_usage = support; 314 test_capabilities_.gpu.texture_usage = support;
312 } 315 }
313 void set_support_sync_query(bool support) { 316 void set_support_sync_query(bool support) {
314 test_capabilities_.gpu.sync_query = support; 317 test_capabilities_.gpu.sync_query = support;
315 } 318 }
316 319
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 453
451 scoped_refptr<Namespace> namespace_; 454 scoped_refptr<Namespace> namespace_;
452 static Namespace* shared_namespace_; 455 static Namespace* shared_namespace_;
453 456
454 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_; 457 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_;
455 }; 458 };
456 459
457 } // namespace cc 460 } // namespace cc
458 461
459 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ 462 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_
OLDNEW
« no previous file with comments | « cc/resources/resource_provider_unittest.cc ('k') | gpu/command_buffer/service/feature_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698