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

Unified Diff: cc/layers/video_frame_provider_client_impl.h

Issue 1848923003: Revert of Make Android StreamTexture implement GLStreamTextureImage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « cc/layers/video_frame_provider.h ('k') | cc/layers/video_frame_provider_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/video_frame_provider_client_impl.h
diff --git a/cc/layers/video_frame_provider_client_impl.h b/cc/layers/video_frame_provider_client_impl.h
index f7892ee1bf8545a210e171c5b97e906975f47e4e..17525ec4c1f37b4a7c9a7720d4c192a2cc8e38aa 100644
--- a/cc/layers/video_frame_provider_client_impl.h
+++ b/cc/layers/video_frame_provider_client_impl.h
@@ -45,6 +45,8 @@
void ReleaseLock();
bool HasCurrentFrame();
+ const gfx::Transform& StreamTextureMatrix() const;
+
// VideoFrameController implementation.
void OnBeginFrame(const BeginFrameArgs& args) override;
void DidDrawFrame() override;
@@ -56,6 +58,7 @@
void StartRendering() override;
void StopRendering() override;
void DidReceiveFrame() override;
+ void DidUpdateMatrix(const float* matrix) override;
const VideoFrameProvider* get_provider_for_testing() const {
return provider_;
@@ -82,6 +85,8 @@
base::Lock provider_lock_;
base::ThreadChecker thread_checker_;
+ gfx::Transform stream_texture_matrix_;
+
DISALLOW_COPY_AND_ASSIGN(VideoFrameProviderClientImpl);
};
« no previous file with comments | « cc/layers/video_frame_provider.h ('k') | cc/layers/video_frame_provider_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698