Home
last modified time | relevance | path

Searched refs:readFormat (Results 1 – 15 of 15) 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.c516 gl_format readFormat = _mesa_get_srgb_format_linear(readRb->Format); in blit_linear() local
518 GLuint bpp = _mesa_get_format_bytes(readFormat); in blit_linear()
527 if (_mesa_get_format_max_bits(readFormat) == 8 && in blit_linear()
528 _mesa_get_format_datatype(readFormat) == GL_UNSIGNED_NORMALIZED) { in blit_linear()
644 _mesa_unpack_ubyte_rgba_row(readFormat, srcWidth, in blit_linear()
648 _mesa_unpack_rgba_row(readFormat, srcWidth, in blit_linear()
661 _mesa_unpack_ubyte_rgba_row(readFormat, srcWidth, in blit_linear()
663 _mesa_unpack_ubyte_rgba_row(readFormat, srcWidth, in blit_linear()
667 _mesa_unpack_rgba_row(readFormat, srcWidth, src0, srcBuffer0); in blit_linear()
668 _mesa_unpack_rgba_row(readFormat, srcWidth, src1, srcBuffer1); in blit_linear()
/external/skia/src/gpu/gl/
DGrGLCaps.cpp760 GrGLenum readFormat; in readPixelsSupported() local
762 if (!this->getReadPixelsFormat(rtConfig, readConfig, &readFormat, &readType)) { in readPixelsSupported()
771 if (readFormat != GR_GL_RED && readFormat != GR_GL_RGB && readFormat != GR_GL_RGBA && in readPixelsSupported()
772 readFormat != GR_GL_BGRA) { in readPixelsSupported()
789 if (GR_GL_RGBA == readFormat && GR_GL_UNSIGNED_BYTE == readType) { in readPixelsSupported()
794 if (GR_GL_RGBA == readFormat && GR_GL_FLOAT == readType) { in readPixelsSupported()
812 return fConfigTable[rtConfig].fSecondReadPixelsFormat.fFormat == readFormat && in readPixelsSupported()
/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.cpp441 tcu::TextureFormat readFormat = getFramebufferReadFormat(format); in readPixels() local
442 glu::TransferFormat transferFmt = glu::getTransferFormat(readFormat); in readPixels()
444 int rowSize = deAlign32(readFormat.getPixelSize()*width, alignment); in readPixels()
450 tcu::ConstPixelBufferAccess src(readFormat, width, height, 1, rowSize, 0, &data[0]); in readPixels()
Des31fNegativeBufferApiTests.cpp244 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/deqp/external/vulkancts/modules/vulkan/image/
DvktImageLoadStoreTests.cpp277 …ReferenceImage (const tcu::IVec3& imageSize, const VkFormat imageFormat, const VkFormat readFormat) in generateReferenceImage() argument
305 if (isFloatFormat(readFormat) && imageFormat != readFormat) in generateReferenceImage()
306 …replaceBadFloatReinterpretValues(tcu::PixelBufferAccess(mapVkFormat(readFormat), imageSize, access… in generateReferenceImage()
307 if (isSnormFormat(readFormat) && imageFormat != readFormat) in generateReferenceImage()
308 …replaceSnormReinterpretValues(tcu::PixelBufferAccess(mapVkFormat(readFormat), imageSize, access.ge… in generateReferenceImage()
/external/fonttools/Lib/fontTools/ttLib/tables/
DotBase.py542 self.readFormat(reader)
631 def readFormat(self, reader): member in BaseTable
710 def readFormat(self, reader): member in FormatSwitchingBaseTable
/external/mesa3d/src/mesa/main/
Dfbobject.c2840 GLenum readFormat, drawFormat; in compatible_resolve_formats() local
2859 readFormat = get_nongeneric_internalformat(colorReadRb->InternalFormat); in compatible_resolve_formats()
2861 readFormat = get_linear_internalformat(readFormat); in compatible_resolve_formats()
2864 if (readFormat == drawFormat) { in compatible_resolve_formats()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_drawpixels.c1603 enum pipe_format readFormat, drawFormat; in st_CopyPixels() local
1604 readFormat = util_format_linear(rbRead->texture->format); in st_CopyPixels()
1607 readFormat, buf); in st_CopyPixels()
/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.cpp1377 const tcu::TextureFormat readFormat (tcu::TextureFormat::RGBA, format.type); in execute() local
1421 tmpBuf.setStorage(readFormat, renderSize.x(), renderSize.y()); in execute()