Home
last modified time | relevance | path

Searched refs:packState (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DFramebufferGL.cpp658 gl::PixelPackState packState = pack; in readPixels() local
691 packBuffer && packState.rowLength != 0 && in readPixels()
692 packState.rowLength < clippedArea.width; in readPixels()
704 glFormat.computeRowPitch(readType, area.width, packState.alignment, in readPixels()
705 packState.rowLength, &rowBytes)); in readPixels()
709 if (packState.rowLength == 0 && clippedArea.width != area.width) in readPixels()
713 packState.rowLength = area.width; in readPixels()
718 packState.rowLength && !GetImplAs<ContextGL>(context)->getNativeExtensions().packSubimageNV; in readPixels()
721 (packState.skipRows != 0 || packState.skipPixels != 0); in readPixels()
725 return readPixelsRowByRow(context, clippedArea, format, readFormat, readType, packState, in readPixels()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DRenderbufferImpl.h84 const gl::PixelPackState &packState,
151 const gl::PixelPackState &packState, in getRenderbufferImage() argument
DTextureImpl.cpp166 const gl::PixelPackState &packState, in getTexImage() argument
179 const gl::PixelPackState &packState, in getCompressedTexImage() argument
DTextureImpl.h229 const gl::PixelPackState &packState,
238 const gl::PixelPackState &packState,
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
Dframe_capture_utils.cpp791 gl::PixelPackState packState; in SerializeRenderbuffer() local
792 packState.alignment = 1; in SerializeRenderbuffer()
799 format.computePackUnpackEndByte(readType, size, packState, false, &bytes); in SerializeRenderbuffer()
807 context, packState, nullptr, readFormat, readType, pixelsPtr->data())); in SerializeRenderbuffer()
1207 gl::PixelPackState packState; in SerializeTextureData() local
1208 packState.alignment = 1; in SerializeTextureData()
1211 bool unpackSize = format.computePackUnpackEndByte(glType, size, packState, true, &endByte); in SerializeTextureData()
1234 ANGLE_TRY(texture->getTexImage(context, packState, nullptr, index.getTarget(), in SerializeTextureData()
DFrameCapture.cpp2909 gl::PixelPackState packState; in CaptureShareGroupMidExecutionSetup() local
2910 packState.alignment = 1; in CaptureShareGroupMidExecutionSetup()
2912 (void)texture->getTexImage(context, packState, nullptr, index.getTarget(), in CaptureShareGroupMidExecutionSetup()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DRenderbuffer.cpp400 const PixelPackState &packState, in getRenderbufferImage() argument
406 return mImplementation->getRenderbufferImage(context, packState, packBuffer, format, type, in getRenderbufferImage()
DRenderbuffer.h160 const PixelPackState &packState,
DTexture.h522 const PixelPackState &packState,
531 const PixelPackState &packState,
DTexture.cpp2359 const PixelPackState &packState, in getTexImage() argument
2373 return mTexture->getTexImage(context, packState, packBuffer, target, level, format, type, in getTexImage()
2378 const PixelPackState &packState, in getCompressedTexImage() argument
2390 return mTexture->getCompressedTexImage(context, packState, packBuffer, target, level, pixels); in getCompressedTexImage()
DContext.cpp4436 PixelPackState packState = mState.getPackState(); in readPixels() local
4438 ANGLE_CONTEXT_TRY(readFBO->readPixels(this, area, format, type, packState, packBuffer, pixels)); in readPixels()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DRenderbufferVk.cpp322 const gl::PixelPackState &packState, in getRenderbufferImage() argument
340 return mImage->readPixelsForGetImage(contextVk, packState, packBuffer, gl::LevelIndex(0), 0, 0, in getRenderbufferImage()
DRenderbufferVk.h84 const gl::PixelPackState &packState,
DTextureVk.h256 const gl::PixelPackState &packState,
265 const gl::PixelPackState &packState,
Dvk_helpers.h1964 const gl::PixelPackState &packState,
1974 const gl::PixelPackState &packState,
Dvk_helpers.cpp7275 const gl::PixelPackState &packState, in GetReadPixelsParams() argument
7288 sizedFormatInfo.computeRowPitch(type, area.width, packState.alignment, in GetReadPixelsParams()
7289 packState.rowLength, &outputPitch)); in GetReadPixelsParams()
7290 ANGLE_VK_CHECK_MATH(contextVk, sizedFormatInfo.computeSkipBytes(type, outputPitch, 0, packState, in GetReadPixelsParams()
7298 *paramsOut = PackPixelsParams(clippedArea, angleFormat, outputPitch, packState.reverseRowOrder, in GetReadPixelsParams()
7304 const gl::PixelPackState &packState, in readPixelsForGetImage() argument
7347 ANGLE_TRY(GetReadPixelsParams(contextVk, packState, packBuffer, format, type, area, area, in readPixelsForGetImage()
DTextureVk.cpp3200 const gl::PixelPackState &packState, in getTexImage() argument
3240 return mImage->readPixelsForGetImage(contextVk, packState, packBuffer, gl::LevelIndex(level), in getTexImage()
3245 const gl::PixelPackState &packState, in getCompressedTexImage() argument