From: Daiki Ueno <ueno@gnu.org>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: Lars Magne Ingebrigtsen <larsi@gnus.org>, emacs-devel@gnu.org
Subject: Re: porting to Wayland
Date: Tue, 25 Nov 2014 16:49:52 +0900 [thread overview]
Message-ID: <m33897zplr.fsf-ueno@gnu.org> (raw)
In-Reply-To: <547211CC.5090803@swipnet.se> ("Jan \=\?iso-8859-1\?Q\?Dj\=E4rv\=22\?\= \=\?iso-8859-1\?Q\?'s\?\= message of "Sun, 23 Nov 2014 17:56:44 +0100")
[-- Attachment #1: Type: text/plain, Size: 736 bytes --]
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
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?
Regards,
--
Daiki Ueno
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: png.patch --]
[-- Type: text/x-patch, Size: 693 bytes --]
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. */
next prev parent reply other threads:[~2014-11-25 7:49 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 [this message]
2014-11-25 8:01 ` Jan D.
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=m33897zplr.fsf-ueno@gnu.org \
--to=ueno@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=jan.h.d@swipnet.se \
--cc=larsi@gnus.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).