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

Side by Side Diff: src/gpu/effects/GrDashingEffect.cpp

Issue 576543005: Breaking out full program and frag only (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 3 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
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 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 "gl/builders/GrGLProgramBuilder.h"
9 #include "GrDashingEffect.h" 8 #include "GrDashingEffect.h"
10 9
11 #include "../GrAARectRenderer.h" 10 #include "../GrAARectRenderer.h"
12 11
13 #include "effects/GrGeometryProcessor.h" 12 #include "effects/GrGeometryProcessor.h"
13 #include "gl/builders/GrGLFullProgramBuilder.h"
14 #include "gl/GrGLEffect.h" 14 #include "gl/GrGLEffect.h"
15 #include "gl/GrGLGeometryProcessor.h" 15 #include "gl/GrGLGeometryProcessor.h"
16 #include "gl/GrGLSL.h" 16 #include "gl/GrGLSL.h"
17 #include "GrContext.h" 17 #include "GrContext.h"
18 #include "GrCoordTransform.h" 18 #include "GrCoordTransform.h"
19 #include "GrDrawTarget.h" 19 #include "GrDrawTarget.h"
20 #include "GrDrawTargetCaps.h" 20 #include "GrDrawTargetCaps.h"
21 #include "GrEffect.h" 21 #include "GrEffect.h"
22 #include "GrGpu.h" 22 #include "GrGpu.h"
23 #include "GrStrokeInfo.h" 23 #include "GrStrokeInfo.h"
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 switch (cap) { 860 switch (cap) {
861 case GrDashingEffect::kRound_DashCap: 861 case GrDashingEffect::kRound_DashCap:
862 return DashingCircleEffect::Create(edgeType, info, SkScalarHalf(stro keWidth)); 862 return DashingCircleEffect::Create(edgeType, info, SkScalarHalf(stro keWidth));
863 case GrDashingEffect::kNonRound_DashCap: 863 case GrDashingEffect::kNonRound_DashCap:
864 return DashingLineEffect::Create(edgeType, info, strokeWidth); 864 return DashingLineEffect::Create(edgeType, info, strokeWidth);
865 default: 865 default:
866 SkFAIL("Unexpected dashed cap."); 866 SkFAIL("Unexpected dashed cap.");
867 } 867 }
868 return NULL; 868 return NULL;
869 } 869 }
OLDNEW
« no previous file with comments | « src/gpu/effects/GrCustomCoordsTextureEffect.cpp ('k') | src/gpu/effects/GrDistanceFieldTextureEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698