/third_party/skia/src/gpu/ops/ |
H A D | GrOp.cpp | 8 #include "src/gpu/ops/GrOp.h" 10 std::atomic<uint32_t> GrOp::gCurrOpClassID {GrOp::kIllegalOpID + 1}; 11 std::atomic<uint32_t> GrOp::gCurrOpUniqueID{GrOp::kIllegalOpID + 1}; 13 GrOp::GrOp(uint32_t classID) : fClassID(classID) { in GrOp() function in GrOp 19 GrOp::CombineResult GrOp::combineIfPossible(GrOp* tha [all...] |
H A D | OpsTask.h | 28 #include "src/gpu/ops/GrOp.h" 76 void addOp(GrDrawingManager*, GrOp::Owner, GrTextureResolveManager, const GrCaps&); 78 void addDrawOp(GrDrawingManager*, GrOp::Owner, bool usesMSAA, const GrProcessorSet::Analysis&, 115 const GrOp* getChain(int index) const { return fOpChains[index].head(); } in getChain() 139 void recordOp(GrOp::Owner, bool usesMSAA, GrProcessorSet::Analysis, GrAppliedClip*, 164 OpChain(GrOp::Owner, GrProcessorSet::Analysis, GrAppliedClip*, const GrDstProxyView*); 177 GrOp* head() const { return fList.head(); } in head() 194 GrOp::Owner appendOp(GrOp::Owner op, GrProcessorSet::Analysis, const GrDstProxyView*, 206 List(GrOp [all...] |
H A D | GrOp.h | 31 * GrOp is the base class for all Ganesh deferred GPU operations. To facilitate reordering and to 33 * captures the arguments to the draw and then generates the geometry when flushing. This gives GrOp 70 class GrOp : private SkNoncopyable { class 72 using Owner = std::unique_ptr<GrOp>; 91 virtual ~GrOp() = default; 120 CombineResult combineIfPossible(GrOp* that, SkArenaAlloc* alloc, const GrCaps& caps); 146 * Helper for safely down-casting to a GrOp subclass 206 * A helper for iterating over an op chain in a range for loop that also downcasts to a GrOp 212 template <typename OpSubclass = GrOp> class ChainRange { 238 void chainConcat(GrOp [all...] |
H A D | GrOvalOpFactory.h | 13 #include "src/gpu/ops/GrOp.h" 30 static GrOp::Owner MakeCircleOp(GrRecordingContext*, 37 static GrOp::Owner MakeOvalOp(GrRecordingContext*, 44 static GrOp::Owner MakeCircularRRectOp(GrRecordingContext*, 51 static GrOp::Owner MakeRRectOp(GrRecordingContext*, 58 static GrOp::Owner MakeArcOp(GrRecordingContext*,
|
H A D | ClearOp.cpp | 27 GrOp::Owner ClearOp::MakeColor(GrRecordingContext* context, in MakeColor() 30 return GrOp::Make<ClearOp>(context, Buffer::kColor, scissor, color, false); in MakeColor() 33 GrOp::Owner ClearOp::MakeStencilClip(GrRecordingContext* context, in MakeStencilClip() 36 return GrOp::Make<ClearOp>(context, in MakeStencilClip() 47 : GrOp(ClassID()) in ClearOp() 55 GrOp::CombineResult ClearOp::onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) { in onCombineIfPossible()
|
H A D | ClearOp.h | 13 #include "src/gpu/ops/GrOp.h" 20 class ClearOp final : public GrOp { 25 static GrOp::Owner MakeColor(GrRecordingContext* context, 29 static GrOp::Owner MakeStencilClip(GrRecordingContext* context, 38 friend class GrOp; // for ctors 53 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override;
|
H A D | DrawableOp.h | 12 #include "src/gpu/ops/GrOp.h" 18 class DrawableOp final : public GrOp { 22 static GrOp::Owner Make(GrRecordingContext*, 29 friend class GrOp; // for ctor 33 CombineResult onCombineIfPossible(GrOp* that, SkArenaAlloc*, const GrCaps& caps) override {
|
H A D | DrawableOp.cpp | 19 GrOp::Owner DrawableOp::Make(GrRecordingContext* context, in Make() 22 return GrOp::Make<DrawableOp>(context, std::move(drawable), bounds); in Make() 27 : GrOp(ClassID()) in DrawableOp()
|
H A D | BlurOp.cpp | 24 : GrOp(ClassID()),
in BlurOp() 31 GrOp::CombineResult BlurOp::onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps)
in onCombineIfPossible()
|
H A D | OpsTask.cpp | 78 inline OpsTask::OpChain::List::List(GrOp::Owner op) in List() 93 inline GrOp::Owner OpsTask::OpChain::List::popHead() { in popHead() 104 inline GrOp::Owner OpsTask::OpChain::List::removeOp(GrOp* op) { in removeOp() 126 inline void OpsTask::OpChain::List::pushHead(GrOp::Owner op) { in pushHead() 139 inline void OpsTask::OpChain::List::pushTail(GrOp::Owner op) { in pushTail() 156 OpsTask::OpChain::OpChain(GrOp::Owner op, GrProcessorSet::Analysis processorAnalysis, in OpChain() 172 for (const auto& op : GrOp::ChainRange<>(fList.head())) { in visitProxies() 185 // Since the value goes out of scope immediately, the GrOp::Owner deletes the op. in deleteOps() 205 GrOp* origATai in DoConcat() [all...] |
H A D | GrSimpleMeshDrawOpHelper.h | 17 #include "src/gpu/ops/GrOp.h" 37 static GrOp::Owner FactoryHelper(GrRecordingContext*, GrPaint&&, OpArgs&&...); 198 GrOp::Owner GrOp::MakeWithProcessorSet( in MakeWithProcessorSet() 208 GrOp::Owner GrSimpleMeshDrawOpHelper::FactoryHelper(GrRecordingContext* context, in FactoryHelper() 213 return GrOp::Make<Op>(context, nullptr, color, std::forward<OpArgs>(opArgs)...); in FactoryHelper() 215 return GrOp::MakeWithProcessorSet<Op>( in FactoryHelper()
|
H A D | FillRectOp.h | 39 static GrOp::Owner Make(GrRecordingContext*, 49 static GrOp::Owner MakeNonAARect(GrRecordingContext*, 74 static GrOp::Owner MakeOp(GrRecordingContext*,
|
H A D | BlurOp.h | 22 #include "src/gpu/ops/GrOp.h"
29 class BlurOp final : public GrOp {
40 friend class GrOp; // for ctors
44 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override;
|
H A D | TessellationPathRenderer.cpp | 28 GrOp::Owner make_non_convex_fill_op(GrRecordingContext* rContext, in make_non_convex_fill_op() 48 return GrOp::Make<skgpu::v1::PathInnerTriangulateOp>(rContext, in make_non_convex_fill_op() 57 return GrOp::Make<skgpu::v1::PathStencilCoverOp>(rContext, in make_non_convex_fill_op() 151 auto op = GrOp::Make<StrokeTessellateOp>(args.fContext, args.fAAType, *args.fViewMatrix, in onDrawPath() 168 auto op = GrOp::Make<PathTessellateOp>(args.fContext, in onDrawPath() 229 auto op = GrOp::Make<PathTessellateOp>(args.fContext, in onStencilPath()
|
H A D | StrokeRectOp.h | 12 #include "src/gpu/ops/GrOp.h" 28 GrOp::Owner Make(GrRecordingContext*, 38 GrOp::Owner MakeNested(GrRecordingContext*,
|
/third_party/skia/tests/ |
H A D | OpChainTest.cpp | 14 #include "src/gpu/ops/GrOp.h" 50 using Combinable = std::array<GrOp::CombineResult, kNumCombinableValues>; 71 std::fill_n(combinable->begin(), kNumCombinableValues, GrOp::CombineResult::kCannotCombine); 78 (*combinable)[combinable_index(i, j)] = GrOp::CombineResult::kMerged; 80 (*combinable)[combinable_index(i, j)] = GrOp::CombineResult::kMayChain; 83 (*combinable)[combinable_index(j, i)] = GrOp::CombineResult::kMerged; 85 (*combinable)[combinable_index(j, i)] = GrOp::CombineResult::kMayChain; 96 class TestOp : public GrOp { 100 static GrOp::Owner Make(GrRecordingContext* context, int value, const Range& range, in Make() 102 return GrOp in Make() [all...] |
H A D | TextureOpTest.cpp | 27 for (const auto& op : GrOp::ChainRange<>(chain->head())) { in check_chain() 52 static GrOp::Owner create_op(GrDirectContext* dContext, SkRect rect, in create_op() 104 GrOp::Owner opA = create_op(dContext, kOpARect, proxyViewA, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 105 GrOp::Owner opB = create_op(dContext, kOpBRect, proxyViewB, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 117 GrOp::Owner opC = create_op(dContext, kOpCRect, proxyViewC, true); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 118 GrOp::Owner opD = create_op(dContext, kOpDRect, proxyViewA, true); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
H A D | LazyProxyTest.cpp | 59 static GrOp::Owner Make(GrRecordingContext* context, in Make() 63 return GrOp::Make<Op>(context, context, proxyProvider, test, nullTexture); in Make() 76 friend class GrOp; // for ctor 110 this->setBounds(SkRectPriv::MakeLargest(), GrOp::HasAABloat::kNo, in Op() 111 GrOp::IsHairline::kNo); in Op() 326 static GrOp::Owner Make(GrRecordingContext* rContext, in Make() 330 return GrOp::Make<LazyFailedInstantiationTestOp>(rContext, in Make() 342 friend class GrOp; // for ctor
|
/third_party/skia/tools/gpu/ |
H A D | TestOps.h | 14 #include "src/gpu/ops/GrOp.h" 26 GrOp::Owner MakeRect(GrRecordingContext*, 36 GrOp::Owner MakeRect(GrRecordingContext*, 46 GrOp::Owner MakeRect(GrRecordingContext*, GrPaint&&, const SkRect& rect);
|
H A D | TestOps.cpp | 87 static GrOp::Owner Make(GrRecordingContext*, 142 friend class ::GrOp; 145 GrOp::Owner TestRectOp::Make(GrRecordingContext* context, in Make() 151 return GrOp::Make<TestRectOp>(context, caps, std::move(paint), drawRect, localRect, localM); in Make() 226 GrOp::Owner MakeRect(GrRecordingContext* context, in MakeRect() 234 GrOp::Owner MakeRect(GrRecordingContext* context, in MakeRect() 244 GrOp::Owner MakeRect(GrRecordingContext* context, in MakeRect()
|
/third_party/skia/src/gpu/ |
H A D | GrAuditTrail.h | 22 class GrOp; 86 void addOp(const GrOp*, GrRenderTargetProxy::UniqueID proxyID); 88 void opsCombined(const GrOp* consumer, const GrOp* consumed);
|
H A D | GrDrawOpTest.h | 29 GrOp::Owner Op##__Test(GrPaint&& paint, \ 35 friend GrOp::OpOwner Op##__Test(GrPaint&&, \
|
H A D | GrOpFlushState.h | 48 void executeDrawsAndUploadsForMeshDrawOp(const GrOp* op, const SkRect& chainBounds, 61 explicit OpArgs(GrOp* op, const GrSurfaceProxyView& surfaceView, bool usesMSAASurface, in OpArgs() 75 GrOp* op() { return fOp; } in op() 94 GrOp* fOp; 284 const GrOp* fOp = nullptr;
|
/third_party/skia/src/gpu/v1/ |
H A D | SurfaceFillContext_v1.h | 23 class GrOp; 68 void addOp(GrOp::Owner); 90 void addDrawOp(GrOp::Owner);
|
/third_party/skia/gm/ |
H A D | beziereffects.cpp | 47 #include "src/gpu/ops/GrOp.h" 154 static GrOp::Owner Make(GrRecordingContext* context, in Make() 158 return GrOp::Make<BezierConicTestOp>(context, rect, color, klm); in Make() 162 friend class ::GrOp; // for ctor 303 GrOp::Owner op = BezierConicTestOp::Make(rContext, bounds, 363 static GrOp::Owner Make(GrRecordingContext* context, in Make() 367 return GrOp::Make<BezierQuadTestOp>(context, rect, color, devToUV); in Make() 371 friend class ::GrOp; // for ctor 502 GrOp::Owner op = BezierQuadTestOp::Make(rContext, bounds,
|