Commit Graph

645 Commits

Author SHA1 Message Date
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 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 4e3270eb9e fix gfx jsb binding (#2246) 2020-03-09 10:28:20 +08:00
Arnold e3edc8fabc reduce warning (#2245) 2020-03-06 15:43:04 +08:00
minggo 3b7c5db424 Mac compiling running issue (#2241)
* fix compiling error

* fix crash on mac
2020-03-06 11:22:21 +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 d768451c0b Mac support gles (#2229)
* mac support gles

* update external version

* macos supports gles
2020-03-05 12:14:59 +08:00
coulsonwang 65cc5be5b2 rename to GFXDataArray (#2218) 2020-03-03 09:35:41 +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 e2728a7faa Android issue (#2209)
* fix android compile error

* fix android crash
2020-02-28 10:53:11 +08:00
minggo 91901a7b83 binding codes support intptr_t (#2204) 2020-02-27 16:04:01 +08:00
minggo 638454ad16 Image refactor (#2191)
* remove unneeded elements

* remove tga support

* remove tga support

* remove s3tc support

* remove unneeded codes

* use GFXFormat instead

* use GFX_FORMAT_INFO to simplify code

* remove dependence of Configuration

* don't include unneeded header files

* don't include unneeded header files
2020-02-26 15:35:38 +08:00
minggo bbeec956e9 Remove unneeded code (#2187) 2020-02-26 10:54:41 +08:00
minggo 743f91a3a8 remove some unneed codes (#2182) 2020-02-25 18:33:41 +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
minggo 40bed87679 Ios window handler (#2159)
* add window.windowHandler

* fix compiling error

* remove unneed macro
2020-02-21 11:02:38 +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 3df9e582b7 export structure & support reference (#2120)
* regenerate

* revert change

* update submodle
2020-02-14 11:51:00 +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 83e4eb9903 pointer lock API support (#2054) 2020-01-07 15:56:14 +08:00
Yun Hsiao Wu 841b73939f fix platform-specific GL constant (#2042) 2020-01-05 16:40:51 +08:00
Yun Hsiao Wu de79eb538f fix texImage2D binding (#2041)
* fix texImage2D binding

* fix depth bits query
2020-01-04 08:38:41 +08:00
minggo 6bb3ea86ce Float texture (#2032)
* convert internal format for float texture

* define some gl enum for windows and macOS

* make android/windows support float texture
2019-12-30 17:28:51 +08:00
pandamicro ceefb6ffa6 Some gl extension improvements (#2028) 2019-12-28 18:56:44 +08:00
Yun Hsiao Wu ff7103f94b don't specify shader version on PC (#2027) 2019-12-28 18:51:19 +08:00
Yun Hsiao Wu b125d210b4 fix shader version process (#2025) 2019-12-27 18:49:19 +08:00
pandamicro 412e69c73f Fix float texture usage (#2008)
* Fix float texture usage

* Add float texture support check for float texture submission
2019-12-24 15:46:08 +08:00
pandamicro 025b2e11bf Fix Blob request and support mac compilation (#1999)
* Support BLOB in XMLHttpRequest::ResponseType

* Remove useless mac sources
2019-12-20 14:46:18 +08:00
pandamicro d9ba1437fe Fix compilation issues 2019-11-01 18:29:27 +08:00
pandamicro 7aa8691ca3 Cleanup and add 3d renderer sources 2019-10-17 14:50:54 +08:00
cary 26dcb6340e Fix an error when SkinnedMeshRenderer is updated with Uniform. (#1876)
* Fix an error when SkinnedMeshRenderer is updated with Uniform.

* fix ci and modify custom properties

* change to all typed array
2019-10-12 19:53:32 +08:00
minggo 55450f2fd8 fix crash when restart application (#1865) 2019-10-09 11:43:35 +08:00
yinkaile 30b8ab3268 fixed check opengl extension (#1850) 2019-09-19 13:37:50 +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
minggo eb67111bbb fix potential overflow (#1795) 2019-08-13 17:59:45 +08:00
minggo 1e37ff1ec4 synchronize v2.1.3 to 2.2 2019-08-02 18:07:50 +08:00
cary 7576a53822 Fixed memory leak caused by HtmlCanvasElement not being released. (#1786)
* Fixed memory leak caused by HtmlCanvasElement not being released.

* modify unroot

* add comment
2019-08-02 10:21:48 +08:00
2youyouo2 178ab5efc1 Merge remote-tracking branch 'origin/v2.2.0' into v2.3.0 2019-07-26 10:54:20 +08:00
2youyouo2 8903b6031f change uniform key to hash 2019-07-25 17:55:19 +08:00
cary 88dd29cbb4 fix shadow error of 3d-model. (#1777)
* fix shadow error of 3d-model.

* add node judgement
2019-07-24 15:26:12 +08:00
owen d36d15a101 Fix spine texture index missing bug 2019-07-16 15:31:56 +08:00
2youyouo2 237928722d Merge branch 'v2.2.0' of github.com:cocos-creator/cocos2d-x-lite into v2.3.0-merge22
# Conflicts:
#	build/cocos2d_libs.xcodeproj/project.pbxproj
#	build/libcocos2d.vcxproj.filters
#	cocos/editor-support/MiddlewareManager.cpp
#	cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.cpp
#	cocos/editor-support/spine-creator-support/SkeletonAnimation.cpp
#	cocos/editor-support/spine-creator-support/SkeletonRenderer.cpp
#	cocos/editor-support/spine-creator-support/SkeletonRenderer.h
#	cocos/editor-support/spine/Array.c
#	cocos/editor-support/spine/BoundingBoxAttachment.c
#	cocos/editor-support/spine/ClippingAttachment.c
#	cocos/editor-support/spine/Event.c
#	cocos/editor-support/spine/HasRendererObject.h
#	cocos/editor-support/spine/MixBlend.h
#	cocos/editor-support/spine/PathAttachment.c
#	cocos/editor-support/spine/PathConstraintSpacingTimeline.h
#	cocos/editor-support/spine/RotateMode.h
#	cocos/editor-support/spine/ScaleTimeline.h
#	cocos/editor-support/spine/ShearTimeline.h
#	cocos/editor-support/spine/TextureLoader.h
#	cocos/editor-support/spine/Vertices.h
#	cocos/editor-support/spine/extension.h
#	cocos/scripting/js-bindings/auto/api/jsb_cocos2dx_spine_auto_api.js
#	cocos/scripting/js-bindings/auto/jsb_cocos2dx_spine_auto.cpp
#	cocos/scripting/js-bindings/auto/jsb_cocos2dx_spine_auto.hpp
#	cocos/scripting/js-bindings/manual/jsb_global.cpp
#	cocos/scripting/js-bindings/manual/jsb_spine_manual.cpp
#	licenses/LICENSE_spine.txt
#	templates/cocos2dx_files.json
2019-07-16 11:30:31 +08:00
yinkaile fedef39cd3 Merge pull request #25 from caryliu1999/v2.3.0-youyou-3dModel
Fix renderer error in shadow stage.
2019-07-11 10:18:31 +08:00
caryliu 54c038f89a Fix renderer error in shadow stage. 2019-07-10 21:11:05 +08:00
sunnylanwanjun 4cb0a61ef0 2.3.0 windows platform 2019-07-10 19:26:25 +08:00