Commits on Source (8)
-
Konstantin authored
Signed-off-by:
Konstantin Pugin <ria.freelander@gmail.com> Reviewed-by:
Adam Jackson <ajax@redhat.com> Reviewed-by:
Emma Anholt <emma@anholt.net>
-
Konstantin authored
For 24 and 32 bit depth pictures xserver uses PICT_x8r8g8b8 and PICT_a8r8g8b8 formats, which must be backed with GL_BGRA format. It is present in OpenGL ES 2.0 only with GL_EXT_texture_format_BGRA8888 extension. We require such extension in glamor_init, so, why not to make use of it? Fixes #1208 Fixes #1354 Signed-off-by:
Konstantin Pugin <ria.freelander@gmail.com> Reviewed-by:
Adam Jackson <ajax@redhat.com> Reviewed-by:
Emma Anholt <emma@anholt.net>
-
Konstantin authored
glUniformMatrix3fv is used with argument transpose set to GL_TRUE. According to the Khronos OpenGL ES 2.0 pages transpose must be GL_FALSE. Actually we can just return transformed matrix from _glamor_gradient_convert_trans_matrix (@anholt suggest), so @uvas workaround is not required Signed-off-by:
Konstantin Pugin <ria.freelander@gmail.com> Reviewed-by:
Adam Jackson <ajax@redhat.com> Reviewed-by:
Emma Anholt <emma@anholt.net>
-
In GLES2, we cannot do GL_RED or GL_RG without GL_EXT_texture_rg. So, add check for GL_EXT_texture_rg to make it working. Also add a yuv2 pixman format into render.h to make Xv yuv rendering works. Signed-off-by:
Yuriy Vasilev <uuvasiliev@yandex.ru> Reviewed-by:
Adam Jackson <ajax@redhat.com> Reviewed-by:
Emma Anholt <emma@anholt.net>
-
ARB_blend_func_extended may be exposed even without GLSL 1.30. In order to use it we need GLES2 shaders that are available if ARB_ES2_compatibility is exposed. Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com> Reviewed-by:
Adam Jackson <ajax@redhat.com> Reviewed-by:
Emma Anholt <emma@anholt.net>
-
Konstantin authored
For now, it sets .version=120, which prevents shader from compiling on ES. We just force version of shaders to be always 100 on ES, because we use only 120 shaders on ES anyway, and all shaders works. Signed-off-by:
Konstantin Pugin <ria.freelander@gmail.com> Reviewed-by:
Adam Jackson <ajax@redhat.com> Reviewed-by:
Emma Anholt <emma@anholt.net>
-
Doğukan Korkmaztürk authored
Updated the for-loop that iterates over the received EGLConfigs to include the very first EGLConfig with index 0. Signed-off-by:
Doğukan Korkmaztürk <dkorkmazturk@nvidia.com> Fixes: 84692415 - xwayland: Add EGL-backed GLX provider
-
In CommonMakeCurrent() function, the tag of the old context is freed before the new context is made current. This is problematic because if the CommonMakeNewCurrent() function fails, the tag of the old context ends up being removed, even though it is still active. This causes subsequent glXMakeCurrent() or glXMakeContextCurrent() requests to generate a GLXBadContextTag error. This change moves the function call that frees the old tag to a location where the result of CommonMakeNewCurrent() call is known and it is safe to free it. Signed-off-by:
Doğukan Korkmaztürk <dkorkmazturk@nvidia.com>
Showing
- glamor/glamor.c 23 additions, 10 deletionsglamor/glamor.c
- glamor/glamor_composite_glyphs.c 19 additions, 1 deletionglamor/glamor_composite_glyphs.c
- glamor/glamor_gradient.c 21 additions, 11 deletionsglamor/glamor_gradient.c
- glamor/glamor_picture.c 2 additions, 5 deletionsglamor/glamor_picture.c
- glamor/glamor_priv.h 1 addition, 0 deletionsglamor/glamor_priv.h
- glamor/glamor_program.c 21 additions, 7 deletionsglamor/glamor_program.c
- glamor/glamor_program.h 3 additions, 2 deletionsglamor/glamor_program.h
- glamor/glamor_render.c 28 additions, 4 deletionsglamor/glamor_render.c
- glx/vndcmds.c 3 additions, 4 deletionsglx/vndcmds.c
- hw/xwayland/xwayland-glx.c 1 addition, 1 deletionhw/xwayland/xwayland-glx.c
- render/picture.h 4 additions, 1 deletionrender/picture.h
- test/bugs/bug1354.c 149 additions, 0 deletionstest/bugs/bug1354.c
- test/bugs/meson.build 50 additions, 0 deletionstest/bugs/meson.build
- test/meson.build 53 additions, 5 deletionstest/meson.build
- test/scripts/xephyr-glamor-gles2-piglit.sh 34 additions, 0 deletionstest/scripts/xephyr-glamor-gles2-piglit.sh
test/bugs/bug1354.c
0 → 100644
test/bugs/meson.build
0 → 100644
test/scripts/xephyr-glamor-gles2-piglit.sh
0 → 100755