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

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, 1 month 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..d43687816a7d2ba117ad4f13ee9251ee921512db 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);
Pawel Osciak 2015/11/10 06:09:24 Nit: const in format not needed.
william.xie1 2015/11/10 06:25:54 Done.
VASurfaceID id() {
@@ -97,6 +98,7 @@ class CONTENT_EXPORT VASurface : public base::RefCountedThreadSafe<VASurface> {
}
const gfx::Size& size() const { return size_; }
+ const unsigned int format() const { return format_; }
Pawel Osciak 2015/11/10 06:09:24 Nit: const in return type not needed.
william.xie1 2015/11/10 06:25:54 Done.
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);

Powered by Google App Engine
This is Rietveld 408576698