Home
last modified time | relevance | path

Searched refs:fUniformSize (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/src/gpu/dawn/
DGrDawnProgramDataManager.cpp44 if (fUniformsDirty && 0 != fUniformSize) { in uploadUniformBuffers()
47 slice = gpu->allocateUniformRingBufferSlice(fUniformSize); in uploadUniformBuffers()
48 gpu->queue().WriteBuffer(slice.fBuffer, slice.fOffset, fUniformData.get(), fUniformSize); in uploadUniformBuffers()
51 fUniformSize)); in uploadUniformBuffers()
DGrDawnProgramDataManager.h28 uint32_t uniformBufferSize() const { return fUniformSize; } in uniformBufferSize()
/third_party/skia/src/gpu/mtl/
DGrMtlPipelineStateDataManager.mm113 if (fUniformSize && fUniformsDirty) {
116 if (fUniformSize <= gpu->caps()->maxPushConstantsSize()) {
117 renderCmdEncoder->setVertexBytes(fUniformData.get(), fUniformSize,
119 renderCmdEncoder->setFragmentBytes(fUniformData.get(), fUniformSize,
126 GrRingBuffer::Slice slice = gpu->uniformsRingBuffer()->suballocate(fUniformSize);
129 memcpy(destPtr, fUniformData.get(), fUniformSize);
/third_party/skia/src/gpu/effects/
DGrSkSLFP.cpp300 , fUniformSize(SkToU32(fEffect->uniformSize())) { in GrSkSLFP()
314 , fUniformSize(other.fUniformSize) in GrSkSLFP()
319 sk_careful_memcpy(this->uniformData(), other.uniformData(), fUniformSize); in GrSkSLFP()
359 b->add32(fUniformSize); in onAddToKey()
380 fUniformSize == sk.fUniformSize && in onIsEqual()
382 this->uniformData(), sk.uniformData(), fUniformSize + uniformFlagSize); in onIsEqual()
DGrSkSLFP.h197 return reinterpret_cast<const UniformFlags*>(this->uniformData() + fUniformSize); in uniformFlags()
200 return reinterpret_cast<UniformFlags*>(this->uniformData() + fUniformSize); in uniformFlags()
405 uint32_t fUniformSize; variable
/third_party/skia/src/gpu/vk/
DGrVkPipelineStateDataManager.cpp43 if (fUniformSize == 0) { in uploadUniforms()
48 0, fUniformSize, fUniformData.get()); in uploadUniforms()
54 fUniformSize, GrGpuBufferType::kUniform, kDynamic_GrAccessPattern, in uploadUniforms()
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlPipelineStateDataManager.mm19 : fUniformSize(uniformSize) function
333 if (fUniformSize && fUniformsDirty) {
334 SkASSERT(fUniformSize < 4*1024);
336 length: fUniformSize
339 length: fUniformSize
DGrMtlPipelineStateDataManager.h76 uint32_t fUniformSize; variable
/third_party/skia/src/gpu/d3d/
DGrD3DPipelineStateDataManager.cpp36 fUniformSize); in uploadConstants()
/third_party/flutter/skia/src/gpu/vk/
DGrVkPipelineStateDataManager.h77 uint32_t fUniformSize; variable
DGrVkPipelineStateDataManager.cpp15 : fUniformSize(uniformSize) in GrVkPipelineStateDataManager()
341 fUniformSize, &updatedBuffer)); in uploadUniformBuffers()
/third_party/skia/src/gpu/
DGrUniformDataManager.h74 uint32_t fUniformSize; variable
DGrUniformDataManager.cpp20 : fUniformSize(uniformSize) in GrUniformDataManager()