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

Unified Diff: content/renderer/media/android/webmediaplayer_android.h

Issue 445013002: media: Optimize HW Video to 2D Canvas copy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to ToT Created 5 years, 12 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: content/renderer/media/android/webmediaplayer_android.h
diff --git a/content/renderer/media/android/webmediaplayer_android.h b/content/renderer/media/android/webmediaplayer_android.h
index d3fc858104d04bd2740bb8735e693b7908ff536c..d2e2a3fbaced6024c2f16501807c6ca87213b139 100644
--- a/content/renderer/media/android/webmediaplayer_android.h
+++ b/content/renderer/media/android/webmediaplayer_android.h
@@ -33,8 +33,6 @@
#include "third_party/WebKit/public/platform/WebSize.h"
#include "third_party/WebKit/public/platform/WebURL.h"
#include "third_party/skia/include/core/SkBitmap.h"
-#include "third_party/skia/include/gpu/GrContext.h"
-#include "third_party/skia/include/gpu/SkGrPixelRef.h"
#include "ui/gfx/geometry/rect_f.h"
namespace base {
@@ -317,11 +315,6 @@ class WebMediaPlayerAndroid : public blink::WebMediaPlayer,
blink::WebContentDecryptionModuleResult result,
bool success);
- bool EnsureTextureBackedSkBitmap(GrContext* gr, SkBitmap& bitmap,
- const blink::WebSize& size,
- GrSurfaceOrigin origin,
- GrPixelConfig config);
-
bool IsHLSStream() const;
blink::WebFrame* const frame_;
« no previous file with comments | « no previous file | content/renderer/media/android/webmediaplayer_android.cc » ('j') | media/filters/skcanvas_video_renderer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698