OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 WEBKIT_GPU_CONTEXT_PROVIDER_IN_PROCESS_H_ | 5 #ifndef WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_IN_PROCESS_H_ |
6 #define WEBKIT_GPU_CONTEXT_PROVIDER_IN_PROCESS_H_ | 6 #define WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_IN_PROCESS_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/synchronization/lock.h" | 10 #include "base/synchronization/lock.h" |
11 #include "cc/output/context_provider.h" | 11 #include "cc/output/context_provider.h" |
12 #include "webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h" | 12 #include "webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.
h" |
13 #include "webkit/gpu/webkit_gpu_export.h" | 13 #include "webkit/common/gpu/webkit_gpu_export.h" |
14 | 14 |
15 namespace webkit { | 15 namespace webkit { |
16 namespace gpu { | 16 namespace gpu { |
17 class GrContextForWebGraphicsContext3D; | 17 class GrContextForWebGraphicsContext3D; |
18 | 18 |
19 class WEBKIT_GPU_EXPORT ContextProviderInProcess | 19 class WEBKIT_GPU_EXPORT ContextProviderInProcess |
20 : NON_EXPORTED_BASE(public cc::ContextProvider) { | 20 : NON_EXPORTED_BASE(public cc::ContextProvider) { |
21 public: | 21 public: |
22 static scoped_refptr<ContextProviderInProcess> Create() { | 22 static scoped_refptr<ContextProviderInProcess> Create() { |
23 scoped_refptr<ContextProviderInProcess> provider = | 23 scoped_refptr<ContextProviderInProcess> provider = |
(...skipping 30 matching lines...) Expand all Loading... |
54 class LostContextCallbackProxy; | 54 class LostContextCallbackProxy; |
55 scoped_ptr<LostContextCallbackProxy> lost_context_callback_proxy_; | 55 scoped_ptr<LostContextCallbackProxy> lost_context_callback_proxy_; |
56 | 56 |
57 class MemoryAllocationCallbackProxy; | 57 class MemoryAllocationCallbackProxy; |
58 scoped_ptr<MemoryAllocationCallbackProxy> memory_allocation_callback_proxy_; | 58 scoped_ptr<MemoryAllocationCallbackProxy> memory_allocation_callback_proxy_; |
59 }; | 59 }; |
60 | 60 |
61 } // namespace gpu | 61 } // namespace gpu |
62 } // namespace webkit | 62 } // namespace webkit |
63 | 63 |
64 #endif // WEBKIT_GPU_CONTEXT_PROVIDER_IN_PROCESS_H_ | 64 #endif // WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_IN_PROCESS_H_ |
OLD | NEW |