View Single Post
Old 10-30-2006, 06:00 PM   #54
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
Revision 4

OK, here is the rev 4 of ipdf.

The major enhancement here is using shared memory to pass the image from ipdf to the X server instead of shoving it down the Xlib pipe to the X server.

I also removed the fill rectangle code and handled its function in the code that transfers the Splash bitmap to the shared memory buffer. The shared memory buffer is a full sized CLIENT_AREA buffer. If the Splash bitmap is too narrow and/or too short I fill the unused areas in the buffer with white bytes (rather than fill the whole client area with white, then paint in the bitmap.)

Just that extra bit quicker now, you can see it, but you can't describe it, but you know you want it.

Enjoy.
Attached Files
File Type: gz ipdf.tar.gz (19.6 KB, 319 views)
scotty1024 is offline   Reply With Quote