Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/gl/
Drenderergl_utils.cpp2580 CheckedNumeric<size_t> checkedEndByte = in ShouldApplyLastRowPaddingWorkaround() local
2588 checkedEndByte += rowPitch - checkedPixelBytes * size.width; in ShouldApplyLastRowPaddingWorkaround()
2591 ANGLE_CHECK_GL_MATH(contextGL, checkedEndByte.IsValid()); in ShouldApplyLastRowPaddingWorkaround()
2593 *shouldApplyOut = checkedEndByte.ValueOrDie() > static_cast<size_t>(pixelBuffer->getSize()); in ShouldApplyLastRowPaddingWorkaround()
/external/angle/src/libANGLE/
DvalidationES.cpp1148 CheckedNumeric<size_t> checkedEndByte(endByte); in ValidImageDataSize() local
1150 checkedEndByte += checkedOffset; in ValidImageDataSize()
1152 if (!checkedEndByte.IsValid() || in ValidImageDataSize()
1153 (checkedEndByte.ValueOrDie() > static_cast<size_t>(pixelUnpackBuffer->getSize()))) in ValidImageDataSize()
6709 CheckedNumeric<size_t> checkedEndByte(endByte); in ValidatePixelPack() local
6711 checkedEndByte += checkedOffset; in ValidatePixelPack()
6713 if (checkedEndByte.ValueOrDie() > static_cast<size_t>(pixelPackBuffer->getSize())) in ValidatePixelPack()