| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <stdio.h> | 5 #include <stdio.h> |
| 6 |
| 6 #include <cmath> | 7 #include <cmath> |
| 8 #include <memory> |
| 7 #include <string> | 9 #include <string> |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 10 #include "gpu/command_buffer/client/gl_in_process_context.h" | 12 #include "gpu/command_buffer/client/gl_in_process_context.h" |
| 11 #include "gpu/command_buffer/client/gles2_implementation.h" | 13 #include "gpu/command_buffer/client/gles2_implementation.h" |
| 12 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 13 #include "ui/gl/gl_surface.h" | 15 #include "ui/gl/gl_surface.h" |
| 14 | 16 |
| 15 namespace { | 17 namespace { |
| 16 | 18 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 | 53 |
| 52 private: | 54 private: |
| 53 std::unique_ptr<gpu::GLInProcessContext> context_; | 55 std::unique_ptr<gpu::GLInProcessContext> context_; |
| 54 }; | 56 }; |
| 55 | 57 |
| 56 } // namespace | 58 } // namespace |
| 57 | 59 |
| 58 // Include the actual tests. | 60 // Include the actual tests. |
| 59 #define CONTEXT_TEST_F TEST_F | 61 #define CONTEXT_TEST_F TEST_F |
| 60 #include "content/common/gpu/client/gpu_context_tests.h" | 62 #include "content/common/gpu/client/gpu_context_tests.h" |
| OLD | NEW |