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

Unified Diff: ui/ozone/platform/drm/gpu/drm_buffer.h

Issue 2919533003: ozone/drm: Only reuse ScanoutBuffers with compatible modifiers (Closed)
Patch Set: ozone/drm: Only reuse ScanoutBuffers with compatible modifiers Created 3 years, 6 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/gpu/drm_buffer.h
diff --git a/ui/ozone/platform/drm/gpu/drm_buffer.h b/ui/ozone/platform/drm/gpu/drm_buffer.h
index dd1621989e6bef3a3f231ae1a03dd587789c9959..c3da8951c5671e21c0f200b1a411e65837887fb8 100644
--- a/ui/ozone/platform/drm/gpu/drm_buffer.h
+++ b/ui/ozone/platform/drm/gpu/drm_buffer.h
@@ -45,6 +45,8 @@ class DrmBuffer : public ScanoutBuffer {
const DrmDevice* GetDrmDevice() const override;
bool RequiresGlFinish() const override;
+ uint64_t GetFormatModifier() const override { return 0; }
+
protected:
~DrmBuffer() override;
« no previous file with comments | « no previous file | ui/ozone/platform/drm/gpu/gbm_buffer.h » ('j') | ui/ozone/platform/drm/gpu/mock_scanout_buffer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698