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

Unified Diff: ui/ozone/platform/dri/dri_buffer.h

Issue 886323004: ozone: dri: Fix undefined references in DRI platform GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: also fix gyp build Created 5 years, 10 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 | « ui/ozone/platform/dri/dri.gypi ('k') | ui/ozone/platform/dri/dri_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/dri_buffer.h
diff --git a/ui/ozone/platform/dri/dri_buffer.h b/ui/ozone/platform/dri/dri_buffer.h
index d20a1f967bb350612c771031bcefb96f4fa74bd3..9b22e751d7f8649f8ab1a10d19332ee377dba17a 100644
--- a/ui/ozone/platform/dri/dri_buffer.h
+++ b/ui/ozone/platform/dri/dri_buffer.h
@@ -8,6 +8,7 @@
#include "base/macros.h"
#include "skia/ext/refptr.h"
#include "third_party/skia/include/core/SkSurface.h"
+#include "ui/ozone/ozone_export.h"
#include "ui/ozone/platform/dri/scanout_buffer.h"
namespace ui {
@@ -17,7 +18,7 @@ class DriWrapper;
// Wrapper for a DRM allocated buffer. Keeps track of the native properties of
// the buffer and wraps the pixel memory into a SkSurface which can be used to
// draw into using Skia.
-class DriBuffer : public ScanoutBuffer {
+class OZONE_EXPORT DriBuffer : public ScanoutBuffer {
public:
DriBuffer(DriWrapper* dri);
@@ -53,7 +54,7 @@ class DriBuffer : public ScanoutBuffer {
DISALLOW_COPY_AND_ASSIGN(DriBuffer);
};
-class DriBufferGenerator : public ScanoutBufferGenerator {
+class OZONE_EXPORT DriBufferGenerator : public ScanoutBufferGenerator {
public:
DriBufferGenerator();
~DriBufferGenerator() override;
« no previous file with comments | « ui/ozone/platform/dri/dri.gypi ('k') | ui/ozone/platform/dri/dri_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698