Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: content/common/gpu/gpu_command_buffer_stub.h

Issue 8198017: Allow FlushSyncs to short circuit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/gpu/gpu_channel.cc ('k') | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #if defined(ENABLE_GPU) 9 #if defined(ENABLE_GPU)
10 10
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 void OnInitializeFailed(IPC::Message* reply_message); 85 void OnInitializeFailed(IPC::Message* reply_message);
86 86
87 // Message handlers: 87 // Message handlers:
88 void OnInitialize(base::SharedMemoryHandle ring_buffer, 88 void OnInitialize(base::SharedMemoryHandle ring_buffer,
89 int32 size, 89 int32 size,
90 IPC::Message* reply_message); 90 IPC::Message* reply_message);
91 void OnSetParent(int32 parent_route_id, 91 void OnSetParent(int32 parent_route_id,
92 uint32 parent_texture_id, 92 uint32 parent_texture_id,
93 IPC::Message* reply_message); 93 IPC::Message* reply_message);
94 void OnGetState(IPC::Message* reply_message); 94 void OnGetState(IPC::Message* reply_message);
95 void OnFlush(int32 put_offset, 95 void OnGetStateFast(IPC::Message* reply_message);
96 int32 last_known_get,
97 uint32 flush_count,
98 IPC::Message* reply_message);
99 void OnAsyncFlush(int32 put_offset, uint32 flush_count); 96 void OnAsyncFlush(int32 put_offset, uint32 flush_count);
100 void OnEcho(const IPC::Message& message); 97 void OnEcho(const IPC::Message& message);
101 void OnRescheduled(); 98 void OnRescheduled();
102 void OnCreateTransferBuffer(int32 size, 99 void OnCreateTransferBuffer(int32 size,
103 int32 id_request, 100 int32 id_request,
104 IPC::Message* reply_message); 101 IPC::Message* reply_message);
105 void OnRegisterTransferBuffer(base::SharedMemoryHandle transfer_buffer, 102 void OnRegisterTransferBuffer(base::SharedMemoryHandle transfer_buffer,
106 size_t size, 103 size_t size,
107 int32 id_request, 104 int32 id_request,
108 IPC::Message* reply_message); 105 IPC::Message* reply_message);
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 IDMap<GpuVideoDecodeAccelerator, IDMapOwnPointer> video_decoders_; 167 IDMap<GpuVideoDecodeAccelerator, IDMapOwnPointer> video_decoders_;
171 168
172 ScopedRunnableMethodFactory<GpuCommandBufferStub> task_factory_; 169 ScopedRunnableMethodFactory<GpuCommandBufferStub> task_factory_;
173 170
174 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); 171 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub);
175 }; 172 };
176 173
177 #endif // defined(ENABLE_GPU) 174 #endif // defined(ENABLE_GPU)
178 175
179 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ 176 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_channel.cc ('k') | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698