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

Unified Diff: cc/layers/video_frame_provider_client_impl_unittest.cc

Issue 1746983002: Make Android StreamTexture implement GLStreamTextureImage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't remove the default stream texture matrix from cc/layers Created 4 years, 8 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_client_impl.cc ('k') | content/common/gpu/stream_texture_android.h » ('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_unittest.cc
diff --git a/cc/layers/video_frame_provider_client_impl_unittest.cc b/cc/layers/video_frame_provider_client_impl_unittest.cc
index e337baa9ae724e6b03f09530cc8994fd1b24ed92..eaa0e6fe40fc59b8ed8261f70b66977cc8533335 100644
--- a/cc/layers/video_frame_provider_client_impl_unittest.cc
+++ b/cc/layers/video_frame_provider_client_impl_unittest.cc
@@ -140,29 +140,4 @@ TEST_F(VideoFrameProviderClientImplTest, DidDrawFrameIssuesPutCurrentFrame) {
StopRendering();
}
-TEST_F(VideoFrameProviderClientImplTest, StreamTextureMatrix) {
- const float kIdentityMatrix[] = {
- 1.0,
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 1.0,
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 1.0,
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 1.0,
- };
-
- EXPECT_FALSE(client_impl_->StreamTextureMatrix().IsIdentity());
- client_impl_->DidUpdateMatrix(kIdentityMatrix);
- EXPECT_TRUE(client_impl_->StreamTextureMatrix().IsIdentity());
-}
-
} // namespace cc
« no previous file with comments | « cc/layers/video_frame_provider_client_impl.cc ('k') | content/common/gpu/stream_texture_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698