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

Unified Diff: gpu/command_buffer/client/vertex_array_object_manager.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/vertex_array_object_manager.h
diff --git a/gpu/command_buffer/client/vertex_array_object_manager.h b/gpu/command_buffer/client/vertex_array_object_manager.h
index 8714521f62df75c0830e0ae1b252cdae72791d96..6897c9290c5ac82a607daf985a79128aa33c9ca3 100644
--- a/gpu/command_buffer/client/vertex_array_object_manager.h
+++ b/gpu/command_buffer/client/vertex_array_object_manager.h
@@ -6,6 +6,7 @@
#define GPU_COMMAND_BUFFER_CLIENT_VERTEX_ARRAY_OBJECT_MANAGER_H_
#include <GLES2/gl2.h>
+#include <stdint.h>
#include "base/containers/hash_tables.h"
#include "base/macros.h"
@@ -76,7 +77,7 @@ class GLES2_IMPL_EXPORT VertexArrayObjectManager {
void SetAttribEnable(GLuint index, bool enabled);
- bool GetVertexAttrib(GLuint index, GLenum pname, uint32* param);
+ bool GetVertexAttrib(GLuint index, GLenum pname, uint32_t* param);
bool GetAttribPointer(GLuint index, GLenum pname, void** ptr) const;
@@ -112,7 +113,7 @@ class GLES2_IMPL_EXPORT VertexArrayObjectManager {
GLuint element_array_buffer_id_;
GLsizei element_array_buffer_size_;
GLsizei collection_buffer_size_;
- scoped_ptr<int8[]> collection_buffer_;
+ scoped_ptr<int8_t[]> collection_buffer_;
VertexArrayObject* default_vertex_array_object_;
VertexArrayObject* bound_vertex_array_object_;
« no previous file with comments | « gpu/command_buffer/client/transfer_buffer_unittest.cc ('k') | gpu/command_buffer/client/vertex_array_object_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698