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

Unified Diff: media/gpu/avda_state_provider.h

Issue 2296513003: Delete AVDACopyingBackingStrategy and rename AVDADeferredRenderingBackingStrategy (Closed)
Patch Set: Undelete & fix unittest Created 4 years, 4 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/gpu/avda_state_provider.h
diff --git a/media/gpu/avda_state_provider.h b/media/gpu/avda_state_provider.h
index 2657c324a3650559b77b80f6771db9afed957679..06498f7d77a150b621198f9e07aab861a54b4e65 100644
--- a/media/gpu/avda_state_provider.h
+++ b/media/gpu/avda_state_provider.h
@@ -10,10 +10,6 @@
#include "gpu/command_buffer/service/texture_manager.h"
#include "media/video/video_decode_accelerator.h"
-namespace gl {
-class SurfaceTexture;
-}
-
namespace gpu {
namespace gles2 {
class GLES2Decoder;
@@ -22,21 +18,13 @@ class GLES2Decoder;
namespace media {
-// Helper class that provides the BackingStrategy with enough state
+// Helper class that provides AVDAPictureBufferManager with enough state
// to do useful work.
class AVDAStateProvider {
public:
// Various handy getters.
virtual const gfx::Size& GetSize() const = 0;
- virtual const base::ThreadChecker& ThreadChecker() const = 0;
virtual base::WeakPtr<gpu::gles2::GLES2Decoder> GetGlDecoder() const = 0;
- virtual gpu::gles2::TextureRef* GetTextureForPicture(
- const PictureBuffer& picture_buffer) = 0;
-
- // Create a SurfaceTexture and attach a new gl texture to it. |*service_id|
- // is set to the created texture id.
- virtual scoped_refptr<gl::SurfaceTexture> CreateAttachedSurfaceTexture(
- GLuint* service_id) = 0;
// Helper function to report an error condition and stop decoding.
// This will post NotifyError(), and transition to the error state.
« media/gpu/android_video_decode_accelerator.cc ('K') | « media/gpu/avda_return_on_failure.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698