Re: [PATCH xserver 2/2] glamor: Source pictures are always depth 32

2016-03-10 Thread Timo Aaltonen
08.03.2016, 22:18, Adam Jackson kirjoitti:
> On Tue, 2016-02-23 at 17:19 +0900, Michel Dänzer wrote:
>> From: Michel Dänzer 
>>
>> We were using the destination pixmap depth to determine the source
>> picture format.
>>
>> Fixes incorrect text rendering with some MATE desktop GTK3 themes.
>>
>> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94246
>> Signed-off-by: Michel Dänzer 
> 
> remote: I: patch #74718 updated using rev 
> b05ae79ee3bebef9790c97eedc033d1ffb3ec39a.
> remote: I: patch #74719 updated using rev 
> a3e681eafa5355b8bb3b099d47983f14f0d5e197.
> remote: I: 2 patch(es) updated to state Accepted.
> To ssh://git.freedesktop.org/git/xorg/xserver
>947e94a..a3e681e  master -> master

Please add these for 1.18.x too, the first one needs a bit of
backporting unless a lot of glamor from master is pulled in.


-- 
t
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Re: [PATCH xserver 2/2] glamor: Source pictures are always depth 32

2016-03-08 Thread Adam Jackson
On Tue, 2016-02-23 at 17:19 +0900, Michel Dänzer wrote:
> From: Michel Dänzer 
> 
> We were using the destination pixmap depth to determine the source
> picture format.
> 
> Fixes incorrect text rendering with some MATE desktop GTK3 themes.
> 
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94246
> Signed-off-by: Michel Dänzer 

remote: I: patch #74718 updated using rev 
b05ae79ee3bebef9790c97eedc033d1ffb3ec39a.
remote: I: patch #74719 updated using rev 
a3e681eafa5355b8bb3b099d47983f14f0d5e197.
remote: I: 2 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/xserver
   947e94a..a3e681e  master -> master

- ajax
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

[PATCH xserver 2/2] glamor: Source pictures are always depth 32

2016-02-23 Thread Michel Dänzer
From: Michel Dänzer 

We were using the destination pixmap depth to determine the source
picture format.

Fixes incorrect text rendering with some MATE desktop GTK3 themes.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94246
Signed-off-by: Michel Dänzer 
---
 glamor/glamor_program.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/glamor/glamor_program.c b/glamor/glamor_program.c
index ddab16f..0a94de6 100644
--- a/glamor/glamor_program.c
+++ b/glamor/glamor_program.c
@@ -508,9 +508,9 @@ use_source_solid(CARD8 op, PicturePtr src, PicturePtr dst, 
glamor_program *prog)
 
 glamor_set_blend(op, prog->alpha, dst);
 
-glamor_set_color(glamor_get_drawable_pixmap(dst->pDrawable),
- src->pSourcePict->solidFill.color,
- prog->fg_uniform);
+glamor_set_color_depth(dst->pDrawable->pScreen, 32,
+   src->pSourcePict->solidFill.color,
+   prog->fg_uniform);
 return TRUE;
 }
 
-- 
2.7.0

___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel