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

Side by Side Diff: ui/gl/gl_helper.h

Issue 1545113002: Switch to standard integer types in ui/gl/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months 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 unified diff | Download patch
« no previous file with comments | « ui/gl/gl_fence.cc ('k') | ui/gl/gl_image.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_GL_GL_HELPER_H_ 5 #ifndef UI_GL_GL_HELPER_H_
6 #define UI_GL_GL_HELPER_H_ 6 #define UI_GL_GL_HELPER_H_
7 7
8 #include "base/basictypes.h"
9 #include "ui/gl/gl_bindings.h" 8 #include "ui/gl/gl_bindings.h"
10 #include "ui/gl/gl_export.h" 9 #include "ui/gl/gl_export.h"
11 10
12 namespace gfx { 11 namespace gfx {
13 12
14 class GL_EXPORT GLHelper { 13 class GL_EXPORT GLHelper {
15 public: 14 public:
16 // Compiles a shader. 15 // Compiles a shader.
17 // Does not check for errors, always returns shader. 16 // Does not check for errors, always returns shader.
18 static GLuint CompileShader(GLenum type, const char* src); 17 static GLuint CompileShader(GLenum type, const char* src);
(...skipping 14 matching lines...) Expand all
33 // a quad as a tri-strip. 32 // a quad as a tri-strip.
34 static GLuint SetupQuadVertexBuffer(); 33 static GLuint SetupQuadVertexBuffer();
35 34
36 // Draws a quad to the currently bound frame buffer. 35 // Draws a quad to the currently bound frame buffer.
37 static void DrawQuad(GLuint vertex_buffer); 36 static void DrawQuad(GLuint vertex_buffer);
38 }; 37 };
39 38
40 } // namespace gfx 39 } // namespace gfx
41 40
42 #endif // UI_GL_GL_HELPER_H_ 41 #endif // UI_GL_GL_HELPER_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_fence.cc ('k') | ui/gl/gl_image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698