| 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 eaa0e6fe40fc59b8ed8261f70b66977cc8533335..e337baa9ae724e6b03f09530cc8994fd1b24ed92 100644
|
| --- a/cc/layers/video_frame_provider_client_impl_unittest.cc
|
| +++ b/cc/layers/video_frame_provider_client_impl_unittest.cc
|
| @@ -140,4 +140,29 @@
|
| 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
|
|
|