| 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_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ | 5 #ifndef CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ |
| 6 #define CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ | 6 #define CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 void OnSignalSyncPointAck(uint32 id); | 194 void OnSignalSyncPointAck(uint32 id); |
| 195 void OnSignalQuery(uint32 query, uint32 id); | 195 void OnSignalQuery(uint32 query, uint32 id); |
| 196 | 196 |
| 197 void OnSetClientHasMemoryAllocationChangedCallback(bool has_callback); | 197 void OnSetClientHasMemoryAllocationChangedCallback(bool has_callback); |
| 198 | 198 |
| 199 void OnRegisterGpuMemoryBuffer(int32 id, | 199 void OnRegisterGpuMemoryBuffer(int32 id, |
| 200 gfx::GpuMemoryBufferHandle handle, | 200 gfx::GpuMemoryBufferHandle handle, |
| 201 uint32 width, | 201 uint32 width, |
| 202 uint32 height, | 202 uint32 height, |
| 203 uint32 internalformat); | 203 uint32 internalformat); |
| 204 void OnDestroyGpuMemoryBuffer(int32 id); | 204 void OnUnregisterGpuMemoryBuffer(int32 id); |
| 205 | 205 |
| 206 void OnCommandProcessed(); | 206 void OnCommandProcessed(); |
| 207 void OnParseError(); | 207 void OnParseError(); |
| 208 void OnSetLatencyInfo(const std::vector<ui::LatencyInfo>& latency_info); | 208 void OnSetLatencyInfo(const std::vector<ui::LatencyInfo>& latency_info); |
| 209 void OnCreateStreamTexture( | 209 void OnCreateStreamTexture( |
| 210 uint32 texture_id, int32 stream_id, bool* succeeded); | 210 uint32 texture_id, int32 stream_id, bool* succeeded); |
| 211 | 211 |
| 212 void ReportState(); | 212 void ReportState(); |
| 213 | 213 |
| 214 // Wrapper for GpuScheduler::PutChanged that sets the crash report URL. | 214 // Wrapper for GpuScheduler::PutChanged that sets the crash report URL. |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 size_t total_gpu_memory_; | 277 size_t total_gpu_memory_; |
| 278 scoped_ptr<WaitForCommandState> wait_for_token_; | 278 scoped_ptr<WaitForCommandState> wait_for_token_; |
| 279 scoped_ptr<WaitForCommandState> wait_for_get_offset_; | 279 scoped_ptr<WaitForCommandState> wait_for_get_offset_; |
| 280 | 280 |
| 281 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); | 281 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); |
| 282 }; | 282 }; |
| 283 | 283 |
| 284 } // namespace content | 284 } // namespace content |
| 285 | 285 |
| 286 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ | 286 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ |
| OLD | NEW |