Commit Graph

502 Commits

Author SHA1 Message Date
Arnold ce1cd53386 [gfx] win32 adaptation (#2270)
* update for windows

* update ref location

* update external

* revert debug info

* fix include order

* fix template

* fix buffer

* remove CCStdC-win32*
2020-03-18 11:35:40 +08:00
minggo 925a0a2d32 add GFXObject (#2276) 2020-03-16 14:26:55 +08:00
minggo 57b11c32c3 remove auto bind property InputAssembler::vertexBuffers (#2272) 2020-03-13 10:30:29 +08:00
Arnold eebc0bf051 [bugfix] use after free & fix travis (#2268)
* fix use after free

* fix travis

* fix log
2020-03-13 09:35:16 +08:00
minggo 60bcebefd6 Manual bind gfx input assember functions (#2267)
* add missing function

* manual binding some functions
2020-03-11 18:24:56 +08:00
minggo 80bc6f3928 update binding generator to fix typo (#2253) 2020-03-09 12:08:47 +08:00
minggo b220ff2c5a Window handler type (#2251)
* change window handler type to uintptr_t

* convert uintptr_t to JS
2020-03-09 11:51:46 +08:00
minggo fa511447e3 Android issue (#2247)
* change window handler to uintptr_t

* fix compiling error
2020-03-09 11:21:07 +08:00
coulsonwang f1b2a02599 Rename getter (#2243)
* rename getter attribute

* fix
2020-03-06 15:02:54 +08:00
Arnold 557dfe656e fix captialize (#2242) 2020-03-06 11:56:16 +08:00
Arnold f9e95af79b update submodule (#2238) 2020-03-06 10:23:52 +08:00
pandamicro 398ae74079 Fix gfx binding issues (#2227)
* Add GLES2Window binding

* Add GFXBuffer update binding

* Fix array operation issue in manual binding

* Add GFXCommandAllocator binding

* Remove skip of getter function bindings

* Add js_gfx_GFXPipelineLayout_get_layouts binding

* Manual bind GFXBlendState targets getter

* Make GFXCommandBuffer::beginRenderPass bindable

* remove count usage

* fix

* Fix CommandBuffer::execute issues

* Add getter setter bindings

* Open setPreferredFramesPerSecond binding with empty impl

Co-authored-by: coulsonwang <coulsonwang@126.com>
2020-03-06 09:52:47 +08:00
minggo c6e9d76540 update submodule (#2232) 2020-03-05 18:19:37 +08:00
minggo f88f668370 update submodule (#2222) 2020-03-03 16:47:49 +08:00
coulsonwang 18867a55ff fix copyBuffersToTexture (#2211)
* fix copyBuffersToTexture

* add jsb binding

* Fix GLES2Device copyBuffersToTexture bindings

* Fix GFXArrayBufferView (to GFXBuffers) naming issue

* Add Device::copyTexImagesToTexture binding

* rename to GFXArrayBuffer

Co-authored-by: pandamicro <lphuabin@gmail.com>
2020-03-02 14:51:11 +08:00
minggo 91901a7b83 binding codes support intptr_t (#2204) 2020-02-27 16:04:01 +08:00
pandamicro 588167ac63 Bind GFXDevice (#2197) 2020-02-27 11:56:23 +08:00
coulsonwang fe9c986bb1 update submodule (#2168) 2020-02-24 15:22:11 +08:00
coulsonwang 693ce24d04 fix 3d-gfx jsb compile issue (#2166)
* add gfx auto and manual files

* fix 3d-gfx jsb compile issue
2020-02-24 14:59:15 +08:00
Arnold e9e93a1528 update submodule (#2162) 2020-02-21 11:30:12 +08:00
minggo 40bed87679 Ios window handler (#2159)
* add window.windowHandler

* fix compiling error

* remove unneed macro
2020-02-21 11:02:38 +08:00
Arnold ed24a2b1e5 update submodule (#2157) 2020-02-21 10:15:35 +08:00
coulsonwang b95b431a9b fix gfx attribute renaming (#2153)
* fix gfx attribute renaming

* update review

* fix GLES2 GLES3 attribute naming

* fix some renaming
2020-02-21 09:19:55 +08:00
coulsonwang b5749ac0fa manual bind GFXSubPass (#2141)
* manual bind GFXSubPass

* update review

* update bindings-generator

* fix namespace
2020-02-18 14:10:43 +08:00
Arnold defe8b5c95 update submodule (#2135) 2020-02-17 12:11:19 +08:00
coulsonwang 1478da7a42 add gfx structure to gfx.ini (#2133) 2020-02-17 11:09:02 +08:00
Arnold 3df9e582b7 export structure & support reference (#2120)
* regenerate

* revert change

* update submodle
2020-02-14 11:51:00 +08:00
minggo 445a2c883e fix compiling error (#2113)
id is a keyword in objective-c
2020-02-11 14:48:20 +08:00
coulsonwang 61b2267478 [GFX] fix gfx naming (#2105)
* rename Initialize to initialize

* rename Resize to resize

* rename Update to update

* rename device_ to _device

* rename title_ to _title

* rename GFXWindow members naming

* name width & height

* name width & height

* rename native width & height

* rename format

* rename some class members

* rename GFXWindow some members

* rename GFXWindow function name and add skip functions

* fix GFXContext naming

* fix GFXBindingLayout renaming

* fix GFXBuffer renaming

* fix GFXCommandBuffer renaming

* fix GFXFramebuffer renaming

* fix GFXInputAssembler renaming

* fix GFXPipelineLayout renaming

* fix GFXPipelineState renaming

* fix GFXRenderPass renaming

* fix GFXSampler renaming

* fix GFXShader renaming

* fix GFXTexture renaming

* fix GFXTextureView renaming

* add skip
2020-02-10 11:28:26 +08:00
coulsonwang 12d202333c fix GFX naming issue (#2098)
* fix GFX naming issue

* use const reference for string

* fix

* fix GFXDevice naming

* fix GFXCommandAllocator naming

* fix GFXCommandPool naming

* apply GFXCommandPool naming

* fix MTLDevice naming

* fix MTLCommandAllocator naming

* add skip

* fix compile issue
2020-01-20 17:50:40 +08:00
minggo 1bb0c717d0 fix macro redefine warning of platform defination (#2099) 2020-01-20 15:12:49 +08:00
minggo c3d8ea6242 Gfx binding (#2096)
* add sdkwrappter back

* add gfx binding codes back

* revert some debug code

* revert some debug code
2020-01-19 14:30:57 +08:00
minggo 2448fc74b2 refactor iOS codes (#2075) 2020-01-13 15:29:27 +08:00
minggo 1f0019b76c ios integrate gfx (#2072) 2020-01-13 09:57:50 +08:00
Yun Hsiao Wu 2531a1bd9a gfx-gles2 js binding (#2066) 2020-01-10 09:18:48 +08:00
pandamicro 4d75340e30 Import 3d gfx and generate auto bindings 2019-10-29 14:10:11 +08:00
吴智明 74f9db7ec0 update sub module cocos2d-console to latest version (#1883) 2019-10-15 16:12:14 +08:00
PP 0ab1197c27 refine pause playing audio when enter background (#1875)
* Revert "Pause music when app enter background (#1849)"

This reverts commit 7a24ee3377.

* refine pause playing audio when enter background
2019-10-12 17:02:50 +08:00
cary 70a2134fb4 Fix the display error of the 3D node in the native platform. (#1868)
* Fix the display error of the 3D node in the native platform.

* Modify the matrix calculation of 3D nodes.
2019-10-12 11:29:48 +08:00
cary 887eec1f4d Modify the 3D sprite to use AssemblerSprite. (#1861) 2019-09-30 09:56:45 +08:00
owen 0cd71aefb9 V2.2.0 native Spine and DragonBones cache mode (#1844)
* Spine cache

* fix dragonbones yDown bug

* Spine cache mode and fix dragonBones yDown bug

* spine cache mode

* dragonbones cache mode

* dragonbones cache mode

* dragonbones cache mode

* spine dragonbones binding

* dragonbones cache mode

* spine dragonbones binding

* optimize dragonbones event

* update dragonbones binding

* dragonbones remove cache

* dragonbones cache mode

* update dragonbones binding

* dragonbones cache mode

* Fix some cache bug

* fix some cache mode bug

* optimize cache mode

* Fix update list order bug

* Fix indent issue

* revert bindings-generator

* Fix intent issue
2019-09-23 10:19:13 +08:00
Arnold 7a24ee3377 Pause music when app enter background (#1849)
invoke AudioEngine::pauseAll when app enter background
2019-09-18 13:52:28 +08:00
cary 34159f3c30 Fix bugs of the model orientation on the native platform. (#1836)
* Fix bugs of the model orientation on the native platform.

* Add camera api export.

* add android change

* modify liensence
2019-09-16 15:02:37 +08:00
Arnold 5dddbcf4d0 fix travis push failed (#1834)
* add scripts

* --no-recurse-submodules
2019-09-05 15:58:30 +08:00
Jare Guo dcf8ca4199 Merge remote-tracking branch 'fireball/v2.1.3' into v2.2.0-release
# Conflicts:
#	cocos/scripting/js-bindings/auto/jsb_cocos2dx_spine_auto.cpp
2019-09-04 13:44:23 +08:00
owen 2c31d09fa5 Fix 213 spine auto file generate error (#1828) 2019-09-04 11:11:27 +08:00
Arnold 1914ef6d17 update binding generator (#1819) 2019-08-30 18:42:51 +08:00
Arnold e29a43baff fix travis (#1818) 2019-08-30 18:07:24 +08:00
Arnold 079a0587d6 fix travis (#1810)
* add liclang libraries & update script

* update submodule bindings-generator
2019-08-29 10:52:37 +08:00
Cocos Robot 99bec00fd5 Sync branch v2.2.0 to develop 2019-08-02 18:17:55 +08:00