Home
last modified time | relevance | path

Searched refs:fUniforms (Results 1 – 25 of 59) sorted by relevance

123

/third_party/flutter/skia/src/gpu/dawn/
DGrDawnProgramDataManager.cpp22 fUniforms.push_back_n(count); in GrDawnProgramDataManager()
26 Uniform& uniform = fUniforms[i]; in GrDawnProgramDataManager()
58 const Uniform& uni = fUniforms[u.toIndex()]; in set1i()
64 const Uniform& uni = fUniforms[u.toIndex()]; in set1iv()
74 const Uniform& uni = fUniforms[u.toIndex()]; in set2i()
81 const Uniform& uni = fUniforms[u.toIndex()]; in set2iv()
91 const Uniform& uni = fUniforms[u.toIndex()]; in set3i()
98 const Uniform& uni = fUniforms[u.toIndex()]; in set3iv()
112 const Uniform& uni = fUniforms[u.toIndex()]; in set4i()
119 const Uniform& uni = fUniforms[u.toIndex()]; in set4iv()
[all …]
DGrDawnUniformHandler.cpp13 , fUniforms(kUniformsPerBlock) in GrDawnUniformHandler()
20 return fUniforms[u.toIndex()].fVar; in getUniformVariable()
24 return fUniforms[u.toIndex()].fVar.getName().c_str(); in getUniformCStr()
211 UniformInfo& info = fUniforms.push_back(); in internalAddUniformArray()
233 return GrGLSLUniformHandler::UniformHandle(fUniforms.count() - 1); in internalAddUniformArray()
298 for (int i = 0; i < fUniforms.count(); ++i) { in appendUniformDecls()
299 if (fUniforms[i].fVisibility & visibility) { in appendUniformDecls()
300 fUniforms[i].fVar.appendDecl(fProgramBuilder->shaderCaps(), &uniformsString); in appendUniformDecls()
/third_party/flutter/skia/src/gpu/gl/
DGrGLUniformHandler.cpp38 UniformInfo& uni = fUniforms.push_back(); in internalAddUniformArray()
59 return GrGLSLUniformHandler::UniformHandle(fUniforms.count() - 1); in internalAddUniformArray()
89 for (int i = 0; i < fUniforms.count(); ++i) { in appendUniformDecls()
90 if (fUniforms[i].fVisibility & visibility) { in appendUniformDecls()
91 fUniforms[i].fVariable.appendDecl(fProgramBuilder->shaderCaps(), out); in appendUniformDecls()
106 for (int i = 0; i < fUniforms.count(); ++i, ++currUniform) { in bindUniformLocations()
107 GL_CALL(BindUniformLocation(programID, currUniform, fUniforms[i].fVariable.c_str())); in bindUniformLocations()
108 fUniforms[i].fLocation = currUniform; in bindUniformLocations()
119 int count = fUniforms.count(); in getUniformLocations()
122 GL_CALL_RET(location, GetUniformLocation(programID, fUniforms[i].fVariable.c_str())); in getUniformLocations()
[all …]
DGrGLProgramDataManager.cpp23 fUniforms.push_back_n(count); in GrGLProgramDataManager()
25 Uniform& uniform = fUniforms[i]; in GrGLProgramDataManager()
65 const Uniform& uni = fUniforms[u.toIndex()]; in set1i()
76 const Uniform& uni = fUniforms[u.toIndex()]; in set1iv()
86 const Uniform& uni = fUniforms[u.toIndex()]; in set1f()
97 const Uniform& uni = fUniforms[u.toIndex()]; in set1fv()
111 const Uniform& uni = fUniforms[u.toIndex()]; in set2i()
122 const Uniform& uni = fUniforms[u.toIndex()]; in set2iv()
132 const Uniform& uni = fUniforms[u.toIndex()]; in set2f()
143 const Uniform& uni = fUniforms[u.toIndex()]; in set2fv()
[all …]
DGrGLUniformHandler.h22 return fUniforms[u.toIndex()].fVariable; in getUniformVariable()
31 , fUniforms(kUniformsPerBlock) in GrGLUniformHandler()
65 UniformInfoArray fUniforms; variable
/third_party/skia/src/gpu/gl/
DGrGLProgramDataManager.cpp19 fUniforms.push_back_n(uniforms.count()); in GrGLProgramDataManager()
22 Uniform& uniform = fUniforms[i++]; in GrGLProgramDataManager()
46 const Uniform& uni = fUniforms[u.toIndex()]; in set1i()
57 const Uniform& uni = fUniforms[u.toIndex()]; in set1iv()
67 const Uniform& uni = fUniforms[u.toIndex()]; in set1f()
78 const Uniform& uni = fUniforms[u.toIndex()]; in set1fv()
92 const Uniform& uni = fUniforms[u.toIndex()]; in set2i()
103 const Uniform& uni = fUniforms[u.toIndex()]; in set2iv()
113 const Uniform& uni = fUniforms[u.toIndex()]; in set2f()
124 const Uniform& uni = fUniforms[u.toIndex()]; in set2fv()
[all …]
DGrGLUniformHandler.h23 return fUniforms.item(u.toIndex()).fVariable; in getUniformVariable()
31 return fUniforms.count(); in numUniforms()
35 return fUniforms.item(idx); in uniform()
38 return fUniforms.item(idx); in uniform()
44 , fUniforms(kUniformsPerBlock) in GrGLUniformHandler()
79 UniformInfoArray fUniforms; variable
DGrGLUniformHandler.cpp62 fUniforms.push_back(tempInfo); in internalAddUniformArray()
65 *outName = fUniforms.back().fVariable.c_str(); in internalAddUniformArray()
67 return GrGLSLUniformHandler::UniformHandle(fUniforms.count() - 1); in internalAddUniformArray()
98 for (const UniformInfo& uniform : fUniforms.items()) { in appendUniformDecls()
115 for (GLUniformInfo& uniform : fUniforms.items()) { in bindUniformLocations()
130 for (GLUniformInfo& uniform : fUniforms.items()) { in getUniformLocations()
/third_party/skia/src/gpu/mtl/
DGrMtlUniformHandler.h38 return fUniforms.item(u.toIndex()).fVariable; in getUniformVariable()
46 return fUniforms.count(); in numUniforms()
50 return fUniforms.item(idx); in uniform()
53 return fUniforms.item(idx); in uniform()
59 , fUniforms(kUniformsPerBlock) in GrMtlUniformHandler()
93 return fUniforms.item(u.toIndex()); in getUniformInfo()
96 UniformInfoArray fUniforms; variable
DGrMtlPipelineStateDataManager.mm27 Uniform& uniform = fUniforms[i];
44 const Uniform& uni = fUniforms[u.toIndex()];
57 const Uniform& uni = fUniforms[u.toIndex()];
70 const Uniform& uni = fUniforms[u.toIndex()];
83 const Uniform& uni = fUniforms[u.toIndex()];
100 const Uniform& uni = fUniforms[u.toIndex()];
/third_party/flutter/skia/src/gpu/vk/
DGrVkPipelineStateDataManager.cpp19 fUniforms.push_back_n(count); in GrVkPipelineStateDataManager()
23 Uniform& uniform = fUniforms[i]; in GrVkPipelineStateDataManager()
42 const Uniform& uni = fUniforms[u.toIndex()]; in set1i()
52 const Uniform& uni = fUniforms[u.toIndex()]; in set1iv()
68 const Uniform& uni = fUniforms[u.toIndex()]; in set1f()
79 const Uniform& uni = fUniforms[u.toIndex()]; in set1fv()
95 const Uniform& uni = fUniforms[u.toIndex()]; in set2i()
106 const Uniform& uni = fUniforms[u.toIndex()]; in set2iv()
122 const Uniform& uni = fUniforms[u.toIndex()]; in set2f()
134 const Uniform& uni = fUniforms[u.toIndex()]; in set2fv()
[all …]
DGrVkUniformHandler.h49 return fUniforms[u.toIndex()].fVariable; in getUniformVariable()
64 , fUniforms(kUniformsPerBlock) in GrVkUniformHandler()
100 return fUniforms[u.toIndex()]; in getUniformInfo()
104 UniformInfoArray fUniforms; variable
DGrVkUniformHandler.cpp225 UniformInfo& uni = fUniforms.push_back(); in internalAddUniformArray()
254 return GrGLSLUniformHandler::UniformHandle(fUniforms.count() - 1); in internalAddUniformArray()
306 for (int i = 0; i < fUniforms.count(); ++i) { in appendUniformDecls()
307 const UniformInfo& localUniform = fUniforms[i]; in appendUniformDecls()
318 for (int i = 0; i < fUniforms.count(); ++i) { in appendUniformDecls()
319 const UniformInfo& localUniform = fUniforms[i]; in appendUniformDecls()
/third_party/skia/src/gpu/vk/
DGrVkUniformHandler.h68 return fUniforms.item(u.toIndex()).fVariable; in getUniformVariable()
81 return fUniforms.count(); in numUniforms()
85 return fUniforms.item(idx); in uniform()
88 return fUniforms.item(idx); in uniform()
99 , fUniforms(kUniformsPerBlock) in GrVkUniformHandler()
151 return fUniforms.item(u.toIndex()); in getUniformInfo()
156 UniformInfoArray fUniforms; variable
DGrVkPipelineStateDataManager.cpp28 Uniform& uniform = fUniforms[i]; in GrVkPipelineStateDataManager()
70 const Uniform& uni = fUniforms[u.toIndex()]; in set1iv()
88 const Uniform& uni = fUniforms[u.toIndex()]; in set1fv()
106 const Uniform& uni = fUniforms[u.toIndex()]; in set2iv()
124 const Uniform& uni = fUniforms[u.toIndex()]; in set2fv()
143 const Uniform& uni = fUniforms[u.toIndex()]; in setMatrix2fv()
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlPipelineStateDataManager.mm23 fUniforms.push_back_n(count);
27 Uniform& uniform = fUniforms[i];
45 const Uniform& uni = fUniforms[u.toIndex()];
55 const Uniform& uni = fUniforms[u.toIndex()];
71 const Uniform& uni = fUniforms[u.toIndex()];
82 const Uniform& uni = fUniforms[u.toIndex()];
94 const Uniform& uni = fUniforms[u.toIndex()];
105 const Uniform& uni = fUniforms[u.toIndex()];
117 const Uniform& uni = fUniforms[u.toIndex()];
129 const Uniform& uni = fUniforms[u.toIndex()];
[all …]
DGrMtlUniformHandler.h37 return fUniforms[u.toIndex()].fVariable; in getUniformVariable()
47 , fUniforms(kUniformsPerBlock) in GrMtlUniformHandler()
80 return fUniforms[u.toIndex()]; in getUniformInfo()
83 UniformInfoArray fUniforms; variable
/third_party/skia/src/gpu/
DGrSPIRVUniformHandler.h39 return fUniforms.count(); in numUniforms()
43 return fUniforms.item(idx); in uniform()
46 return fUniforms.item(idx); in uniform()
65 UniformInfoArray fUniforms; variable
DGrSPIRVUniformHandler.cpp14 , fUniforms(kUniformsPerBlock) in GrSPIRVUniformHandler()
21 return fUniforms.item(u.toIndex()).fVariable; in getUniformVariable()
25 return fUniforms.item(u.toIndex()).fVariable.getName().c_str(); in getUniformCStr()
219 fUniforms.push_back(tempInfo); in internalAddUniformArray()
222 *outName = fUniforms.back().fVariable.c_str(); in internalAddUniformArray()
224 return GrGLSLUniformHandler::UniformHandle(fUniforms.count() - 1); in internalAddUniformArray()
295 for (const UniformInfo& uniform : fUniforms.items()) { in appendUniformDecls()
/third_party/skia/include/effects/
DSkRuntimeEffect.h217 SkSpan<const Uniform> uniforms() const { return SkMakeSpan(fUniforms); } in uniforms()
281 std::vector<Uniform> fUniforms; variable
383 , fUniforms(SkData::MakeUninitialized(fEffect->uniformSize())) in SkRuntimeEffectBuilder()
392 sk_sp<SkData> uniforms() { return fUniforms; } in uniforms()
398 if (!fUniforms->unique()) { in writableUniformData()
399 fUniforms = SkData::MakeWithCopy(fUniforms->data(), fUniforms->size()); in writableUniformData()
401 return fUniforms->writable_data(); in writableUniformData()
405 sk_sp<SkData> fUniforms; variable
/third_party/skia/modules/particles/src/
DSkParticleEffect.cpp238 if (newCount > fUniforms.count()) { in updateStorage()
239 fUniforms.push_back_n(newCount - fUniforms.count(), 0.0f); in updateStorage()
241 fUniforms.resize(newCount); in updateStorage()
252 auto it = std::find_if(info->fUniforms.begin(), info->fUniforms.end(), in setUniform()
254 if (it == info->fUniforms.end()) { in setUniform()
317 args[1] = fUniforms.data(); in runEffectScript()
322 memcpy(&fUniforms[1], &fState.fAge, sizeof(EffectState)); in runEffectScript()
341 args[1] = fUniforms.data(); in runParticleScript()
346 memcpy(&fUniforms[1], &fState.fAge, sizeof(EffectState)); in runParticleScript()
364 fUniforms[0] = deltaTime; in advanceTime()
/third_party/skia/src/core/
DSkVMBlitter.cpp538 , fUniforms(skvm::UPtr{0}, kBlitterUniformsCount)
540 , fKey(CacheKey(fParams, &fUniforms, &fAlloc, ok)) {}
603 SkDEBUGCODE(size_t prev = fUniforms.buf.size();) in buildProgram()
604 fUniforms.buf.resize(kBlitterUniformsCount); in buildProgram()
606 BuildProgram(&builder, fParams.withCoverage(coverage), &fUniforms, &fAlloc); in buildProgram()
607 SkASSERTF(fUniforms.buf.size() == prev, in buildProgram()
608 "%zu, prev was %zu", fUniforms.buf.size(), prev); in buildProgram()
631 memcpy(fUniforms.buf.data(), &uniforms, sizeof(BlitterUniforms)); in updateUniforms()
648 fBlitH.eval(w, fUniforms.buf.data(), fDevice.addr(x,y), sprite); in blitH()
650 fBlitH.eval(w, fUniforms.buf.data(), fDevice.addr(x,y)); in blitH()
[all …]
/third_party/skia/src/effects/imagefilters/
DSkRuntimeImageFilter.cpp31 , fUniforms(std::move(uniforms)) {} in SkRuntimeImageFilter()
45 sk_sp<SkData> fUniforms; member in __anonbfc71f260111::SkRuntimeImageFilter
92 buffer.writeDataAsByteArray(fUniforms.get()); in flatten()
122 auto shader = fEffect->makeShader(fUniforms, &inputShader, 1, nullptr, false); in onFilterImage()
/third_party/skia/experimental/graphite/src/
DContextUtils.h59 const Uniform* uniforms() const { return fUniforms; } in uniforms()
75 , fUniforms(uniforms) in UniformData()
83 const Uniform* fUniforms; variable
/third_party/skia/modules/skottie/src/effects/
DSkSLEffect.cpp95 fUniforms.push_back(std::move(uniformTuple)); in SkSLEffectAdapter()
96 this->bind(abuilder, (*jprop)["v"], std::get<1>(fUniforms.back()).get()); in SkSLEffectAdapter()
111 for (const auto& uniform : fUniforms) { in buildEffectShader()
126 std::vector<std::tuple<SkString, std::unique_ptr<VectorValue>>> fUniforms; member in skottie::internal::__anon800933140111::SkSLEffectAdapter

123