Home
last modified time | relevance | path

Searched refs:instanceBuffer (Results 1 – 23 of 23) sorted by relevance

/external/skia/src/gpu/ganesh/gl/
DGrGLOpsRenderPass.cpp100 sk_sp<const GrBuffer> instanceBuffer, in onBindBuffers() argument
127 this->bindInstanceBuffer(instanceBuffer.get(), 0); in onBindBuffers()
130 fActiveInstanceBuffer = std::move(instanceBuffer); in onBindBuffers()
144 void GrGLOpsRenderPass::bindInstanceBuffer(const GrBuffer* instanceBuffer, int baseInstance) { in bindInstanceBuffer() argument
148 SkASSERT(instanceBuffer); in bindInstanceBuffer()
149 SkASSERT(instanceBuffer->isCpuBuffer() || in bindInstanceBuffer()
150 !static_cast<const GrGpuBuffer*>(instanceBuffer)->isMapped()); in bindInstanceBuffer()
156 fAttribArrayState->set(fGpu, attrib.fLocation, instanceBuffer, attrib.fCPUType, in bindInstanceBuffer()
DGrGLOpsRenderPass.h67 void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer,
/external/skia/src/gpu/ganesh/d3d/
DGrD3DPipelineState.cpp154 sk_sp<const GrBuffer> instanceBuffer, in bindBuffers() argument
166 if (instanceBuffer) { in bindBuffers()
167 auto* d3dInstanceBuffer = static_cast<const GrD3DBuffer*>(instanceBuffer.get()); in bindBuffers()
174 std::move(instanceBuffer), fInstanceStride); in bindBuffers()
DGrD3DCommandList.cpp372 sk_sp<const GrBuffer> instanceBuffer, in setVertexBuffers() argument
376 fCurrentInstanceBuffer != instanceBuffer.get() || in setVertexBuffers()
381 fCurrentInstanceBuffer = instanceBuffer.get(); in setVertexBuffers()
393 if (instanceBuffer) { in setVertexBuffers()
394 auto* d3dBuffer = static_cast<const GrD3DBuffer*>(instanceBuffer.get()); in setVertexBuffers()
396 views[numViews].SizeInBytes = instanceBuffer->size(); in setVertexBuffers()
398 this->addGrBuffer(std::move(instanceBuffer)); in setVertexBuffers()
DGrD3DPipelineState.h54 sk_sp<const GrBuffer> instanceBuffer, sk_sp<const GrBuffer> vertexBuffer,
DGrD3DOpsRenderPass.h46 void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer,
DGrD3DOpsRenderPass.cpp242 sk_sp<const GrBuffer> instanceBuffer, in onBindBuffers() argument
252 fCurrentPipelineState->bindBuffers(fGpu, std::move(indexBuffer), std::move(instanceBuffer), in onBindBuffers()
DGrD3DCommandList.h172 sk_sp<const GrBuffer> instanceBuffer, size_t instanceStride);
/external/openthread/tests/unit/
Dtest_platform.cpp48 uint8_t *instanceBuffer = nullptr; in testInitInstance() local
54 instanceBuffer = (uint8_t *)malloc(instanceBufferLength); in testInitInstance()
55 VerifyOrQuit(instanceBuffer != nullptr, "Failed to allocate otInstance"); in testInitInstance()
56 memset(instanceBuffer, 0, instanceBufferLength); in testInitInstance()
59 instance = otInstanceInit(instanceBuffer, &instanceBufferLength); in testInitInstance()
/external/skia/src/gpu/ganesh/
DGrOpsRenderPass.cpp173 sk_sp<const GrBuffer> instanceBuffer, in bindBuffers() argument
186 SkASSERT((DynamicStateStatus::kDisabled == fInstanceBufferStatus) != SkToBool(instanceBuffer)); in bindBuffers()
187 if (instanceBuffer) { in bindBuffers()
201 this->onBindBuffers(std::move(indexBuffer), std::move(instanceBuffer), std::move(vertexBuffer), in bindBuffers()
DGrOpsRenderPass.h76 void bindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer,
185 …virtual void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer,
DGrOpFlushState.h230 void bindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer,
233 fOpsRenderPass->bindBuffers(std::move(indexBuffer), std::move(instanceBuffer),
/external/skia/src/gpu/ganesh/dawn/
DGrDawnOpsRenderPass.cpp191 sk_sp<const GrBuffer> instanceBuffer, in onBindBuffers() argument
198 if (instanceBuffer) { in onBindBuffers()
199 wgpu::Buffer instance = static_cast<const GrDawnBuffer*>(instanceBuffer.get())->get(); in onBindBuffers()
DGrDawnOpsRenderPass.h45 void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer,
/external/skia/src/gpu/ganesh/mtl/
DGrMtlOpsRenderPass.mm317 sk_sp<const GrBuffer> instanceBuffer,
335 if (instanceBuffer) {
336 SkASSERT(!instanceBuffer->isCpuBuffer());
337 SkASSERT(!static_cast<const GrGpuBuffer*>(instanceBuffer.get())->isMapped());
338 this->setVertexBuffer(fActiveRenderCmdEncoder, instanceBuffer.get(), 0, inputBufferIndex++);
339 fActiveInstanceBuffer = std::move(instanceBuffer);
DGrMtlOpsRenderPass.h45 void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer,
/external/skia/src/gpu/ganesh/mock/
DGrMockOpsRenderPass.h43 void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer, in onBindBuffers() argument
/external/skia/src/gpu/ganesh/vk/
DGrVkOpsRenderPass.h75 void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer,
DGrVkOpsRenderPass.cpp725 sk_sp<const GrBuffer> instanceBuffer, in onBindBuffers() argument
752 if (auto* gpuInstanceBuffer = static_cast<const GrGpuBuffer*>(instanceBuffer.get())) { in onBindBuffers()
755 currCmdBuf->bindInputBuffer(fGpu, binding++, std::move(instanceBuffer)); in onBindBuffers()
/external/skia/src/gpu/graphite/mtl/
DMtlCommandBuffer.h102 const Buffer* instanceBuffer, size_t instanceOffset);
DMtlCommandBuffer.mm451 const Buffer* instanceBuffer,
463 if (instanceBuffer) {
464 id<MTLBuffer> mtlBuffer = static_cast<const MtlBuffer*>(instanceBuffer)->mtlBuffer();
/external/angle/src/tests/gl_tests/
DMultiDrawTest.cpp895 GLBuffer instanceBuffer; in TEST_P() local
896 glBindBuffer(GL_ARRAY_BUFFER, instanceBuffer); in TEST_P()
/external/deqp/external/vulkancts/framework/vulkan/
DvkRayTracingUtil.cpp2388 const BufferWithMemory* instanceBuffer, in updateInstanceBuffer() argument
2395 auto& instancesAlloc = instanceBuffer->getAllocation(); in updateInstanceBuffer()