Fastest way to draw RGB images?
Fastest way to draw RGB images?
- Subject: Fastest way to draw RGB images?
- From: email@hidden (Paul Nolan)
- Date: Tue, 1 Jul 2003 21:53 +0100 (BST)
Hello again,
Thanks to Torrey I now have my app running under OS X using XFree86 4.3,
but I need to improve the performance. Under Linux I use the
XShmPutImage() function to draw an array of RGB pixels, which falls back
to XPutImage() under OS X, presumably due to that extension not being
implemented. Is this the fastest method available? Similarly, is
XAllocColour, XSetForeGround, followed by XFillRectangle() the fastest
method for drawing filled rectangles in my GUI engine? Is there anything
else I need to know about that might be fine under Linux but a bottleneck
under OS X?
Also, why does my window initially open up with just the title showing,
which when double clicked opens up offset far too much to the right? I`m
trying to open a window that uses all of the visible workspace, i.e. from
underneath the menu bar to the top of the dock, or the bottom of the
screen if the dock is minimised.
TIA,
Paul Nolan, CEO Idruna Software Inc.
http://www.idruna.com
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.