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

Unified Diff: components/exo/buffer.cc

Issue 2684993005: (NotForReview) Enable YUV video overlay on Skylake ChromeOS.
Patch Set: rebase to ToT (Mar/27) Created 3 years, 9 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/test/render_pass_test_utils.cc ('k') | content/browser/compositor/gpu_process_transport_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/buffer.cc
diff --git a/components/exo/buffer.cc b/components/exo/buffer.cc
index 9b5ebadc57f055e9b8c7136ca6c7c3da95b2510d..5d8bba00656b513db96bb6fd96638f04e79e7451 100644
--- a/components/exo/buffer.cc
+++ b/components/exo/buffer.cc
@@ -56,6 +56,7 @@ GLenum GLInternalFormat(gfx::BufferFormat format) {
GL_RGB_YCRCB_420_CHROMIUM, // YVU_420
GL_RGB_YCBCR_420V_CHROMIUM, // YUV_420_BIPLANAR
GL_RGB_YCBCR_422_CHROMIUM, // UYVY_422
+ GL_RGB_YCBCR_422_CHROMIUM, // YUYV_422
};
static_assert(arraysize(kGLInternalFormats) ==
(static_cast<int>(gfx::BufferFormat::LAST) + 1),
« no previous file with comments | « cc/test/render_pass_test_utils.cc ('k') | content/browser/compositor/gpu_process_transport_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698