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

Unified Diff: media/video/video_decode_accelerator.h

Issue 1680213002: Start using deferred rendering for WebView on L. Base URL: https://chromium.googlesource.com/chromium/src.git@measure_copy
Patch Set: cleanup Created 4 years, 10 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: media/video/video_decode_accelerator.h
diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h
index c0f6b1e862b8d78cbe4f932f98ca1514a5a064e0..f3e5c75a60a8c58aa3697715ec69d06d76e0cc00 100644
--- a/media/video/video_decode_accelerator.h
+++ b/media/video/video_decode_accelerator.h
@@ -61,6 +61,10 @@ class MEDIA_EXPORT VideoDecodeAccelerator {
// Whether the VDA supports being configured with an output surface for
// it to render frames to. For example, SurfaceViews on Android.
SUPPORTS_EXTERNAL_OUTPUT_SURFACE = 1 << 1,
+
+ // If set, then all video frames must be copied before they can be sent
+ // to the browser compositor. This is to support WebView.
+ COPY_REQUIRED = 1 << 2,
};
SupportedProfiles supported_profiles;
« no previous file with comments | « media/filters/gpu_video_decoder.cc ('k') | ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698