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

Unified Diff: components/exo/buffer.cc

Issue 2689453002: Introduce gfx::BufferFormat::YUYV_422
Patch Set: rebase to ToT Created 3 years, 7 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 | « no previous file | content/browser/gpu/gpu_internals_ui.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 d2141c9d05025cbcada4f5af62332964581d9922..878acfe8f25e228b39e4dfb36d91bca16931f08d 100644
--- a/components/exo/buffer.cc
+++ b/components/exo/buffer.cc
@@ -57,6 +57,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 | « no previous file | content/browser/gpu/gpu_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698