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

Side by Side Diff: src/gpu/GrCommandBuilder.h

Issue 1133123009: rename GrDrawTargetCaps to GrCaps (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix gypi filename 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/GrBufferAllocPool.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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 const GrStencilSettings&, 50 const GrStencilSettings&,
51 const GrDrawTarget::PipelineInfo&) = 0; 51 const GrDrawTarget::PipelineInfo&) = 0;
52 virtual Cmd* recordClear(const SkIRect* rect, 52 virtual Cmd* recordClear(const SkIRect* rect,
53 GrColor, 53 GrColor,
54 bool canIgnoreRect, 54 bool canIgnoreRect,
55 GrRenderTarget*); 55 GrRenderTarget*);
56 virtual Cmd* recordCopySurface(GrSurface* dst, 56 virtual Cmd* recordCopySurface(GrSurface* dst,
57 GrSurface* src, 57 GrSurface* src,
58 const SkIRect& srcRect, 58 const SkIRect& srcRect,
59 const SkIPoint& dstPoint); 59 const SkIPoint& dstPoint);
60 virtual Cmd* recordXferBarrierIfNecessary(const GrPipeline&, const GrDrawTar getCaps&); 60 virtual Cmd* recordXferBarrierIfNecessary(const GrPipeline&, const GrCaps&);
61 61
62 protected: 62 protected:
63 typedef GrTargetCommands::DrawBatch DrawBatch; 63 typedef GrTargetCommands::DrawBatch DrawBatch;
64 typedef GrTargetCommands::StencilPath StencilPath; 64 typedef GrTargetCommands::StencilPath StencilPath;
65 typedef GrTargetCommands::DrawPath DrawPath; 65 typedef GrTargetCommands::DrawPath DrawPath;
66 typedef GrTargetCommands::DrawPaths DrawPaths; 66 typedef GrTargetCommands::DrawPaths DrawPaths;
67 typedef GrTargetCommands::Clear Clear; 67 typedef GrTargetCommands::Clear Clear;
68 typedef GrTargetCommands::ClearStencilClip ClearStencilClip; 68 typedef GrTargetCommands::ClearStencilClip ClearStencilClip;
69 typedef GrTargetCommands::CopySurface CopySurface; 69 typedef GrTargetCommands::CopySurface CopySurface;
70 typedef GrTargetCommands::XferBarrier XferBarrier; 70 typedef GrTargetCommands::XferBarrier XferBarrier;
71 71
72 GrCommandBuilder(GrGpu* gpu) : fCommands(gpu) {} 72 GrCommandBuilder(GrGpu* gpu) : fCommands(gpu) {}
73 73
74 GrTargetCommands::CmdBuffer* cmdBuffer() { return fCommands.cmdBuffer(); } 74 GrTargetCommands::CmdBuffer* cmdBuffer() { return fCommands.cmdBuffer(); }
75 GrBatchTarget* batchTarget() { return fCommands.batchTarget(); } 75 GrBatchTarget* batchTarget() { return fCommands.batchTarget(); }
76 76
77 private: 77 private:
78 GrTargetCommands fCommands; 78 GrTargetCommands fCommands;
79 79
80 }; 80 };
81 81
82 #endif 82 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrBufferAllocPool.cpp ('k') | src/gpu/GrCommandBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698