[PATCH 6/7] glamor: Re-enable a8 textures for GLES2

Maarten Lankhorst maarten.lankhorst at ubuntu.com
Thu Jan 15 04:14:42 PST 2015


Hey,

Op 13-01-15 om 03:48 schreef Eric Anholt:
> Maarten Lankhorst <maarten.lankhorst at ubuntu.com> writes:
>
>> This will probably break PVR, but fixes other implementations.
> GL ES 2.0.25 spec says: "Formats not listed in table 4.5, including
> compressed internal formats. are not color-, depth-, or
> stencil-renderable, no matter which components they contain."
>
> where table 4.5 has:
> DEPTH_COMPONENT16
> RGBA4
> RGB5_A1
> RGB565
> STENCIL_INDEX8
>
> So if there's an extension that adds support for ALPHA, you should
> probably be checking for that.
I was looking at table 3.3 and 3.4, which does allow ALPHA.

I don't see any extension to add support for it in my list of supported extensions.

EGL extensions:
EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable

GLES2 extensions:
GL_EXT_debug_marker GL_OES_texture_npot GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_OES_vertex_half_float GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map GL_KHR_debug

~Maarten


More information about the xorg-devel mailing list