| 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 #include "webkit/common/gpu/context_provider_in_process.h" | 5 #include "webkit/common/gpu/context_provider_in_process.h" |
| 6 | 6 |
| 7 #include <set> | |
| 8 | |
| 9 #include "base/bind.h" | 7 #include "base/bind.h" |
| 10 #include "base/callback_helpers.h" | 8 #include "base/callback_helpers.h" |
| 11 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
| 12 #include "cc/output/managed_memory_policy.h" | 10 #include "cc/output/managed_memory_policy.h" |
| 13 #include "gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h" | 11 #include "gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h" |
| 14 #include "gpu/command_buffer/client/gles2_implementation.h" | 12 #include "gpu/command_buffer/client/gles2_implementation.h" |
| 15 #include "webkit/common/gpu/grcontext_for_webgraphicscontext3d.h" | 13 #include "webkit/common/gpu/grcontext_for_webgraphicscontext3d.h" |
| 16 | 14 |
| 17 using gpu_blink::WebGraphicsContext3DInProcessCommandBufferImpl; | 15 using gpu_blink::WebGraphicsContext3DInProcessCommandBufferImpl; |
| 18 | 16 |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 lost_context_callback_ = lost_context_callback; | 207 lost_context_callback_ = lost_context_callback; |
| 210 } | 208 } |
| 211 | 209 |
| 212 void ContextProviderInProcess::SetMemoryPolicyChangedCallback( | 210 void ContextProviderInProcess::SetMemoryPolicyChangedCallback( |
| 213 const MemoryPolicyChangedCallback& memory_policy_changed_callback) { | 211 const MemoryPolicyChangedCallback& memory_policy_changed_callback) { |
| 214 // There's no memory manager for the in-process implementation. | 212 // There's no memory manager for the in-process implementation. |
| 215 } | 213 } |
| 216 | 214 |
| 217 } // namespace gpu | 215 } // namespace gpu |
| 218 } // namespace webkit | 216 } // namespace webkit |
| OLD | NEW |