Home
last modified time | relevance | path

Searched refs:fInputs (Results 1 – 25 of 50) sorted by relevance

12

/third_party/flutter/skia/src/shaders/
DSkRTShader.cpp42 , fInputs(std::move(inputs)) in SkRTShader()
55 ctx->inputs = fInputs->data(); in onAppendStages()
56 ctx->ninputs = fInputs->size() / 4; in onAppendStages()
103 if (fInputs) { in flatten()
104 buffer.writeDataAsByteArray(fInputs.get()); in flatten()
144 fInputs->data(), fInputs->size(), SkSL::Program::kPipelineStage_Kind, in asFragmentProcessor()
DSkRTShader.h41 sk_sp<SkData> fInputs;
/third_party/skia/modules/sksg/src/
DSkSGRenderEffect.cpp143 , fInputs(std::move(inputs)) { in ImageFilter()
144 if (fInputs) { in ImageFilter()
145 for (const auto& input : *fInputs) { in ImageFilter()
152 if (fInputs) { in ~ImageFilter()
153 for (const auto& input : *fInputs) { in ~ImageFilter()
160 return (fInputs && i < fInputs->size()) ? (*fInputs)[i]->getFilter() : nullptr; in refInput()
/third_party/flutter/skia/modules/sksg/src/
DSkSGRenderEffect.cpp185 , fInputs(std::move(inputs)) { in ImageFilter()
186 if (fInputs) { in ImageFilter()
187 for (const auto& input : *fInputs) { in ImageFilter()
194 if (fInputs) { in ~ImageFilter()
195 for (const auto& input : *fInputs) { in ~ImageFilter()
202 return (fInputs && i < fInputs->size()) ? (*fInputs)[i]->getFilter() : nullptr; in refInput()
/third_party/flutter/skia/src/core/
DSkColorFilter.cpp378 , fInputs(std::move(inputs)) in SkRuntimeColorFilter()
385 fInputs ? fInputs->data() : nullptr, in asFragmentProcessor()
386 fInputs ? fInputs->size() : 0); in asFragmentProcessor()
397 ctx->inputs = fInputs->data(); in onAppendStages()
409 ctx->inputs = fInputs->data(); in onAppendStages()
410 ctx->ninputs = fInputs->size() / 4; in onAppendStages()
438 if (fInputs) { in flatten()
439 buffer.writeDataAsByteArray(fInputs.get()); in flatten()
450 sk_sp<SkData> fInputs; member in SkRuntimeColorFilter
DSkImageFilter_Base.h111 int inputCount() const { return fInputs.count(); } in inputCount()
112 sk_sp<SkImageFilter>* inputs() { return fInputs.begin(); } in inputs()
114 sk_sp<SkImageFilter> getInput(int index) { return fInputs[index]; } in getInput()
119 SkSTArray<2, sk_sp<SkImageFilter>, true> fInputs; variable
282 SkAutoSTArray<2, sk_sp<SkImageFilter>> fInputs; variable
DSkImageFilter.cpp46 int SkImageFilter::countInputs() const { return as_IFB(this)->fInputs.count(); } in countInputs()
54 return as_IFB(this)->fInputs[i].get(); in getInput()
148 fInputs.reset(inputCount); in SkImageFilter_Base()
154 fInputs[i] = inputs[i]; in SkImageFilter_Base()
171 SkASSERT(fInputs.empty()); in unflatten()
173 fInputs.push_back(buffer.readBool() ? buffer.readImageFilter() : nullptr); in unflatten()
190 buffer.writeInt(fInputs.count()); in flatten()
191 for (int i = 0; i < fInputs.count(); i++) { in flatten()
/third_party/skia/src/core/
DSkImageFilter_Base.h181 int inputCount() const { return fInputs.count(); } in inputCount()
182 sk_sp<SkImageFilter>* inputs() { return fInputs.begin(); } in inputs()
184 sk_sp<SkImageFilter> getInput(int index) { return fInputs[index]; } in getInput()
189 SkSTArray<2, sk_sp<SkImageFilter>, true> fInputs; variable
430 SkAutoSTArray<2, sk_sp<SkImageFilter>> fInputs; variable
DSkImageFilter.cpp43 int SkImageFilter::countInputs() const { return as_IFB(this)->fInputs.count(); } in countInputs()
51 return as_IFB(this)->fInputs[i].get(); in getInput()
158 fInputs.reset(inputCount); in SkImageFilter_Base()
164 fInputs[i] = inputs[i]; in SkImageFilter_Base()
187 SkASSERT(fInputs.empty()); in unflatten()
189 fInputs.push_back(buffer.readBool() ? buffer.readImageFilter() : nullptr); in unflatten()
210 buffer.writeInt(fInputs.count()); in flatten()
211 for (int i = 0; i < fInputs.count(); i++) { in flatten()
/third_party/flutter/skia/src/gpu/effects/
DGrSkSLFP.cpp220 char* inputs = (char*) outer.fInputs.get(); in onSetData()
314 , fInputs(new int8_t[inputSize]) in GrSkSLFP()
317 memcpy(fInputs.get(), inputs, inputSize); in GrSkSLFP()
335 , fInputs(new int8_t[other.fInputSize]) in GrSkSLFP()
338 memcpy(fInputs.get(), other.fInputs.get(), fInputSize); in GrSkSLFP()
367 const SkSL::Program* specialized = fFactory->getSpecialization(fKey, fInputs.get(), fInputSize); in onCreateGLSLInstance()
382 char* inputs = (char*) fInputs.get(); in onGetGLSLProcessorKey()
451 !memcmp(fInputs.get(), sk.fInputs.get(), fInputSize); in onIsEqual()
DGrSkSLFP.h133 const std::unique_ptr<int8_t[]> fInputs; variable
/third_party/skia/tools/viewer/
DSkSLSlide.cpp78 fInputs.reset(); in unload()
110 fInputs.realloc(effect->uniformSize()); in rebuild()
112 memset(fInputs.get() + oldSize, 0, effect->uniformSize() - oldSize); in rebuild()
157 char* data = fInputs.get() + v.offset; in draw()
248 auto inputs = SkData::MakeWithoutCopy(fInputs.get(), fEffect->uniformSize()); in draw()
DSkSLSlide.h40 SkAutoTMalloc<char> fInputs; variable
DViewer.h262 SkSL::Program::Inputs fInputs[kGrShaderTypeCount]; member
/third_party/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.h30 , fInputs(inputs) {} in fProgramID()
33 SkSL::Program::Inputs fInputs; member
DGrGLProgramBuilder.cpp255 this->addInputVars(precompiledProgram->fInputs); in finalize()
342 inputs = fs->fInputs; in finalize()
607 precompiledProgram->fInputs = inputs; in PrecompileProgram()
/third_party/skia/src/sksl/
DSkSLThreadContext.h71 static SkSL::Program::Inputs& Inputs() { return Instance().fInputs; } in Inputs()
209 Program::Inputs fInputs; variable
/third_party/skia/src/sksl/ir/
DSkSLProgram.h92 , fInputs(inputs) in Program()
196 Inputs fInputs; member
/third_party/flutter/skia/src/sksl/ir/
DSkSLProgram.h243 , fInputs(inputs) in Program()
286 Inputs fInputs; member
/third_party/flutter/skia/src/gpu/glsl/
DGrGLSLShaderBuilder.cpp18 , fInputs(GrGLSLProgramBuilder::kVarsPerBlock) in GrGLSLShaderBuilder()
246 this->appendDecls(fInputs, &this->inputs()); in finalize()
DGrGLSLShaderBuilder.h241 VarArray fInputs; variable
/third_party/flutter/skia/tests/
DSkSLMetalTest.cpp23 *inputs = program->fInputs; in test()
/third_party/skia/src/gpu/glsl/
DGrGLSLShaderBuilder.cpp22 , fInputs(GrGLSLProgramBuilder::kVarsPerBlock) in GrGLSLShaderBuilder()
330 this->appendDecls(fInputs, &this->inputs()); in finalize()
/third_party/skia/src/gpu/vk/
DGrVkUtil.cpp103 *outInputs = program->fInputs; in GrCompileVkShaderModule()
/third_party/flutter/skia/tools/viewer/
DViewer.h199 SkSL::Program::Inputs fInputs[kGrShaderTypeCount]; member

12