Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/oboe/src/common/
DQuirksManager.cpp47 int32_t adjustedSize = requestedSize; in clipBufferSize() local
48 if (adjustedSize < minSize ) { in clipBufferSize()
49 adjustedSize = minSize; in clipBufferSize()
52 if (adjustedSize > maxSize ) { in clipBufferSize()
53 adjustedSize = maxSize; in clipBufferSize()
56 return adjustedSize; in clipBufferSize()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DBufferMtl.mm498 size_t adjustedSize = std::max<size_t>(1, intendedSize);
504 adjustedSize = roundUpPow2(adjustedSize, (size_t)16);
521 if (adjustedSize <= mtl::kSharedMemBufferMaxBufSizeHint)
536 ANGLE_TRY(mBufferPool.reset(contextMtl, adjustedSize, 1, maxBuffers));
541 ANGLE_MTL_CHECK(contextMtl, mShadowCopy.resize(adjustedSize), GL_OUT_OF_MEMORY);
550 ANGLE_TRY(commitShadowCopy(context, adjustedSize));
565 mBufferPool.allocate(contextMtl, adjustedSize, nullptr, &mBuffer, nullptr, nullptr));