minggo
d3853e3f8b
[ci skip]
2014-05-16 14:11:26 +08:00
Ricardo Quesada
9d1ab1ba07
uniform sampler CC_Texture0 MUST NOT be defined on shaders
...
since it is a built-in.
Built-in uniforms MUST NOT be defined on shaders.
Basically all CC_ uniforms must be defined by cocos2d-x
2014-05-15 16:47:54 -07:00
minggo
e6fe882963
[ci skip]
2014-05-15 15:50:12 +08:00
Ricardo Quesada
839170c147
Improvments on the shader2 tests
2014-05-14 13:09:33 -07:00
minggo
89bb56e829
[ci skip]
2014-05-14 09:59:38 +08:00
minggo
ac22dc236a
[ci skip]
2014-05-13 18:45:41 +08:00
minggo
4bb9fb2396
[ci skip]
2014-05-13 13:56:42 +08:00
minggo
cbf2629bf0
[ci skip]
2014-05-12 16:54:18 +08:00
minggo
f5055548ac
[ci skip]
2014-05-12 14:00:11 +08:00
minggo
8ceb26532a
[ci skip]
2014-05-12 13:43:47 +08:00
Ricardo Quesada
91d1883e15
updated changelog
2014-05-11 11:19:11 -07:00
minggo
8a74f83ad0
[ci skip]
2014-05-08 18:46:34 +08:00
minggo
0ae859e3e1
[ci skip]
2014-05-08 18:00:01 +08:00
minggo
5291bbc377
[ci skip]
2014-05-08 17:25:41 +08:00
minggo
2571767907
[ci skip]
2014-05-08 17:13:21 +08:00
minggo
b22fe211de
[ci skip]
2014-05-08 15:42:05 +08:00
minggo
4defe28f1f
[ci skip]
2014-05-08 13:47:04 +08:00
James Chen
37cb91fdc0
Update CHANGELOG [ci skip]
2014-05-08 10:52:15 +08:00
James Chen
c6fd98d5f1
Update CHANGELOG [ci skip]
2014-05-07 16:27:35 +08:00
minggo
1caa7ece9a
[ci skip]
2014-05-06 11:56:00 +08:00
minggo
07df728919
[ci skip]
2014-05-06 11:51:34 +08:00
minggo
9634da6ce7
[ci skip]
2014-05-06 11:47:53 +08:00
Ricardo Quesada
0e6dd9afe5
Particles can be created without texture
...
Needed for complex particles like in EarthWarrior3D
2014-05-05 15:50:08 -07:00
James Chen
8cbcf17163
issue #4674 : Re-added deleted source files.
2014-05-04 14:37:55 +08:00
James Chen
066a6a3577
Update CHANGELOG [ci skip]
2014-03-04 22:11:50 +08:00
Ricardo Quesada
c386f88e32
Merge branch 'develop' into visit_draw_improved
...
Conflicts:
CHANGELOG
cocos/gui/UILayout.h
2014-03-03 11:27:42 -08:00
James Chen
aeecee86a4
Update CHANGELOG [ci skip]
2014-03-03 17:14:16 +08:00
James Chen
e0178ae886
Update CHANGELOG [ci skip]
2014-03-03 10:08:47 +08:00
Ricardo Quesada
cdc19eea1c
Nodes: setAdditionalTransform() receives a pointer
...
and not a const reference.
If the pointer is `NULL`, then it won't use the additionalTransform
2014-03-01 08:26:54 -08:00
Ricardo Quesada
3bacd45240
indentation fix in CHANGELOG
2014-02-28 21:47:11 -08:00
Ricardo Quesada
5a2697816f
Updates CHANGELOG
2014-02-28 16:41:37 -08:00
James Chen
2995f91b59
Update CHANGELOG [ci skip]
2014-02-28 16:38:05 +08:00
James Chen
7bfd180743
Update CHANGELOG [ci skip]
2014-02-28 10:19:37 +08:00
James Chen
5454a2db62
Update CHANGELOG [ci skip]
2014-02-27 21:56:31 +08:00
James Chen
cd35bc17e8
Update CHANGELOG [ci skip]
2014-02-27 21:53:31 +08:00
James Chen
c994b4ac72
Update CHANGELOG [ci skip]
2014-02-27 10:09:56 +08:00
James Chen
c86aeda15e
Update CHANGELOG [ci skip]
2014-02-26 11:59:08 +08:00
James Chen
f97f109fbc
Update CHANGELOG [ci skip]
2014-02-26 11:44:05 +08:00
James Chen
67361fc834
Update CHANGELOG [ci skip]
2014-02-26 11:41:20 +08:00
James Chen
364a6f8ef6
Update CHANGELOG [ci skip]
2014-02-25 18:32:18 +08:00
James Chen
304ccb73f1
Update CHANGELOG [ci skip]
2014-02-25 12:59:30 +08:00
James Chen
1823e890ac
Update CHANGELOG [ci skip]
2014-02-25 11:18:02 +08:00
James Chen
3a652fcaf5
Update CHANGELOG [ci skip]
2014-02-24 22:25:55 +08:00
James Chen
e310734af1
Update CHANGELOG [ci skip]
2014-02-24 21:50:17 +08:00
James Chen
618104d056
Update CHANGELOG [ci skip]
2014-02-24 20:14:55 +08:00
James Chen
8437e5f08b
Update CHANGELOG [ci skip]
2014-02-24 17:02:38 +08:00
Ricardo Quesada
04460750b8
culling working for both 2d and 3d projections
2014-02-23 01:09:52 -08:00
James Chen
e133556268
Update CHANGELOG [ci skip]
2014-02-21 19:18:24 +08:00
James Chen
7493f6aeea
Update CHANGELOG [ci skip]
2014-02-21 16:25:06 +08:00
James Chen
3c82c1a0b0
Update CHANGELOG [ci skip]
2014-02-21 16:21:29 +08:00
James Chen
dc64504043
Update CHANGELOG [ci skip]
2014-02-21 13:53:32 +08:00
James Chen
30c479220f
Update CHANGELOG [ci skip]
2014-02-21 11:39:07 +08:00
James Chen
32383a7cfd
Update CHANGELOG [ci skip]
2014-02-20 20:46:14 +08:00
James Chen
36611f9770
Update CHANGELOG [ci skip]
2014-02-20 19:35:05 +08:00
James Chen
6e07af03ae
Update CHANGELOG [ci skip]
2014-02-20 15:58:55 +08:00
James Chen
c0a075ee11
Update CHANGELOG [ci skip]
2014-02-20 15:48:22 +08:00
James Chen
47fd9aed26
Update CHANGELOG [ci skip]
2014-02-20 15:46:46 +08:00
James Chen
609b937b39
Update CHANGELOG [ci skip]
2014-02-18 15:59:56 +08:00
James Chen
cae938bd4e
Update CHANGELOG [ci skip]
2014-02-17 12:56:28 +08:00
James Chen
5ba38b1320
Update CHANGELOG [ci skip]
2014-02-14 11:20:34 +08:00
Éloi Rivard
8adca38efa
Linux javascript bindings support.
...
- Adds Linux javascript test.
- Adds Linux javascript template.
- Adds Travis CI test.
2014-02-13 01:42:14 +01:00
James Chen
130c326811
Update CHANGELOG [ci skip]
2014-02-12 17:42:45 +08:00
James Chen
3028d75600
Update CHANGELOG [ci skip]
2014-02-11 14:32:22 +08:00
Ricardo Quesada
907446d8d0
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into gl_vertices
2014-02-09 19:32:35 -08:00
Ricardo Quesada
24f655f9b1
Better 'vertices drawn'
2014-02-09 19:31:45 -08:00
James Chen
a1aa4b9b8a
Update CHANGELOG [ci skip]
2014-02-10 11:05:09 +08:00
James Chen
092784d7c5
Update CHANGELOG [ci skip]
2014-02-10 09:55:54 +08:00
Ricardo Quesada
560abe77c8
better Console support
...
* Arguments are passed as std::string
* Adds `resolution` and `projection` command
* `texture` and `fileutils` supports the `flush` argument
2014-02-08 12:46:44 -08:00
Ricardo Quesada
862500f99a
Renames EGLView -> GLView
2014-01-30 15:40:56 -08:00
Ricardo Quesada
4ed2e0d9d2
Merge branch 'develop' into glview_improvements
...
Conflicts:
CHANGELOG
cocos/2d/platform/linux/CCApplication.cpp
samples/Cpp/AssetsManagerTest/Classes/AppDelegate.cpp
samples/Cpp/HelloCpp/Classes/AppDelegate.cpp
samples/Cpp/HelloCpp/Classes/AppMacros.h
samples/Cpp/HelloCpp/proj.ios/AppController.mm
samples/Cpp/HelloCpp/proj.mac/main.cpp
samples/Cpp/SimpleGame/Classes/AppDelegate.cpp
samples/Cpp/SimpleGame/proj.ios/AppController.mm
samples/Cpp/SimpleGame/proj.mac/main.cpp
samples/Cpp/TestCpp/Classes/AppDelegate.h
samples/Javascript/CocosDragonJS/Classes/AppDelegate.cpp
samples/Javascript/CocosDragonJS/proj.ios/AppController.mm
samples/Javascript/CocosDragonJS/proj.mac/main.cpp
samples/Javascript/CrystalCraze/Classes/AppDelegate.cpp
samples/Javascript/CrystalCraze/proj.ios/AppController.mm
samples/Javascript/CrystalCraze/proj.mac/main.cpp
samples/Javascript/MoonWarriors/Classes/AppDelegate.cpp
samples/Javascript/MoonWarriors/proj.ios/AppController.mm
samples/Javascript/MoonWarriors/proj.mac/main.cpp
samples/Javascript/WatermelonWithMe/Classes/AppDelegate.cpp
samples/Javascript/WatermelonWithMe/proj.ios/AppController.mm
samples/Javascript/WatermelonWithMe/proj.mac/main.cpp
samples/Lua/HelloLua/Classes/AppDelegate.cpp
samples/Lua/HelloLua/proj.ios/AppController.mm
samples/Lua/HelloLua/proj.mac/main.cpp
2014-01-28 11:32:25 -08:00
James Chen
1c0eb3198d
Update CHANGELOG [ci skip]
2014-01-28 17:36:07 +08:00
James Chen
41e261509b
Update CHANGELOG [ci skip]
2014-01-28 16:33:01 +08:00
Ricardo Quesada
1f4ca2f0ad
Works on Android
2014-01-27 13:05:58 -08:00
James Chen
09197b65b0
Update CHANGELOG [ci skip]
2014-01-27 16:39:52 +08:00
James Chen
bbe156fe37
Update CHANGELOG [ci skip]
2014-01-27 16:12:31 +08:00
James Chen
0cc8050b73
Update CHANGELOG [ci skip]
2014-01-27 10:34:57 +08:00
minggo
c8bd7bc3a8
update changelog
2014-01-27 10:28:11 +08:00
James Chen
208939ab2a
Update CHANGELOG [ci skip]
2014-01-26 23:06:48 +08:00
James Chen
bd10afab60
Update CHANGELOG [ci skip]
2014-01-26 22:07:55 +08:00
James Chen
2934a09a2e
Update CHANGELOG [ci skip]
2014-01-26 14:47:34 +08:00
James Chen
243a995dc1
Update CHANGELOG [ci skip]
2014-01-26 14:43:29 +08:00
James Chen
cb7e2b5ece
Update CHANGELOG [ci skip]
2014-01-26 13:58:37 +08:00
James Chen
aa8cfb5f04
Update CHANGELOG [ci skip]
2014-01-24 11:58:09 +08:00
James Chen
3d113e1709
Update CHANGELOG [ci skip]
2014-01-24 11:42:23 +08:00
James Chen
afd11b43a4
Update CHANGELOG [ci skip]
2014-01-24 11:37:46 +08:00
James Chen
dfbb68a9e1
Update CHANGELOG [ci skip]
2014-01-24 11:37:23 +08:00
James Chen
38ae628dea
Update CHANGELOG [ci skip]
2014-01-23 18:03:31 +08:00
James Chen
1e39b59c8d
Update CHANGELOG [ci skip]
2014-01-23 11:56:59 +08:00
James Chen
5ede8088c8
Update CHANGELOG [ci skip]
2014-01-23 11:26:24 +08:00
James Chen
b4c2871496
Update CHANGELOG [ci skip]
2014-01-22 12:03:23 +08:00
James Chen
d87bbdd7bb
Update CHANGELOG [ci skip]
2014-01-22 11:41:57 +08:00
James Chen
7712ab7406
Update CHANGELOG [ci skip]
2014-01-21 17:56:24 +08:00
James Chen
87c3f533ea
Update CHANGELOG [ci skip]
2014-01-20 12:05:06 +08:00
Ricardo Quesada
5fcbf42356
GlobalZOrder is used for render priority...
...
...and not vertexZ
Node::setGlobalZOrder() is used to change that.
Node::setZOrder() -> Node::setLocalZOrder();
2014-01-18 11:38:06 -08:00
Ricardo Quesada
069a4fb170
Renderer: Don't sort z=0 Commands
...
If Command has z==0, then those elements won't be sorted.
Only Z !=0 will be sorted, and it will use `sort` instead of `stable_sort`
for z!=0, since it is faster
2014-01-17 23:10:04 -08:00
James Chen
08bb3b1060
Update CHANGELOG [ci skip]
2014-01-18 10:55:15 +08:00
Ricardo Quesada
8931d968c0
Renderer uses a float as a key
...
Instead of using a 64-bit int key with viewport, opaque and depth,
it only uses a 32-bit float with only the depth.
Saves time in:
- No need to convert the 32-bit float into 24-bit int
- keys are shorter
2014-01-17 16:08:29 -08:00
James Chen
54d587153b
Update CHANGELOG [ci skip]
2014-01-17 11:55:20 +08:00
Ricardo Quesada
cb9761125b
Renderer: When not using VAOs, call...
...
... glBufferData() to update the contents, and not glBufferSubData()
since the performance is better
2014-01-16 15:02:39 -08:00
Ricardo Quesada
ce633b44ab
Adds GL::activeTexture()
...
`GL::activeTexture()` is the cached version of `glActiveTexture`
All code must use it.
2014-01-16 13:44:18 -08:00