Home
last modified time | relevance | path

Searched refs:colorbufferFormat (Results 1 – 6 of 6) sorted by relevance

/external/deqp/modules/gles2/functional/
Des2fFboRenderTest.cpp241 , colorbufferFormat (GL_NONE) in FboConfig()
252 GLenum colorbufferFormat; //!< Internal format for color buffer texture or renderbuffer member in deqp::gles2::Functional::FboConfig
297 name += getFormatName(colorbufferFormat); in getName()
418 checkColorFormatSupport(context, config.colorbufferFormat); in Framebuffer()
430 context.texImage2D(GL_TEXTURE_2D, 0, m_config.colorbufferFormat, width, height); in Framebuffer()
448 createRbo(m_colorbuffer, m_config.colorbufferFormat, width, height); in Framebuffer()
719 if(getConfig().colorbufferFormat == GL_RGB5_A1) in render()
1074 if(getConfig().colorbufferFormat == GL_RGB5_A1) in render()
1234 cfg.colorbufferFormat = GL_NONE; in render()
1348 checkColorFormatSupport(context, getConfig().colorbufferFormat); in render()
[all …]
/external/swiftshader/src/OpenGL/libGLES_CM/
DlibGLES_CM.cpp857 GLenum colorbufferFormat = source->getFormat(); in CopyTexImage2D() local
863 if(colorbufferFormat != GL_ALPHA && in CopyTexImage2D()
864 colorbufferFormat != GL_RGBA && in CopyTexImage2D()
865 colorbufferFormat != GL_RGBA4_OES && in CopyTexImage2D()
866 colorbufferFormat != GL_RGB5_A1_OES && in CopyTexImage2D()
867 colorbufferFormat != GL_RGBA8_OES) in CopyTexImage2D()
874 if(colorbufferFormat != GL_RGB && in CopyTexImage2D()
875 colorbufferFormat != GL_RGB565_OES && in CopyTexImage2D()
876 colorbufferFormat != GL_RGB8_OES && in CopyTexImage2D()
877 colorbufferFormat != GL_RGBA && in CopyTexImage2D()
[all …]
/external/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp544 bool ValidateCopyFormats(GLenum textureFormat, GLenum colorbufferFormat) in ValidateCopyFormats() argument
547 ASSERT(!gl::IsUnsizedInternalFormat(colorbufferFormat)); in ValidateCopyFormats()
554 if(GetColorComponentType(colorbufferFormat) != GetColorComponentType(textureFormat)) in ValidateCopyFormats()
559 if(GetColorEncoding(colorbufferFormat) != GetColorEncoding(textureFormat)) in ValidateCopyFormats()
565 GLenum baseColorbufferFormat = gl::GetBaseInternalFormat(colorbufferFormat); in ValidateCopyFormats()
Dutilities.h53 bool ValidateCopyFormats(GLenum textureFormat, GLenum colorbufferFormat);
DlibGLESv2.cpp936 GLenum colorbufferFormat = source->getFormat(); in CopyTexImage2D() local
941 if(colorbufferFormat == GL_RGB10_A2) in CopyTexImage2D()
948 if(gl::GetBaseInternalFormat(colorbufferFormat) == internalformat) in CopyTexImage2D()
950 internalformat = colorbufferFormat; in CopyTexImage2D()
952 …else if(GetColorComponentType(colorbufferFormat) == GL_UNSIGNED_NORMALIZED && GetRedSize(colorbuff… in CopyTexImage2D()
959 else if(GetColorComponentType(colorbufferFormat) == GL_INT) in CopyTexImage2D()
963 else if(GetColorComponentType(colorbufferFormat) == GL_UNSIGNED_INT) in CopyTexImage2D()
967 …else if(GetColorComponentType(colorbufferFormat) == GL_FLOAT && GetRedSize(colorbufferFormat) == 1… in CopyTexImage2D()
971 …else if(GetColorComponentType(colorbufferFormat) == GL_FLOAT && GetRedSize(colorbufferFormat) == 3… in CopyTexImage2D()
977 UNIMPLEMENTED("internalformat = %x, colorbufferFormat = %X", internalformat, colorbufferFormat); in CopyTexImage2D()
[all …]
DlibGLESv3.cpp486 GLenum colorbufferFormat = source->getFormat(); in CopyTexSubImage3D() local
497 if(!ValidateCopyFormats(textureFormat, colorbufferFormat)) in CopyTexSubImage3D()