setEnableHardwareScaler

open fun setEnableHardwareScaler(enabled: Boolean)

Enables fixed size for the surface. This provides better performance but might be buggy on some devices. By default this is turned off.