/frameworks/rs/driver/ |
rsdAllocation.h | 56 GLenum glFormat; 63 int glFormat;
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
gralloc_cb.h | 42 glFormat(p_glFormat), 95 int glFormat; // OpenGL format enum used for host h/w color buffer
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/ |
FrameBuffer.java | 62 int glFormat = Pixmap.Format.toGlFormat(format);
64 GLOnlyTextureData data = new GLOnlyTextureData(width, height, 0, glFormat, glFormat, glType);
|
FrameBufferCubemap.java | 93 int glFormat = Pixmap.Format.toGlFormat(format); 95 GLOnlyTextureData data = new GLOnlyTextureData(width, height, 0, glFormat, glFormat, glType);
|
KTXTextureData.java | 40 private int glFormat;
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/gles2/functional/ |
es2fReadPixelsTests.cpp | 66 void getFormatInfo (tcu::TextureFormat& format, GLint& glFormat, GLint& glType, int& pixelSize); 144 void ReadPixelsTest::getFormatInfo (tcu::TextureFormat& format, GLint& glFormat, GLint& glType, int& pixelSize) 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; [all...] |
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/ktx/ |
KTXProcessor.java | 275 int glType, glTypeSize, glFormat, glInternalFormat, glBaseInternalFormat;
277 glType = glFormat = 0;
284 glFormat = images[0][0].pixmap.getGLFormat();
286 glBaseInternalFormat = glFormat;
311 out.writeInt(glFormat);
|
/device/generic/goldfish-opengl/system/gralloc/ |
gralloc.cpp | 211 GLenum glFormat = 0; 221 glFormat = GL_RGBA; 226 glFormat = GL_RGB; 231 glFormat = GL_RGB; 247 glFormat = GL_LUMINANCE; 258 glFormat = GL_LUMINANCE; 273 glFormat = GL_RGB; 283 glFormat = GL_RGB; 333 glFormat, glType); 374 cb->hostHandle = rcEnc->rcCreateColorBuffer(rcEnc, w, h, glFormat); [all...] |
/external/deqp/modules/gles31/functional/ |
es31fDrawBuffersIndexedTests.cpp | 410 const deUint32 glFormat = glu::getInternalFormat(format); 416 gl.renderbufferStorage(GL_RENDERBUFFER, glFormat, size.x(), size.y()); [all...] |
es31fCopyImageTests.cpp | 424 void genTexel (de::Random& rng, deUint32 glFormat, int texelBlockSize, const int texelCount, deUint8* buffer) 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); 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); [all...] |