CameraKit / blurkit-android

The missing Android blurring library. Fast blur-behind layout that parallels iOS.
MIT License
3.72k stars 309 forks source link

Avoid object allocations during draw/layout operations #28

Closed hong4rc closed 6 years ago

hong4rc commented 7 years ago

onDraw() method is called by OS many-many times, thus allocating something within this function is extremely bad idea.

austinkettner commented 6 years ago

Closing in favor of #33

Thanks for submitting this @Hongarc we really appreciate it, despite it taking over a year to follow up about this! =P