James Chen
|
da45e32ada
|
Removes unused files and code. (#1277)
|
2018-05-31 17:58:35 +08:00 |
|
James Chen
|
712173a8de
|
Supports DeviceMotionEvent and removes more unused code. (#1275)
* Binds Device class
* Removes ccFPSImage.c/h
* Updates Android.mk
* Supports DeviceMotionEvent and removes more unused code.
* Uses fprintf to implement SE_LOGD & SE_LOGE .
|
2018-05-31 14:08:20 +08:00 |
|
minggo
|
ccc8691029
|
fix crash when parsing Effect property (#1254)
|
2018-05-22 09:32:06 +08:00 |
|
James Chen
|
ee5faac763
|
Move logic of flipY and premultiplyAlpha from jsb_opengl_manual.cpp to CCGLUtils.cpp. (#1249)
* Native Renderer supports GL_UNPACK_FLIP_Y_WEBGL & GL_UNPACK_PREMULTIPLY_ALPHA_WEBGL.
And adds ccFlipYOrPremultiptyAlphaIfNeeded, ccIsUnpackFlipY, ccIsPremultiplyAlpha, ccPixelStorei GL utils.
* seval_to_TextureSubImageOption: uint16_t* -> uint32_t* since width * height * 4 may bigger than 65536 bytes.
* Move logic of flipY and premultiplyAlpha from jsb_opengl_manual.cpp to CCGLUtils.cpp.
* Reverts.
|
2018-05-18 15:53:28 +08:00 |
|
minggo
|
7a2a9374ec
|
Technique support setting COLOR4 and COLOR3 (#1246)
|
2018-05-17 16:15:51 +08:00 |
|
minggo
|
9ca6dac357
|
fix musk issue (#1231)
|
2018-05-08 11:21:41 +08:00 |
|
minggo
|
87a4301d8f
|
unify js_loadImage (#1210)
* fix Texture2D::addSubImage()
* unify the logic of js_loadImage
* simplify codes
|
2018-04-24 16:27:03 +08:00 |
|
minggo
|
d98484654f
|
Optimize (#1202)
* fix some bugs
* fix binding codes of Texture2D::updateSubImage()
|
2018-04-20 14:31:52 +08:00 |
|
James Chen
|
1fa4ea0e6f
|
Merge branch 'new-renderer' of git://github.com/cocos-creator/cocos2d-x-lite into runtime
# Conflicts:
# cocos/renderer/gfx/IndexBuffer.cpp
# cocos/renderer/gfx/VertexBuffer.cpp
|
2018-04-19 11:23:36 +08:00 |
|
minggo
|
0505ee928a
|
Optimize (#1199)
* optimize performace
* optimize performance
|
2018-04-18 17:47:46 +08:00 |
|
minggo
|
3113af6176
|
optimize performance (#1191)
|
2018-04-12 11:44:11 +08:00 |
|
James Chen
|
a750c0ec4c
|
More standard WebGL Binding.
WebGLRenderingContext, WebGLTexture, WebGLBuffer, WebGLRenderBuffer, WebGLFramebuffer, WebGLProgram, WebGLShader.
|
2018-04-08 21:32:43 +08:00 |
|
minggo
|
2ba3e815d2
|
h5 adapt (#1176)
|
2018-03-30 17:57:38 +08:00 |
|
minggo
|
f4e3f9e8f6
|
adapt h5 (#1170)
|
2018-03-28 09:47:05 +08:00 |
|
minggo
|
0be49352d0
|
H5 adapt merge (#1164)
* h5 adpator
* adapt to h5 engine
|
2018-03-23 15:26:09 +08:00 |
|
minggo
|
610658e5a6
|
h5 adpator (#1156)
|
2018-03-21 09:30:05 +08:00 |
|
James Chen
|
26e8259389
|
Merge branch 'new-renderer' of git://github.com/cocos-creator/cocos2d-x-lite into new-renderer
|
2018-03-12 15:34:45 +08:00 |
|
minggo
|
0d483a9b07
|
add back network (#1141)
* add back network
* add network back on windows
|
2018-03-09 16:20:48 +08:00 |
|
James Chen
|
b9f7b812fe
|
seval_to_EffectProperty and seval_to_std_vector_TechniqueParameter supports nullptr conversion.
|
2018-03-01 13:47:44 +08:00 |
|
minggo
|
802e48080e
|
New renderer (#1097)
* build work on mac
* build ok on iOS
* fix compiling error on android
* fix android link error
|
2018-02-08 10:40:29 +08:00 |
|
Jare Guo
|
d9bd3d763c
|
update license (#1089)
* updating license
* update license
|
2018-02-01 15:20:01 +08:00 |
|
James Chen
|
2e3883f097
|
[Android] Fixed compilation error while using APP_PLATFORM >= 22. (#1012)
* [Android] Fixed compilation error while using APP_PLATFORM >= 22.
* Don't use deprecated createUint8TypedArray.
|
2017-11-23 15:19:37 +08:00 |
|
James Chen
|
0a10b3b7f8
|
Fixes ccvalue_to_seval convertion function didn't consider some kinds of types. (#996)
|
2017-11-17 17:30:25 +08:00 |
|
James Chen
|
5050fb570b
|
Any kinds of se::Value should be able to be converted to std::string.
|
2017-11-17 13:52:43 +08:00 |
|
James Chen
|
4a61e1423f
|
Re-binds OpenGL interfaces. (#976)
* Adds opengl bindings code.
* Register OPENGL module.
* Updates Android.mk
* Updates win32 project configuration.
* Supports boolean -> integer conversion.
* glXXXXv count fix.
* GLNode needs to inherit from Node.
* Updates bindings.
* size fix in JSB_glGetUniformfv.
* JSB_glGetSupportedExtensions fix.
|
2017-11-14 18:05:14 +08:00 |
|
James Chen
|
8ae6d54df3
|
Spine conversion should use pointer instead of reference since it probably returns nullptr.
|
2017-10-20 10:01:04 +08:00 |
|
James Chen
|
1e436f79b4
|
se::HandleObject is stricter.
|
2017-10-09 10:14:29 +08:00 |
|
James Chen
|
8b1ba02f9f
|
Implements seval_to_TTFConfig, don't ignore createWithTTF and setTTFConfig in auto bindings.
|
2017-09-23 17:53:24 +08:00 |
|
2youyouo2
|
6a5012df16
|
remove cocostudio files
|
2017-09-19 15:29:32 +08:00 |
|
James Chen
|
bee4ec4f35
|
sptrackentry_to_seval should root js object.
|
2017-08-29 17:55:01 +08:00 |
|
James Chen
|
3e145b7d2a
|
Sync PR: https://github.com/cocos-creator/cocos2d-x-lite/pull/730
|
2017-08-14 16:46:38 +08:00 |
|
James Chen
|
e5eac44c0f
|
cleanup
|
2017-08-02 14:41:10 +08:00 |
|
James Chen
|
f80802f97e
|
more se::HandleObject use.
|
2017-07-31 16:18:01 +08:00 |
|
James Chen
|
854aa81c0d
|
JSB_PRECONDITION2->SE_PRECONDITION2
|
2017-07-31 10:57:59 +08:00 |
|
James Chen
|
10710cc407
|
switchToRoot -> root, switchToUnroot -> unroot.
|
2017-07-31 10:39:32 +08:00 |
|
James Chen
|
b8fe0d3674
|
Updates box2d bindings.
|
2017-07-07 15:16:27 +08:00 |
|
James Chen
|
733d12c849
|
remove unneeded code.
|
2017-07-03 14:34:52 +08:00 |
|
James Chen
|
d1a2e05ced
|
temp
|
2017-06-20 10:25:37 +08:00 |
|
James Chen
|
259bbbd6b2
|
updates.
|
2017-06-16 16:32:24 +08:00 |
|
James Chen
|
91359f1f75
|
first commit
|
2017-06-15 17:24:30 +08:00 |
|