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

Side by Side Diff: cc/output/geometry_binding.h

Issue 1065463002: cc: Remove GLC macro (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « cc/output/dynamic_geometry_binding.cc ('k') | cc/output/geometry_binding.cc » ('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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CC_OUTPUT_GEOMETRY_BINDING_H_ 5 #ifndef CC_OUTPUT_GEOMETRY_BINDING_H_
6 #define CC_OUTPUT_GEOMETRY_BINDING_H_ 6 #define CC_OUTPUT_GEOMETRY_BINDING_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "cc/output/gl_renderer.h" // For the GLC() macro.
10 #include "gpu/command_buffer/client/gles2_interface.h" 9 #include "gpu/command_buffer/client/gles2_interface.h"
11 #include "third_party/khronos/GLES2/gl2.h" 10 #include "third_party/khronos/GLES2/gl2.h"
12 #include "third_party/khronos/GLES2/gl2ext.h" 11 #include "third_party/khronos/GLES2/gl2ext.h"
13 #include "ui/gfx/geometry/rect_f.h" 12 #include "ui/gfx/geometry/rect_f.h"
14 13
15 namespace gfx { 14 namespace gfx {
16 class QuadF; 15 class QuadF;
17 class Quad; 16 class Quad;
18 class QuadIndex; 17 class QuadIndex;
19 class PointF; 18 class PointF;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 static int TriangleIndexAttribLocation() { return 2; } 60 static int TriangleIndexAttribLocation() { return 2; }
62 }; 61 };
63 62
64 void SetupGLContext(gpu::gles2::GLES2Interface* gl, 63 void SetupGLContext(gpu::gles2::GLES2Interface* gl,
65 GLuint quad_elements_vbo, 64 GLuint quad_elements_vbo,
66 GLuint quad_vertices_vbo); 65 GLuint quad_vertices_vbo);
67 66
68 } // namespace cc 67 } // namespace cc
69 68
70 #endif // CC_OUTPUT_GEOMETRY_BINDING_H_ 69 #endif // CC_OUTPUT_GEOMETRY_BINDING_H_
OLDNEW
« no previous file with comments | « cc/output/dynamic_geometry_binding.cc ('k') | cc/output/geometry_binding.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698