Home
last modified time | relevance | path

Searched refs:fPipeline (Results 1 – 25 of 56) sorted by relevance

123

/third_party/flutter/skia/src/gpu/vk/
DGrVkPipelineState.cpp42 : fPipeline(pipeline) in GrVkPipelineState()
69 SkASSERT(!fPipeline); in ~GrVkPipelineState()
73 if (fPipeline) { in freeGPUResources()
74 fPipeline->unref(gpu); in freeGPUResources()
75 fPipeline = nullptr; in freeGPUResources()
95 if (fPipeline) { in abandonGPUResources()
96 fPipeline->unrefAndAbandon(); in abandonGPUResources()
97 fPipeline = nullptr; in abandonGPUResources()
156 commandBuffer->bindDescriptorSets(gpu, this, fPipeline->layout(), uniformDSIdx, 1, in setAndBindUniforms()
262 commandBuffer->bindDescriptorSets(gpu, this, fPipeline->layout(), samplerDSIdx, 1, in setAndBindTextures()
[all …]
DGrVkPipeline.h40 VkPipeline pipeline() const { return fPipeline; } in pipeline()
52 SkDebugf("GrVkPipeline: %d (%d refs)\n", fPipeline, this->getRefCnt()); in dumpInfo()
58 : INHERITED(), fPipeline(pipeline), fPipelineLayout(layout) {} in GrVkPipeline()
60 VkPipeline fPipeline; variable
/third_party/skia/src/gpu/
DGrProgramInfo.h38 , fPipeline(pipeline) in GrProgramInfo()
59 fPipeline->hasStencilClip(); in isStencilEnabled()
65 const GrPipeline& pipeline() const { return *fPipeline; } in pipeline()
94 void visitFPProxies(const GrVisitProxyFunc& func) const { fPipeline->visitProxies(func); } in visitFPProxies()
109 const GrPipeline* fPipeline; variable
/third_party/flutter/skia/src/shaders/
DSkComposeShader.cpp91 rec.fPipeline->append_constant_color(rec.fAlloc, rec.fPaint.getColor4f().premul().vec()); in append_shader_or_paint()
106 rec.fPipeline->append(SkRasterPipeline::store_src, storage->fRes0); in append_two_shaders()
142 rec.fPipeline->append(SkRasterPipeline::load_dst, res0); in onAppendStages()
143 SkBlendMode_AppendStages(fMode, rec.fPipeline); in onAppendStages()
168 rec.fPipeline->append(SkRasterPipeline::load_dst, res0); in onAppendStages()
169 rec.fPipeline->append(SkRasterPipeline::lerp_1_float, &fWeight); in onAppendStages()
198 rec.fPipeline->append(SkRasterPipeline::store_src, storage->fRed); in onAppendStages()
205 rec.fPipeline->append(SkRasterPipeline::load_dst, res0); in onAppendStages()
206 rec.fPipeline->append(SkRasterPipeline::lerp_native, &storage->fRed[0]); in onAppendStages()
DSkRTShader.cpp82 rec.fPipeline->append(SkRasterPipeline::seed_shader); in onAppendStages()
83 rec.fPipeline->append_matrix(rec.fAlloc, inverse); in onAppendStages()
84 rec.fPipeline->append(SkRasterPipeline::interpreter, ctx); in onAppendStages()
DSkShader.cpp185 rec.fPipeline->append(SkRasterPipeline::seed_shader); in onAppendStages()
186 rec.fPipeline->append(SkRasterPipeline::callback, cb); in onAppendStages()
189 ->apply(rec.fPipeline, true); in onAppendStages()
DSkColorShader.cpp81 rec.fPipeline->append_constant_color(rec.fAlloc, color.premul().vec()); in onAppendStages()
89 rec.fPipeline->append_constant_color(rec.fAlloc, color.premul().vec()); in onAppendStages()
/third_party/skia/src/gpu/vk/
DGrVkPipelineState.cpp42 : fPipeline(std::move(pipeline)) in GrVkPipelineState()
62 SkASSERT(!fPipeline); in ~GrVkPipelineState()
66 fPipeline.reset(); in freeGPUResources()
96 auto [uniformBuffer, success] = fDataManager.uploadUniforms(gpu, fPipeline->layout(), in setAndBindUniforms()
104 commandBuffer->bindDescriptorSets(gpu, fPipeline->layout(), kUniformDSIdx, /*setCount=*/1, in setAndBindUniforms()
161 commandBuffer->bindDescriptorSets(gpu, fPipeline->layout(), kSamplerDSIdx, in setAndBindTextures()
228 commandBuffer->bindDescriptorSets(gpu, fPipeline->layout(), kSamplerDSIdx, /*setCount=*/1, in setAndBindTextures()
240 commandBuffer->bindDescriptorSets(gpu, fPipeline->layout(), GrVkUniformHandler::kInputDescSet, in setAndBindInputAttachment()
274 commandBuffer->bindPipeline(gpu, fPipeline); in bindPipeline()
DGrVkPipeline.h59 VkPipeline pipeline() const { return fPipeline; } in pipeline()
79 SkDebugf("GrVkPipeline: %" PRIdPTR " (%d refs)\n", (intptr_t)fPipeline, this->getRefCnt()); in dumpInfo()
85 : INHERITED(gpu), fPipeline(pipeline), fPipelineLayout(layout) {} in GrVkPipeline()
87 VkPipeline fPipeline; variable
/third_party/flutter/skia/bench/
DSkVMBench.cpp45 fPipeline.append(SkRasterPipeline::load_8888 , &fSrcCtx); in onDelayedSetup()
46 fPipeline.append(SkRasterPipeline::load_8888_dst, &fDstCtx); in onDelayedSetup()
47 fPipeline.append(SkRasterPipeline::srcover); in onDelayedSetup()
48 fPipeline.append(SkRasterPipeline::store_8888, &fDstCtx); in onDelayedSetup()
63 fPipeline.run(0,0,fPixels,1); in onDraw()
79 SkRasterPipeline_<256> fPipeline; member in SkVMBench
/third_party/flutter/skia/src/effects/
DSkLumaColorFilter.cpp22 rec.fPipeline->append(SkRasterPipeline::bt709_luminance_or_luma_to_alpha); in onAppendStages()
23 rec.fPipeline->append(SkRasterPipeline::clamp_0); in onAppendStages()
24 rec.fPipeline->append(SkRasterPipeline::clamp_1); in onAppendStages()
/third_party/skia/experimental/graphite/src/
DResourceProvider.cpp33 Entry(sk_sp<GraphicsPipeline> pipeline) : fPipeline(std::move(pipeline)) {} in Entry()
35 sk_sp<GraphicsPipeline> fPipeline; member
61 return (*entry)->fPipeline; in refPipeline()
/third_party/flutter/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.cpp34 , fPipeline(pipeline) in GrGLSLProgramBuilder()
115 GrGLSLPrimitiveProcessor::FPCoordTransformHandler transformHandler(fPipeline, in emitAndInstallPrimProc()
228 const GrXferProcessor& xp = fPipeline.getXferProcessor(); in emitAndInstallXferProc()
247 if (GrTexture* dstTexture = fPipeline.peekDstTexture()) { in emitAndInstallXferProc()
249 SkASSERT(fPipeline.dstTextureProxy()); in emitAndInstallXferProc()
250 const GrSwizzle& swizzle = fPipeline.dstTextureProxy()->textureSwizzle(); in emitAndInstallXferProc()
253 dstTextureOrigin = fPipeline.dstTextureProxy()->origin(); in emitAndInstallXferProc()
DGrGLSLProgramBuilder.h48 const GrPipeline& pipeline() const { return fPipeline; } in pipeline()
98 const GrPipeline& fPipeline; variable
/third_party/flutter/skia/src/core/
DSkModeColorFilter.cpp65 rec.fPipeline->append(SkRasterPipeline::move_src_dst); in onAppendStages()
69 rec.fPipeline->append_constant_color(rec.fAlloc, color.premul().vec()); in onAppendStages()
70 SkBlendMode_AppendStages(fMode, rec.fPipeline); in onAppendStages()
DSkDraw_atlas.cpp89 rec.fPipeline->append(SkRasterPipeline::uniform_color_dst, uniformCtx); in drawAtlas()
90 SkBlendMode_AppendStages(bmode, rec.fPipeline); in drawAtlas()
95 rec.fPipeline->append(SkRasterPipeline::scale_1_float, alloc.make<float>(p.getAlphaf())); in drawAtlas()
DSkColorFilter.cpp206 rec.fPipeline->append(SkRasterPipeline::unpremul); in onAppendStages()
211 fSteps.apply(rec.fPipeline, shaderIsNormalized); in onAppendStages()
214 rec.fPipeline->append(SkRasterPipeline::premul); in onAppendStages()
283 SkRasterPipeline* p = rec.fPipeline; in onAppendStages()
405 rec.fPipeline->append(SkRasterPipeline::callback, ctx); in onAppendStages()
427 rec.fPipeline->append(SkRasterPipeline::interpreter, ctx); in onAppendStages()
DSkEffectPriv.h21 SkRasterPipeline* fPipeline; member
/third_party/skia/src/core/
DSkModeColorFilter.cpp64 rec.fPipeline->append(SkRasterPipeline::move_src_dst); in onAppendStages()
68 rec.fPipeline->append_constant_color(rec.fAlloc, color.premul().vec()); in onAppendStages()
69 SkBlendMode_AppendStages(fMode, rec.fPipeline); in onAppendStages()
DSkDraw_atlas.cpp144 rec.fPipeline->append(SkRasterPipeline::uniform_color_dst, uniformCtx); in drawAtlas()
145 SkBlendMode_AppendStages(bmode, rec.fPipeline); in drawAtlas()
150 rec.fPipeline->append(SkRasterPipeline::scale_1_float, in drawAtlas()
DSkEffectPriv.h22 SkRasterPipeline* fPipeline; member
/third_party/skia/src/gpu/d3d/
DGrD3DPipelineState.h42 const sk_sp<GrD3DPipeline>& pipeline() const { return fPipeline; } in pipeline()
82 sk_sp<GrD3DPipeline> fPipeline; variable
/third_party/skia/src/gpu/mtl/
DGrMtlPipelineState.h49 const sk_sp<GrMtlRenderPipeline>& pipeline() const { return fPipeline; } in pipeline()
103 sk_sp<GrMtlRenderPipeline> fPipeline; variable
/third_party/skia/src/shaders/
DSkComposeShader.cpp117 rec.fPipeline->append(SkRasterPipeline::store_src, storage->fRes0); in append_two_shaders()
137 rec.fPipeline->append(SkRasterPipeline::load_dst, res0); in onAppendStages()
138 SkBlendMode_AppendStages(fMode, rec.fPipeline); in onAppendStages()
DSkShader.cpp201 rec.fPipeline->append(SkRasterPipeline::seed_shader); in onAppendStages()
202 rec.fPipeline->append(SkRasterPipeline::callback, cb); in onAppendStages()
205 ->apply(rec.fPipeline); in onAppendStages()

123