| 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 <stddef.h> |
| 6 #include <stdint.h> |
| 7 |
| 5 #include "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
| 6 #include "base/sys_info.h" | 9 #include "base/sys_info.h" |
| 7 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| 8 #include "ui/gl/gl_image_shared_memory.h" | 11 #include "ui/gl/gl_image_shared_memory.h" |
| 9 #include "ui/gl/test/gl_image_test_template.h" | 12 #include "ui/gl/test/gl_image_test_template.h" |
| 10 | 13 |
| 11 namespace gl { | 14 namespace gl { |
| 12 namespace { | 15 namespace { |
| 13 | 16 |
| 14 template <gfx::BufferFormat format> | 17 template <gfx::BufferFormat format> |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 return image; | 87 return image; |
| 85 } | 88 } |
| 86 }; | 89 }; |
| 87 | 90 |
| 88 INSTANTIATE_TYPED_TEST_CASE_P(GLImageSharedMemoryPool, | 91 INSTANTIATE_TYPED_TEST_CASE_P(GLImageSharedMemoryPool, |
| 89 GLImageCopyTest, | 92 GLImageCopyTest, |
| 90 GLImageSharedMemoryPoolTestDelegate); | 93 GLImageSharedMemoryPoolTestDelegate); |
| 91 | 94 |
| 92 } // namespace | 95 } // namespace |
| 93 } // namespace gl | 96 } // namespace gl |
| OLD | NEW |