/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) 149 GLU_CHECK_CALL(glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_TYPE, &glType)); 153 if (glu::getTypeName(glType) == DE_NULL) 154 TCU_THROW(NotSupportedError, ("Unsupported GL_IMPLEMENTATION_COLOR_READ_TYPE: " + de::toString(tcu::Format::Hex<4>(glType))).c_str()); 156 format = glu::mapGLTransferFormat(glFormat, glType); 164 glType = GL_UNSIGNED_BYTE; 179 GLint glType; 181 getFormatInfo(format, glFormat, glType, pixelSize); 182 m_testCtx.getLog() << tcu::TestLog::Message << "Format: " << glu::getTextureFormatStr(glFormat) << ", Type: " << glu::getTypeStr(glType) << tcu::TestLog::EndMessage [all...] |
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/ |
PVRTTextureAPI.cpp | 40 @Modified: glType 46 static const void PVRTGetOGLES3TextureFormat(const PVRTextureHeaderV3& sTextureHeader, PVRTuint32& glInternalFormat, PVRTuint32& glFormat, PVRTuint32& glType) 54 glType = 0; 208 glType=GL_UNSIGNED_INT_10F_11F_11F_REV; 221 glType=GL_HALF_FLOAT; 228 glType=GL_HALF_FLOAT; 235 glType=GL_HALF_FLOAT; 242 glType=GL_HALF_FLOAT; 249 glType=GL_HALF_FLOAT; 256 glType=GL_HALF_FLOAT [all...] |
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
gralloc_cb.h | 54 glType(p_glType), 116 int glType; // OpenGL type enum used when uploading to host
|
/external/deqp/modules/gles31/functional/ |
es31fShaderStateQueryTests.cpp | 60 glw::GLenum glType; 109 std::string(glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType).toString()), 110 "Uniform type " + glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType).toString()); 123 m_testCtx.getLog() << tcu::TestLog::Message << "Building program with uniform sampler of type " << glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType) << tcu::TestLog::EndMessage; 147 if (type != (glw::GLint)samplerTypes[typeNdx].glType) 150 buf << "Invalid type, expected " << samplerTypes[typeNdx].glType << ", got " << type;
|
es31fSeparateShaderTests.cpp | 1122 const GLenum glType = glu::getGLShaderType(shaderType); 1123 const GLuint programName = glCreateShaderProgramv(glType, 1, &srcStr); [all...] |
es31fCopyImageTests.cpp | 794 const deUint32 glType = getTypeForInternalFormat(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...] |
/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); 479 GLenum glType = 0; 490 glType = GL_UNSIGNED_BYTE; 495 glType = GL_UNSIGNED_BYTE; 500 glType = GL_UNSIGNED_SHORT_5_6_5; 506 glType = GL_HALF_FLOAT; 511 glType = GL_UNSIGNED_INT_10_10_10_2; 528 glType = GL_UNSIGNED_SHORT [all...] |
/frameworks/rs/driver/ |
rsdAllocation.h | 50 GLenum glType; 54 int glType;
|
rsdAllocation.cpp | 111 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr); 142 0, drv->glFormat, drv->glType, p); 147 drv->glFormat, drv->glType, p); 170 if (!drv->glType || !drv->glFormat) { 464 drv->glType = rsdTypeToGLType(alloc->mHal.state.type->getElement()->getComponent().getType()); 467 drv->glType = 0; 647 drv->glFormat, drv->glType, alloc->mHal.drvState.lod[0].mallocPtr); [all...] |
/external/deqp/framework/opengl/ |
gluShaderUtil.cpp | 822 DataType getDataTypeFromGLType (deUint32 glType) 824 switch (glType)
|
gluShaderUtil.hpp | 225 DataType getDataTypeFromGLType (deUint32 glType);
|