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

Unified Diff: ui/ozone/platform/drm/BUILD.gn

Issue 994503004: Preliminary atomic patch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change gyp var Created 5 years, 9 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 | « no previous file | ui/ozone/platform/drm/gpu/drm_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/BUILD.gn
diff --git a/ui/ozone/platform/drm/BUILD.gn b/ui/ozone/platform/drm/BUILD.gn
index 996614413cf2fdcafe86be991708e41a4f3bf395..887f5914e0b7643cd93389538f335277954a7435 100644
--- a/ui/ozone/platform/drm/BUILD.gn
+++ b/ui/ozone/platform/drm/BUILD.gn
@@ -7,6 +7,7 @@ import("//ui/ozone/ozone.gni")
declare_args() {
use_mesa_platform_null = false
+ use_drm_atomic = false
}
pkg_config("libdrm") {
@@ -82,6 +83,16 @@ source_set("drm_common") {
defines = [ "OZONE_IMPLEMENTATION" ]
+ if (use_drm_atomic) {
+ defines += [ "USE_DRM_ATOMIC" ]
+ sources += [
+ "gpu/hardware_display_plane_atomic.cc",
+ "gpu/hardware_display_plane_atomic.h",
+ "gpu/hardware_display_plane_manager_atomic.cc",
+ "gpu/hardware_display_plane_manager_atomic.h",
+ ]
+ }
+
deps = [
"//base",
"//skia",
« no previous file with comments | « no previous file | ui/ozone/platform/drm/gpu/drm_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698