| 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 #ifndef CC_TEST_TEST_IN_PROCESS_CONTEXT_PROVIDER_H_ | 5 #ifndef CC_TEST_TEST_IN_PROCESS_CONTEXT_PROVIDER_H_ |
| 6 #define CC_TEST_TEST_IN_PROCESS_CONTEXT_PROVIDER_H_ | 6 #define CC_TEST_TEST_IN_PROCESS_CONTEXT_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "base/synchronization/lock.h" | 10 #include "base/synchronization/lock.h" |
| 9 #include "cc/output/context_provider.h" | 11 #include "cc/output/context_provider.h" |
| 10 #include "cc/test/test_gpu_memory_buffer_manager.h" | 12 #include "cc/test/test_gpu_memory_buffer_manager.h" |
| 11 #include "cc/test/test_image_factory.h" | 13 #include "cc/test/test_image_factory.h" |
| 12 #include "skia/ext/refptr.h" | 14 #include "skia/ext/refptr.h" |
| 13 | 15 |
| 14 class GrContext; | 16 class GrContext; |
| 15 | 17 |
| 16 namespace gpu { | 18 namespace gpu { |
| 17 class GLInProcessContext; | 19 class GLInProcessContext; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 48 TestGpuMemoryBufferManager gpu_memory_buffer_manager_; | 50 TestGpuMemoryBufferManager gpu_memory_buffer_manager_; |
| 49 TestImageFactory image_factory_; | 51 TestImageFactory image_factory_; |
| 50 scoped_ptr<gpu::GLInProcessContext> context_; | 52 scoped_ptr<gpu::GLInProcessContext> context_; |
| 51 skia::RefPtr<class GrContext> gr_context_; | 53 skia::RefPtr<class GrContext> gr_context_; |
| 52 base::Lock context_lock_; | 54 base::Lock context_lock_; |
| 53 }; | 55 }; |
| 54 | 56 |
| 55 } // namespace cc | 57 } // namespace cc |
| 56 | 58 |
| 57 #endif // CC_TEST_TEST_IN_PROCESS_CONTEXT_PROVIDER_H_ | 59 #endif // CC_TEST_TEST_IN_PROCESS_CONTEXT_PROVIDER_H_ |
| OLD | NEW |