On 2009-11-30, at 2:42 AM, Stéphane Ducasse wrote:
On Nov 29, 2009, at 3:07 PM, Arturo Zambrano wrote:
Ok, I tried without compiz and both Pharo and X11 using 16 bpp: It works better (still slow if compared to VW). For example: when pressing right button on the world, it takes almost a second for the popup menu to show up. Is that normal?
normally not
I didn't used it in another platform, I will try to give it a try under Windows to see if speed is the same.
Thanks
Please open a transcript and do 10 timesRepeat: [Transcript show: 1 tinyBenchmarks printString;cr] report the numbers, also how many ghz your machine CPU is.
Is there a particular reason for Pharo not supporting 24bpp?
time and money.
I think all nvidia drivers for linux works up to 24bpp, but this depth is not listed in Pharo (using 16 bits looks a bit ugly)
normally displayScreen only supports ... 8, 16 or 32 bits
I think 24 bpp means 32bit words 8 bits R 8 bits G 8 bits B and 8 bits ignored which would be Alpha. Try doing Transcript cr;show: [Display fillWhite. 1 to: 4 do: [:i | Pen new color: i; turn: 90*i; dragon: 14] ] timeToRun. Display restore. report back how big the number is printed to the transcript -- =========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================