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

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

Issue 1515993003: Use AVDA copying strategy unless the unified pipeline flag is set. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cl feedback Created 5 years 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/android_video_decode_accelerator.h
diff --git a/content/common/gpu/media/android_video_decode_accelerator.h b/content/common/gpu/media/android_video_decode_accelerator.h
index e79f0c070c127389bc8dc24c91f00a889612a40d..3c80c2d28696bcaa98b3d00bcb5b7302b29cbdd9 100644
--- a/content/common/gpu/media/android_video_decode_accelerator.h
+++ b/content/common/gpu/media/android_video_decode_accelerator.h
@@ -161,6 +161,9 @@ class CONTENT_EXPORT AndroidVideoDecodeAccelerator
// Notifies about decoding errors.
void NotifyError(media::VideoDecodeAccelerator::Error error);
+ // Return true if and only if we should use deferred rendering.
+ static bool UseDeferredRenderingStrategy();
+
// Used to DCHECK that we are called on the correct thread.
base::ThreadChecker thread_checker_;

Powered by Google App Engine
This is Rietveld 408576698