Searched refs:requiredBufferSize (Results 1 – 7 of 7) sorted by relevance
53 std::size_t requiredBufferSize = strValue.length() + 1; /* Adding one for null character */ in fromString() local54 if (size < requiredBufferSize) { in fromString()56 std::to_string(requiredBufferSize)); in fromString()
169 gl::ShaderMap<size_t> requiredBufferSize; in load() local170 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() local316 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() argument338 &requiredBufferSize[shaderType]); in generateUniformLayoutMapping()[all …]
180 gl::ShaderMap<size_t> &requiredBufferSize);183 gl::ShaderMap<size_t> &requiredBufferSize);
348 uint64_t requiredBufferSize = sizeof(SkRect); in CreateFromBuffer() local349 requiredBufferSize += verbSize; in CreateFromBuffer()350 requiredBufferSize += pointSize; in CreateFromBuffer()351 requiredBufferSize += conicSize; in CreateFromBuffer()352 if (buffer->available() < requiredBufferSize) { in CreateFromBuffer()
505 gl::ShaderMap<size_t> requiredBufferSize;506 requiredBufferSize.fill(0);515 &requiredBufferSize[shaderType]);561 return resizeDefaultUniformBlocksMemory(glContext, requiredBufferSize);566 const gl::ShaderMap<size_t> &requiredBufferSize)572 if (requiredBufferSize[shaderType] > 0)574 ASSERT(requiredBufferSize[shaderType] <= mtl::kDefaultUniformsMaxSize);577 requiredBufferSize[shaderType]))802 gl::ShaderMap<size_t> requiredBufferSize;803 requiredBufferSize.fill(0);[all …]
177 const gl::ShaderMap<size_t> &requiredBufferSize);
395 const size_t requiredBufferSize = streamingDataSize + bufferEmptySpace; in streamAttributes() local398 if (requiredBufferSize > mStreamingArrayBufferSize) in streamAttributes()400 functions->bufferData(GL_ARRAY_BUFFER, requiredBufferSize, nullptr, GL_DYNAMIC_DRAW); in streamAttributes()401 mStreamingArrayBufferSize = requiredBufferSize; in streamAttributes()414 requiredBufferSize, GL_MAP_WRITE_BIT); in streamAttributes()