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

Unified Diff: gpu/command_buffer/client/gl_in_process_context.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
Index: gpu/command_buffer/client/gl_in_process_context.h
diff --git a/gpu/command_buffer/client/gl_in_process_context.h b/gpu/command_buffer/client/gl_in_process_context.h
index 656c8b2bc0c8ec81924f52dd3c38ffa64c548caa..36484cef18e7bb628e6eb9e8d88abbcca3d5b310 100644
--- a/gpu/command_buffer/client/gl_in_process_context.h
+++ b/gpu/command_buffer/client/gl_in_process_context.h
@@ -5,6 +5,9 @@
#ifndef GPU_COMMAND_BUFFER_CLIENT_GL_IN_PROCESS_CONTEXT_H_
#define GPU_COMMAND_BUFFER_CLIENT_GL_IN_PROCESS_CONTEXT_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include "base/callback.h"
#include "base/compiler_specific.h"
#include "gl_in_process_context_export.h"
@@ -33,7 +36,7 @@ class GLES2Implementation;
struct GL_IN_PROCESS_CONTEXT_EXPORT GLInProcessContextSharedMemoryLimits {
GLInProcessContextSharedMemoryLimits();
- int32 command_buffer_size;
+ int32_t command_buffer_size;
unsigned int start_transfer_buffer_size;
unsigned int min_transfer_buffer_size;
unsigned int max_transfer_buffer_size;
@@ -80,8 +83,8 @@ class GL_IN_PROCESS_CONTEXT_EXPORT GLInProcessContext {
#if defined(OS_ANDROID)
virtual scoped_refptr<gfx::SurfaceTexture> GetSurfaceTexture(
- uint32 stream_id) = 0;
- virtual uint32 CreateStreamTexture(uint32 texture_id) = 0;
+ uint32_t stream_id) = 0;
+ virtual uint32_t CreateStreamTexture(uint32_t texture_id) = 0;
#endif
};
« no previous file with comments | « gpu/command_buffer/client/fenced_allocator_test.cc ('k') | gpu/command_buffer/client/gl_in_process_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698