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

Side by Side Diff: ui/ozone/ozone.gni

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: define use_vgem_map in single place Created 5 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 declare_args() { 5 declare_args() {
6 # Select platforms automatically. Turn this off for manual control. 6 # Select platforms automatically. Turn this off for manual control.
7 ozone_auto_platforms = true 7 ozone_auto_platforms = true
8
9 # This enables memory-mapped access to accelerated graphics buffers via the
10 # VGEM ("virtual GEM") driver. This is currently only available on Chrome OS
11 # kernels and affects code in the GBM ozone platform.
12 # TODO(dshwang): remove this flag when all gbm hardware supports vgem map.
13 # crbug.com/519587
14 use_vgem_map = false
brettw 2015/08/28 19:21:43 You can move this back to the old place now.
dshwang 2015/08/31 09:10:14 If I move this to ui/ozone/platform/drm/BUILD.gn (
8 } 15 }
9 16
10 declare_args() { 17 declare_args() {
11 # The platform that will be active by default. 18 # The platform that will be active by default.
12 ozone_platform = "" 19 ozone_platform = ""
13 20
14 # Enable individual platforms. 21 # Enable individual platforms.
15 ozone_platform_caca = false 22 ozone_platform_caca = false
16 ozone_platform_drm = false 23 ozone_platform_drm = false
17 ozone_platform_egltest = false 24 ozone_platform_egltest = false
18 ozone_platform_gbm = false 25 ozone_platform_gbm = false
19 ozone_platform_ozonex = false 26 ozone_platform_ozonex = false
20 ozone_platform_test = false 27 ozone_platform_test = false
21 28
22 if (ozone_auto_platforms) { 29 if (ozone_auto_platforms) {
23 # Use test as the default platform. 30 # Use test as the default platform.
24 ozone_platform = "test" 31 ozone_platform = "test"
25 32
26 # Build all platforms whose deps are in install-build-deps.sh. 33 # Build all platforms whose deps are in install-build-deps.sh.
27 # Only these platforms will be compile tested by buildbots. 34 # Only these platforms will be compile tested by buildbots.
28 ozone_platform_drm = true 35 ozone_platform_drm = true
29 ozone_platform_test = true 36 ozone_platform_test = true
30 ozone_platform_egltest = true 37 ozone_platform_egltest = true
31 } 38 }
32 } 39 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698