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

Unified Diff: gpu/command_buffer/service/feature_info.cc

Issue 2296433002: Add NV12 buffer scanout support from exo to ozone. (Closed)
Patch Set: s/NV21/NV12 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 | « components/exo/wayland/server.cc ('k') | ui/ozone/gl/gl_image_ozone_native_pixmap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/feature_info.cc
diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc
index 6e81ab67bb16f6c40c3775b676c2420785689b79..a76f88b89acfd3e55714088519754567e76300dd 100644
--- a/gpu/command_buffer/service/feature_info.cc
+++ b/gpu/command_buffer/service/feature_info.cc
@@ -1011,6 +1011,10 @@ void FeatureInfo::InitializeFeatures() {
AddExtensionString("GL_CHROMIUM_ycbcr_420v_image");
feature_flags_.chromium_image_ycbcr_420v = true;
}
+
+#elif defined(OS_CHROMEOS) && defined(ARCH_CPU_ARM_FAMILY)
+ // TODO(dcastagna): Determine this feature at runtime querying minigbm.
no sievers 2016/08/30 20:12:04 putting a bug number would be even better
Daniele Castagna 2016/09/12 22:14:58 Done.
+ feature_flags_.chromium_image_ycbcr_420v = true;
reveman 2016/08/30 21:10:54 drive-by: are we missing AddExtensionString("GL_CH
Daniele Castagna 2016/09/12 22:14:58 Done.
#endif
if (extensions.Contains("GL_APPLE_ycbcr_422")) {
« no previous file with comments | « components/exo/wayland/server.cc ('k') | ui/ozone/gl/gl_image_ozone_native_pixmap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698