Skip to main content
Known Participant
June 18, 2011
Question

Visuals appear blurred under GPU mode.

  • June 18, 2011
  • 1 reply
  • 4140 views

Hi folks,


How to avoid the blurry effect when render in GPU mode? I attempt to set quality to "LOW" but still get the same "filtered" look. To the contrary, in CPU mode things appear far clearer and sharper, bitmaps tend to be pixelated, but this is just what I wanted.


Any help is appreciated!

This topic has been closed for replies.

1 reply

Breezzze1Author
Known Participant
June 18, 2011

Argh.. I forgot to mention that I created a bitmap canvas of 1/3 of the stage size and stretched to fit the screen... cuz I'm using blitting. Are there any workarounds to fix the expanded blurry look?

Colin Holgate
Inspiring
June 19, 2011

Blitting and the use of GPU are sort of opposites. If you're going to get good performance using blitting, then just use CPU and not GPU. With AIR 2.7 the stage image gets transferred to the screen very quickly, so just use your blitting tricks to build up the composite image on the stage, and trust AIR 2.7 to get it to the video memory.

Breezzze1Author
Known Participant
June 19, 2011

Thank you for the answer. Well, I haven't tried AIR 2.7 yet. My app was compiled by 2.6 and the blitting performance between CPU and GPU is huge in 2.6( tested in Android, not sure about ios)... From what you said, I am now very much anticipated to see if 2.7 CPU was as quick as the GPU. But just curious if blitting is not a proper candidate for GPU any more, then what will become our reason to use GPU?