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

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: 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') | ui/ozone/platform/drm/gpu/drm_device.h » ('J')
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 60ef0ad25fa750adb79701912453827d3662d639..f35e212cbefec00d5ad9b36e840e18bc0f65644c 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
+ ozone_use_atomic = false
}
pkg_config("libdrm") {
@@ -80,6 +81,16 @@ source_set("drm_common") {
defines = [ "OZONE_IMPLEMENTATION" ]
+ if (ozone_use_atomic) {
+ defines += [ "OZONE_USE_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') | ui/ozone/platform/drm/gpu/drm_device.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698