From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vasilij Schneidermann Newsgroups: gmane.emacs.devel Subject: Re: Introducing emacs-webkit and more thoughts on Emacs rendering (was Rethinking the design of xwidgets) Date: Sun, 22 Nov 2020 22:20:04 +0100 Message-ID: <20201122212004.GA62328@odonien.localdomain> References: <864kmzupp0.fsf@akirakyle.com> <86pn46awrr.fsf@akirakyle.com> <83wnydw9nc.fsf@gnu.org> <86sg91nsah.fsf@akirakyle.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21426"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Akira Kyle Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 22 22:21:10 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kgwnF-0005RK-PH for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Nov 2020 22:21:09 +0100 Original-Received: from localhost ([::1]:49160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgwnE-0005vI-Rd for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Nov 2020 16:21:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgwmR-0005MB-JM for emacs-devel@gnu.org; Sun, 22 Nov 2020 16:20:20 -0500 Original-Received: from mout-p-101.mailbox.org ([80.241.56.151]:59398) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1kgwmL-0006Yz-HV; Sun, 22 Nov 2020 16:20:18 -0500 Original-Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4CfNV00jWRzQl34; Sun, 22 Nov 2020 22:20:08 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Original-Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id SWOqtIx2rjmB; Sun, 22 Nov 2020 22:20:05 +0100 (CET) Mail-Followup-To: Akira Kyle , Eli Zaretskii , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <86sg91nsah.fsf@akirakyle.com> X-Rspamd-Score: -3.14 / 15.00 / 15.00 X-Rspamd-Queue-Id: 22CE11711 X-Rspamd-UID: 6d18ee Received-SPF: pass client-ip=80.241.56.151; envelope-from=mail@vasilij.de; helo=mout-p-101.mailbox.org X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:259654 Archived-At: --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline > I find the GtkFixed widget that contains the windows of a frame, then I add > the webkitgtk widget as a child of that GtkFixed. So everything under the > widget is obscured, including any text written into the webkit-mode buffer. > In fact I use the buffer for processing module->lisp async messages. I > monitor for changes in the coordinates of the window with > `window-size-change-functions`. Child frames are also added as children of > the GtkFixed widget which presents a problem for things like posframe. I > ensure that the webkit view is always below such child frames, as it would > be if it were rendered as part of the buffer's window itself. Could this approach be used to perform OpenGL drawing or obtaining a cairo context to draw on? I'm not terribly interested in putting a webview inside Emacs, 3D/2D graphics however... Vasilij --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEE0dAcySl3bqM8O17WFmfJg6zCifoFAl+61fwACgkQFmfJg6zC ifruXgf/ahdNX/0XU6y5c/OXkXEMGEhIa0SHuzJ592Kdak5+jyc19QKXkk/MNHPH VNdl/Ejiu6rzoag0jB1QU+ztPoekLLDDX5KYLKCORnEjg2Wnw04yFB9q12mZvtXl SwlI/wYGx2tbgeQSemtoFp8ctygWWG/mxpvrf4L79FXoBU2EmHkYB6eCM+ACOYJk UzwtRXeELzVXx7ilUgq5a9wWqCw9BS/WwTAQzC0GeY0eeOKlPWn7r0B3TI4+gjPP Cztf0du/OcAydsJ6pM8o3333njgleVGDYqlPnNZ/LBZX++dwQ7/cIjjkpfjzima3 gH5YMR/GJP63lhGxWNqS5XP/Eg1JdQ== =qHe1 -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm--