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

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

Issue 331723003: gpu: Remove Create/DeleteImage IPC by adding an X11_PIXMAP_BUFFER GpuMemoryBuffer type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: include x11 pixmap tracker Created 6 years, 6 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
OLDNEW
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
194 bool OnWaitSyncPoint(uint32 sync_point); 194 bool OnWaitSyncPoint(uint32 sync_point);
195 void OnSyncPointRetired(); 195 void OnSyncPointRetired();
196 void OnSignalSyncPoint(uint32 sync_point, uint32 id); 196 void OnSignalSyncPoint(uint32 sync_point, uint32 id);
197 void OnSignalSyncPointAck(uint32 id); 197 void OnSignalSyncPointAck(uint32 id);
198 void OnSignalQuery(uint32 query, uint32 id); 198 void OnSignalQuery(uint32 query, uint32 id);
199 199
200 void OnReceivedClientManagedMemoryStats(const gpu::ManagedMemoryStats& stats); 200 void OnReceivedClientManagedMemoryStats(const gpu::ManagedMemoryStats& stats);
201 void OnSetClientHasMemoryAllocationChangedCallback(bool has_callback); 201 void OnSetClientHasMemoryAllocationChangedCallback(bool has_callback);
202 202
203 void OnRegisterGpuMemoryBuffer(int32 id, 203 void OnRegisterGpuMemoryBuffer(int32 id,
204 gfx::GpuMemoryBufferHandle gpu_memory_buffer, 204 gfx::GpuMemoryBufferHandle handle,
205 uint32 width, 205 uint32 width,
206 uint32 height, 206 uint32 height,
207 uint32 internalformat); 207 uint32 internalformat);
208 void OnDestroyGpuMemoryBuffer(int32 id); 208 void OnDestroyGpuMemoryBuffer(int32 id);
209 209
210 void OnCommandProcessed(); 210 void OnCommandProcessed();
211 void OnParseError(); 211 void OnParseError();
212 void OnSetLatencyInfo(const std::vector<ui::LatencyInfo>& latency_info); 212 void OnSetLatencyInfo(const std::vector<ui::LatencyInfo>& latency_info);
213 void OnCreateStreamTexture( 213 void OnCreateStreamTexture(
214 uint32 texture_id, int32 stream_id, bool* succeeded); 214 uint32 texture_id, int32 stream_id, bool* succeeded);
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 size_t total_gpu_memory_; 282 size_t total_gpu_memory_;
283 scoped_ptr<WaitForCommandState> wait_for_token_; 283 scoped_ptr<WaitForCommandState> wait_for_token_;
284 scoped_ptr<WaitForCommandState> wait_for_get_offset_; 284 scoped_ptr<WaitForCommandState> wait_for_get_offset_;
285 285
286 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); 286 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub);
287 }; 287 };
288 288
289 } // namespace content 289 } // namespace content
290 290
291 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ 291 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698