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

Unified Diff: gpu/command_buffer/common/command_buffer.h

Issue 215803002: Remove CommandBuffer::GetTransferBuffer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/client/client_test_helper.h ('k') | gpu/command_buffer/common/command_buffer_mock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/command_buffer.h
diff --git a/gpu/command_buffer/common/command_buffer.h b/gpu/command_buffer/common/command_buffer.h
index 10f60260642713b7e966e96324a85a5a59df9821..74cefe8322aa42a2ccb4db26df599f8c57a6abf5 100644
--- a/gpu/command_buffer/common/command_buffer.h
+++ b/gpu/command_buffer/common/command_buffer.h
@@ -113,9 +113,6 @@ class GPU_EXPORT CommandBuffer {
// Also resets the get and put offsets to 0.
virtual void SetGetBuffer(int32 transfer_buffer_id) = 0;
- // Sets the current get offset. This can be called from any thread.
- virtual void SetGetOffset(int32 get_offset) = 0;
-
// Create a transfer buffer of the given size. Returns its ID or -1 on
// error.
virtual scoped_refptr<gpu::Buffer> CreateTransferBuffer(size_t size,
@@ -124,21 +121,6 @@ class GPU_EXPORT CommandBuffer {
// Destroy a transfer buffer. The ID must be positive.
virtual void DestroyTransferBuffer(int32 id) = 0;
- // Get the transfer buffer associated with an ID. Returns a null buffer for
- // ID 0.
- virtual scoped_refptr<gpu::Buffer> GetTransferBuffer(int32 id) = 0;
-
- // Allows the reader to update the current token value.
- virtual void SetToken(int32 token) = 0;
-
- // Allows the reader to set the current parse error.
- virtual void SetParseError(error::Error) = 0;
-
- // Allows the reader to set the current context lost reason.
- // NOTE: if calling this in conjunction with SetParseError,
- // call this first.
- virtual void SetContextLostReason(error::ContextLostReason) = 0;
-
// The NaCl Win64 build only really needs the struct definitions above; having
// GetLastError declared would mean we'd have to also define it, and pull more
// of gpu in to the NaCl Win64 build.
« no previous file with comments | « gpu/command_buffer/client/client_test_helper.h ('k') | gpu/command_buffer/common/command_buffer_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698