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

Side by Side Diff: src/gpu/GrOvalRenderer.cpp

Issue 1202293002: Move GLSL-specific routines/classes to separate glsl directory (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rename GrGLGLSL.{cpp,h} Created 5 years, 6 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 | « src/gpu/GrAALinearizingConvexPathRenderer.cpp ('k') | src/gpu/GrPathProcessor.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "GrOvalRenderer.h" 8 #include "GrOvalRenderer.h"
9 9
10 #include "GrBatch.h" 10 #include "GrBatch.h"
11 #include "GrBatchTarget.h" 11 #include "GrBatchTarget.h"
12 #include "GrBatchTest.h" 12 #include "GrBatchTest.h"
13 #include "GrDrawTarget.h" 13 #include "GrDrawTarget.h"
14 #include "GrGeometryProcessor.h" 14 #include "GrGeometryProcessor.h"
15 #include "GrInvariantOutput.h" 15 #include "GrInvariantOutput.h"
16 #include "GrPipelineBuilder.h" 16 #include "GrPipelineBuilder.h"
17 #include "GrProcessor.h" 17 #include "GrProcessor.h"
18 #include "GrResourceProvider.h" 18 #include "GrResourceProvider.h"
19 #include "GrVertexBuffer.h" 19 #include "GrVertexBuffer.h"
20 #include "SkRRect.h" 20 #include "SkRRect.h"
21 #include "SkStrokeRec.h" 21 #include "SkStrokeRec.h"
22 #include "SkTLazy.h" 22 #include "SkTLazy.h"
23 #include "effects/GrRRectEffect.h" 23 #include "effects/GrRRectEffect.h"
24 #include "gl/GrGLProcessor.h" 24 #include "gl/GrGLProcessor.h"
25 #include "gl/GrGLSL.h"
26 #include "gl/GrGLGeometryProcessor.h" 25 #include "gl/GrGLGeometryProcessor.h"
27 #include "gl/builders/GrGLProgramBuilder.h" 26 #include "gl/builders/GrGLProgramBuilder.h"
28 27
29 // TODO(joshualitt) - Break this file up during GrBatch post implementation clea nup 28 // TODO(joshualitt) - Break this file up during GrBatch post implementation clea nup
30 29
31 namespace { 30 namespace {
32 // TODO(joshualitt) add per vertex colors 31 // TODO(joshualitt) add per vertex colors
33 struct CircleVertex { 32 struct CircleVertex {
34 SkPoint fPos; 33 SkPoint fPos;
35 SkPoint fOffset; 34 SkPoint fOffset;
(...skipping 1993 matching lines...) Expand 10 before | Expand all | Expand 10 after
2029 } 2028 }
2030 2029
2031 BATCH_TEST_DEFINE(RRectBatch) { 2030 BATCH_TEST_DEFINE(RRectBatch) {
2032 SkMatrix viewMatrix = GrTest::TestMatrixRectStaysRect(random); 2031 SkMatrix viewMatrix = GrTest::TestMatrixRectStaysRect(random);
2033 GrColor color = GrRandomColor(random); 2032 GrColor color = GrRandomColor(random);
2034 const SkRRect& rrect = GrTest::TestRRectSimple(random); 2033 const SkRRect& rrect = GrTest::TestRRectSimple(random);
2035 return create_rrect_batch(color, viewMatrix, rrect, GrTest::TestStrokeRec(ra ndom)); 2034 return create_rrect_batch(color, viewMatrix, rrect, GrTest::TestStrokeRec(ra ndom));
2036 } 2035 }
2037 2036
2038 #endif 2037 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrAALinearizingConvexPathRenderer.cpp ('k') | src/gpu/GrPathProcessor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698