Searched refs:readFormat (Results 1 - 17 of 17) 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::__anon5080::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/main/
H A Dblit.c130 GLenum readFormat, drawFormat; local
151 readFormat = _mesa_get_nongeneric_internalformat(readRb->InternalFormat);
153 readFormat = _mesa_get_linear_internalformat(readFormat);
156 if (readFormat == drawFormat) {
/external/mesa3d/src/mesa/swrast/
H A Ds_blit.c540 mesa_format readFormat = _mesa_get_srgb_format_linear(readRb->Format); local
541 GLuint bpp = _mesa_get_format_bytes(readFormat);
551 if (_mesa_get_format_max_bits(readFormat) == 8 &&
552 _mesa_get_format_datatype(readFormat) == GL_UNSIGNED_NORMALIZED) {
659 _mesa_unpack_ubyte_rgba_row(readFormat, srcWidth,
663 _mesa_unpack_rgba_row(readFormat, srcWidth,
676 _mesa_unpack_ubyte_rgba_row(readFormat, srcWidth,
678 _mesa_unpack_ubyte_rgba_row(readFormat, srcWidth,
682 _mesa_unpack_rgba_row(readFormat, srcWidth, src0, srcBuffer0);
683 _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.cpp859 GrGLenum readFormat; local
861 if (!this->getReadPixelsFormat(surfaceConfig, readConfig, &readFormat, &readType)) {
873 if (readFormat != GR_GL_RED && readFormat != GR_GL_RG && readFormat != GR_GL_RGB &&
874 readFormat != GR_GL_RGBA && readFormat != GR_GL_BGRA &&
875 readFormat != GR_GL_RGBA_INTEGER) {
892 if (GR_GL_RGBA == readFormat && GR_GL_UNSIGNED_BYTE == readType) {
897 if (GR_GL_RGBA_INTEGER == readFormat
[all...]
/external/skqp/src/gpu/gl/
H A DGrGLCaps.cpp883 GrGLenum readFormat; local
885 if (!this->getReadPixelsFormat(surfaceConfig, readConfig, &readFormat, &readType)) {
897 if (readFormat != GR_GL_RED && readFormat != GR_GL_RG && readFormat != GR_GL_RGB &&
898 readFormat != GR_GL_RGBA && readFormat != GR_GL_BGRA &&
899 readFormat != GR_GL_RGBA_INTEGER) {
916 if (GR_GL_RGBA == readFormat && GR_GL_UNSIGNED_BYTE == readType) {
921 if (GR_GL_RGBA_INTEGER == readFormat
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fFboTestUtil.cpp447 tcu::TextureFormat readFormat = getFramebufferReadFormat(format); local
448 glu::TransferFormat transferFmt = glu::getTransferFormat(readFormat);
450 int rowSize = deAlign32(readFormat.getPixelSize()*width, alignment);
456 tcu::ConstPixelBufferAccess src(readFormat, width, height, 1, rowSize, 0, &data[0]);
H A Des31fNegativeBufferApiTests.cpp246 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.cpp187 tcu::TextureLevel generateReferenceImage (const tcu::IVec3& imageSize, const VkFormat imageFormat, const VkFormat readFormat) argument
215 if (isFloatFormat(readFormat) && imageFormat != readFormat)
216 replaceBadFloatReinterpretValues(tcu::PixelBufferAccess(mapVkFormat(readFormat), imageSize, access.getDataPtr()));
217 if (isSnormFormat(readFormat) && imageFormat != readFormat)
218 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/deqp/modules/glshared/
H A DglsShaderExecUtil.cpp669 const tcu::TextureFormat readFormat (tcu::TextureFormat::RGBA, format.type);
672 tmpBuf.setStorage(readFormat, framebufferW, framebufferH);
/external/swiftshader/src/OpenGL/libGLESv2/
H A DContext.cpp4116 GLint readFormat = readRenderbuffer->getFormat(); local
4118 GLenum readComponentType = GetComponentType(readFormat, GL_COLOR_ATTACHMENT0);
4151 if((clientVersion < 3) && (readRenderbuffer->getSamples() > 0) && (readFormat != drawFormat))
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderExecutor.cpp1337 const tcu::TextureFormat readFormat (tcu::TextureFormat::RGBA, format.type);
1381 tmpBuf.setStorage(readFormat, renderSize.x(), renderSize.y());

Completed in 511 milliseconds