| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_GPU_GPU_CHILD_THREAD_H_ | 5 #ifndef CONTENT_GPU_GPU_CHILD_THREAD_H_ |
| 6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_ | 6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <queue> | 10 #include <queue> |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 void DidLoseContext(bool offscreen, | 90 void DidLoseContext(bool offscreen, |
| 91 gpu::error::ContextLostReason reason, | 91 gpu::error::ContextLostReason reason, |
| 92 const GURL& active_url) override; | 92 const GURL& active_url) override; |
| 93 void GpuMemoryUmaStats(const gpu::GPUMemoryUmaStats& params) override; | 93 void GpuMemoryUmaStats(const gpu::GPUMemoryUmaStats& params) override; |
| 94 void RemoveSubscription(int32_t client_id, unsigned int target) override; | 94 void RemoveSubscription(int32_t client_id, unsigned int target) override; |
| 95 #if defined(OS_MACOSX) | 95 #if defined(OS_MACOSX) |
| 96 void SendAcceleratedSurfaceBuffersSwapped( | 96 void SendAcceleratedSurfaceBuffersSwapped( |
| 97 int32_t surface_id, | 97 int32_t surface_id, |
| 98 CAContextID ca_context_id, | 98 CAContextID ca_context_id, |
| 99 const gfx::ScopedRefCountedIOSurfaceMachPort& io_surface, | 99 const gfx::ScopedRefCountedIOSurfaceMachPort& io_surface, |
| 100 bool use_detached, |
| 101 CAContextID detached_ca_context_id, |
| 100 const gfx::Size& size, | 102 const gfx::Size& size, |
| 101 float scale_factor, | 103 float scale_factor, |
| 102 std::vector<ui::LatencyInfo> latency_info) override; | 104 std::vector<ui::LatencyInfo> latency_info) override; |
| 103 #endif | 105 #endif |
| 104 #if defined(OS_WIN) | 106 #if defined(OS_WIN) |
| 105 void SendAcceleratedSurfaceCreatedChildWindow( | 107 void SendAcceleratedSurfaceCreatedChildWindow( |
| 106 gpu::SurfaceHandle parent_window, | 108 gpu::SurfaceHandle parent_window, |
| 107 gpu::SurfaceHandle child_window) override; | 109 gpu::SurfaceHandle child_window) override; |
| 108 #endif | 110 #endif |
| 109 void StoreShaderToDisk(int32_t client_id, | 111 void StoreShaderToDisk(int32_t client_id, |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 | 182 |
| 181 // Bindings to the mojom::ProcessControl impl. | 183 // Bindings to the mojom::ProcessControl impl. |
| 182 mojo::BindingSet<mojom::ProcessControl> process_control_bindings_; | 184 mojo::BindingSet<mojom::ProcessControl> process_control_bindings_; |
| 183 | 185 |
| 184 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); | 186 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); |
| 185 }; | 187 }; |
| 186 | 188 |
| 187 } // namespace content | 189 } // namespace content |
| 188 | 190 |
| 189 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ | 191 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ |
| OLD | NEW |