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

Unified Diff: gpu/command_buffer/service/feature_info.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 | « gpu/command_buffer/common/gpu_memory_buffer_support.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 b177e98530aff5510c21e61aabd93af080bf9c74..2cfec19be28185bcea9fe15a76a5b1caf061150b 100644
--- a/gpu/command_buffer/service/feature_info.cc
+++ b/gpu/command_buffer/service/feature_info.cc
@@ -1075,6 +1075,8 @@ void FeatureInfo::InitializeFeatures() {
}
#if defined(OS_MACOSX)
+ // TODO(dcastagna): Determine ycbcr_420v_image on CrOS at runtime
+ // querying minigbm. crbug.com/646148
if (gl::GetGLImplementation() != gl::kGLImplementationOSMesaGL) {
AddExtensionString("GL_CHROMIUM_ycbcr_420v_image");
feature_flags_.chromium_image_ycbcr_420v = true;
« no previous file with comments | « gpu/command_buffer/common/gpu_memory_buffer_support.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