Home
last modified time | relevance | path

Searched refs:readFormat (Results 1 – 16 of 16) sorted by relevance

/external/deqp/modules/gles3/functional/
Des3fPixelBufferObjectTests.cpp472 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.getPixel… in iterate()
[all …]
Des3fFragmentOutputTests.cpp472 tcu::TextureFormat readFormat; member
588 attachments[ndx].readFormat = readFmt; in iterate()
822 const glu::TransferFormat transferFmt = glu::getTransferFormat(attachments[ndx].readFormat); in iterate()
827 …rAccess rendered (attachments[ndx].readFormat, attachmentW, attachmentH, 1, deAlign32(attachment… in iterate()
882 …endered (attachments[attachNdx].readFormat, attachmentW, attachmentH, 1, deAlign32(attachments[a… in iterate()
Des3fFboTestUtil.cpp893 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()
Des3fNegativeBufferApiTests.cpp222 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()
/external/mesa3d/src/mesa/swrast/
Ds_blit.c540 mesa_format readFormat = _mesa_get_srgb_format_linear(readRb->Format); in blit_linear() local
541 GLuint bpp = _mesa_get_format_bytes(readFormat); in blit_linear()
551 if (_mesa_get_format_max_bits(readFormat) == 8 && in blit_linear()
552 _mesa_get_format_datatype(readFormat) == GL_UNSIGNED_NORMALIZED) { in blit_linear()
659 _mesa_unpack_ubyte_rgba_row(readFormat, srcWidth, in blit_linear()
663 _mesa_unpack_rgba_row(readFormat, srcWidth, in blit_linear()
676 _mesa_unpack_ubyte_rgba_row(readFormat, srcWidth, in blit_linear()
678 _mesa_unpack_ubyte_rgba_row(readFormat, srcWidth, in blit_linear()
682 _mesa_unpack_rgba_row(readFormat, srcWidth, src0, srcBuffer0); in blit_linear()
683 _mesa_unpack_rgba_row(readFormat, srcWidth, src1, srcBuffer1); in blit_linear()
/external/mesa3d/src/mesa/main/
Dblit.c130 GLenum readFormat, drawFormat; in compatible_resolve_formats() local
151 readFormat = _mesa_get_nongeneric_internalformat(readRb->InternalFormat); in compatible_resolve_formats()
153 readFormat = _mesa_get_linear_internalformat(readFormat); in compatible_resolve_formats()
156 if (readFormat == drawFormat) { in compatible_resolve_formats()
/external/deqp/modules/gles2/functional/
Des2fNegativeBufferApiTests.cpp210 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()
/external/deqp/modules/gles31/functional/
Des31fFboTestUtil.cpp447 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()
Des31fNegativeBufferApiTests.cpp246 GLint readFormat = 0x1234; in read_pixels_format_mismatch() local
267 ctx.glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_FORMAT, &readFormat); in read_pixels_format_mismatch()
269 ctx.glReadPixels(0, 0, 1, 1, readFormat, readType, &ubyteData[0]); in read_pixels_format_mismatch()
/external/skqp/src/gpu/gl/
DGrGLCaps.cpp862 GrGLenum readFormat; in readPixelsSupported() local
864 if (!this->getReadPixelsFormat(surfaceConfig, readConfig, &readFormat, &readType)) { in readPixelsSupported()
876 if (readFormat != GR_GL_RED && readFormat != GR_GL_RG && readFormat != GR_GL_RGB && in readPixelsSupported()
877 readFormat != GR_GL_RGBA && readFormat != GR_GL_BGRA && in readPixelsSupported()
878 readFormat != GR_GL_RGBA_INTEGER) { in readPixelsSupported()
895 if (GR_GL_RGBA == readFormat && GR_GL_UNSIGNED_BYTE == readType) { in readPixelsSupported()
900 if (GR_GL_RGBA == readFormat && GR_GL_FLOAT == readType) { in readPixelsSupported()
920 return fConfigTable[surfaceConfig].fSecondReadPixelsFormat.fFormat == readFormat && in readPixelsSupported()
/external/skia/src/gpu/gl/
DGrGLCaps.cpp874 GrGLenum readFormat; in readPixelsSupported() local
876 if (!this->getReadPixelsFormat(surfaceConfig, readConfig, &readFormat, &readType)) { in readPixelsSupported()
888 if (readFormat != GR_GL_RED && readFormat != GR_GL_RG && readFormat != GR_GL_RGB && in readPixelsSupported()
889 readFormat != GR_GL_RGBA && readFormat != GR_GL_BGRA && in readPixelsSupported()
890 readFormat != GR_GL_RGBA_INTEGER) { in readPixelsSupported()
907 if (GR_GL_RGBA == readFormat && GR_GL_UNSIGNED_BYTE == readType) { in readPixelsSupported()
912 if (GR_GL_RGBA == readFormat && GR_GL_FLOAT == readType) { in readPixelsSupported()
932 return fConfigTable[surfaceConfig].fSecondReadPixelsFormat.fFormat == readFormat && in readPixelsSupported()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageLoadStoreTests.cpp189 …ReferenceImage (const tcu::IVec3& imageSize, const VkFormat imageFormat, const VkFormat readFormat) in generateReferenceImage() argument
217 if (isFloatFormat(readFormat) && imageFormat != readFormat) in generateReferenceImage()
218 …replaceBadFloatReinterpretValues(tcu::PixelBufferAccess(mapVkFormat(readFormat), imageSize, access… in generateReferenceImage()
219 if (isSnormFormat(readFormat) && imageFormat != readFormat) in generateReferenceImage()
220 …replaceSnormReinterpretValues(tcu::PixelBufferAccess(mapVkFormat(readFormat), imageSize, access.ge… in generateReferenceImage()
/external/fonttools/Lib/fontTools/ttLib/tables/
DotBase.py602 self.readFormat(reader)
717 def readFormat(self, reader): member in BaseTable
796 def readFormat(self, reader): member in FormatSwitchingBaseTable
/external/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp4153 GLint readFormat = readRenderbuffer->getFormat(); in blitFramebuffer() local
4155 GLenum readComponentType = GetComponentType(readFormat, GL_COLOR_ATTACHMENT0); in blitFramebuffer()
4185 if((readRenderbuffer->getSamples() > 0) && (readFormat != drawFormat)) in blitFramebuffer()
4188 if(!(((readFormat == GL_RGBA8) && (drawFormat == GL_BGRA8_EXT)) || in blitFramebuffer()
4189 ((readFormat == GL_BGRA8_EXT) && (drawFormat == GL_RGBA8)))) in blitFramebuffer()
/external/deqp/modules/glshared/
DglsShaderExecUtil.cpp669 const tcu::TextureFormat readFormat (tcu::TextureFormat::RGBA, format.type); in execute() local
672 tmpBuf.setStorage(readFormat, framebufferW, framebufferH); in execute()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp1334 const tcu::TextureFormat readFormat (tcu::TextureFormat::RGBA, format.type); in execute() local
1354 tmpBuf.setStorage(readFormat, renderSize.x(), renderSize.y()); in execute()