| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 void DidCreateOffscreenContext(const GURL& active_url) override; | 84 void DidCreateOffscreenContext(const GURL& active_url) override; |
| 85 void DidDestroyChannel(int client_id) override; | 85 void DidDestroyChannel(int client_id) override; |
| 86 void DidDestroyOffscreenContext(const GURL& active_url) override; | 86 void DidDestroyOffscreenContext(const GURL& active_url) override; |
| 87 void DidLoseContext(bool offscreen, | 87 void DidLoseContext(bool offscreen, |
| 88 gpu::error::ContextLostReason reason, | 88 gpu::error::ContextLostReason reason, |
| 89 const GURL& active_url) override; | 89 const GURL& active_url) override; |
| 90 void GpuMemoryUmaStats(const gpu::GPUMemoryUmaStats& params) override; | 90 void GpuMemoryUmaStats(const gpu::GPUMemoryUmaStats& params) override; |
| 91 void RemoveSubscription(int32_t client_id, unsigned int target) override; | 91 void RemoveSubscription(int32_t client_id, unsigned int target) override; |
| 92 #if defined(OS_MACOSX) | 92 #if defined(OS_MACOSX) |
| 93 void SendAcceleratedSurfaceBuffersSwapped( | 93 void SendAcceleratedSurfaceBuffersSwapped( |
| 94 const AcceleratedSurfaceBuffersSwappedParams& params) override; | 94 int32_t surface_id, |
| 95 CAContextID ca_context_id, |
| 96 const gfx::ScopedRefCountedIOSurfaceMachPort& io_surface, |
| 97 const gfx::Size& size, |
| 98 float scale_factor, |
| 99 std::vector<ui::LatencyInfo> latency_info) override; |
| 95 #endif | 100 #endif |
| 96 #if defined(OS_WIN) | 101 #if defined(OS_WIN) |
| 97 void SendAcceleratedSurfaceCreatedChildWindow( | 102 void SendAcceleratedSurfaceCreatedChildWindow( |
| 98 gpu::SurfaceHandle parent_window, | 103 gpu::SurfaceHandle parent_window, |
| 99 gpu::SurfaceHandle child_window) override; | 104 gpu::SurfaceHandle child_window) override; |
| 100 #endif | 105 #endif |
| 101 void StoreShaderToDisk(int32_t client_id, | 106 void StoreShaderToDisk(int32_t client_id, |
| 102 const std::string& key, | 107 const std::string& key, |
| 103 const std::string& shader) override; | 108 const std::string& shader) override; |
| 104 | 109 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 177 |
| 173 // Bindings to the mojom::ProcessControl impl. | 178 // Bindings to the mojom::ProcessControl impl. |
| 174 mojo::BindingSet<mojom::ProcessControl> process_control_bindings_; | 179 mojo::BindingSet<mojom::ProcessControl> process_control_bindings_; |
| 175 | 180 |
| 176 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); | 181 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); |
| 177 }; | 182 }; |
| 178 | 183 |
| 179 } // namespace content | 184 } // namespace content |
| 180 | 185 |
| 181 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ | 186 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ |
| OLD | NEW |