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

Unified Diff: components/exo/buffer.cc

Issue 2296433002: Add NV12 buffer scanout support from exo to ozone. (Closed)
Patch Set: Don't claim that image_ycbcr_420v is available. 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
« no previous file with comments | « no previous file | components/exo/wayland/server.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 205a6466fc1e432d752616741945ea282d8000f8..a256f7811bdca45a904e52293825c219db08101d 100644
--- a/components/exo/buffer.cc
+++ b/components/exo/buffer.cc
@@ -52,7 +52,7 @@ GLenum GLInternalFormat(gfx::BufferFormat format) {
GL_RGB, // BGRX_8888
GL_BGRA_EXT, // BGRA_8888
GL_RGB_YCRCB_420_CHROMIUM, // YVU_420
- GL_INVALID_ENUM, // YUV_420_BIPLANAR
+ GL_RGB_YCBCR_420V_CHROMIUM, // YUV_420_BIPLANAR
GL_RGB_YCBCR_422_CHROMIUM, // UYVY_422
};
static_assert(arraysize(kGLInternalFormats) ==
« no previous file with comments | « no previous file | components/exo/wayland/server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698