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 <vector> | 5 #include <vector> |
6 | 6 |
7 #include "base/memory/ref_counted_memory.h" | 7 #include "base/memory/ref_counted_memory.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 #include "ui/gl/gl_image_ref_counted_memory.h" | 9 #include "ui/gl/gl_image_ref_counted_memory.h" |
10 #include "ui/gl/test/gl_image_test_template.h" | 10 #include "ui/gl/test/gl_image_test_template.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 bool rv = image->Initialize(bytes.get(), format); | 30 bool rv = image->Initialize(bytes.get(), format); |
31 EXPECT_TRUE(rv); | 31 EXPECT_TRUE(rv); |
32 return image; | 32 return image; |
33 } | 33 } |
34 }; | 34 }; |
35 | 35 |
36 INSTANTIATE_TYPED_TEST_CASE_P(GLImageRefCountedMemory, | 36 INSTANTIATE_TYPED_TEST_CASE_P(GLImageRefCountedMemory, |
37 GLImageTest, | 37 GLImageTest, |
38 GLImageRefCountedMemoryTestDelegate); | 38 GLImageRefCountedMemoryTestDelegate); |
39 | 39 |
40 INSTANTIATE_TYPED_TEST_CASE_P(GLImageRefCountedMemory, | |
41 GLImageCopyTest, | |
42 GLImageRefCountedMemoryTestDelegate); | |
43 | |
44 } // namespace | 40 } // namespace |
45 } // namespace gfx | 41 } // namespace gfx |
OLD | NEW |