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

Unified Diff: content/common/gpu/media/vaapi_wrapper.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/vaapi_wrapper.h
diff --git a/content/common/gpu/media/vaapi_wrapper.h b/content/common/gpu/media/vaapi_wrapper.h
index d4c989d859219ad2197a7c9494a419c0928a4679..49e9f04f4cee79bfb6ad721e51a813e5c74e9cb2 100644
--- a/content/common/gpu/media/vaapi_wrapper.h
+++ b/content/common/gpu/media/vaapi_wrapper.h
@@ -186,13 +186,11 @@ class CONTENT_EXPORT VaapiWrapper {
// Destroy all previously-allocated (and not yet destroyed) coded buffers.
void DestroyCodedBuffers();
- // Blits a VASurface |va_surface_id_src| into another VASurface
- // |va_surface_id_dest| applying pixel format conversion and scaling
+ // Blits a VASurface |va_surface_src| into another VASurface
+ // |va_surface_dest| applying pixel format conversion and scaling
// if needed.
- bool BlitSurface(VASurfaceID va_surface_id_src,
- const gfx::Size& src_size,
- VASurfaceID va_surface_id_dest,
- const gfx::Size& dest_size);
+ bool BlitSurface(const scoped_refptr<VASurface>& va_surface_src,
+ const scoped_refptr<VASurface>& va_surface_dest);
// Initialize static data before sandbox is enabled.
static void PreSandboxInitialization();

Powered by Google App Engine
This is Rietveld 408576698