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

Side by Side Diff: ppapi/proxy/ppapi_command_buffer_proxy.h

Issue 205193006: gpu: Remove map_image field from gpu::Capabilities. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move TODO Created 6 years, 9 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 | « mojo/services/gles2/command_buffer_impl.cc ('k') | ppapi/proxy/ppapi_command_buffer_proxy.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) 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 PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_ 5 #ifndef PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_
6 #define PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_ 6 #define PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/containers/hash_tables.h" 9 #include "base/containers/hash_tables.h"
10 #include "gpu/command_buffer/common/command_buffer.h" 10 #include "gpu/command_buffer/common/command_buffer.h"
(...skipping 29 matching lines...) Expand all
40 virtual void SetGetOffset(int32 get_offset) OVERRIDE; 40 virtual void SetGetOffset(int32 get_offset) OVERRIDE;
41 virtual gpu::Buffer CreateTransferBuffer(size_t size, int32* id) OVERRIDE; 41 virtual gpu::Buffer CreateTransferBuffer(size_t size, int32* id) OVERRIDE;
42 virtual void DestroyTransferBuffer(int32 id) OVERRIDE; 42 virtual void DestroyTransferBuffer(int32 id) OVERRIDE;
43 virtual gpu::Buffer GetTransferBuffer(int32 id) OVERRIDE; 43 virtual gpu::Buffer GetTransferBuffer(int32 id) OVERRIDE;
44 virtual void SetToken(int32 token) OVERRIDE; 44 virtual void SetToken(int32 token) OVERRIDE;
45 virtual void SetParseError(gpu::error::Error error) OVERRIDE; 45 virtual void SetParseError(gpu::error::Error error) OVERRIDE;
46 virtual void SetContextLostReason(gpu::error::ContextLostReason reason) 46 virtual void SetContextLostReason(gpu::error::ContextLostReason reason)
47 OVERRIDE; 47 OVERRIDE;
48 48
49 // gpu::GpuControl implementation: 49 // gpu::GpuControl implementation:
50 virtual gpu::Capabilities GetCapabilities() OVERRIDE;
51 virtual gfx::GpuMemoryBuffer* CreateGpuMemoryBuffer( 50 virtual gfx::GpuMemoryBuffer* CreateGpuMemoryBuffer(
52 size_t width, 51 size_t width,
53 size_t height, 52 size_t height,
54 unsigned internalformat, 53 unsigned internalformat,
55 int32* id) OVERRIDE; 54 int32* id) OVERRIDE;
56 virtual void DestroyGpuMemoryBuffer(int32 id) OVERRIDE; 55 virtual void DestroyGpuMemoryBuffer(int32 id) OVERRIDE;
57 virtual uint32 InsertSyncPoint() OVERRIDE; 56 virtual uint32 InsertSyncPoint() OVERRIDE;
58 virtual void SignalSyncPoint(uint32 sync_point, 57 virtual void SignalSyncPoint(uint32 sync_point,
59 const base::Closure& callback) OVERRIDE; 58 const base::Closure& callback) OVERRIDE;
60 virtual void SignalQuery(uint32 query, 59 virtual void SignalQuery(uint32 query,
(...skipping 18 matching lines...) Expand all
79 78
80 base::Closure channel_error_callback_; 79 base::Closure channel_error_callback_;
81 80
82 DISALLOW_COPY_AND_ASSIGN(PpapiCommandBufferProxy); 81 DISALLOW_COPY_AND_ASSIGN(PpapiCommandBufferProxy);
83 }; 82 };
84 83
85 } // namespace proxy 84 } // namespace proxy
86 } // namespace ppapi 85 } // namespace ppapi
87 86
88 #endif // PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_ 87 #endif // PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_
OLDNEW
« no previous file with comments | « mojo/services/gles2/command_buffer_impl.cc ('k') | ppapi/proxy/ppapi_command_buffer_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698