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

Unified Diff: media/gpu/android_video_decode_accelerator.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
Index: media/gpu/android_video_decode_accelerator.h
diff --git a/media/gpu/android_video_decode_accelerator.h b/media/gpu/android_video_decode_accelerator.h
index 71567f09962a8c7ebf38a60039a9a00088947be8..8a3c7eea1c68edf309bda9f5e1bb0e5d92649a58 100644
--- a/media/gpu/android_video_decode_accelerator.h
+++ b/media/gpu/android_video_decode_accelerator.h
@@ -29,7 +29,7 @@
#include "media/video/video_decode_accelerator.h"
#include "ui/gl/android/scoped_java_surface.h"
-namespace gfx {
+namespace gl {
class SurfaceTexture;
}
@@ -58,7 +58,7 @@ class MEDIA_GPU_EXPORT AndroidVideoDecodeAccelerator
// |kNoSurfaceID| it refers to a SurfaceView that the strategy must render
// to.
// Returns the Java surface to configure MediaCodec with.
- virtual gfx::ScopedJavaSurface Initialize(int surface_view_id) = 0;
+ virtual gl::ScopedJavaSurface Initialize(int surface_view_id) = 0;
// Called before the AVDA does any Destroy() work. This will be
// the last call that the BackingStrategy receives.
@@ -67,7 +67,7 @@ class MEDIA_GPU_EXPORT AndroidVideoDecodeAccelerator
// This returns the SurfaceTexture created by Initialize, or nullptr if
// the strategy was initialized with a SurfaceView.
- virtual scoped_refptr<gfx::SurfaceTexture> GetSurfaceTexture() const = 0;
+ virtual scoped_refptr<gl::SurfaceTexture> GetSurfaceTexture() const = 0;
// Return the GL texture target that the PictureBuffer textures use.
virtual uint32_t GetTextureTarget() const = 0;
@@ -194,7 +194,7 @@ class MEDIA_GPU_EXPORT AndroidVideoDecodeAccelerator
// The surface that MediaCodec is configured to output to. It's created by
// the backing strategy.
- gfx::ScopedJavaSurface surface_;
+ gl::ScopedJavaSurface surface_;
// The MediaCrypto object is used in the MediaCodec.configure() in case of
// an encrypted stream.
« no previous file with comments | « media/gpu/android_deferred_rendering_backing_strategy.cc ('k') | media/gpu/android_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698