Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
DGrSubRunAllocator.cpp56 intptr_t endByte = reinterpret_cast<intptr_t>(bytes + size - sizeof(Block)) & -kMaxAlignment; in setupBytesAndCapacity() local
57 fEndByte = reinterpret_cast<char*>(endByte); in setupBytesAndCapacity()
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
Dcapture_gles_3_0_params.cpp712 GLuint endByte = 0; in CaptureTexImage3D_pixels() local
714 internalFormatInfo.computePackUnpackEndByte(type, size, unpack, true, &endByte); in CaptureTexImage3D_pixels()
717 CaptureMemory(pixels, static_cast<size_t>(endByte), paramCapture); in CaptureTexImage3D_pixels()
Dframe_capture_utils.cpp1210 GLuint endByte = 0; in SerializeTextureData() local
1211 bool unpackSize = format.computePackUnpackEndByte(glType, size, packState, true, &endByte); in SerializeTextureData()
1215 scratchBuffer->getInitialized(endByte, &texelsPtr, 0)); in SerializeTextureData()
DFrameCapture.cpp2901 GLuint endByte = 0; in CaptureShareGroupMidExecutionSetup() local
2903 format.computePackUnpackEndByte(getType, size, unpack, true, &endByte); in CaptureShareGroupMidExecutionSetup()
2906 bool result = data.resize(endByte); in CaptureShareGroupMidExecutionSetup()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DvalidationES.cpp1192 GLuint endByte = 0; in ValidImageDataSize() local
1193 if (!formatInfo.computePackUnpackEndByte(type, size, unpack, targetIs3D, &endByte)) in ValidImageDataSize()
1201 CheckedNumeric<size_t> checkedEndByte(endByte); in ValidImageDataSize()
1228 if (pixels != nullptr && endByte > static_cast<GLuint>(imageSize)) in ValidImageDataSize()
6975 GLuint endByte = 0; in ValidatePixelPack() local
6976 if (!formatInfo.computePackUnpackEndByte(type, size, pack, false, &endByte)) in ValidatePixelPack()
6984 if (pixelPackBuffer == nullptr && static_cast<size_t>(bufSize) < endByte) in ValidatePixelPack()
6993 CheckedNumeric<size_t> checkedEndByte(endByte); in ValidatePixelPack()
7007 if (endByte > static_cast<size_t>(std::numeric_limits<GLsizei>::max())) in ValidatePixelPack()
7013 *length = static_cast<GLsizei>(endByte); in ValidatePixelPack()
Dformatutils.cpp1841 CheckedNumeric<GLuint> endByte = checkedCopyBytes + CheckedNumeric<GLuint>(skipBytes); in computePackUnpackEndByte() local
1843 return CheckedMathResult(endByte, resultOut); in computePackUnpackEndByte()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
Drenderergl_utils.cpp2596 GLuint endByte = 0; in ShouldApplyLastRowPaddingWorkaround() local
2598 glFormat.computePackUnpackEndByte(type, size, state, is3D, &endByte)); in ShouldApplyLastRowPaddingWorkaround()
2605 angle::CheckedNumeric<size_t>(endByte) + reinterpret_cast<intptr_t>(pixels); in ShouldApplyLastRowPaddingWorkaround()