GitBucket
Toggle navigation
Snippets
Sign in
Files
Branches
20
Releases
108
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Fork
: 0
mark
/
pixi.js
Download ZIP
648 commits
Transfer to URL with SHA
tree:
b757e652e9
Switch branches
×
batch-dev
bugfix/polygon-offset
dev
dev-blendmode-add-again
dev-canvas-renderer-dirty-transform
dev-graphics-fix-batches
dev-line-join
dev-offscreen-canvas
dev-renderTexture-pool
dev-replace-buble-with-babel
englercj/update-s3
feature-nine-slice-canvas-tint
fix-svg
master
multiple-pointer-down-events
release
upgrade
v2.x
v3.x
v4.x
pixi.js
/
src
/
latest commit
b757e652e9
photonstorm
authored
on 8 Feb 2014
..
pixi
Added PIXI.canvas global object which allows for tighter configuration of the canvas renderer. Allows the dev to control if fillRect / clearRect is called (as it's not needed for lots of games and can help perf slightly on legacy devices). Also added PX_ROUND boolean. If true (default is false) it will Math.floor the x/y values on the transform, this stops interpolation when Sprites are rendered at non-pixel values, keeping pixel art crisp. Also helps performance on older mobiles. I removed the view.style.backgroundColor as it was never set, mostly commented-out and is unreliable as hell on Android anyway :( (which I guess is why it had been replaced with the fillRect instead).
11 years ago