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

Unified 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: update from reveman's comments 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/BUILD.gn
diff --git a/ui/ozone/platform/drm/BUILD.gn b/ui/ozone/platform/drm/BUILD.gn
index 801b02146f47ef5f826cd22e5e25df558cb89ea7..47fdd960f9d6c573df4bdfb3510bbf69eb3a4e0c 100644
--- a/ui/ozone/platform/drm/BUILD.gn
+++ b/ui/ozone/platform/drm/BUILD.gn
@@ -8,6 +8,10 @@ import("//ui/ozone/ozone.gni")
declare_args() {
use_mesa_platform_null = false
use_drm_atomic = false
+
+ # TODO(dshwang): remove this flag when all gbm hardware supports vgem map.
+ # crbug.com/519587
+ ozone_use_vgem_map = false
spang 2015/08/12 21:40:03 remove ozone_ prefix
dshwang 2015/08/13 11:30:55 Done.
}
pkg_config("libdrm") {
@@ -197,5 +201,14 @@ if (ozone_platform_gbm) {
if (use_mesa_platform_null) {
defines += [ "USE_MESA_PLATFORM_NULL" ]
}
+
+ if (ozone_use_vgem_map) {
+ defines += [ "OZONE_USE_VGEM_MAP" ]
spang 2015/08/12 21:40:03 remove OZONE_ prefix
dshwang 2015/08/13 11:30:55 Done.
+
+ sources = [
+ "gpu/client_native_pixmap_vgem.cc",
+ "gpu/client_native_pixmap_vgem.h",
+ ]
+ }
}
}

Powered by Google App Engine
This is Rietveld 408576698