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

Side by Side Diff: ui/ozone/platform/drm/BUILD.gn

Issue 1134993003: ozone: Implement zero/one-copy texture for Ozone GBM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolve reveman's concerns 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 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 import("//build/config/linux/pkg_config.gni") 5 import("//build/config/linux/pkg_config.gni")
6 import("//ui/ozone/ozone.gni") 6 import("//ui/ozone/ozone.gni")
7 7
8 declare_args() { 8 declare_args() {
9 use_mesa_platform_null = false 9 use_mesa_platform_null = false
10 use_drm_atomic = false 10 use_drm_atomic = false
11 ozone_use_vgem_map = false
11 } 12 }
12 13
13 pkg_config("libdrm") { 14 pkg_config("libdrm") {
14 packages = [ "libdrm" ] 15 packages = [ "libdrm" ]
15 } 16 }
16 17
17 source_set("drm_common") { 18 source_set("drm_common") {
18 sources = [ 19 sources = [
19 "common/client_native_pixmap_factory_drm.cc", 20 "common/client_native_pixmap_factory_drm.cc",
20 "common/client_native_pixmap_factory_drm.h", 21 "common/client_native_pixmap_factory_drm.h",
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 ] 191 ]
191 192
192 public_configs = [ 193 public_configs = [
193 ":libgbm", 194 ":libgbm",
194 "//third_party/khronos:khronos_headers", 195 "//third_party/khronos:khronos_headers",
195 ] 196 ]
196 197
197 if (use_mesa_platform_null) { 198 if (use_mesa_platform_null) {
198 defines += [ "USE_MESA_PLATFORM_NULL" ] 199 defines += [ "USE_MESA_PLATFORM_NULL" ]
199 } 200 }
201
202 if (ozone_use_vgem_map) {
203 defines += [ "OZONE_USE_VGEM_MAP" ]
204
205 sources = [
206 "gpu/client_native_pixmap_vgem.cc",
207 "gpu/client_native_pixmap_vgem.h",
208 ]
209 }
200 } 210 }
201 } 211 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698