Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
Among the following 3 methods 1) XCreateImage and then XPutImage into a window 2) XCreateImage, XPutImage into a pixmap, and then XCopyArea into a window 3) XCreatePixmapFromBitmapData and then XCopyArea into a window Which one is the fastest in drawing a picture? Any trade off? Thanx in advance -Terry
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2662.1 | GILROY::klee | Ken Lee | Thu Apr 26 1990 20:06 | 5 | |
1) and 3) are the same thing. 2) should be slower since there's an extra protocol request and extra copy in the server, but this also keeps a copy for later use, if desired. Ken | |||||
2662.2 | DECWIN::FISHER | Prune Juice: A Warrior's Drink! | Mon Apr 30 1990 15:53 | 3 | |
re .1: I think you mean 2 and 3 are the same. Burns | |||||
2662.3 | GILROY::klee | Tue May 01 1990 14:01 | 2 | ||
Yes, you're right. XCreatePixmapFromBitmapData creates a pixmap and an image, then puts the image in the pixmap. |