Home
last modified time | relevance | path

Searched refs:clampedSize (Results 1 – 2 of 2) sorted by relevance

/external/angle/src/libANGLE/renderer/d3d/d3d11/
DBuffer11.cpp1169 size_t clampedSize = size; in copyFromStorage() local
1172 clampedSize = std::min(clampedSize, mBufferSize - destOffset); in copyFromStorage()
1175 if (clampedSize == 0) in copyFromStorage()
1189 ANGLE_TRY(source->map(context, sourceOffset, clampedSize, GL_MAP_READ_BIT, &sourcePointer)); in copyFromStorage()
1191 auto err = setData(context, sourcePointer, destOffset, clampedSize); in copyFromStorage()
1199 srcBox.right = static_cast<unsigned int>(sourceOffset + clampedSize); in copyFromStorage()
/external/angle/src/libANGLE/renderer/metal/
Dmtl_resources.mm1047 size_t clampedSize = endOffset - startOffset;
1048 if (clampedSize > 0)
1050 [get() didModifyRange:NSMakeRange(startOffset, clampedSize)];