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

Unified Diff: ui/ozone/platform/drm/gbm.gypi

Issue 1134993003: ozone: Implement zero/one-copy texture for Ozone GBM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make content_unittests (GpuMemoryBuffer*) pass Created 5 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
Index: ui/ozone/platform/drm/gbm.gypi
diff --git a/ui/ozone/platform/drm/gbm.gypi b/ui/ozone/platform/drm/gbm.gypi
index 36074bb2fd583725e08e5449e58298b21ade2b9d..67ae3c20cdfccd4e7aa3ef06c23c4360b86f8d57 100644
--- a/ui/ozone/platform/drm/gbm.gypi
+++ b/ui/ozone/platform/drm/gbm.gypi
@@ -11,6 +11,9 @@
'gbm',
],
'use_mesa_platform_null%': 0,
+
+ # TODO(dshwang): remove this flag when all gbm hardwares support vgem map.
+ 'ozone_use_vgem_map%': 0,
},
'targets': [
{
@@ -54,6 +57,13 @@
['use_mesa_platform_null==1', {
'defines': ['USE_MESA_PLATFORM_NULL'],
}],
+ ['ozone_use_vgem_map==1', {
+ 'defines': ['OZONE_USE_VGEM_MAP'],
+ 'sources': [
+ 'gpu/client_native_pixmap_vgem.cc',
+ 'gpu/client_native_pixmap_vgem.h',
+ ],
+ }],
],
},
],

Powered by Google App Engine
This is Rietveld 408576698