X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Mon, 19 Sep 2016 18:20:10 +0200 (CEST) X-X-Sender: igor2 AT igor2priv To: "Dave McGuire (mcguire AT neurotica DOT com) [via geda-user AT delorie DOT com]" X-Debug: to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu" From: gedau AT igor2 DOT repo DOT hu Subject: Re: [geda-user] [pcb-rnd] on IRIX - portability In-Reply-To: <3403488a-52a6-bf29-9ca5-207dda4d5ecc@neurotica.com> Message-ID: References: <3403488a-52a6-bf29-9ca5-207dda4d5ecc AT neurotica DOT com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 19 Sep 2016, Dave McGuire (mcguire AT neurotica DOT com) [via geda-user AT delorie DOT com] wrote: > For my own use, though, while I'm following pcb-rnd development with > interest, the loss of transparency was a show-stopper for me. I realize > you don't want to deal with OpenGL (which is definitely the best way to > do this), but isn't there a practical way to implement transparency > without it? I see the following options: I think gtk/gdk doesn't offer out-of-the-box usable opacity/transparency with software render. This suggest we'd need to do something like "render everthing manually in memory using transparency, then copy the result into a gdk pixmap at the end". Sounds like a lot of work and slow code at the end. Unless I missed something looking at the APIs, this just wouldn't work. The short term solution would be resurrecting the opengl code (through contribution or donation). I don't plan migration to gtk3, so my long term plan is an sdl2 based HID, that will survive a gtk2 phase-out (I won't remove the gtk HID, but distros will stop delivering the required libraries sooner or later). As a side effect sdl2 has support for alpha channel both with and without opengl so it would be much easier to solve there. I plan to have optional transparency in the sdl HID. I don't know how good the opengl support in sdl2 is, but it might also solve the gl problem. There's no ETA on this project yet, it's a rathr big chunk. But as cschem needs a GUI too, and it will definitely be sdl2 too, it will happen sooner or later. Regards, Igor2