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

Unified Diff: gpu/command_buffer/service/cmd_buffer_engine.h

Issue 1542513002: Switch to standard integer types in gpu/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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/service/buffer_manager_unittest.cc ('k') | gpu/command_buffer/service/cmd_parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/cmd_buffer_engine.h
diff --git a/gpu/command_buffer/service/cmd_buffer_engine.h b/gpu/command_buffer/service/cmd_buffer_engine.h
index 75e60691f51369933093b38173915cda3e7042c3..eaf8309d6361bc5723930cf8bcf5cd3356f06bf3 100644
--- a/gpu/command_buffer/service/cmd_buffer_engine.h
+++ b/gpu/command_buffer/service/cmd_buffer_engine.h
@@ -8,7 +8,9 @@
#ifndef GPU_COMMAND_BUFFER_SERVICE_CMD_BUFFER_ENGINE_H_
#define GPU_COMMAND_BUFFER_SERVICE_CMD_BUFFER_ENGINE_H_
-#include "base/basictypes.h"
+#include <stdint.h>
+
+#include "base/macros.h"
#include "gpu/command_buffer/common/buffer.h"
namespace gpu {
@@ -24,19 +26,19 @@ class CommandBufferEngine {
// Gets the base address and size of a registered shared memory buffer.
// Parameters:
// shm_id: the identifier for the shared memory buffer.
- virtual scoped_refptr<gpu::Buffer> GetSharedMemoryBuffer(int32 shm_id) = 0;
+ virtual scoped_refptr<gpu::Buffer> GetSharedMemoryBuffer(int32_t shm_id) = 0;
// Sets the token value.
- virtual void set_token(int32 token) = 0;
+ virtual void set_token(int32_t token) = 0;
// Sets the shared memory buffer used for commands.
- virtual bool SetGetBuffer(int32 transfer_buffer_id) = 0;
+ virtual bool SetGetBuffer(int32_t transfer_buffer_id) = 0;
// Sets the "get" pointer. Return false if offset is out of range.
- virtual bool SetGetOffset(int32 offset) = 0;
+ virtual bool SetGetOffset(int32_t offset) = 0;
// Gets the "get" pointer.
- virtual int32 GetGetOffset() = 0;
+ virtual int32_t GetGetOffset() = 0;
private:
DISALLOW_COPY_AND_ASSIGN(CommandBufferEngine);
« no previous file with comments | « gpu/command_buffer/service/buffer_manager_unittest.cc ('k') | gpu/command_buffer/service/cmd_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698