/third_party/skia/src/gpu/ops/ |
H A D | GrMeshDrawOp.cpp | 69 size_t vertexStride, sk_sp<const GrBuffer> indexBuffer, in PatternHelper() 72 this->init(target, primitiveType, vertexStride, std::move(indexBuffer), verticesPerRepetition, in PatternHelper() 77 size_t vertexStride, sk_sp<const GrBuffer> indexBuffer, in init() 87 fVertices = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, &firstVertex); in init() 118 size_t vertexStride, in QuadHelper() 125 this->init(target, GrPrimitiveType::kTriangles, vertexStride, std::move(indexBuffer), in QuadHelper() 68 PatternHelper(GrMeshDrawTarget* target, GrPrimitiveType primitiveType, size_t vertexStride, sk_sp<const GrBuffer> indexBuffer, int verticesPerRepetition, int indicesPerRepetition, int repeatCount, int maxRepetitions) PatternHelper() argument 76 init(GrMeshDrawTarget* target, GrPrimitiveType primitiveType, size_t vertexStride, sk_sp<const GrBuffer> indexBuffer, int verticesPerRepetition, int indicesPerRepetition, int repeatCount, int maxRepetitions) init() argument 117 QuadHelper(GrMeshDrawTarget* target, size_t vertexStride, int quadsToDraw) QuadHelper() argument
|
H A D | DrawAtlasOp.cpp | 120 size_t vertexStride = 2 * sizeof(SkPoint); in DrawAtlasOpImpl() local 124 vertexStride += sizeof(GrColor); in DrawAtlasOpImpl() 129 int allocSize = static_cast<int>(4 * vertexStride * spriteCount); in DrawAtlasOpImpl() 153 *(reinterpret_cast<GrColor*>(currVertex + vertexStride + sizeof(SkPoint))) = grColor; in DrawAtlasOpImpl() 154 *(reinterpret_cast<GrColor*>(currVertex + 2 * vertexStride + sizeof(SkPoint))) = in DrawAtlasOpImpl() 156 *(reinterpret_cast<GrColor*>(currVertex + 3 * vertexStride + sizeof(SkPoint))) = in DrawAtlasOpImpl() 165 currVertex += vertexStride; in DrawAtlasOpImpl() 171 currVertex += vertexStride; in DrawAtlasOpImpl() 177 currVertex += vertexStride; in DrawAtlasOpImpl() 183 currVertex += vertexStride; in DrawAtlasOpImpl() 227 size_t vertexStride = fProgramInfo->geomProc().vertexStride(); onPrepareDraws() local [all...] |
H A D | AALinearizingConvexPathRenderer.cpp | 177 int vertexCount, size_t vertexStride, void* vertices, in recordDraw() 184 void* verts = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, in recordDraw() 190 memcpy(verts, vertices, vertexCount * vertexStride); in recordDraw() 214 size_t vertexStride = fProgramInfo->geomProc().vertexStride(); variable 221 uint8_t* vertices = (uint8_t*) sk_malloc_throw(maxVertices * vertexStride); 236 this->recordDraw(target, vertexCount, vertexStride, vertices, indexCount, indices); 242 if (maxVertices * vertexStride > SK_MaxS32) { 247 vertices = (uint8_t*) sk_realloc_throw(vertices, maxVertices * vertexStride); 269 extract_verts(tess, localCoordsMatrix, vertices + vertexStride * vertexCoun 176 recordDraw(GrMeshDrawTarget* target, int vertexCount, size_t vertexStride, void* vertices, int indexCount, uint16_t* indices) recordDraw() argument [all...] |
H A D | GrMeshDrawOp.h | 55 PatternHelper(GrMeshDrawTarget*, GrPrimitiveType, size_t vertexStride, 69 void init(GrMeshDrawTarget*, GrPrimitiveType, size_t vertexStride, 85 QuadHelper(GrMeshDrawTarget*, size_t vertexStride, int quadsToDraw);
|
H A D | AtlasTextOp.cpp | 249 const int vertexStride = (int)flushInfo.fGeometryProcessor->vertexStride(); in onPrepareDraws() local 253 const int quadSize = vertexStride * kVerticesPerGlyph; in onPrepareDraws() 267 vertexStride, in onPrepareDraws() 283 SkASSERTF((int) subRun.vertexStride(geo->fDrawMatrix) == vertexStride, in onPrepareDraws() 285 (int)subRun.vertexStride(geo->fDrawMatrix), vertexStride); in onPrepareDraws()
|
H A D | DrawVerticesOp.cpp | 285 size_t vertexStride() const { in vertexStride() function in skgpu::v1::DrawVerticesOp::final 392 SkASSERT(this->vertexStride() == gp->vertexStride()); in makeGP() 413 size_t vertexStride = this->vertexStride(); in onPrepareDraws() local 417 target->makeVertexSpace(vertexStride, fVertexCount, &vertexBuffer, &firstVertex)}; in onPrepareDraws() 473 SkMatrixPriv::MapPointsWithStride(mesh.fViewMatrix, posBase, vertexStride, in onPrepareDraws()
|
H A D | TriangulatingPathRenderer.cpp | 406 auto vertexStride = sizeof(SkPoint); variable 408 vertexStride += sizeof(float); 410 SkASSERT(vertexStride == gp->vertexStride());
|
/third_party/skia/experimental/graphite/src/mtl/ |
H A D | MtlGraphicsPipeline.h | 35 size_t vertexStride() const { return fVertexStride; } in vertexStride() function in skgpu::mtl::final 40 size_t vertexStride, in GraphicsPipeline() 43 , fVertexStride(vertexStride) in GraphicsPipeline() 39 GraphicsPipeline(sk_cfp<id<MTLRenderPipelineState>> pso, size_t vertexStride, size_t instanceStride) GraphicsPipeline() argument
|
/third_party/skia/src/gpu/text/ |
H A D | GrTextBlob.cpp | 486 size_t vertexStride(const SkMatrix& drawMatrix) const override; 585 size_t DirectMaskSubRun::vertexStride(const SkMatrix&) const { in vertexStride() function in __anon18873::DirectMaskSubRun 802 SkASSERT(sizeof(Quad) == this->vertexStride(positionMatrix) * kVerticesPerGlyph); in fillVertexData() 806 SkASSERT(sizeof(Quad) == this->vertexStride(positionMatrix) * kVerticesPerGlyph); in fillVertexData() 812 SkASSERT(sizeof(Quad) == this->vertexStride(positionMatrix) * kVerticesPerGlyph); in fillVertexData() 816 SkASSERT(sizeof(Quad) == this->vertexStride(positionMatrix) * kVerticesPerGlyph); in fillVertexData() 888 size_t vertexStride(const SkMatrix& drawMatrix) const override; 1029 SkASSERT(sizeof(Quad) == this->vertexStride(positionMatrix) * kVerticesPerGlyph); in fillVertexData() 1038 SkASSERT(sizeof(Quad) == this->vertexStride(positionMatrix) * kVerticesPerGlyph); in fillVertexData() 1049 SkASSERT(sizeof(Quad) == this->vertexStride(positionMatri in fillVertexData() 1069 size_t TransformedMaskSubRun::vertexStride(const SkMatrix& drawMatrix) const { vertexStride() function in __anon18873::TransformedMaskSubRun 1335 size_t SDFTSubRun::vertexStride(const SkMatrix& drawMatrix) const { vertexStride() function in __anon18873::SDFTSubRun 1773 size_t DirectMaskSubRunNoCache::vertexStride(const SkMatrix&) const { vertexStride() function in __anon18875::DirectMaskSubRunNoCache 2105 size_t TransformedMaskSubRunNoCache::vertexStride(const SkMatrix& drawMatrix) const { vertexStride() function in __anon18875::TransformedMaskSubRunNoCache 2297 size_t SDFTSubRunNoCache::vertexStride(const SkMatrix& drawMatrix) const { vertexStride() function in __anon18875::SDFTSubRunNoCache [all...] |
/third_party/skia/src/gpu/gl/ |
H A D | GrGLProgram.h | 65 int vertexStride, 111 int vertexStride() const { return fVertexStride; } in vertexStride() function in GrGLProgram 138 int vertexStride,
|
H A D | GrGLProgram.cpp | 39 int vertexStride, in Make() 52 vertexStride, in Make() 71 int vertexStride, in GrGLProgram() 81 , fVertexStride(vertexStride) in GrGLProgram() 27 Make( GrGLGpu* gpu, const GrGLSLBuiltinUniformHandles& builtinUniforms, GrGLuint programID, const UniformInfoArray& uniforms, const UniformInfoArray& textureSamplers, std::unique_ptr<GrGeometryProcessor::ProgramImpl> gpImpl, std::unique_ptr<GrXferProcessor::ProgramImpl> xpImpl, std::vector<std::unique_ptr<GrFragmentProcessor::ProgramImpl>> fpImpls, std::unique_ptr<Attribute[]> attributes, int vertexAttributeCnt, int instanceAttributeCnt, int vertexStride, int instanceStride) Make() argument 60 GrGLProgram(GrGLGpu* gpu, const GrGLSLBuiltinUniformHandles& builtinUniforms, GrGLuint programID, const UniformInfoArray& uniforms, const UniformInfoArray& textureSamplers, std::unique_ptr<GrGeometryProcessor::ProgramImpl> gpImpl, std::unique_ptr<GrXferProcessor::ProgramImpl> xpImpl, std::vector<std::unique_ptr<GrFragmentProcessor::ProgramImpl>> fpImpls, std::unique_ptr<Attribute[]> attributes, int vertexAttributeCnt, int instanceAttributeCnt, int vertexStride, int instanceStride) GrGLProgram() argument
|
H A D | GrGLOpsRenderPass.cpp | 166 if (int vertexStride = program->vertexStride()) { in bindVertexBuffer() 170 size_t bufferOffset = baseVertex * static_cast<size_t>(vertexStride); in bindVertexBuffer() 175 attrib.fGPUType, vertexStride, bufferOffset + attrib.fOffset, in bindVertexBuffer()
|
/third_party/skia/tests/ |
H A D | PrimitiveProcessorTest.cpp | 149 size_t vertexStride = fProgramInfo->geomProc().vertexStride(); variable 150 QuadHelper helper(target, vertexStride, 1); 152 SkPointPriv::SetRectTriStrip(vertices, 0.f, 0.f, 1.f, 1.f, vertexStride);
|
/third_party/skia/bench/ |
H A D | VertexColorSpaceBench.cpp | 203 size_t vertexStride = fProgramInfo->geomProc().vertexStride(); variable 207 void* verts = target->makeVertexSpace(vertexStride, kVertexCount, &vertexBuffer, 219 SkASSERT(sizeof(V) == vertexStride); variable 232 SkASSERT(sizeof(V) == vertexStride); variable 251 SkASSERT(sizeof(V) == vertexStride); variable
|
H A D | GlyphQuadFillBench.cpp | 60 fVertices.reset(new char[subRun->vertexStride(drawMatrix) * subRun->glyphCount() * 4]);
|
/third_party/skia/src/gpu/tessellate/shaders/ |
H A D | GrPathTessellationShader_Hardware.cpp | 43 SkASSERT(this->vertexStride() * 5 == in HardwareWedgeShader() 186 SkASSERT(this->vertexStride() * 4 == in HardwareCurveShader()
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
H A D | Stream.hpp | 26 unsigned int vertexStride = 0; member
|
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DPipelineState.cpp | 33 size_t vertexStride, in GrD3DPipelineState() 43 , fVertexStride(vertexStride) in GrD3DPipelineState() 23 GrD3DPipelineState( sk_sp<GrD3DPipeline> pipeline, sk_sp<GrD3DRootSignature> rootSignature, const GrGLSLBuiltinUniformHandles& builtinUniformHandles, const UniformInfoArray& uniforms, uint32_t uniformSize, uint32_t numSamplers, std::unique_ptr<GrGeometryProcessor::ProgramImpl> gpImpl, std::unique_ptr<GrXferProcessor::ProgramImpl> xpImpl, std::vector<std::unique_ptr<GrFragmentProcessor::ProgramImpl>> fpImpls, size_t vertexStride, size_t instanceStride) GrD3DPipelineState() argument
|
H A D | GrD3DCommandList.cpp | 371 size_t vertexStride, in setVertexBuffers() 375 fCurrentVertexStride != vertexStride || in setVertexBuffers() 380 fCurrentVertexStride = vertexStride; in setVertexBuffers() 390 views[numViews++].StrideInBytes = vertexStride; in setVertexBuffers() 369 setVertexBuffers(unsigned int startSlot, sk_sp<const GrBuffer> vertexBuffer, size_t vertexStride, sk_sp<const GrBuffer> instanceBuffer, size_t instanceStride) setVertexBuffers() argument
|
H A D | GrD3DPipelineState.h | 39 size_t vertexStride,
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
H A D | vktTessellationMiscDrawTests.cpp | 147 const deUint32 vertexStride = tcu::getPixelSize(mapVkFormat(vertexFormat)); in runTest() local 154 DE_ASSERT(sizeof(vertexData[0]) == vertexStride); in runTest() 212 .setVertexInputSingleAttribute(vertexFormat, vertexStride) in runTest()
|
H A D | vktTessellationPrimitiveDiscardTests.cpp | 410 const deUint32 vertexStride = tcu::getPixelSize(mapVkFormat(vertexFormat)); 415 DE_ASSERT(sizeof(attributes[0]) == vertexStride); 482 .setVertexInputSingleAttribute(vertexFormat, vertexStride)
|
/third_party/skia/src/gpu/ |
H A D | GrOpFlushState.cpp | 208 void GrOpFlushState::putBackVertices(int vertices, size_t vertexStride) { in putBackVertices() argument 209 fVertexPool.putBack(vertices * vertexStride); in putBackVertices()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationPrimitiveDiscardTests.cpp | 410 const deUint32 vertexStride = tcu::getPixelSize(mapVkFormat(vertexFormat)); 415 DE_ASSERT(sizeof(attributes[0]) == vertexStride); 482 .setVertexInputSingleAttribute(vertexFormat, vertexStride)
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineBindVertexBuffers2Tests.cpp | 53 deUint32 vertexStride; member 406 vk::VkDeviceSize vertexStride = m_params.vertexStride * sizeof(float); in iterate() local 449 for (deUint32 j = 4; j < vertexStride / sizeof(float); ++j) in iterate() 497 vk::VkDeviceSize strides[] = { colorStride, vertexStride, colorStride, vertexStride, colorStride, vertexStride, colorStride, vertexStride }; in iterate()
|