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

Unified Diff: gpu/command_buffer/tests/gl_test_utils.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/tests/gl_stream_draw_unittest.cc ('k') | gpu/command_buffer/tests/gl_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/tests/gl_test_utils.h
diff --git a/gpu/command_buffer/tests/gl_test_utils.h b/gpu/command_buffer/tests/gl_test_utils.h
index 802d54d18ec715b1f48171231da8f931d47614aa..537442fbe035eab42f454ff21ceff002b00ff875 100644
--- a/gpu/command_buffer/tests/gl_test_utils.h
+++ b/gpu/command_buffer/tests/gl_test_utils.h
@@ -8,11 +8,11 @@
#define GPU_COMMAND_BUFFER_TESTS_GL_TEST_UTILS_H_
#include <GLES2/gl2.h>
-#include "base/basictypes.h"
+#include <stdint.h>
class GLTestHelper {
public:
- static const uint8 kCheckClearValue = 123u;
+ static const uint8_t kCheckClearValue = 123u;
static bool HasExtension(const char* extension);
static bool CheckGLError(const char* msg, int line);
@@ -49,9 +49,12 @@ class GLTestHelper {
GLint location, const GLfloat color[4], GLenum usage);
// Checks an area of pixels for a color.
- static bool CheckPixels(
- GLint x, GLint y, GLsizei width, GLsizei height, GLint tolerance,
- const uint8* color);
+ static bool CheckPixels(GLint x,
+ GLint y,
+ GLsizei width,
+ GLsizei height,
+ GLint tolerance,
+ const uint8_t* color);
// Uses ReadPixels to save an area of the current FBO/Backbuffer.
static bool SaveBackbufferAsBMP(const char* filename, int width, int height);
« no previous file with comments | « gpu/command_buffer/tests/gl_stream_draw_unittest.cc ('k') | gpu/command_buffer/tests/gl_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698