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

Unified Diff: ui/gfx/native_pixmap.h

Issue 2678343011: chromeos: decode video into NV12 format instead of RGBA in vaapi decoder (Closed)
Patch Set: decide scanout in runtime 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/gfx/native_pixmap.h
diff --git a/ui/gfx/native_pixmap.h b/ui/gfx/native_pixmap.h
index 33def81e968ddd678c6c6c8df2452d59e13d24b4..6d440fda1d1a9b0a98fb99e22dcf13ebeedfdeb5 100644
--- a/ui/gfx/native_pixmap.h
+++ b/ui/gfx/native_pixmap.h
@@ -32,6 +32,7 @@ class NativePixmap : public base::RefCountedThreadSafe<NativePixmap> {
virtual int GetDmaBufOffset(size_t plane) const = 0;
virtual uint64_t GetDmaBufModifier(size_t plane) const = 0;
virtual gfx::BufferFormat GetBufferFormat() const = 0;
+ virtual gfx::BufferUsage GetBufferUsage() const = 0;
virtual gfx::Size GetBufferSize() const = 0;
// Sets the overlay plane to switch to at the next page flip.

Powered by Google App Engine
This is Rietveld 408576698