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

Unified Diff: gpu/command_buffer/service/vertex_attrib_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/service/vertex_attrib_manager.h
diff --git a/gpu/command_buffer/service/vertex_attrib_manager.h b/gpu/command_buffer/service/vertex_attrib_manager.h
index f7fd4955dcaff195f7e548d38cf8b15ed4ade789..875e15ae80da860b2b2f6f04a8cdadc0697dc976 100644
--- a/gpu/command_buffer/service/vertex_attrib_manager.h
+++ b/gpu/command_buffer/service/vertex_attrib_manager.h
@@ -5,6 +5,9 @@
#ifndef GPU_COMMAND_BUFFER_SERVICE_VERTEX_ATTRIB_MANAGER_H_
#define GPU_COMMAND_BUFFER_SERVICE_VERTEX_ATTRIB_MANAGER_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <list>
#include <vector>
#include "base/logging.h"
@@ -177,7 +180,7 @@ class GPU_EXPORT VertexAttribManager :
VertexAttribManager();
- void Initialize(uint32 num_vertex_attribs, bool init_attribs);
+ void Initialize(uint32_t num_vertex_attribs, bool init_attribs);
bool Enable(GLuint index, bool enable);
@@ -263,8 +266,9 @@ class GPU_EXPORT VertexAttribManager :
friend class base::RefCounted<VertexAttribManager>;
// Used when creating from a VertexArrayManager
- VertexAttribManager(VertexArrayManager* manager, GLuint service_id,
- uint32 num_vertex_attribs);
+ VertexAttribManager(VertexArrayManager* manager,
+ GLuint service_id,
+ uint32_t num_vertex_attribs);
~VertexAttribManager();
« no previous file with comments | « gpu/command_buffer/service/vertex_array_manager_unittest.cc ('k') | gpu/command_buffer/service/vertex_attrib_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698