[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: porting to Wayland
From: |
Jan D. |
Subject: |
Re: porting to Wayland |
Date: |
Tue, 25 Nov 2014 09:01:05 +0100 |
Hi.
> 25 nov 2014 kl. 08:49 skrev Daiki Ueno <address@hidden>:
>
> Jan Djärv <address@hidden> writes:
>
>> Ok, here goes.
>
> Thanks!
>
>> Image support sucks, only PNG from files. Some redraw issues
>> (esp. Gtk scrollbars) remain.
>> If you choose Gtk3 as toolkit, cairo is forced, otherwise
>> give--with-cairo to configure.
>
> I've tried the patch. For PNG support, I had to apply the attached
> patch and run configure with:
>
> ./configure --with-x-toolkit=gtk3 --with-cairo --without-imagemagick
Hmm, it seems I made a typo, thanks.
>
> The output for printing (with x-export-frames) looks great.
>
>> Performance is not that great, straight X is faster.
>
> It's already fast enough for me, but it doesn't do rendering in ::draw
> signal, right? If it did, would the speed considerablly slow down?
Do you mean the Gtk+ draw signal? Emacs bypasses that even without cairo.
Jan D.
>
> Regards,
> --
> Daiki Ueno
> diff --git a/configure.ac b/configure.ac
> index ac0b86e..a84637d 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -3042,7 +3042,6 @@ if test "${HAVE_X11}" = "yes"; then
> fi
> with_xpm=no
> with_jpeg=no
> - with_png=no
> with_gif=no
> with_tiff=no
>
> diff --git a/src/image.c b/src/image.c
> index 77e5523..ad31719 100644
> --- a/src/image.c
> +++ b/src/image.c
> @@ -5459,7 +5459,7 @@ pbm_load (struct frame *f, struct image *img)
> PNG
> ***********************************************************************/
>
> -#if defined (HAVE_XPM) || defined (HAVE_NS) || defined (USE_CAIRO)
> +#if defined (HAVE_PNG) || defined (HAVE_NS) || defined (USE_CAIRO)
>
> /* Function prototypes. */
>
- Re: porting to Wayland, (continued)
- Re: porting to Wayland, Jan D., 2014/11/12
- Re: porting to Wayland, Lars Magne Ingebrigtsen, 2014/11/12
- Re: porting to Wayland, Achim Gratz, 2014/11/12
- Re: porting to Wayland, Jan D., 2014/11/12
- Re: porting to Wayland, Daiki Ueno, 2014/11/12
- Re: porting to Wayland, Jan D., 2014/11/13
- Re: porting to Wayland, Jan Djärv, 2014/11/23
- Re: porting to Wayland, Lars Magne Ingebrigtsen, 2014/11/23
- Re: porting to Wayland, Jan D., 2014/11/24
- Re: porting to Wayland, Daiki Ueno, 2014/11/25
- Re: porting to Wayland,
Jan D. <=
- Re: porting to Wayland, Stefan Monnier, 2014/11/25
- Re: porting to Wayland, Jan D., 2014/11/25
- Re: porting to Wayland, Stefan Monnier, 2014/11/25
- Re: generating ChangeLogs automatically (was: porting to Wayland), Paul Eggert, 2014/11/26