Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Detecting GPU rendering in Flash Player 10

Apparently, in Flash 10, you can use the GPU to calculate shaders, and if the user doesn't have a compatible gpu, it falls back to the cpu. The problem is that the cpu is very slow to calculate the filters, it would be nice to detect if it can't use the gpu, and use fewer effects. Is it possible to detect using actionscript if it's using gpu rendering?

like image 623
Andres Avatar asked Feb 12 '09 18:02

Andres


People also ask

How do I check if my GPU is rendering?

On your device, go to Settings and tap Developer Options. In the Monitoring section, select Profile GPU Rendering or Profile HWUI rendering, depending on the version of Android running on the device. In the Profile GPU Rendering dialog, choose On screen as bars to overlay the graphs on the screen of your device.

Why can't I find Force GPU rendering?

Go back to Settings, scroll down and you should be able to see a new option called Developer options. Tap on it. Scroll down to the Hardware accelerated rendering and enable the toggle next to Force GPU rendering.

How do I enable GPU acceleration in Adobe?

For Adobe Premiere Pro, go to File > Project Settings > General > Video Rendering and Playback, set the Renderer to Mercury Playback Engine GPU Acceleration (OpenCL/CUDA/Metal).

Does flash use GPU?

An important new feature of Flash Player 10.1 is that it can use the GPU to render graphical content on mobile devices. In the past, graphics were rendered through the CPU only. Using the GPU optimizes the rendering of filters, bitmaps, video, and text.


1 Answers

Why not measure the time it takes to do something, and if it took too long, you disable some effects.

like image 175
Svante Svenson Avatar answered Oct 22 '22 07:10

Svante Svenson