Searched defs:glFormat (Results 1 - 6 of 6) sorted by relevance

/external/deqp/modules/gles2/functional/
H A Des2fReadPixelsTests.cpp66 void getFormatInfo (tcu::TextureFormat& format, GLint& glFormat, GLint& glType, int& pixelSize);
144 void ReadPixelsTest::getFormatInfo (tcu::TextureFormat& format, GLint& glFormat, GLint& glType, int& pixelSize) argument
148 GLU_CHECK_CALL(glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_FORMAT, &glFormat));
151 if (glFormat != GL_RGBA && glFormat != GL_BGRA && glFormat != GL_RGB)
152 TCU_THROW(NotSupportedError, ("Unsupported IMPLEMENTATION_COLOR_READ_FORMAT: " + de::toString(glu::getTextureFormatStr(glFormat))).c_str());
156 format = glu::mapGLTransferFormat(glFormat, glType);
163 glFormat = GL_RGBA;
178 GLint glFormat; local
[all...]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/
H A DKTXTextureData.java40 private int glFormat; field in class:KTXTextureData
115 glFormat = compressedData.getInt();
163 if (glType == 0 || glFormat == 0) {
164 if (glType + glFormat != 0) throw new GdxRuntimeException("either both or none of glType, glFormat must be zero");
223 int glFormat = this.glFormat;
244 // Gdx.gl.glTexImage1D(target + face, level, glInternalFormat, pixelWidth, 0, glFormat, glType, data);
265 Gdx.gl.glTexImage2D(target + face, level, glInternalFormat, pixelWidth, pixelHeight, 0, glFormat, glType, data);
272 // Gdx.gl.glTexImage3D(target + face, level, glInternalFormat, pixelWidth, pixelHeight, pixelDepth, 0, glFormat,
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fFboTestUtil.cpp1064 tcu::RGBA getFormatThreshold (deUint32 glFormat) argument
1066 const tcu::TextureFormat format = glu::mapGLInternalFormat(glFormat);
/external/deqp/modules/gles31/functional/
H A Des31fFboTestUtil.cpp612 tcu::RGBA getFormatThreshold (deUint32 glFormat) argument
614 const tcu::TextureFormat format = glu::mapGLInternalFormat(glFormat);
H A Des31fDrawBuffersIndexedTests.cpp410 const deUint32 glFormat = glu::getInternalFormat(format); local
416 gl.renderbufferStorage(GL_RENDERBUFFER, glFormat, size.x(), size.y());
H A Des31fCopyImageTests.cpp424 void genTexel (de::Random& rng, deUint32 glFormat, int texelBlockSize, const int texelCount, deUint8* buffer) argument
426 if (isFloatFormat(glFormat))
428 const tcu::TextureFormat format = glu::mapGLInternalFormat(glFormat);
444 else if (glu::isCompressedFormat(glFormat))
446 const tcu::CompressedTexFormat compressedFormat = glu::mapGLCompressedTexFormat(glFormat);
560 const deUint32 glFormat = getFormatForInternalFormat(format); local
567 gl.texImage2D(glTarget, level, format, (glw::GLsizei)size.x(), (glw::GLsizei)size.y(), 0, glFormat, glType, data);
572 gl.texImage3D(glTarget, level, format, (glw::GLsizei)size.x(), (glw::GLsizei)size.y(), (glw::GLsizei)size.z(), 0, glFormat, glType, data);

Completed in 148 milliseconds