Searched refs:fUniformBuffer (Results 1 – 8 of 8) sorted by relevance
145 fUniformBuffer.reset(GrVkUniformBuffer::Create(gpu, 8 * sizeof(float))); in createCopyProgram()146 SkASSERT(fUniformBuffer.get()); in createCopyProgram()177 nullptr == fUniformBuffer.get()); in copySurfaceAsDraw()230 fUniformBuffer->updateData(gpu, uniData, sizeof(uniData), nullptr); in copySurfaceAsDraw()236 uniBufferInfo.buffer = fUniformBuffer->buffer(); in copySurfaceAsDraw()237 uniBufferInfo.offset = fUniformBuffer->offset(); in copySurfaceAsDraw()238 uniBufferInfo.range = fUniformBuffer->size(); in copySurfaceAsDraw()370 descriptorRecycledResources.push_back(fUniformBuffer->resource()); in copySurfaceAsDraw()442 if (fUniformBuffer) { in destroyResources()443 fUniformBuffer->release(gpu); in destroyResources()[all …]
51 std::unique_ptr<GrVkUniformBuffer> fUniformBuffer; variable
50 fUniformBuffer.reset(GrVkUniformBuffer::Create(gpu, uniformSize)); in GrVkPipelineState()72 if (fUniformBuffer) { in freeGPUResources()73 fUniformBuffer->release(gpu); in freeGPUResources()74 fUniformBuffer.reset(); in freeGPUResources()107 if (fUniformBuffer) { in setAndBindUniforms()108 if (fDataManager.uploadUniformBuffers(gpu, fUniformBuffer.get()) || in setAndBindUniforms()124 commandBuffer->addRecycledResource(fUniformBuffer->resource()); in setAndBindUniforms()276 if (fUniformBuffer.get()) { in writeUniformBuffers()280 fUniformBuffer.get(), in writeUniformBuffers()
122 std::unique_ptr<GrVkUniformBuffer> fUniformBuffer; variable
647 if (-1 != fUniformBuffer) { in writeFunction()649 to_string(fUniformBuffer) + ")]]"); in writeFunction()1150 if (-1 == fUniformBuffer) { in writeUniformStruct()1152 fUniformBuffer = first.fModifiers.fLayout.fSet; in writeUniformStruct()1153 if (-1 == fUniformBuffer) { in writeUniformStruct()1156 } else if (first.fModifiers.fLayout.fSet != fUniformBuffer) { in writeUniformStruct()1157 if (-1 == fUniformBuffer) { in writeUniformStruct()1173 if (-1 != fUniformBuffer) { in writeUniformStruct()
276 int fUniformBuffer = -1; variable
809 if (-1 != fUniformBuffer) { in writeFunction()811 to_string(fUniformBuffer) + ")]]"); in writeFunction()1306 if (-1 == fUniformBuffer) { in writeUniformStruct()1308 fUniformBuffer = first.fModifiers.fLayout.fSet; in writeUniformStruct()1309 if (-1 == fUniformBuffer) { in writeUniformStruct()1312 } else if (first.fModifiers.fLayout.fSet != fUniformBuffer) { in writeUniformStruct()1313 if (-1 == fUniformBuffer) { in writeUniformStruct()1329 if (-1 != fUniformBuffer) { in writeUniformStruct()
282 int fUniformBuffer = -1; variable