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

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

Issue 2254343003: Move GrFixedClip into src directory (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 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/GrClipStackClip.h ('k') | src/gpu/GrDrawContext.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 2016 Google Inc. 2 * Copyright 2016 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 "GrClipStackClip.h" 8 #include "GrClipStackClip.h"
9 9
10 #include "GrAppliedClip.h" 10 #include "GrAppliedClip.h"
11 #include "GrDrawingManager.h" 11 #include "GrDrawingManager.h"
12 #include "GrDrawContextPriv.h" 12 #include "GrDrawContextPriv.h"
13 #include "GrFixedClip.h"
13 #include "GrGpuResourcePriv.h" 14 #include "GrGpuResourcePriv.h"
14 #include "GrRenderTargetPriv.h" 15 #include "GrRenderTargetPriv.h"
15 #include "GrStencilAttachment.h" 16 #include "GrStencilAttachment.h"
16 #include "GrSWMaskHelper.h" 17 #include "GrSWMaskHelper.h"
17 #include "effects/GrConvexPolyEffect.h" 18 #include "effects/GrConvexPolyEffect.h"
18 #include "effects/GrRRectEffect.h" 19 #include "effects/GrRRectEffect.h"
19 #include "effects/GrTextureDomain.h" 20 #include "effects/GrTextureDomain.h"
20 21
21 typedef SkClipStack::Element Element; 22 typedef SkClipStack::Element Element;
22 typedef GrReducedClip::InitialState InitialState; 23 typedef GrReducedClip::InitialState InitialState;
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 sk_sp<GrTexture> result(texProvider->createApproxTexture(desc)); 783 sk_sp<GrTexture> result(texProvider->createApproxTexture(desc));
783 if (!result) { 784 if (!result) {
784 return nullptr; 785 return nullptr;
785 } 786 }
786 result->resourcePriv().setUniqueKey(key); 787 result->resourcePriv().setUniqueKey(key);
787 788
788 helper.toTexture(result.get()); 789 helper.toTexture(result.get());
789 790
790 return result; 791 return result;
791 } 792 }
OLDNEW
« no previous file with comments | « src/gpu/GrClipStackClip.h ('k') | src/gpu/GrDrawContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698