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

Unified Diff: media/gpu/android_copying_backing_strategy.h

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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
« no previous file with comments | « media/base/android/video_media_codec_decoder.cc ('k') | media/gpu/android_copying_backing_strategy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/android_copying_backing_strategy.h
diff --git a/media/gpu/android_copying_backing_strategy.h b/media/gpu/android_copying_backing_strategy.h
index d1a3f098e13c41056dfdca67d3a360b539148f92..35df4e08f4d5a401bae7ab8c9c32b85bcdb583e7 100644
--- a/media/gpu/android_copying_backing_strategy.h
+++ b/media/gpu/android_copying_backing_strategy.h
@@ -34,11 +34,11 @@ class MEDIA_GPU_EXPORT AndroidCopyingBackingStrategy
~AndroidCopyingBackingStrategy() override;
// AndroidVideoDecodeAccelerator::BackingStrategy
- gfx::ScopedJavaSurface Initialize(int surface_view_id) override;
+ gl::ScopedJavaSurface Initialize(int surface_view_id) override;
void Cleanup(
bool have_context,
const AndroidVideoDecodeAccelerator::OutputBufferMap& buffers) override;
- scoped_refptr<gfx::SurfaceTexture> GetSurfaceTexture() const override;
+ scoped_refptr<gl::SurfaceTexture> GetSurfaceTexture() const override;
uint32_t GetTextureTarget() const override;
gfx::Size GetPictureBufferSize() const override;
void UseCodecBufferForPictureBuffer(
@@ -57,7 +57,7 @@ class MEDIA_GPU_EXPORT AndroidCopyingBackingStrategy
AVDAStateProvider* state_provider_;
// A container of texture. Used to set a texture to |media_codec_|.
- scoped_refptr<gfx::SurfaceTexture> surface_texture_;
+ scoped_refptr<gl::SurfaceTexture> surface_texture_;
// The texture id which is set to |surface_texture_|.
uint32_t surface_texture_id_;
« no previous file with comments | « media/base/android/video_media_codec_decoder.cc ('k') | media/gpu/android_copying_backing_strategy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698