Home
last modified time | relevance | path

Searched refs:fUniformBuffer (Results 1 – 10 of 10) sorted by relevance

/third_party/flutter/skia/src/gpu/vk/
DGrVkPipelineState.cpp56 fUniformBuffer.reset(GrVkUniformBuffer::Create(gpu, uniformSize)); in GrVkPipelineState()
78 if (fUniformBuffer) { in freeGPUResources()
79 fUniformBuffer->release(gpu); in freeGPUResources()
80 fUniformBuffer.reset(); in freeGPUResources()
100 if (fUniformBuffer) { in abandonGPUResources()
101 fUniformBuffer->abandon(); in abandonGPUResources()
102 fUniformBuffer.reset(); in abandonGPUResources()
145 if (fUniformBuffer) { in setAndBindUniforms()
147 if (fDataManager.uploadUniformBuffers(gpu, fUniformBuffer.get()) || in setAndBindUniforms()
161 if (fUniformBuffer) { in setAndBindUniforms()
[all …]
DGrVkPipelineState.h133 std::unique_ptr<GrVkUniformBuffer> fUniformBuffer; variable
/third_party/skia/src/gpu/vk/
DGrVkPipelineStateDataManager.cpp49 fUniformBuffer = nullptr; in uploadUniforms()
53 fUniformBuffer = resourceProvider->createBuffer( in uploadUniforms()
56 if (!fUniformBuffer) { in uploadUniforms()
63 return std::make_pair(fUniformBuffer, true); in uploadUniforms()
160 void GrVkPipelineStateDataManager::releaseData() { fUniformBuffer.reset(); } in releaseData()
DGrVkPipelineStateDataManager.h43 sk_sp<GrGpuBuffer> fUniformBuffer;
/third_party/flutter/skia/src/sksl/
DSkSLMetalCodeGenerator.cpp800 if (-1 != fUniformBuffer) { in writeFunction()
802 to_string(fUniformBuffer) + ")]]"); in writeFunction()
1300 if (-1 == fUniformBuffer) { in writeUniformStruct()
1302 fUniformBuffer = first.fModifiers.fLayout.fSet; in writeUniformStruct()
1303 if (-1 == fUniformBuffer) { in writeUniformStruct()
1306 } else if (first.fModifiers.fLayout.fSet != fUniformBuffer) { in writeUniformStruct()
1307 if (-1 == fUniformBuffer) { in writeUniformStruct()
1323 if (-1 != fUniformBuffer) { in writeUniformStruct()
DSkSLMetalCodeGenerator.h280 int fUniformBuffer = -1; variable
/third_party/skia/src/sksl/codegen/
DSkSLMetalCodeGenerator.cpp1821 if (-1 != fUniformBuffer) { in writeFunctionDeclaration()
1823 to_string(fUniformBuffer) + ")]]"); in writeFunctionDeclaration()
2278 if (-1 == fUniformBuffer) { in writeUniformStruct()
2280 fUniformBuffer = uniformSet; in writeUniformStruct()
2281 } else if (uniformSet != fUniformBuffer) { in writeUniformStruct()
2294 if (-1 != fUniformBuffer) { in writeUniformStruct()
DSkSLMetalCodeGenerator.h284 int fUniformBuffer = -1; variable
DSkSLSPIRVCodeGenerator.h506 UniformBuffer fUniformBuffer;
DSkSLSPIRVCodeGenerator.cpp3442 fUniformBuffer.fStruct = Type::MakeStructType(/*line=*/-1, kUniformBufferName, in writeUniformBuffer()
3451 fUniformBuffer.fInnerVariable = std::make_unique<Variable>( in writeUniformBuffer()
3453 fUniformBuffer.fStruct.get(), /*builtin=*/false, Variable::Storage::kGlobal); in writeUniformBuffer()
3456 fUniformBuffer.fInterfaceBlock = std::make_unique<InterfaceBlock>( in writeUniformBuffer()
3457 /*offset=*/-1, *fUniformBuffer.fInnerVariable, kUniformBufferName, in writeUniformBuffer()
3461 fUniformBufferId = this->writeInterfaceBlock(*fUniformBuffer.fInterfaceBlock); in writeUniformBuffer()