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

/external/deqp/modules/gles3/functional/
H A Des3fPixelBufferObjectTests.cpp472 tcu::TextureFormat readFormat; local
480 readFormat = glu::mapGLTransferFormat(GL_RGBA, GL_UNSIGNED_BYTE);
490 readFormat = glu::mapGLTransferFormat(GL_RGBA, GL_UNSIGNED_BYTE);
497 readFormat = glu::mapGLTransferFormat(GL_RGBA_INTEGER, GL_INT);
504 readFormat = glu::mapGLTransferFormat(GL_RGBA_INTEGER, GL_UNSIGNED_INT);
511 readFormat = glu::mapGLTransferFormat(GL_RGBA, GL_FLOAT);
520 readFormat = glu::mapGLTransferFormat(GL_RGBA, GL_FLOAT);
529 readFormat = glu::mapGLTransferFormat(GL_RGBA, GL_FLOAT);
536 tcu::Texture2D readRefrence (readFormat, width, height);
537 const int readDataSize = readRefrence.getWidth() * readRefrence.getHeight() * readFormat
[all...]
H A Des3fFragmentOutputTests.cpp472 tcu::TextureFormat readFormat; member in struct:deqp::gles3::Functional::__anon4319::AttachmentData
588 attachments[ndx].readFormat = readFmt;
822 const glu::TransferFormat transferFmt = glu::getTransferFormat(attachments[ndx].readFormat);
827 const tcu::PixelBufferAccess rendered (attachments[ndx].readFormat, attachmentW, attachmentH, 1, deAlign32(attachments[ndx].readFormat.getPixelSize()*attachmentW, readAlignment), 0, &attachments[ndx].renderedData[0]);
882 tcu::ConstPixelBufferAccess rendered (attachments[attachNdx].readFormat, attachmentW, attachmentH, 1, deAlign32(attachments[attachNdx].readFormat.getPixelSize()*attachmentW, readAlignment), 0, &attachments[attachNdx].renderedData[0]);
H A Des3fFboTestUtil.cpp893 tcu::TextureFormat readFormat = getFramebufferReadFormat(format); local
894 glu::TransferFormat transferFmt = glu::getTransferFormat(readFormat);
896 int rowSize = deAlign32(readFormat.getPixelSize()*width, alignment);
902 tcu::ConstPixelBufferAccess src(readFormat, width, height, 1, rowSize, 0, &data[0]);
H A Des3fNegativeBufferApiTests.cpp222 GLint readFormat;
224 glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_FORMAT, &readFormat);
226 glReadPixels(0, 0, 1, 1, readFormat, readType, &ubyteData[0]);
/external/mesa3d/src/mesa/swrast/
H A Ds_blit.c516 gl_format readFormat = _mesa_get_srgb_format_linear(readRb->Format); local
518 GLuint bpp = _mesa_get_format_bytes(readFormat);
527 if (_mesa_get_format_max_bits(readFormat) == 8 &&
528 _mesa_get_format_datatype(readFormat) == GL_UNSIGNED_NORMALIZED) {
644 _mesa_unpack_ubyte_rgba_row(readFormat, srcWidth,
648 _mesa_unpack_rgba_row(readFormat, srcWidth,
661 _mesa_unpack_ubyte_rgba_row(readFormat, srcWidth,
663 _mesa_unpack_ubyte_rgba_row(readFormat, srcWidth,
667 _mesa_unpack_rgba_row(readFormat, srcWidth, src0, srcBuffer0);
668 _mesa_unpack_rgba_row(readFormat, srcWidt
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fNegativeBufferApiTests.cpp210 GLint readFormat;
212 glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_FORMAT, &readFormat);
214 glReadPixels(0, 0, 1, 1, readFormat, readType, &ubyteData[0]);
/external/skia/src/gpu/gl/
H A DGrGLCaps.cpp760 GrGLenum readFormat; local
762 if (!this->getReadPixelsFormat(rtConfig, readConfig, &readFormat, &readType)) {
771 if (readFormat != GR_GL_RED && readFormat != GR_GL_RGB && readFormat != GR_GL_RGBA &&
772 readFormat != GR_GL_BGRA) {
789 if (GR_GL_RGBA == readFormat && GR_GL_UNSIGNED_BYTE == readType) {
794 if (GR_GL_RGBA == readFormat && GR_GL_FLOAT == readType) {
812 return fConfigTable[rtConfig].fSecondReadPixelsFormat.fFormat == readFormat &&
/external/deqp/modules/gles31/functional/
H A Des31fFboTestUtil.cpp441 tcu::TextureFormat readFormat = getFramebufferReadFormat(format); local
442 glu::TransferFormat transferFmt = glu::getTransferFormat(readFormat);
444 int rowSize = deAlign32(readFormat.getPixelSize()*width, alignment);
450 tcu::ConstPixelBufferAccess src(readFormat, width, height, 1, rowSize, 0, &data[0]);
H A Des31fNegativeBufferApiTests.cpp244 GLint readFormat = 0x1234; local
267 ctx.glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_FORMAT, &readFormat);
269 ctx.glReadPixels(0, 0, 1, 1, readFormat, readType, &ubyteData[0]);
/external/deqp/external/vulkancts/modules/vulkan/image/
H A DvktImageLoadStoreTests.cpp277 tcu::TextureLevel generateReferenceImage (const tcu::IVec3& imageSize, const VkFormat imageFormat, const VkFormat readFormat) argument
305 if (isFloatFormat(readFormat) && imageFormat != readFormat)
306 replaceBadFloatReinterpretValues(tcu::PixelBufferAccess(mapVkFormat(readFormat), imageSize, access.getDataPtr()));
307 if (isSnormFormat(readFormat) && imageFormat != readFormat)
308 replaceSnormReinterpretValues(tcu::PixelBufferAccess(mapVkFormat(readFormat), imageSize, access.getDataPtr()));
/external/fonttools/Lib/fontTools/ttLib/tables/
H A DotBase.py542 self.readFormat(reader)
631 def readFormat(self, reader): member in class:BaseTable
710 def readFormat(self, reader): member in class:FormatSwitchingBaseTable
/external/fonttools/Tools/fontTools/ttLib/tables/
H A DotBase.py542 self.readFormat(reader)
631 def readFormat(self, reader): member in class:BaseTable
710 def readFormat(self, reader): member in class:FormatSwitchingBaseTable
/external/mesa3d/src/mesa/main/
H A Dfbobject.c2840 GLenum readFormat, drawFormat; local
2859 readFormat = get_nongeneric_internalformat(colorReadRb->InternalFormat);
2861 readFormat = get_linear_internalformat(readFormat);
2864 if (readFormat == drawFormat) {
/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_drawpixels.c1603 enum pipe_format readFormat, drawFormat; local
1604 readFormat = util_format_linear(rbRead->texture->format);
1607 readFormat, buf);
/external/deqp/modules/glshared/
H A DglsShaderExecUtil.cpp669 const tcu::TextureFormat readFormat (tcu::TextureFormat::RGBA, format.type);
672 tmpBuf.setStorage(readFormat, framebufferW, framebufferH);
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderExecutor.cpp1377 const tcu::TextureFormat readFormat (tcu::TextureFormat::RGBA, format.type);
1421 tmpBuf.setStorage(readFormat, renderSize.x(), renderSize.y());

Completed in 436 milliseconds