/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fPixelBufferObjectTests.cpp | 472 tcu::TextureFormat readFormat; in iterate() local 480 readFormat = glu::mapGLTransferFormat(GL_RGBA, GL_UNSIGNED_BYTE); in iterate() 490 readFormat = glu::mapGLTransferFormat(GL_RGBA, GL_UNSIGNED_BYTE); in iterate() 497 readFormat = glu::mapGLTransferFormat(GL_RGBA_INTEGER, GL_INT); in iterate() 504 readFormat = glu::mapGLTransferFormat(GL_RGBA_INTEGER, GL_UNSIGNED_INT); in iterate() 511 readFormat = glu::mapGLTransferFormat(GL_RGBA, GL_FLOAT); in iterate() 520 readFormat = glu::mapGLTransferFormat(GL_RGBA, GL_FLOAT); in iterate() 529 readFormat = glu::mapGLTransferFormat(GL_RGBA, GL_FLOAT); in iterate() 536 tcu::Texture2D readRefrence (readFormat, width, height); in iterate() 537 const int readDataSize = readRefrence.getWidth() * readRefrence.getHeight() * readFormat in iterate() [all...] |
H A D | es3fFragmentOutputTests.cpp | 472 tcu::TextureFormat readFormat; member 588 attachments[ndx].readFormat = readFmt; in iterate() 823 const glu::TransferFormat transferFmt = glu::getTransferFormat(attachments[ndx].readFormat); in iterate() 828 const tcu::PixelBufferAccess rendered (attachments[ndx].readFormat, attachmentW, attachmentH, 1, deAlign32(attachments[ndx].readFormat.getPixelSize()*attachmentW, readAlignment), 0, &attachments[ndx].renderedData[0]); in iterate() 883 tcu::ConstPixelBufferAccess rendered (attachments[attachNdx].readFormat, attachmentW, attachmentH, 1, deAlign32(attachments[attachNdx].readFormat.getPixelSize()*attachmentW, readAlignment), 0, &attachments[attachNdx].renderedData[0]); in iterate()
|
H A D | es3fFboTestUtil.cpp | 893 tcu::TextureFormat readFormat = getFramebufferReadFormat(format); in readPixels() local 894 glu::TransferFormat transferFmt = glu::getTransferFormat(readFormat); in readPixels() 896 int rowSize = deAlign32(readFormat.getPixelSize()*width, alignment); in readPixels() 902 tcu::ConstPixelBufferAccess src(readFormat, width, height, 1, rowSize, 0, &data[0]); in readPixels()
|
H A D | es3fNegativeBufferApiTests.cpp | 222 GLint readFormat; in init() 224 glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_FORMAT, &readFormat); in init() 226 glReadPixels(0, 0, 1, 1, readFormat, readType, &ubyteData[0]); in init()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/ |
H A D | glcSubgroupsTestsUtils.cpp | 62 deUint32 getFormatReadInfo(const subgroups::Format format, GLenum &readFormat, GLenum &readType) in getFormatReadInfo() argument 71 readFormat = GL_RGBA; in getFormatReadInfo() 75 readFormat = GL_RG; in getFormatReadInfo() 79 readFormat = GL_RED_INTEGER; in getFormatReadInfo() 83 readFormat = GL_RGBA_INTEGER; in getFormatReadInfo() 1211 GLenum readFormat; in makeTessellationEvaluationFrameBufferTest() local 1213 getFormatReadInfo(format, readFormat, readType); in makeTessellationEvaluationFrameBufferTest() 1215 gl.readPixels(0, 0, width, 1, readFormat, readType, (GLvoid*)&imageBufferResult[0]); in makeTessellationEvaluationFrameBufferTest() 1405 GLenum readFormat; in makeGeometryFrameBufferTest() local 1407 getFormatReadInfo(format, readFormat, readTyp in makeGeometryFrameBufferTest() 1632 GLenum readFormat; allStages() local 1859 GLenum readFormat; makeVertexFrameBufferTest() local 2005 GLenum readFormat; makeFragmentFrameBufferTest() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageLoadStoreTests.cpp | 287 tcu::TextureLevel generateReferenceImage (const tcu::IVec3& imageSize, const VkFormat imageFormat, const VkFormat readFormat, bool constantValue = false) in generateReferenceImage() argument 332 if (isFloatFormat(readFormat) && imageFormat != readFormat) in generateReferenceImage() 333 replaceBadFloatReinterpretValues(tcu::PixelBufferAccess(mapVkFormat(readFormat), imageSize, access.getDataPtr())); in generateReferenceImage() 334 if (isSnormFormat(readFormat) && imageFormat != readFormat) in generateReferenceImage() 335 replaceSnormReinterpretValues(tcu::PixelBufferAccess(mapVkFormat(readFormat), imageSize, access.getDataPtr())); in generateReferenceImage() 2153 const VkFormat readFormat, 2197 const VkFormat readFormat, in ImageExtendOperandTestInstance() 2200 : BaseTestInstance (context, texture, readFormat, tru in ImageExtendOperandTestInstance() 2195 ImageExtendOperandTestInstance(Context& context, const Texture& texture, const VkFormat readFormat, const VkFormat writeFormat, bool relaxedPrecision) ImageExtendOperandTestInstance() argument 2434 ImageExtendOperandTest(tcu::TestContext& testCtx, const std::string& name, const Texture texture, const VkFormat readFormat, const VkFormat writeFormat, const bool operandForce, const bool relaxedPrecision, ExtendTestType extendTestType) ImageExtendOperandTest() argument 2467 check64BitSupportIfNeeded(Context& context, VkFormat readFormat, VkFormat writeFormat) check64BitSupportIfNeeded() argument 3168 const auto readFormat = (testType.testType == ExtendTestType::READ ? format : otherFormat); createImageExtendOperandsTests() local 3204 const auto readFormat = format; createImageNontemporalOperandTests() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageLoadStoreTests.cpp | 287 tcu::TextureLevel generateReferenceImage (const tcu::IVec3& imageSize, const VkFormat imageFormat, const VkFormat readFormat, bool constantValue = false) in generateReferenceImage() argument 332 if (isFloatFormat(readFormat) && imageFormat != readFormat) in generateReferenceImage() 333 replaceBadFloatReinterpretValues(tcu::PixelBufferAccess(mapVkFormat(readFormat), imageSize, access.getDataPtr())); in generateReferenceImage() 334 if (isSnormFormat(readFormat) && imageFormat != readFormat) in generateReferenceImage() 335 replaceSnormReinterpretValues(tcu::PixelBufferAccess(mapVkFormat(readFormat), imageSize, access.getDataPtr())); in generateReferenceImage() 2124 const VkFormat readFormat, 2168 const VkFormat readFormat, in ImageExtendOperandTestInstance() 2171 : BaseTestInstance (context, texture, readFormat, tru in ImageExtendOperandTestInstance() 2166 ImageExtendOperandTestInstance(Context& context, const Texture& texture, const VkFormat readFormat, const VkFormat writeFormat, bool relaxedPrecision) ImageExtendOperandTestInstance() argument 2405 ImageExtendOperandTest(tcu::TestContext& testCtx, const std::string& name, const Texture texture, const VkFormat readFormat, const VkFormat writeFormat, const bool operandForce, const bool relaxedPrecision, ExtendTestType extendTestType) ImageExtendOperandTest() argument 2438 check64BitSupportIfNeeded(Context& context, VkFormat readFormat, VkFormat writeFormat) check64BitSupportIfNeeded() argument 3108 const auto readFormat = (testType.testType == ExtendTestType::READ ? format : otherFormat); createImageExtendOperandsTests() local 3144 const auto readFormat = format; createImageNontemporalOperandTests() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | FramebufferGL.cpp | 403 bool IsValidUnsignedShortReadPixelsFormat(GLenum readFormat, const gl::Context *context) in IsValidUnsignedShortReadPixelsFormat() argument 405 return (readFormat == GL_RED) || (readFormat == GL_RG) || (readFormat == GL_RGBA) || in IsValidUnsignedShortReadPixelsFormat() 406 ((readFormat == GL_DEPTH_COMPONENT) && (context->getExtensions().readDepthNV)); in IsValidUnsignedShortReadPixelsFormat() 675 GLenum readFormat = readPixelsFormat.format; in readPixels() local 680 ANGLE_CHECK(contextGL, IsValidUnsignedShortReadPixelsFormat(readFormat, context), in readPixels() 700 const gl::InternalFormat &glFormat = gl::GetInternalFormatInfo(readFormat, readType); in readPixels() 725 return readPixelsRowByRow(context, clippedArea, format, readFormat, readType, packState, in readPixels() 734 readFormat, readTyp in readPixels() [all...] |
H A D | BlitGL.cpp | 315 GLenum readFormat = source->getImplementationColorReadFormat(context); in copySubImageToLUMAWorkaroundTexture() local 319 nativegl::GetCopyTexImageImageFormat(mFunctions, mFeatures, readFormat, readType); in copySubImageToLUMAWorkaroundTexture()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | blit.c | 141 GLenum readFormat, drawFormat; in compatible_resolve_formats() local 162 readFormat = _mesa_get_nongeneric_internalformat(readRb->InternalFormat); in compatible_resolve_formats() 164 readFormat = _mesa_get_linear_internalformat(readFormat); in compatible_resolve_formats() 167 if (readFormat == drawFormat) { in compatible_resolve_formats()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fNegativeBufferApiTests.cpp | 210 GLint readFormat; in init() 212 glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_FORMAT, &readFormat); in init() 214 glReadPixels(0, 0, 1, 1, readFormat, readType, &ubyteData[0]); in init()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fFboTestUtil.cpp | 447 tcu::TextureFormat readFormat = getFramebufferReadFormat(format); in readPixels() local 448 glu::TransferFormat transferFmt = glu::getTransferFormat(readFormat); in readPixels() 450 int rowSize = deAlign32(readFormat.getPixelSize()*width, alignment); in readPixels() 456 tcu::ConstPixelBufferAccess src(readFormat, width, height, 1, rowSize, 0, &data[0]); in readPixels()
|
H A D | es31fNegativeBufferApiTests.cpp | 247 GLint readFormat = 0x1234; in read_pixels_format_mismatch() local 272 ctx.glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_FORMAT, &readFormat); in read_pixels_format_mismatch() 274 ctx.glReadPixels(0, 0, 1, 1, readFormat, readType, &ubyteData[0]); in read_pixels_format_mismatch()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | vk_helpers.cpp | 7384 const angle::Format *readFormat) in canCopyWithTransformForReadPixels() 7389 const bool isSameFormatCopy = *readFormat == *packPixelsParams.destFormat; in canCopyWithTransformForReadPixels() 7397 packPixelsParams.outputPitch % readFormat->pixelBytes == 0; in canCopyWithTransformForReadPixels() 7449 const angle::Format *readFormat = &getActualFormat(); in readPixels() local 7453 readFormat = &GetDepthStencilImageToBufferFormat(*readFormat, copyAspectFlags); in readPixels() 7505 canCopyWithTransformForReadPixels(packPixelsParams, readFormat)) in readPixels() 7518 ASSERT(packPixelsParams.outputPitch % readFormat->pixelBytes == 0); in readPixels() 7524 region.bufferRowLength = packPixelsParams.outputPitch / readFormat->pixelBytes; in readPixels() 7537 size_t allocationSize = readFormat in readPixels() 7383 canCopyWithTransformForReadPixels(const PackPixelsParams &packPixelsParams, const angle::Format *readFormat) canCopyWithTransformForReadPixels() argument [all...] |
H A D | vk_helpers.h | 2242 const angle::Format *readFormat);
|
/third_party/skia/src/gpu/gl/ |
H A D | GrGLCaps.h | 212 GrGLenum readFormat,
|
H A D | GrGLCaps.cpp | 4671 GrGLenum readFormat, in didQueryImplementationReadSupport() 4679 if (readCTInfo.fExternalReadFormat != readFormat || in didQueryImplementationReadSupport() 4670 didQueryImplementationReadSupport(GrGLFormat format, GrGLenum readFormat, GrGLenum readType) const didQueryImplementationReadSupport() argument
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Framebuffer.h | 82 const FramebufferAttachment *getReadPixelsAttachment(GLenum readFormat) const;
|
H A D | Framebuffer.cpp | 479 const FramebufferAttachment *FramebufferState::getReadPixelsAttachment(GLenum readFormat) const 481 switch (readFormat)
|
H A D | validationES.cpp | 1569 const Format &readFormat = readColorBuffer->getFormat(); in ValidateBlitFramebufferParameters() local 1588 GLenum readComponentType = readFormat.info->componentType; in ValidateBlitFramebufferParameters() 1630 (!Format::EquivalentForBlit(readFormat, drawFormat) || !sameBounds)) in ValidateBlitFramebufferParameters() 1646 if (readFormat.info->isInt() && filter == GL_LINEAR) in ValidateBlitFramebufferParameters()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Context.cpp | 4181 GLint readFormat = readRenderbuffer->getFormat(); in blitFramebuffer() local 4183 GLenum readComponentType = GetComponentType(readFormat, GL_COLOR_ATTACHMENT0); in blitFramebuffer() 4213 if((readRenderbuffer->getSamples() > 0) && (readFormat != drawFormat)) in blitFramebuffer() 4216 if(!(((readFormat == GL_RGBA8) && (drawFormat == GL_BGRA8_EXT)) || in blitFramebuffer() 4217 ((readFormat == GL_BGRA8_EXT) && (drawFormat == GL_RGBA8)))) in blitFramebuffer()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
H A D | frame_capture_utils.cpp | 794 GLenum readFormat = renderbuffer->getImplementationColorReadFormat(context); in SerializeRenderbuffer() local 807 context, packState, nullptr, readFormat, readType, pixelsPtr->data())); in SerializeRenderbuffer()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsShaderExecUtil.cpp | 669 const tcu::TextureFormat readFormat (tcu::TextureFormat::RGBA, format.type); in execute() 672 tmpBuf.setStorage(readFormat, framebufferW, framebufferH); in execute()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderExecutor.cpp | 1350 const tcu::TextureFormat readFormat (tcu::TextureFormat::RGBA, format.type); in execute() 1392 tmpBuf.setStorage(readFormat, renderSize.x(), renderSize.y()); in execute()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktShaderExecutor.cpp | 1350 const tcu::TextureFormat readFormat (tcu::TextureFormat::RGBA, format.type); in execute() 1392 tmpBuf.setStorage(readFormat, renderSize.x(), renderSize.y()); in execute()
|