unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
To: Daiki Ueno <ueno@gnu.org>
Cc: Lars Magne Ingebrigtsen <larsi@gnus.org>, emacs-devel@gnu.org
Subject: Re: porting to Wayland
Date: Tue, 25 Nov 2014 09:01:05 +0100	[thread overview]
Message-ID: <B5486A36-0EC5-42BA-BB6A-05073E22998E@swipnet.se> (raw)
In-Reply-To: <m33897zplr.fsf-ueno@gnu.org>

Hi.

> 25 nov 2014 kl. 08:49 skrev Daiki Ueno <ueno@gnu.org>:
> 
> Jan Djärv <jan.h.d@swipnet.se> 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.  */
> 




  reply	other threads:[~2014-11-25  8:01 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-13  0:12 porting to Wayland Daiki Ueno
2014-07-13  9:03 ` Jan Djärv
2014-07-13  9:56   ` Daiki Ueno
2014-07-14  6:21     ` Jan Djärv
2014-11-12 15:50   ` Lars Magne Ingebrigtsen
2014-11-12 15:59     ` Lars Magne Ingebrigtsen
2014-11-12 17:01     ` Jan D.
2014-11-12 17:05       ` Lars Magne Ingebrigtsen
2014-11-12 18:25         ` Achim Gratz
2014-11-12 18:45         ` Jan D.
2014-11-13  1:58           ` Daiki Ueno
2014-11-13  9:08             ` Jan D.
2014-11-23 16:56               ` Jan Djärv
2014-11-24  0:07                 ` Lars Magne Ingebrigtsen
2014-11-24  5:56                   ` Jan D.
2014-11-25  7:49                 ` Daiki Ueno
2014-11-25  8:01                   ` Jan D. [this message]
2014-11-25 14:30                 ` Stefan Monnier
2014-11-25 17:30                   ` Jan D.
2014-11-26  2:01                     ` Stefan Monnier
2014-11-26  5:53                       ` generating ChangeLogs automatically (was: porting to Wayland) Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B5486A36-0EC5-42BA-BB6A-05073E22998E@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=ueno@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).