OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/memory/shared_memory.h" | 5 #include "base/memory/shared_memory.h" |
6 #include "testing/gtest/include/gtest/gtest.h" | 6 #include "testing/gtest/include/gtest/gtest.h" |
7 #include "ui/gl/gl_image_shared_memory.h" | 7 #include "ui/gl/gl_image_shared_memory.h" |
8 #include "ui/gl/test/gl_image_test_template.h" | 8 #include "ui/gl/test/gl_image_test_template.h" |
9 | 9 |
10 namespace gfx { | 10 namespace gfx { |
(...skipping 21 matching lines...) Expand all Loading... |
32 GenericSharedMemoryId(0), format); | 32 GenericSharedMemoryId(0), format); |
33 EXPECT_TRUE(rv); | 33 EXPECT_TRUE(rv); |
34 return image; | 34 return image; |
35 } | 35 } |
36 }; | 36 }; |
37 | 37 |
38 INSTANTIATE_TYPED_TEST_CASE_P(GLImageSharedMemory, | 38 INSTANTIATE_TYPED_TEST_CASE_P(GLImageSharedMemory, |
39 GLImageTest, | 39 GLImageTest, |
40 GLImageSharedMemoryTestDelegate); | 40 GLImageSharedMemoryTestDelegate); |
41 | 41 |
| 42 INSTANTIATE_TYPED_TEST_CASE_P(GLImageSharedMemory, |
| 43 GLImageCopyTest, |
| 44 GLImageSharedMemoryTestDelegate); |
| 45 |
42 } // namespace | 46 } // namespace |
43 } // namespace gfx | 47 } // namespace gfx |
OLD | NEW |