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

Side by Side Diff: mojo/gles2/command_buffer_client_impl.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 | « gpu/gles2_conform_support/egl/display.cc ('k') | mojo/gles2/command_buffer_client_impl.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ 5 #ifndef MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_
6 #define MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ 6 #define MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 virtual void SetGetOffset(int32 get_offset) OVERRIDE; 59 virtual void SetGetOffset(int32 get_offset) OVERRIDE;
60 virtual gpu::Buffer CreateTransferBuffer(size_t size, int32* id) OVERRIDE; 60 virtual gpu::Buffer CreateTransferBuffer(size_t size, int32* id) OVERRIDE;
61 virtual void DestroyTransferBuffer(int32 id) OVERRIDE; 61 virtual void DestroyTransferBuffer(int32 id) OVERRIDE;
62 virtual gpu::Buffer GetTransferBuffer(int32 id) OVERRIDE; 62 virtual gpu::Buffer GetTransferBuffer(int32 id) OVERRIDE;
63 virtual void SetToken(int32 token) OVERRIDE; 63 virtual void SetToken(int32 token) OVERRIDE;
64 virtual void SetParseError(gpu::error::Error error) OVERRIDE; 64 virtual void SetParseError(gpu::error::Error error) OVERRIDE;
65 virtual void SetContextLostReason(gpu::error::ContextLostReason reason) 65 virtual void SetContextLostReason(gpu::error::ContextLostReason reason)
66 OVERRIDE; 66 OVERRIDE;
67 67
68 // gpu::GpuControl implementation: 68 // gpu::GpuControl implementation:
69 virtual gpu::Capabilities GetCapabilities() OVERRIDE;
70 virtual gfx::GpuMemoryBuffer* CreateGpuMemoryBuffer(size_t width, 69 virtual gfx::GpuMemoryBuffer* CreateGpuMemoryBuffer(size_t width,
71 size_t height, 70 size_t height,
72 unsigned internalformat, 71 unsigned internalformat,
73 int32* id) OVERRIDE; 72 int32* id) OVERRIDE;
74 virtual void DestroyGpuMemoryBuffer(int32 id) OVERRIDE; 73 virtual void DestroyGpuMemoryBuffer(int32 id) OVERRIDE;
75 virtual uint32 InsertSyncPoint() OVERRIDE; 74 virtual uint32 InsertSyncPoint() OVERRIDE;
76 virtual void SignalSyncPoint(uint32 sync_point, 75 virtual void SignalSyncPoint(uint32 sync_point,
77 const base::Closure& callback) OVERRIDE; 76 const base::Closure& callback) OVERRIDE;
78 virtual void SignalQuery(uint32 query, 77 virtual void SignalQuery(uint32 query,
79 const base::Closure& callback) OVERRIDE; 78 const base::Closure& callback) OVERRIDE;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 int32 last_put_offset_; 117 int32 last_put_offset_;
119 int32 next_transfer_buffer_id_; 118 int32 next_transfer_buffer_id_;
120 119
121 bool initialize_result_; 120 bool initialize_result_;
122 }; 121 };
123 122
124 } // gles2 123 } // gles2
125 } // mojo 124 } // mojo
126 125
127 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ 126 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « gpu/gles2_conform_support/egl/display.cc ('k') | mojo/gles2/command_buffer_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698