Skip to content

isPutImageFaster

isPutImageFaster(width, height): boolean

Defined in: src/filters/utils.ts:18

Pick a method to copy data from GL context to 2d canvas. In some browsers using drawImage should be faster, but is also bugged for a small combination of old hardware and drivers. putImageData is faster than drawImage for that specific operation.

Parameters

width

number

height

number

Returns

boolean