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/GrImmediateDrawTarget.h

Issue 1289673004: GrCopySurfaceBatch (Closed) Base URL: https://skia.googlesource.com/skia.git@cs
Patch Set: Created 5 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/GrDrawTarget.cpp ('k') | src/gpu/GrImmediateDrawTarget.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 2015 Google Inc. 2 * Copyright 2015 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 #ifndef GrImmediateDrawTarget_DEFINED 8 #ifndef GrImmediateDrawTarget_DEFINED
9 #define GrImmediateDrawTarget_DEFINED 9 #define GrImmediateDrawTarget_DEFINED
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 const GrPathRange*, 50 const GrPathRange*,
51 const void* indices, 51 const void* indices,
52 PathIndexType, 52 PathIndexType,
53 const float transformValues[], 53 const float transformValues[],
54 PathTransformType, 54 PathTransformType,
55 int count, 55 int count,
56 const GrStencilSettings&, 56 const GrStencilSettings&,
57 const PipelineInfo&) override { 57 const PipelineInfo&) override {
58 SkFAIL("Only batch implemented\n"); 58 SkFAIL("Only batch implemented\n");
59 } 59 }
60 void onCopySurface(GrSurface* dst,
61 GrSurface* src,
62 const SkIRect& srcRect,
63 const SkIPoint& dstPoint) override;
64 60
65 bool isIssued(uint32_t drawID) override { return drawID != fDrawID; } 61 bool isIssued(uint32_t drawID) override { return drawID != fDrawID; }
66 62
67 uint32_t fDrawID; 63 uint32_t fDrawID;
68 64
69 typedef GrClipTarget INHERITED; 65 typedef GrClipTarget INHERITED;
70 }; 66 };
71 67
72 #endif 68 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/GrImmediateDrawTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698