| 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 ab2c4da815e9d92c4c8747b7b68feea2295b87e5..da2d266280225fa4de92396c76e07621d17325b2 100644
|
| --- a/content/common/gpu/media/android_video_decode_accelerator.h
|
| +++ b/content/common/gpu/media/android_video_decode_accelerator.h
|
| @@ -220,6 +220,14 @@ class CONTENT_EXPORT AndroidVideoDecodeAccelerator
|
| // Return true if and only if we should use deferred rendering.
|
| static bool UseDeferredRenderingStrategy();
|
|
|
| + // Return true if and only if the deferred strategy requires that the
|
| + // resulting VideoFrames have COPY_REQUIRED set. This is for WebView.
|
| + static bool DeferredStrategyNeedsBrowserCopy();
|
| +
|
| + // Return true if and only if SurfaceTexture supports user-provided threads
|
| + // for OnFrameAvailable callbacks.
|
| + static bool IsCallbackThreadable();
|
| +
|
| // Used to DCHECK that we are called on the correct thread.
|
| base::ThreadChecker thread_checker_;
|
|
|
|
|