/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/ |
PVRTTextureAPI.cpp | 39 @Modified: glFormat 46 static const void PVRTGetOGLES3TextureFormat(const PVRTextureHeaderV3& sTextureHeader, PVRTuint32& glInternalFormat, PVRTuint32& glFormat, PVRTuint32& glType) 53 glFormat = 0; 209 glFormat = GL_RGB; 222 glFormat = GL_RGBA; 229 glFormat = GL_RGB; 236 glFormat = GL_RG; 243 glFormat = GL_RED; 250 glFormat = GL_LUMINANCE_ALPHA; 257 glFormat = GL_LUMINANCE [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...] |
es2fNegativeTextureApiTests.cpp | [all...] |
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
gralloc_cb.h | 53 glFormat(p_glFormat), 115 int glFormat; // OpenGL format enum used for host h/w color buffer
|
/device/generic/goldfish-opengl/system/gralloc/ |
gralloc.cpp | 328 int bpp = glUtilsPixelBitSize(cb->glFormat, cb->glType) >> 3; 372 cb->glFormat, cb->glType, 388 cb->glFormat, cb->glType, to_send); 478 GLenum glFormat = 0; 489 glFormat = GL_RGBA; 494 glFormat = GL_RGB; 499 glFormat = GL_RGB; 505 glFormat = GL_RGBA16F; 510 glFormat = GL_RGBA; 527 glFormat = GL_LUMINANCE [all...] |
/frameworks/rs/driver/ |
rsdAllocation.h | 51 GLenum glFormat; 55 int glFormat;
|
rsdAllocation.cpp | 111 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr); 139 RSD_CALL_GL(glTexImage2D, t, lod, drv->glFormat, 142 0, drv->glFormat, drv->glType, p); 147 drv->glFormat, drv->glType, p); 170 if (!drv->glType || !drv->glFormat) { 201 if (!drv->glFormat) { 215 RSD_CALL_GL(glRenderbufferStorage, GL_RENDERBUFFER, drv->glFormat, 465 drv->glFormat = rsdKindToGLFormat(alloc->mHal.state.type->getElement()->getComponent().getKind()); 468 drv->glFormat = 0; 647 drv->glFormat, drv->glType, alloc->mHal.drvState.lod[0].mallocPtr) [all...] |
/frameworks/base/libs/hwui/ |
Texture.cpp | 33 static int bytesPerPixel(GLint glFormat) { 34 switch (glFormat) { 50 LOG_ALWAYS_FATAL("UNKNOWN FORMAT 0x%x", glFormat);
|
/external/deqp/modules/gles31/functional/ |
es31fFboTestUtil.hpp | 133 tcu::RGBA getFormatThreshold (const deUint32 glFormat);
|
es31fCopyImageTests.cpp | 674 void genTexel (de::Random& rng, deUint32 glFormat, int texelBlockSize, const int texelCount, deUint8* buffer) 676 if (isFloatFormat(glFormat)) 678 const tcu::TextureFormat format = glu::mapGLInternalFormat(glFormat); 694 else if (glu::isCompressedFormat(glFormat)) 696 const tcu::CompressedTexFormat compressedFormat = glu::mapGLCompressedTexFormat(glFormat); 793 const deUint32 glFormat = getFormatForInternalFormat(format); 800 gl.texImage2D(glTarget, level, format, (glw::GLsizei)size.x(), (glw::GLsizei)size.y(), 0, glFormat, glType, data); 805 gl.texImage3D(glTarget, level, format, (glw::GLsizei)size.x(), (glw::GLsizei)size.y(), (glw::GLsizei)size.z(), 0, glFormat, glType, data); [all...] |
es31fFboTestUtil.cpp | 612 tcu::RGBA getFormatThreshold (deUint32 glFormat) 614 const tcu::TextureFormat format = glu::mapGLInternalFormat(glFormat);
|
es31fDrawBuffersIndexedTests.cpp | 410 const deUint32 glFormat = glu::getInternalFormat(format); 416 gl.renderbufferStorage(GL_RENDERBUFFER, glFormat, size.x(), size.y()); [all...] |
/external/deqp/modules/gles3/functional/ |
es3fFboTestUtil.hpp | 223 tcu::RGBA getFormatThreshold (const deUint32 glFormat);
|
es3fFboTestUtil.cpp | [all...] |