Commit graph

171 commits

Author SHA1 Message Date
Mat Groves
1536397391 tiny tweaks - removed replaced [] with length=0 in PIXI.destroyTexture 2014-01-08 21:40:34 +00:00
Mat Groves
6098e3b6c9 Merge branch 'DisplayObject-Cache' into dev
Conflicts:
	bin/pixi.js
2014-01-08 21:33:31 +00:00
Mat Groves
3afff7d51f Added cacheAsBitmap to PIXI.Graphics
Tweaked webGL graphics
Added generateTexture function to PIXI.Graphics
2014-01-08 21:31:40 +00:00
Mat Groves
5d5f33f601 Removed this.worldVisible = true; line in PIXI.Stage fixes #477 2014-01-08 11:11:15 +00:00
Mat Groves
f0d63f7315 removed a few more unused variables
replaced [] with .length = 0; to reset arrays
2014-01-07 22:45:35 +00:00
Mat Groves
556c292842 Fixed webGL destroyTexture function
added PIXI.glContexts to access to contexts when destroying textures
removed constant PIXI._defualtFrame as its no longer used
2014-01-07 22:05:22 +00:00
Mat Groves
29cdd079d3 Added setStageReference to DisplayObject
Removed unused reference to PIXI.gl (no longer used)
2014-01-07 20:58:08 +00:00
Mat Groves
c74d9615ca Fixed issue with setStageRefference and worldVisible function 2014-01-07 15:04:13 +00:00
Mat Groves
0f6bf01788 Fixed bug with interaction when setting internal stage reference 2014-01-06 12:00:17 +00:00
Mat Groves
e7205ad115 Tiling Texture fixed to allow any size texture
also accepts sprite sheet frame.
2014-01-05 21:56:33 +00:00
Mat Groves
b3677ea452 Added removeStageReference fix 2014-01-05 18:27:07 +00:00
Mat Groves
75c7880c93 Fixed bug where setText not working correctly
Docs updated
2014-01-05 18:16:17 +00:00
Mat Groves
94e5faa2f1 Fixed stage ref bug 2014-01-05 17:34:23 +00:00
Mat Groves
29eb95ee44 Small bit of code file organisation for webGL renderer
also tidied up the grunt file to reflect changes to folder structure
2014-01-05 16:09:51 +00:00
Mat Groves
5be8c785ec Added tint to Sprite test 2014-01-05 15:56:13 +00:00
Mat Groves
e6fb188c8e Added worldVisible getter to DisplayObject 2014-01-03 00:21:51 +00:00
Mat Groves
a939b41f8a Added drawCount to renderSession
Useful for performance tuning
2014-01-02 22:50:28 +00:00
Mat Groves
f355ed3dee Fixed issue where tiling sprite getBounds function was returning incorrect value 2014-01-02 22:35:51 +00:00
Mat Groves
557cc775cb Fixed a shader bug 2014-01-02 21:39:39 +00:00
Mat Groves
17725973bc Fixed bug where tinting not working if image not loaded in canvas
also fixed issue where tiling sprite was not getting matrix transform
applied
2014-01-02 12:35:40 +00:00
Mat Groves
7713731ab3 Fixed graphics bug + updated docs
Fixed issue with getBounds being incorrect for graphics
Updated docs
Linted code
2014-01-01 23:54:45 +00:00
Mat Groves
53506da65e Added support for webGL context loss 2014-01-01 21:35:55 +00:00
Mat Groves
1997071a9b Graphics object can now be used across all renderers 2014-01-01 20:22:37 +00:00
Mat Groves
5774bbd1d5 Fixed bug where filters could not be shared between multiple renderers 2014-01-01 20:14:13 +00:00
Mat Groves
72ba698851 Fixed mask bug
Mask was not getting transformed applied
2014-01-01 20:03:48 +00:00
Mat Groves
1062c4e1d3 Modify texture usage to allow for Multiple Renderer 2014-01-01 18:43:54 +00:00
Mat Groves
c6ddc833cb codebase now lint free 2014-01-01 15:00:55 +00:00
Mat Groves
2debc70e3f Fixed issue where local variable width and height were in global scope 2014-01-01 12:17:34 +00:00
Mat Groves
6d7f206a2b fixed bug where addChildAt, not actually adding the child 2013-12-31 19:16:50 +00:00
Mat Groves
1bc122aa05 fixed bug where sprites where always visible 2013-12-31 18:06:09 +00:00
Mat Groves
8138dbd3bb Fixed bug with incorrect reference to stage 2013-12-31 17:06:38 +00:00
Mat Groves
e8b14def95 Restructured render texture
fixed bug in canvas renderer
created canvasBuffer object
reworked renderTexture
removed ALL global references
2013-12-31 16:04:12 +00:00
Mat Groves
3dfb854ae6 Corrected some headers and removed the unused TintShader 2013-12-30 18:47:16 +00:00
Mat Groves
aaa5190141 Added ability to use trimmed sprite sheets 2013-12-30 18:38:30 +00:00
Mat Groves
86158ade21 Added projection and offset to renderSessionData 2013-12-30 01:23:01 +00:00
Mat Groves
dfe841cb70 Added perPixel tinting for canvas
useful for older browsers and ie using canvas
2013-12-29 22:22:15 +00:00
Mat Groves
5693c682e1 Added texture caches for canvas tints 2013-12-29 20:45:59 +00:00
Mat Groves
174cc38c2b cached canvas when tinitnting in canvas renderer 2013-12-29 15:38:13 +00:00
Mat Groves
03ed383db6 added some comments and a vert size property 2013-12-29 15:15:17 +00:00
Mat Groves
41d6b01e96 Added canvas sprite tiniting
Currently only works with browsers that support the new canvas blend
modes
still need to add tiniting to tilingsprite and graphics
2013-12-29 12:14:34 +00:00
Mat Groves
f0c082a3cc optimized renderer
by not using getter/setter in render loop when checking filters/masks
2013-12-28 23:03:23 +00:00
Mat Groves
273d78aa85 Added Tinting to webGL and blend modes to canvas and webGL
Items now have a tint property and a blendmode property
2013-12-28 22:40:46 +00:00
Mat Groves
a59131c514 Tidied up displayObject removing linked list bits 2013-12-28 00:33:42 +00:00
Mat Groves
f381e865da added width and height properties to displayObjectContainer 2013-12-27 18:44:12 +00:00
Mat Groves
dd94b41282 Removed WebGL Batch and webGL RenderGroup 2013-12-27 18:24:44 +00:00
Mat Groves
3cf495e724 Removed Linked lists
Simplified add/remove child
2013-12-27 18:18:42 +00:00
Mat Groves
4858ff74ec Restructured canvas renderer 2013-12-27 17:59:05 +00:00
Mat Groves
d56d6df260 refactored webGL renderer 2013-12-27 16:21:54 +00:00
Mat Groves
abb731ec4a Merge branch 'dev' of https://github.com/GoodBoyDigital/pixi.js into dev
Conflicts:
	src/pixi/renderers/webgl/WebGLFilterManager.js
	src/pixi/textures/BaseTexture.js
2013-12-23 17:38:46 +00:00
Mat Groves
86e51af5c0 Fixed issue with removing children with filters 2013-12-03 12:05:22 +00:00