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

Side by Side Diff: src/gpu/GrCommandBuilder.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/GrBufferedDrawTarget.cpp ('k') | src/gpu/GrCommandBuilder.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 GrCommandBuilder_DEFINED 8 #ifndef GrCommandBuilder_DEFINED
9 #define GrCommandBuilder_DEFINED 9 #define GrCommandBuilder_DEFINED
10 10
(...skipping 29 matching lines...) Expand all
40 GrBufferedDrawTarget*, 40 GrBufferedDrawTarget*,
41 const GrPathProcessor*, 41 const GrPathProcessor*,
42 const GrPathRange*, 42 const GrPathRange*,
43 const void*, 43 const void*,
44 GrDrawTarget::PathIndexType, 44 GrDrawTarget::PathIndexType,
45 const float transformValues[], 45 const float transformValues[],
46 GrDrawTarget::PathTransformType , 46 GrDrawTarget::PathTransformType ,
47 int, 47 int,
48 const GrStencilSettings&, 48 const GrStencilSettings&,
49 const GrPipelineOptimizations&) = 0; 49 const GrPipelineOptimizations&) = 0;
50 virtual Cmd* recordCopySurface(GrSurface* dst,
51 GrSurface* src,
52 const SkIRect& srcRect,
53 const SkIPoint& dstPoint);
54 50
55 protected: 51 protected:
56 typedef GrTargetCommands::DrawBatch DrawBatch; 52 typedef GrTargetCommands::DrawBatch DrawBatch;
57 typedef GrTargetCommands::StencilPath StencilPath; 53 typedef GrTargetCommands::StencilPath StencilPath;
58 typedef GrTargetCommands::DrawPath DrawPath; 54 typedef GrTargetCommands::DrawPath DrawPath;
59 typedef GrTargetCommands::DrawPaths DrawPaths; 55 typedef GrTargetCommands::DrawPaths DrawPaths;
60 typedef GrTargetCommands::CopySurface CopySurface;
61 56
62 GrCommandBuilder() {} 57 GrCommandBuilder() {}
63 58
64 GrTargetCommands::CmdBuffer* cmdBuffer() { return fCommands.cmdBuffer(); } 59 GrTargetCommands::CmdBuffer* cmdBuffer() { return fCommands.cmdBuffer(); }
65 private: 60 private:
66 GrTargetCommands fCommands; 61 GrTargetCommands fCommands;
67 62
68 }; 63 };
69 64
70 #endif 65 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrBufferedDrawTarget.cpp ('k') | src/gpu/GrCommandBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698