Home
last modified time | relevance | path

Searched refs:GrLoadOp (Results 1 – 25 of 88) sorted by relevance

1234

/third_party/flutter/skia/src/gpu/
DGrOpList.h61 GrLoadOp fColorLoadOp = GrLoadOp::kLoad;
63 GrLoadOp fStencilLoadOp = GrLoadOp::kLoad;
DGrOpList.cpp34 static const char* op_to_name(GrLoadOp op) { in op_to_name()
35 return GrLoadOp::kLoad == op ? "load" : GrLoadOp::kClear == op ? "clear" : "discard"; in op_to_name()
42 GrLoadOp::kClear == fColorLoadOp ? fLoadClearColor.toBytes_RGBA() : 0x0, in dump()
DGrRenderTargetOpList.cpp452 GrLoadOp colorLoadOp, in create_command_buffer()
454 GrLoadOp stencilLoadOp) { in create_command_buffer()
484 if (fOpChains.empty() && GrLoadOp::kClear != fColorLoadOp && in onExecute()
485 GrLoadOp::kDiscard != fColorLoadOp) { in onExecute()
505 SkASSERT(fColorLoadOp != GrLoadOp::kClear || in onExecute()
507 SkASSERT(fStencilLoadOp != GrLoadOp::kClear || in onExecute()
567 fColorLoadOp = GrLoadOp::kDiscard; in discard()
568 fStencilLoadOp = GrLoadOp::kDiscard; in discard()
572 void GrRenderTargetOpList::setColorLoadOp(GrLoadOp op, const SkPMColor4f& color) { in setColorLoadOp()
582 fColorLoadOp = GrLoadOp::kDiscard; in resetForFullscreenClear()
DGrRenderTargetOpList.h132 void setStencilLoadOp(GrLoadOp op) { fStencilLoadOp = op; } in setStencilLoadOp()
134 void setColorLoadOp(GrLoadOp op, const SkPMColor4f& color);
136 void setColorLoadOp(GrLoadOp op) { in setColorLoadOp()
DGrGpuCommandBuffer.h74 GrLoadOp fLoadOp;
82 GrLoadOp fLoadOp;
/third_party/skia/src/gpu/ops/
DOpsTask.cpp46 GrLoadOp colorLoadOp, in create_render_pass()
48 GrLoadOp stencilLoadOp, in create_render_pass()
475 (fClippedContentBounds.isEmpty() && fColorLoadOp != GrLoadOp::kDiscard)) { in onPrePrepare()
501 (fClippedContentBounds.isEmpty() && fColorLoadOp != GrLoadOp::kDiscard)) { in onPrepare()
560 (fClippedContentBounds.isEmpty() && fColorLoadOp != GrLoadOp::kDiscard)) { in onExecute()
567 SkASSERT(fColorLoadOp != GrLoadOp::kClear || in onExecute()
585 GrLoadOp stencilLoadOp; in onExecute()
588 stencilLoadOp = GrLoadOp::kDiscard; in onExecute()
597 stencilLoadOp = GrLoadOp::kClear; in onExecute()
601 stencilLoadOp = GrLoadOp::kClear; in onExecute()
[all …]
DGrMeshDrawOp.h44 GrLoadOp colorLoadOp) { in createProgramInfo()
104 GrLoadOp colorLoadOp);
117 GrLoadOp colorLoadOp) = 0;
124 GrLoadOp colorLoadOp) final { in onPrePrepare()
DOpsTask.h94 void setColorLoadOp(GrLoadOp op, std::array<float, 4> color = {0, 0, 0, 0});
148 return fOpChains.empty() && GrLoadOp::kLoad == fColorLoadOp; in isColorNoOp()
265 GrLoadOp fColorLoadOp = GrLoadOp::kLoad;
DGrSimpleMeshDrawOpHelper.h142 GrLoadOp colorLoadOp,
159 GrLoadOp colorLoadOp,
174 GrLoadOp colorLoadOp);
DDrawAtlasPathOp.h48 const GrDstProxyView&, GrXferBarrierFlags, GrLoadOp colorLoadOp) override;
55 GrXferBarrierFlags, GrLoadOp colorLoadOp);
DGrSimpleMeshDrawOpHelper.cpp176 GrLoadOp colorLoadOp, in CreateProgramInfo()
199 GrLoadOp colorLoadOp, in CreateProgramInfo()
224 GrLoadOp colorLoadOp) { in createProgramInfo()
DAAHairLinePathRenderer.cpp835 GrLoadOp colorLoadOp);
842 GrLoadOp colorLoadOp);
849 GrLoadOp colorLoadOp);
867 GrLoadOp colorLoadOp) override;
874 GrLoadOp colorLoadOp) override;
956 GrLoadOp colorLoadOp) { in GR_MAKE_BITFIELD_CLASS_OPS()
990 GrLoadOp colorLoadOp) { in makeQuadProgramInfo()
1016 GrLoadOp colorLoadOp) { in makeConicProgramInfo()
1069 GrLoadOp colorLoadOp) { in onCreateProgramInfo()
1111 GrLoadOp colorLoadOp) { in onPrePrepareDraws()
DAtlasRenderTask.cpp77 this->setColorLoadOp(GrLoadOp::kDiscard); in onMakeClosed()
91 this->setColorLoadOp(GrLoadOp::kClear); in onMakeClosed()
/third_party/skia/src/gpu/
DGrProgramInfo.h28 GrLoadOp colorLoadOp) in GrProgramInfo()
82 GrLoadOp colorLoadOp() const { return fColorLoadOp; } in colorLoadOp()
115 GrLoadOp fColorLoadOp;
DGrOpFlushState.h63 GrXferBarrierFlags renderPassXferBarriers, GrLoadOp colorLoadOp) in OpArgs()
84 GrLoadOp colorLoadOp() const { return fColorLoadOp; } in colorLoadOp()
101 GrLoadOp fColorLoadOp;
173 GrLoadOp colorLoadOp() const final { in colorLoadOp()
DGrOpsRenderPass.h36 GrLoadOp fLoadOp;
44 GrLoadOp fLoadOp;
/third_party/flutter/skia/src/gpu/gl/
DGrGLGpuCommandBuffer.cpp15 if (GrLoadOp::kClear == fColorLoadAndStoreInfo.fLoadOp) { in begin()
19 if (GrLoadOp::kClear == fStencilLoadAndStoreInfo.fLoadOp) { in begin()
/third_party/skia/src/gpu/dawn/
DGrDawnOpsRenderPass.cpp25 static wgpu::LoadOp to_dawn_load_op(GrLoadOp loadOp) { in to_dawn_load_op()
27 case GrLoadOp::kLoad: in to_dawn_load_op()
29 case GrLoadOp::kDiscard: in to_dawn_load_op()
36 case GrLoadOp::kClear: in to_dawn_load_op()
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlGpuCommandBuffer.mm271 GR_STATIC_ASSERT((int)GrLoadOp::kLoad == 0);
272 GR_STATIC_ASSERT((int)GrLoadOp::kClear == 1);
273 GR_STATIC_ASSERT((int)GrLoadOp::kDiscard == 2);
274 SkASSERT(colorInfo.fLoadOp <= GrLoadOp::kDiscard);
275 SkASSERT(stencilInfo.fLoadOp <= GrLoadOp::kDiscard);
313 if (colorInfo.fLoadOp == GrLoadOp::kClear || stencilInfo.fLoadOp == GrLoadOp::kClear) {
317 if (colorInfo.fLoadOp == GrLoadOp::kClear) {
320 if (stencilInfo.fLoadOp == GrLoadOp::kClear) {
/third_party/skia/src/gpu/mock/
DGrMockOpsRenderPass.h32 if (GrLoadOp::kClear == fColorLoadOp) { in onBegin()
66 GrLoadOp fColorLoadOp;
DGrMockOpTarget.h44 GrLoadOp colorLoadOp() const override { return GrLoadOp::kLoad; } in colorLoadOp()
/third_party/skia/src/gpu/d3d/
DGrD3DOpsRenderPass.h73 GrLoadOp fColorLoadOp;
75 GrLoadOp fStencilLoadOp;
/third_party/skia/src/gpu/mtl/
DGrMtlOpsRenderPass.mm245 static_assert((int)GrLoadOp::kLoad == 0);
246 static_assert((int)GrLoadOp::kClear == 1);
247 static_assert((int)GrLoadOp::kDiscard == 2);
248 SkASSERT(colorInfo.fLoadOp <= GrLoadOp::kDiscard);
249 SkASSERT(stencilInfo.fLoadOp <= GrLoadOp::kDiscard);
283 if (colorInfo.fLoadOp == GrLoadOp::kClear || stencilInfo.fLoadOp == GrLoadOp::kClear) {
/third_party/skia/tools/gpu/
DProxyUtils.h42 GrLoadOp colorLoadOp,
/third_party/skia/gm/
Dfwidth_squircle.cpp178 GrLoadOp colorLoadOp) const { in createProgramInfo()
204 GrLoadOp colorLoadOp) final { in onPrePrepare()

1234