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

Unified Diff: ui/ozone/ozone.gyp

Issue 1253363004: ozone gbm: whitelist 3 DRM ioctl code for native GpuMemoryBuffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix chromeos_daisy_chromium_compile_only_ng build failure Created 5 years, 2 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 | « ui/ozone/ozone.gni ('k') | ui/ozone/platform/drm/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/ozone.gyp
diff --git a/ui/ozone/ozone.gyp b/ui/ozone/ozone.gyp
index 5f64c5f265e2787f2a9e3de5926f397907b750ea..1f4bfc4160f4eb0a366f98979bd3d01e56f70395 100644
--- a/ui/ozone/ozone.gyp
+++ b/ui/ozone/ozone.gyp
@@ -16,6 +16,13 @@
'internal_ozone_platforms': [],
'internal_ozone_platform_deps': [],
'internal_ozone_platform_unittest_deps': [],
+
+ # This enables memory-mapped access to accelerated graphics buffers via
+ # the VGEM ("virtual GEM") driver. This is currently only available on
+ # Chrome OS kernels and affects code in the GBM ozone platform.
+ # TODO(dshwang): remove this flag when all gbm hardware supports vgem map.
+ # crbug.com/519587
+ 'use_vgem_map%': 0,
},
'targets': [
{
@@ -198,6 +205,19 @@
'<@(internal_ozone_platform_unittest_deps)',
],
},
+ {
+ 'target_name': 'vgem_map',
+ 'type': 'none',
+ 'conditions': [
+ ['use_vgem_map==1', {
+ 'direct_dependent_settings': {
+ 'defines': [
+ 'USE_VGEM_MAP',
+ ],
+ },
+ }],
+ ],
+ },
],
'conditions': [
['<(ozone_platform_caca) == 1', {
« no previous file with comments | « ui/ozone/ozone.gni ('k') | ui/ozone/platform/drm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698