Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » X11 MIT Shared Memory Extension
X11 MIT Shared Memory Extension [message #16379] Wed, 11 June 2008 17:05 Go to next message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
I just came across this and I was wondering why this isn't being used in Upp.

A full explanation is here, but a brief synopsis:
The shared memory extension allows improved drawing (well, image exchange) performace when X server and client are on the same machine by using a shared memory space rather than sending images back and forth using unix domain sockets. As an added bonus because an XImage/Pixmap is still located locally (client-side) it can be easily and efficiently modified.

I'm thinking this could potentially help with the performance of BackDraw in particular (which currently causes me problems on X11).

I can probably submit a patch myself but don't want to waste the effort if it's already been avoided for a good reason. Is this intentionally being avoided? or am I misunderstanding it's use (I'm clearly no X11 expert Smile)?
Re: X11 MIT Shared Memory Extension [message #16383 is a reply to message #16379] Wed, 11 June 2008 23:18 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I am well aware about this. It is equivalent of Win32 DIB section.

This might be useful for ImageDraw. Anyway, for BackDraw, not really.

And, the grand plan, is to basically replace ImageDraw with "SW" rendering...

Mirek
Previous Topic: Problem building U++ Lib VC2008 - iml_source.h
Next Topic: TIFF reader not reading geotiffs
Goto Forum:
  


Current Time: Thu Mar 28 22:42:47 CET 2024

Total time taken to generate the page: 0.01984 seconds