Descriptiondisable GPU blur on small paths
The current criteria is height, width and radius are all no bigger than 64, I think it's quite a small rectangle, hopefully it won't hurt the performance for other use cases. The benchmark I'm using gets a great performance boost.
BUG=
TEST=http://www.kevs3d.co.uk/dev/asteroidsbench/ Test 3 has much better FPS with this CL (from 15FPS to 28FPS).
Patch Set 1 #Patch Set 2 : use CPU blur with small paths #Patch Set 3 : enlarge the criteria to 128 and make it available only on linux platform #Patch Set 4 : use a conservative value, add mac platform #Patch Set 5 : add radius criteria #Patch Set 6 : remove linux and mac build flags #MessagesTotal messages: 12
|