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

Unified Diff: cc/quads/largest_draw_quad.cc

Issue 2229953003: Support for custom primaries (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test updated Created 4 years, 4 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 | « cc/quads/draw_quad_unittest.cc ('k') | ui/gfx/color_space.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/largest_draw_quad.cc
diff --git a/cc/quads/largest_draw_quad.cc b/cc/quads/largest_draw_quad.cc
index e499b39ceda21da91d4773fd7e0bfa88f357eb92..35c64314c6d87965e331a478f83e3537f3af7487 100644
--- a/cc/quads/largest_draw_quad.cc
+++ b/cc/quads/largest_draw_quad.cc
@@ -20,9 +20,7 @@
namespace {
const size_t kLargestDrawQuadSize =
- sizeof(cc::RenderPassDrawQuad) > sizeof(cc::StreamVideoDrawQuad)
- ? sizeof(cc::RenderPassDrawQuad)
- : sizeof(cc::StreamVideoDrawQuad);
+ sizeof(cc::YUVVideoDrawQuad) + sizeof(gfx::ColorSpace);
} // namespace
namespace cc {
« no previous file with comments | « cc/quads/draw_quad_unittest.cc ('k') | ui/gfx/color_space.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698