Home
last modified time | relevance | path

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

/external/parameter-framework/upstream/test/test-subsystem/
DTESTSubsystemString.cpp53 std::size_t requiredBufferSize = strValue.length() + 1; /* Adding one for null character */ in fromString() local
54 if (size < requiredBufferSize) { in fromString()
56 std::to_string(requiredBufferSize)); in fromString()
/external/angle/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);
/external/skqp/src/core/
DSkPathRef.cpp348 uint64_t requiredBufferSize = sizeof(SkRect); in CreateFromBuffer() local
349 requiredBufferSize += verbSize; in CreateFromBuffer()
350 requiredBufferSize += pointSize; in CreateFromBuffer()
351 requiredBufferSize += conicSize; in CreateFromBuffer()
352 if (buffer->available() < requiredBufferSize) { in CreateFromBuffer()
/external/angle/src/libANGLE/renderer/metal/
DProgramMtl.mm505 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 …]
DProgramMtl.h177 const gl::ShaderMap<size_t> &requiredBufferSize);
/external/angle/src/libANGLE/renderer/gl/
DVertexArrayGL.cpp395 const size_t requiredBufferSize = streamingDataSize + bufferEmptySpace; in streamAttributes() local
398 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()