/external/skia/tools/gpu/gl/ |
GLTestContext.cpp | 262 GrGLint GLTestContext::createTextureRectangle(int width, int height, GrGLenum internalFormat, 285 GR_GL_CALL(fGL.get(), TexImage2D(GR_GL_TEXTURE_RECTANGLE, 0, internalFormat, width, height, 0,
|
/frameworks/base/libs/hwui/ |
GradientCache.cpp | 264 GLint internalFormat = mHasLinearBlending ? GL_SRGB8_ALPHA8 : GL_RGBA; 265 texture->upload(internalFormat, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
|
/external/deqp/modules/gles3/accuracy/ |
es3aTextureFilteringTests.cpp | 53 Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 internalFormat, int width, int height); 83 Texture2DFilteringCase::Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 internalFormat, int width, int height) 91 , m_internalFormat (internalFormat) 307 TextureCubeFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, bool onlySampleFaceInterior, deUint32 internalFormat, int width, int height); 338 TextureCubeFilteringCase::TextureCubeFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, bool onlySampleFaceInterior, deUint32 internalFormat, int width, int height) 347 , m_internalFormat (internalFormat)
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_fbo.c | 463 GLenum internalFormat, 476 switch (internalFormat) { 532 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); 592 rb->InternalFormat = image->internal_format; 608 GLenum internalFormat, GLuint width, GLuint height) 613 rb->InternalFormat = internalFormat; 625 GLenum internalFormat, GLuint width, GLuint height) 657 rb->InternalFormat = _mesa_get_format_base_format(format); 741 rb->InternalFormat = texImage->InternalFormat [all...] |
/external/swiftshader/src/OpenGL/libGL/ |
Image.cpp | 41 , internalFormat(selectInternalFormat(format, type)), multiSampleDepth(1) 47 Image::Image(Texture *parentTexture, GLsizei width, GLsizei height, sw::Format internalFormat, int multiSampleDepth, bool lockable, bool renderTarget) 48 : parentTexture(parentTexture), width(width), height(height), internalFormat(internalFormat), format(0 /*GL_NONE*/), type(0 /*GL_NONE*/), multiSampleDepth(multiSampleDepth) 49 , sw::Surface(getParentResource(parentTexture), width, height, multiSampleDepth, internalFormat, lockable, renderTarget) 106 return internalFormat;
|
/external/deqp/framework/opengl/ |
gluTextureUtil.cpp | 346 bool isCompressedFormat (deUint32 internalFormat) 348 switch (internalFormat) 466 * \param internalFormat Sized internal format. 469 tcu::TextureFormat mapGLInternalFormat (deUint32 internalFormat) 472 switch (internalFormat) 548 throw tcu::InternalError(string("Can't map GL sized internal format (") + tcu::toHex(internalFormat).toString() + ") to texture format"); [all...] |
/external/deqp/modules/gles3/functional/ |
es3fTextureFilteringTests.cpp | 67 Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 internalFormat, int width, int height); 120 Texture2DFilteringCase::Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 internalFormat, int width, int height) 128 , m_internalFormat (internalFormat) 343 TextureCubeFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, bool onlySampleFaceInterior, deUint32 internalFormat, int width, int height); 397 TextureCubeFilteringCase::TextureCubeFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, bool onlySampleFaceInterior, deUint32 internalFormat, int width, int height) 406 , m_internalFormat (internalFormat) 659 Texture2DArrayFilteringCase (Context& context, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 internalFormat, int width, int height, int numLayers); 710 Texture2DArrayFilteringCase::Texture2DArrayFilteringCase (Context& context, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 internalFormat, int width, int height, int numLayers) 716 , m_internalFormat (internalFormat) [all...] |
es3fFboCompletenessTests.cpp | 298 texCfg->internalFormat = getDefaultFormat(target, GL_TEXTURE); 417 rboCfg.internalFormat = fmt;
|
/external/deqp/modules/gles31/functional/ |
es31fTextureFilteringTests.cpp | 110 deUint32 internalFormat, 173 deUint32 internalFormat, 182 , m_internalFormat (internalFormat)
|
es31fTextureMultisampleTests.cpp | [all...] |
/external/deqp/modules/gles2/stress/ |
es2sSpecialFloatTests.cpp | 419 GLuint internalFormat = 0; 429 case FBO_RGBA: internalFormat = GL_RGBA; format = GL_RGBA; type = GL_UNSIGNED_BYTE; break; 430 case FBO_RGBA4: internalFormat = GL_RGBA; format = GL_RGBA; type = GL_UNSIGNED_SHORT_4_4_4_4; break; 431 case FBO_RGB5_A1: internalFormat = GL_RGBA; format = GL_RGBA; type = GL_UNSIGNED_SHORT_5_5_5_1; break; 432 case FBO_RGB565: internalFormat = GL_RGB; format = GL_RGB; type = GL_UNSIGNED_SHORT_5_6_5; break; 433 case FBO_RGBA_FLOAT16: internalFormat = GL_RGBA; format = GL_RGBA; type = GL_HALF_FLOAT_OES; break; 441 << "Creating fbo. Texture internalFormat = " << glu::getTextureFormatStr(internalFormat) 449 gl.texImage2D(GL_TEXTURE_2D, 0, internalFormat, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE, 0, format, type, DE_NULL); [all...] |
/external/icu/icu4c/source/test/intltest/ |
tmsgfmt.cpp | 644 internalFormat( 649 void TestMessageFormat::internalFormat(MessageFormat* msgFmt , 706 internalFormat( msgFmt1 , testArgs[i], 2, exp[i].unescape() ,(char*)"From TestMessageFormat::testSelectFormat format t1"); 728 internalFormat( msgFmt2 , testArgs[i], 2, exp[i].unescape() ,(char*)"From TestMessageFormat::testSelectFormat format t2"); 750 internalFormat( msgFmt3 , testArgs[i], 1, exp[i] ,(char*)"From TestMessageFormat::testSelectFormat format t3"); 773 internalFormat( msgFmt4 , testArgs[i], 3, exp[i].unescape() ,(char*)"From TestMessageFormat::testSelectFormat format t4"); 797 internalFormat( msgFmt5 , testArgs[i], 3, exp[i].unescape() ,(char*)"From TestMessageFormat::testSelectFormat format t5"); [all...] |
/external/mesa3d/src/mesa/main/ |
texstorage.c | 144 GLenum internalFormat, mesa_format texFormat) 164 0, internalFormat, texFormat); 220 GLenum internalformat) 223 switch (internalformat) { 258 return _mesa_base_tex_format(ctx, internalformat) > 0; 308 GLsizei levels, GLenum internalformat, 325 if (_mesa_is_compressed_format(ctx, internalformat)) { 327 if (!_mesa_target_can_be_compressed(ctx, target, internalformat, &err)) { 329 "glTex%sStorage%dD(internalformat = %s)", suffix, dims, 330 _mesa_enum_to_string(internalformat)); [all...] |
textureview.c | 252 _mesa_texture_view_lookup_view_class(const struct gl_context *ctx, GLenum internalformat) 257 if (compatible_internal_formats[i].internal_format == internalformat) 265 == internalformat) 273 == internalformat) 280 == internalformat) 288 == internalformat) 307 GLenum internalFormat, mesa_format texFormat) 331 0, internalFormat, texFormat); 523 GLenum internalformat, 542 _mesa_enum_to_string(internalformat), [all...] |
/external/skia/src/gpu/gl/ |
GrGLGpu.cpp | 866 GrGLenum internalFormat; 870 if (!this->glCaps().getTexImageFormats(texConfig, config, &internalFormat, [all...] |
GrGLCaps.cpp | [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_manager.c | 523 GLenum internalFormat; 561 internalFormat = GL_RGBA; 563 internalFormat = GL_RGB; 567 internalFormat, texFormat);
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
Renderbuffer.h | 184 sw::Format internalFormat;
|
utilities.cpp | 40 static inline void InsertFormatMapping(FormatMap *map, GLenum format, GLenum type, GLenum internalFormat) 42 map->insert(FormatPair(FormatTypePair(format, type), internalFormat)); 149 GLenum GetSizedInternalFormat(GLenum internalFormat, GLenum type) 151 switch(internalFormat) 171 FormatMap::const_iterator iter = formatMap.find(FormatTypePair(internalFormat, type)); 175 return internalFormat; 630 sw::Format internalformat = colorbuffer->getInternalFormat(); local 632 if(sw::Surface::isNormalizedInteger(internalformat)) 651 else if(sw::Surface::isFloatFormat(internalformat)) 660 else if(sw::Surface::isSignedNonNormalizedInteger(internalformat)) [all...] |
/external/deqp/modules/gles3/stress/ |
es3sSpecialFloatTests.cpp | 433 GLuint internalFormat = 0; 439 case FBO_RGBA4: internalFormat = GL_RGBA4; format = GL_RGBA; type = GL_UNSIGNED_SHORT_4_4_4_4; break; 440 case FBO_RGB5_A1: internalFormat = GL_RGB5_A1; format = GL_RGBA; type = GL_UNSIGNED_SHORT_5_5_5_1; break; 441 case FBO_RGB565: internalFormat = GL_RGB565; format = GL_RGB; type = GL_UNSIGNED_SHORT_5_6_5; break; 442 case FBO_RGBA8: internalFormat = GL_RGBA8; format = GL_RGBA; type = GL_UNSIGNED_BYTE; break; 443 case FBO_RGB10_A2: internalFormat = GL_RGB10_A2; format = GL_RGBA; type = GL_UNSIGNED_INT_2_10_10_10_REV; break; 444 case FBO_RGBA_FLOAT16: internalFormat = GL_RGBA16F; format = GL_RGBA; type = GL_HALF_FLOAT; break; 445 case FBO_RGBA_FLOAT32: internalFormat = GL_RGBA32F; format = GL_RGBA; type = GL_FLOAT; break; 453 << "Creating fbo. Texture internalFormat = " << glu::getTextureFormatStr(internalFormat) [all...] |
/external/deqp/modules/gles2/functional/ |
es2fTextureSpecificationTests.cpp | 62 tcu::TextureFormat mapGLUnsizedInternalFormat (deUint32 internalFormat) 65 switch (internalFormat) 73 throw tcu::InternalError(string("Can't map GL unsized internal format (") + tcu::toHex(internalFormat).toString() + ") to texture format"); [all...] |
/external/deqp/modules/glshared/ |
glsFboCompletenessTests.cpp | 193 // SRGB,UBYTE internalformat-type pair is implied. 480 formats.insert(it->second->internalFormat); 482 formats.insert(it->second->internalFormat); 724 image->internalFormat = format;
|
/external/deqp/framework/opengl/simplereference/ |
sglrReferenceContext.cpp | 951 static tcu::TextureFormat mapInternalFormat (deUint32 internalFormat) 953 switch (internalFormat) 962 return glu::mapGLInternalFormat(internalFormat); [all...] |
/external/swiftshader/src/OpenGL/common/ |
Image.cpp | [all...] |
/device/generic/goldfish-opengl/system/renderControl_enc/ |
renderControl_enc.cpp | 507 uint32_t rcCreateColorBuffer_enc(void *self , uint32_t width, uint32_t height, GLenum internalFormat) 527 memcpy(ptr, &internalFormat, 4); ptr += 4; [all...] |