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

Unified Diff: content/common/gpu/media/va_surface.h

Issue 1422563002: [Ozone] Enables overlay render format setting path and by default use UYVY (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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: content/common/gpu/media/va_surface.h
diff --git a/content/common/gpu/media/va_surface.h b/content/common/gpu/media/va_surface.h
index c76c11fea28f35e9779fe6fd1199703694829d3d..9ab990dccfe8f62e0cc423396fa74731f94ae681 100644
--- a/content/common/gpu/media/va_surface.h
+++ b/content/common/gpu/media/va_surface.h
@@ -90,6 +90,7 @@ class CONTENT_EXPORT VASurface : public base::RefCountedThreadSafe<VASurface> {
VASurface(VASurfaceID va_surface_id,
const gfx::Size& size,
+ const unsigned int format,
const ReleaseCB& release_cb);
VASurfaceID id() {
@@ -97,6 +98,7 @@ class CONTENT_EXPORT VASurface : public base::RefCountedThreadSafe<VASurface> {
}
const gfx::Size& size() const { return size_; }
+ const unsigned int GetVAFormat() const { return format_; }
private:
friend class base::RefCountedThreadSafe<VASurface>;
@@ -104,6 +106,7 @@ class CONTENT_EXPORT VASurface : public base::RefCountedThreadSafe<VASurface> {
const VASurfaceID va_surface_id_;
gfx::Size size_;
+ unsigned int format_;
ReleaseCB release_cb_;
DISALLOW_COPY_AND_ASSIGN(VASurface);
« no previous file with comments | « no previous file | content/common/gpu/media/vaapi_drm_picture.h » ('j') | content/common/gpu/media/vaapi_drm_picture.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698