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

Unified Diff: cc/test/test_web_graphics_context_3d.h

Issue 2122573003: media: replace LUMINANCE_F16 by RG_88 for 9/10-bit h264 videos Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolve hubbe's concerns except for test. separate the CLs. 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 side-by-side diff with in-line comments
Download patch
Index: cc/test/test_web_graphics_context_3d.h
diff --git a/cc/test/test_web_graphics_context_3d.h b/cc/test/test_web_graphics_context_3d.h
index c3012335d0a597f61a00d81fa9f9817be8057ca8..bb3b60321557e3665930fb9ae1b4791e9b6850ca 100644
--- a/cc/test/test_web_graphics_context_3d.h
+++ b/cc/test/test_web_graphics_context_3d.h
@@ -342,6 +342,9 @@ class TestWebGraphicsContext3D {
void set_support_texture_half_float_linear(bool support) {
test_capabilities_.texture_half_float_linear = support;
}
+ void set_support_texture_rg(bool support) {
+ test_capabilities_.texture_rg = support;
+ }
void set_msaa_is_slow(bool msaa_is_slow) {
test_capabilities_.msaa_is_slow = msaa_is_slow;
}

Powered by Google App Engine
This is Rietveld 408576698