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

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

Issue 1071273002: NotForReview: Implement zero/one-copy texture for ozone freon using Intel DRM Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 9cc58f88e3a93bda0ef4eba324fdfaedc68a9617..e2c0bbc208f6e4e22d6dc8f75fb221050f51ed2b 100644
--- a/ui/ozone/platform/drm/BUILD.gn
+++ b/ui/ozone/platform/drm/BUILD.gn
@@ -184,5 +184,14 @@ if (ozone_platform_gbm) {
if (use_mesa_platform_null) {
defines += [ "USE_MESA_PLATFORM_NULL" ]
}
+ if (current_cpu == "x86" || current_cpu == "x64") {
+ sources = [
+ "gpu/gbm_map_pixmap_intel.cc",
+ "gpu/gbm_map_pixmap_intel.h",
+ ]
+ pkg_config("libdrm_intel") {
+ packages = [ "libdrm_intel" ]
+ }
+ }
}
}

Powered by Google App Engine
This is Rietveld 408576698