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

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

Issue 12676029: cc: Fix capitalization style in chromified files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « cc/output/direct_renderer.cc ('k') | cc/output/gl_renderer.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 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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_GL_RENDERER_H_ 5 #ifndef CC_OUTPUT_GL_RENDERER_H_
6 #define CC_OUTPUT_GL_RENDERER_H_ 6 #define CC_OUTPUT_GL_RENDERER_H_
7 7
8 #include "cc/base/cc_export.h" 8 #include "cc/base/cc_export.h"
9 #include "cc/output/direct_renderer.h" 9 #include "cc/output/direct_renderer.h"
10 #include "cc/output/gl_renderer_draw_cache.h" 10 #include "cc/output/gl_renderer_draw_cache.h"
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 int matrix_location); 149 int matrix_location);
150 void SetBlendEnabled(bool enabled); 150 void SetBlendEnabled(bool enabled);
151 void SetUseProgram(unsigned program); 151 void SetUseProgram(unsigned program);
152 152
153 void CopyTextureToFramebuffer(const DrawingFrame& frame, 153 void CopyTextureToFramebuffer(const DrawingFrame& frame,
154 int texture_id, 154 int texture_id,
155 gfx::Rect rect, 155 gfx::Rect rect,
156 const gfx::Transform& draw_matrix); 156 const gfx::Transform& draw_matrix);
157 157
158 // Check if quad needs antialiasing and if so, inflate the quad and 158 // Check if quad needs antialiasing and if so, inflate the quad and
159 // fill edge array for fragment shader. localQuad is set to 159 // fill edge array for fragment shader. local_quad is set to
160 // inflated quad if antialiasing is required, otherwise it is left 160 // inflated quad if antialiasing is required, otherwise it is left
161 // unchanged. edge array is filled with inflated quad's edge data 161 // unchanged. edge array is filled with inflated quad's edge data
162 // if antialiasing is required, otherwise it is left unchanged. 162 // if antialiasing is required, otherwise it is left unchanged.
163 // Returns true if quad requires antialiasing and false otherwise. 163 // Returns true if quad requires antialiasing and false otherwise.
164 bool SetupQuadForAntialiasing(const gfx::Transform& device_transform, 164 bool SetupQuadForAntialiasing(const gfx::Transform& device_transform,
165 const DrawQuad* quad, 165 const DrawQuad* quad,
166 gfx::QuadF* local_quad, 166 gfx::QuadF* local_quad,
167 float edge[24]) const; 167 float edge[24]) const;
168 168
169 bool UseScopedTexture(DrawingFrame& frame, 169 bool UseScopedTexture(DrawingFrame& frame,
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 #if DEBUG_GL_CALLS && !defined(NDEBUG) 331 #if DEBUG_GL_CALLS && !defined(NDEBUG)
332 #define GLC(context, x) \ 332 #define GLC(context, x) \
333 (x, GLRenderer::DebugGLCall (&* context, #x, __FILE__, __LINE__)) 333 (x, GLRenderer::DebugGLCall (&* context, #x, __FILE__, __LINE__))
334 #else 334 #else
335 #define GLC(context, x) (x) 335 #define GLC(context, x) (x)
336 #endif 336 #endif
337 337
338 } 338 }
339 339
340 #endif // CC_OUTPUT_GL_RENDERER_H_ 340 #endif // CC_OUTPUT_GL_RENDERER_H_
OLDNEW
« no previous file with comments | « cc/output/direct_renderer.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698