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

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

Issue 1116943004: Move instanced index buffer creation to flush time (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix missing assignment of keys to index buffers Created 5 years, 7 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/GrAARectRenderer.cpp ('k') | src/gpu/GrAtlasTextContext.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 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "GrStencilAndCoverPathRenderer.h" 10 #include "GrStencilAndCoverPathRenderer.h"
(...skipping 21 matching lines...) Expand all
32 #endif 32 #endif
33 #if GR_ANDROID_PATH_RENDERING 33 #if GR_ANDROID_PATH_RENDERING
34 chain->addPathRenderer(SkNEW(GrAndroidPathRenderer))->unref(); 34 chain->addPathRenderer(SkNEW(GrAndroidPathRenderer))->unref();
35 #endif 35 #endif
36 #if GR_TESSELLATING_PATH_RENDERING 36 #if GR_TESSELLATING_PATH_RENDERING
37 chain->addPathRenderer(new GrTessellatingPathRenderer)->unref(); 37 chain->addPathRenderer(new GrTessellatingPathRenderer)->unref();
38 #endif 38 #endif
39 if (GrPathRenderer* pr = GrStencilAndCoverPathRenderer::Create(ctx)) { 39 if (GrPathRenderer* pr = GrStencilAndCoverPathRenderer::Create(ctx)) {
40 chain->addPathRenderer(pr)->unref(); 40 chain->addPathRenderer(pr)->unref();
41 } 41 }
42 if (GrPathRenderer* pr = GrAAHairLinePathRenderer::Create(ctx)) { 42 if (GrPathRenderer* pr = GrAAHairLinePathRenderer::Create()) {
43 chain->addPathRenderer(pr)->unref(); 43 chain->addPathRenderer(pr)->unref();
44 } 44 }
45 chain->addPathRenderer(SkNEW(GrAAConvexPathRenderer))->unref(); 45 chain->addPathRenderer(SkNEW(GrAAConvexPathRenderer))->unref();
46 chain->addPathRenderer(SkNEW_ARGS(GrAADistanceFieldPathRenderer, (ctx)))->un ref(); 46 chain->addPathRenderer(SkNEW_ARGS(GrAADistanceFieldPathRenderer, (ctx)))->un ref();
47 } 47 }
OLDNEW
« no previous file with comments | « src/gpu/GrAARectRenderer.cpp ('k') | src/gpu/GrAtlasTextContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698