librelist archives

« back to archive

Flickering rectangle

Flickering rectangle

From:
ashbb
Date:
2012-03-07 @ 14:03
Hi all,

I'm looking for a solution to reduce flicker in screen.
Try out this snippet with your JRuby and SWT:
https://gist.github.com/1993148

Any suggestions would be appreciated.

Cheers,
ashbb

Re: [shoes] Flickering rectangle

From:
Peter Fitzgibbons
Date:
2012-03-07 @ 16:19
HI Ash,

OSX SnowLeopard, using 'swt' gem, I get NO flicker.
My hardware spec after the sig.

Could you tell us more about your environment?


Peter Fitzgibbons
(847) 859-9550
Email: peter.fitzgibbons@gmail.com
IM GTalk: peter.fitzgibbons
IM AOL: peter.fitzgibbons@gmail.com

My OSX SnowLeopard MacBook Pro Hardware Overview:
  Model Name:    MacBook Pro
  Model Identifier:    MacBookPro8,2
  Processor Name:    Intel Core i7
  Processor Speed:    2 GHz
  Number of Processors:    1
  Total Number of Cores:    4
  L2 Cache (per Core):    256 KB
  L3 Cache:    6 MB
  Memory:    8 GB
  Boot ROM Version:    MBP81.0047.B24
  SMC Version (system):    1.69f3
  Serial Number (system):
  Hardware UUID:
  Sudden Motion Sensor:
  State:    Enabled




On Wed, Mar 7, 2012 at 8:03 AM, ashbb <ashbbb@gmail.com> wrote:

> Hi all,
>
> I'm looking for a solution to reduce flicker in screen.
> Try out this snippet with your JRuby and SWT:
> https://gist.github.com/1993148
>
> Any suggestions would be appreciated.
>
> Cheers,
> ashbb
>

Re: [shoes] Flickering rectangle

From:
Tobias Pfeiffer
Date:
2012-03-07 @ 16:43
All smooth on Linux as well. Must be Windows :P
(jruby 1.6.5.1 and swt gem 0.12)

Tobi


On 03/07/2012 05:19 PM, Peter Fitzgibbons wrote:
> HI Ash,
>
> OSX SnowLeopard, using 'swt' gem, I get NO flicker.
> My hardware spec after the sig.
>
> Could you tell us more about your environment?
>
>
> Peter Fitzgibbons
> (847) 859-9550
> Email: peter.fitzgibbons@gmail.com <mailto:peter.fitzgibbons@gmail.com>
> IM GTalk: peter.fitzgibbons
> IM AOL: peter.fitzgibbons@gmail.com <mailto:peter.fitzgibbons@gmail.com>
>
> My OSX SnowLeopard MacBook Pro Hardware Overview:
>   Model Name:    MacBook Pro
>   Model Identifier:    MacBookPro8,2
>   Processor Name:    Intel Core i7
>   Processor Speed:    2 GHz
>   Number of Processors:    1
>   Total Number of Cores:    4
>   L2 Cache (per Core):    256 KB
>   L3 Cache:    6 MB
>   Memory:    8 GB
>   Boot ROM Version:    MBP81.0047.B24
>   SMC Version (system):    1.69f3
>   Serial Number (system):
>   Hardware UUID:
>   Sudden Motion Sensor:
>   State:    Enabled
>
>
>
>
> On Wed, Mar 7, 2012 at 8:03 AM, ashbb <ashbbb@gmail.com 
> <mailto:ashbbb@gmail.com>> wrote:
>
>     Hi all,
>
>     I'm looking for a solution to reduce flicker in screen.
>     Try out this snippet with your JRuby and SWT:
>     https://gist.github.com/1993148
>
>     Any suggestions would be appreciated.
>
>     Cheers,
>     ashbb
>
>

Re: [shoes] Flickering rectangle

From:
ashbb
Date:
2012-03-08 @ 12:13
Hi Peter and Tobi,

Thank you for taking your time to run the snippet on OSX and Linux.
Glad to hear 'NO flicker'!

Umm,... damn Windows. :(
I'm using Windows 7 on ThinkPad X201s.

Could you confirm another snippet with Purple Shoes?

https://github.com/ashbb/purple_shoes/blob/master/samples/sample44.rb

The clock hands move smoothly but the window flikers very noisy on my
Windows 7. :(

ashbb

Re: [shoes] Flickering rectangle

From:
ashbb
Date:
2012-03-12 @ 13:18
Hi all,

This snippet (https://gist.github.com/1993148) is still flickering on my
Windows 7.

But I got a solution to reduce flickering with Purple Shoes:

https://github.com/ashbb/purple_shoes/commit/9bda85093d13dc4752bded869c41bfa6764c657e

Now you can play snake game, good clock and othello game as well as Red
Shoes. :)

Have fun,
ashbb