Home
last modified time | relevance | path

Searched refs:requiredBufferSize (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramVk.cpp169 gl::ShaderMap<size_t> requiredBufferSize; in load() local
170 requiredBufferSize.fill(0); in load()
192 requiredBufferSize[shaderType] = stream->readInt<size_t>(); in load()
196 angle::Result status = resizeUniformBlockMemory(contextVk, requiredBufferSize); in load()
315 gl::ShaderMap<size_t> requiredBufferSize; in initDefaultUniformBlocks() local
316 requiredBufferSize.fill(0); in initDefaultUniformBlocks()
318 generateUniformLayoutMapping(layoutMap, requiredBufferSize); in initDefaultUniformBlocks()
322 return resizeUniformBlockMemory(contextVk, requiredBufferSize); in initDefaultUniformBlocks()
326 gl::ShaderMap<size_t> &requiredBufferSize) in generateUniformLayoutMapping() argument
338 &requiredBufferSize[shaderType]); in generateUniformLayoutMapping()
[all …]
DProgramVk.h180 gl::ShaderMap<size_t> &requiredBufferSize);
183 gl::ShaderMap<size_t> &requiredBufferSize);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DProgramMtl.mm494 gl::ShaderMap<size_t> requiredBufferSize;
495 requiredBufferSize.fill(0);
504 &requiredBufferSize[shaderType]);
550 return resizeDefaultUniformBlocksMemory(glContext, requiredBufferSize);
555 const gl::ShaderMap<size_t> &requiredBufferSize)
561 if (requiredBufferSize[shaderType] > 0)
563 ASSERT(requiredBufferSize[shaderType] <= mtl::kDefaultUniformsMaxSize);
566 requiredBufferSize[shaderType]))
795 gl::ShaderMap<size_t> requiredBufferSize;
796 requiredBufferSize.fill(0);
[all …]
DProgramMtl.h181 const gl::ShaderMap<size_t> &requiredBufferSize);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DVertexArrayGL.cpp406 const size_t requiredBufferSize = streamingDataSize + bufferEmptySpace; in streamAttributes() local
409 if (requiredBufferSize > mStreamingArrayBufferSize) in streamAttributes()
411 ANGLE_GL_TRY(context, functions->bufferData(GL_ARRAY_BUFFER, requiredBufferSize, nullptr, in streamAttributes()
413 mStreamingArrayBufferSize = requiredBufferSize; in streamAttributes()
426 requiredBufferSize, GL_MAP_WRITE_BIT); in streamAttributes()