Home
last modified time | relevance | path

Searched refs:instanceStride (Results 1 – 25 of 28) sorted by relevance

12

/external/skia/src/gpu/tessellate/
DGrDrawAtlasPathOp.cpp152 size_t instanceStride = Instance::Stride(fUsesLocalCoords); in onPrepare() local
154 instanceStride, fInstanceCount, &fInstanceBuffer, &fBaseInstance)) { in onPrepare()
155 SkDEBUGCODE(char* end = instanceData + fInstanceCount * instanceStride); in onPrepare()
157 memcpy(instanceData, &list->fInstance, instanceStride); in onPrepare()
158 instanceData += instanceStride; in onPrepare()
180 SkASSERT(shader.instanceStride() == Instance::Stride(fUsesLocalCoords)); in onExecute()
DGrStrokeIndirectTessellator.cpp646 ShaderFlags shaderFlags, size_t instanceStride, int baseInstance, in BinningInstanceWriter() argument
657 fInstanceWriters[i] = instanceWriter->makeOffset(instanceStride * in BinningInstanceWriter()
665 fEndWriters[i - 1] = instanceWriter->makeOffset(instanceStride * in BinningInstanceWriter()
672 instanceWriter->makeOffset(instanceStride * runningInstanceCount)); in BinningInstanceWriter()
673 *instanceWriter = instanceWriter->makeOffset(instanceStride * runningInstanceCount); in BinningInstanceWriter()
769 GrVertexWriter instanceWriter = {target->makeVertexSpace(fShader.instanceStride(), in prepare()
777 SkDEBUGCODE(auto endInstanceWriter = instanceWriter.makeOffset(fShader.instanceStride() * in prepare()
783 fShader.instanceStride(), baseInstance, fMaxNumExtraEdgesInJoin); in prepare()
794 size_t instanceStride, int baseInstance, in writeBuffers() argument
797 instanceStride, baseInstance, numExtraEdgesInJoin, in writeBuffers()
DGrStrokeFixedCountTessellator.cpp27 GrVertexChunkArray* patchChunks, size_t instanceStride, int minInstancesPerChunk) in InstanceWriter() argument
29 , fChunkBuilder(target, patchChunks, instanceStride, minInstancesPerChunk) in InstanceWriter()
212 fShader.instanceStride(), minInstancesPerChunk); in prepare()
DGrStrokeIndirectTessellator.h40 size_t instanceStride, int baseInstance, int numExtraEdgesInJoin);
/external/skia/src/gpu/gl/
DGrGLProgram.h65 int instanceStride);
130 int instanceStride() const { return fInstanceStride; } in instanceStride() function
157 int instanceStride);
DGrGLProgram.cpp39 int instanceStride) { in Make() argument
52 instanceStride)); in Make()
71 int instanceStride) in GrGLProgram() argument
81 , fInstanceStride(instanceStride) in GrGLProgram()
DGrGLOpsRenderPass.cpp132 if (int instanceStride = program->instanceStride()) { in bindInstanceBuffer() local
136 size_t bufferOffset = baseInstance * static_cast<size_t>(instanceStride); in bindInstanceBuffer()
142 attrib.fGPUType, instanceStride, bufferOffset + attrib.fOffset, in bindInstanceBuffer()
/external/skqp/src/gpu/gl/
DGrGLProgram.h64 int instanceStride);
129 int instanceStride() const { return fInstanceStride; } in instanceStride() function
DGrGLProgram.cpp43 int instanceStride) in GrGLProgram() argument
54 , fInstanceStride(instanceStride) in GrGLProgram()
/external/swiftshader/src/Device/
DStream.hpp27 unsigned int instanceStride = 0; member
DContext.cpp189 input.instanceStride = instanceStrides[desc.binding]; in Inputs()
211 attrib.instanceStride * firstInstance; in bindVertexInputs()
234 …if((attrib.format != VK_FORMAT_UNDEFINED) && attrib.instanceStride && (attrib.instanceStride < att… in advanceInstanceAttributes()
237 attrib.buffer = (void const *)((uintptr_t)attrib.buffer + attrib.instanceStride); in advanceInstanceAttributes()
238 attrib.robustnessSize -= attrib.instanceStride; in advanceInstanceAttributes()
/external/skia/src/gpu/d3d/
DGrD3DPipelineState.cpp32 size_t instanceStride) in GrD3DPipelineState() argument
42 , fInstanceStride(instanceStride) {} in GrD3DPipelineState()
DGrD3DCommandList.cpp389 size_t instanceStride) { in setVertexBuffers() argument
393 fCurrentInstanceStride != instanceStride) { in setVertexBuffers()
398 fCurrentInstanceStride = instanceStride; in setVertexBuffers()
413 views[numViews++].StrideInBytes = instanceStride; in setVertexBuffers()
DGrD3DPipelineState.h40 size_t instanceStride);
DGrD3DCommandList.h176 sk_sp<const GrBuffer> instanceBuffer, size_t instanceStride);
DGrD3DPipelineStateBuilder.cpp278 SkASSERT(instanceAttributeOffset == geomProc.instanceStride()); in setup_vertex_input_layout()
688 geomProc.instanceStride())); in finalize()
/external/skqp/src/gpu/ccpr/
DGrCCPathProcessor.cpp87 SkASSERT(this->instanceStride() == sizeof(Instance)); in GrCCPathProcessor()
DGrCCStroker.cpp76 SkASSERT(this->instanceStride() == sizeof(Instance)); in LinearStrokeProcessor()
166 SkASSERT(this->instanceStride() == sizeof(Instance)); in CubicStrokeProcessor()
/external/skqp/src/gpu/
DGrPrimitiveProcessor.h166 size_t instanceStride() const { return fInstanceAttributes.fStride; } in instanceStride() function
/external/skia/src/gpu/
DGrGeometryProcessor.h169 size_t instanceStride() const { return fInstanceAttributes.fStride; } in instanceStride() function
/external/skqp/src/gpu/ops/
DGrAAFillRRectOp.cpp460 SkASSERT(proc.instanceStride() == (size_t)fInstanceStride); in onExecute()
/external/skqp/src/gpu/mtl/
DGrMtlPipelineStateBuilder.mm197 SkASSERT(instanceAttributeOffset == primProc.instanceStride());
/external/skqp/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp162 SkASSERT(fInstanceStride == primProc.instanceStride()); in computeCountsAndStrides()
/external/skqp/src/gpu/vk/
DGrVkPipeline.cpp117 SkASSERT(instanceAttributeOffset == primProc.instanceStride()); in setup_vertex_input_state()
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp146 SkASSERT(fInstanceStride == geomProc.instanceStride()); in computeCountsAndStrides()

12