Commit Graph

3800 Commits

Author SHA1 Message Date
CocosRobot d359bfcebc [AUTO][ci skip]: updating cocos2dx_files.json (#2291) 2020-03-18 15:26:32 +08:00
coulsonwang 3e69292f25 fix stencil cache issue (#2290) 2020-03-18 15:19:04 +08:00
minggo 5262853ccd Merge pull request #2286 from CocosRobot/update_js_bindings_1584502702
[ci skip][AUTO]: updating jsbinding automatically
2020-03-18 11:41:38 +08:00
CocosRobot 0ec364f30c [ci skip][AUTO]: updating jsbinding automatically 2020-03-18 03:38:40 +00:00
minggo 2f5584d4dc fix windowHander nullptr issue on mac (#2282)
* fix windowHander nullptr issue on mac

* add getWindow to fetch NSWindow on mac

* fix windowHandler
2020-03-18 11:37:20 +08:00
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
coulsonwang cf4751098b fix windowHandler 2020-03-18 10:36:56 +08:00
Arnold 90400c0beb [3d-gfx] GFXObject add virtual destructor (#2285)
* add virtual destructor

* remove empty row
2020-03-17 18:38:29 +08:00
coulsonwang 45ebc21ee8 add getWindow to fetch NSWindow on mac 2020-03-17 14:42:41 +08:00
coulsonwang 11371063df fix windowHander nullptr issue on mac 2020-03-17 14:10:24 +08:00
CocosRobot fd76a6999a [ci skip][AUTO]: updating jsbinding automatically (#2281) 2020-03-17 11:36:08 +08:00
coulsonwang bef04c6fc3 fix device pixel ratio (#2269)
* set device pixel ratio

* fix

* fix devicePixelRatio

* update review

* fix dpr

* remove unneeded code

* remove unneeed code

* fix

* remove getScrenScale
2020-03-17 11:29:48 +08:00
CocosRobot ef690a483b [AUTO][ci skip]: updating cocos2dx_files.json (#2277) 2020-03-16 14:34:21 +08:00
minggo 925a0a2d32 add GFXObject (#2276) 2020-03-16 14:26:55 +08:00
minggo 6ac071b6a5 convert to RGBA8 (#2274) 2020-03-13 17:40:20 +08:00
CocosRobot 00856bb2f6 [ci skip][AUTO]: updating jsbinding automatically (#2273) 2020-03-13 10:50:17 +08:00
minggo 57b11c32c3 remove auto bind property InputAssembler::vertexBuffers (#2272) 2020-03-13 10:30:29 +08:00
CocosRobot e0a89213dd [ci skip][AUTO]: updating jsbinding automatically (#2271) 2020-03-13 10:16:31 +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 b879561220 fix typo (#2266) 2020-03-11 10:21:45 +08:00
minggo a2615f9745 use v8 for all platforms (#2265) 2020-03-11 09:54:04 +08:00
coulsonwang 5dcf10c53d fix texture mipmap width and height (#2260)
* fix texture mipmap width and height

* fix
2020-03-10 15:53:03 +08:00
minggo d694a4297a fix gles3 viewport setting (#2263) 2020-03-10 15:50:05 +08:00
minggo 90a50812f5 fix wrong logic of setting viewport (#2259) 2020-03-10 13:58:49 +08:00
minggo 292b87d4f7 Ios adapt (#2257)
* use correct OpenGL ES SDK

* make sure View is created
2020-03-09 17:39:00 +08:00
CocosRobot af9b6192b1 [ci skip][AUTO]: updating jsbinding automatically (#2254) 2020-03-09 12:13:31 +08:00
minggo 80bc6f3928 update binding generator to fix typo (#2253) 2020-03-09 12:08:47 +08:00
CocosRobot 117f2b80e3 [ci skip][AUTO]: updating jsbinding automatically (#2252) 2020-03-09 11:57:18 +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 f88dc441c9 use uintptr_t for window handler (#2249) 2020-03-09 11:32:25 +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
CocosRobot 7056fbf641 [ci skip][AUTO]: updating jsbinding automatically (#2244) 2020-03-06 15:12:21 +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
minggo 3b7c5db424 Mac compiling running issue (#2241)
* fix compiling error

* fix crash on mac
2020-03-06 11:22:21 +08:00
CocosRobot 1b9388be4d [ci skip][AUTO]: updating jsbinding automatically (#2239) 2020-03-06 10:31:13 +08:00
Arnold f9e95af79b update submodule (#2238) 2020-03-06 10:23:52 +08:00
CocosRobot d727d381c2 [ci skip][AUTO]: updating jsbinding automatically (#2237) 2020-03-06 10:09:56 +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
CocosRobot 896b97ab82 [ci skip][AUTO]: updating jsbinding automatically (#2236) 2020-03-06 09:49:42 +08:00
minggo ddf8260120 reuse object (#2235) 2020-03-05 18:32:33 +08:00
minggo c6e9d76540 update submodule (#2232) 2020-03-05 18:19:37 +08:00
minggo 51a1918ba4 Mac touch key event (#2233)
* enable loop

* mac send keyboard event and mouse event to JS
2020-03-05 18:04:46 +08:00
minggo 92fc12d133 [AUTO][ci skip]: updating cocos2dx_files.json (#2230) 2020-03-05 14:14:04 +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
CocosRobot 1f8284c9b4 [ci skip][AUTO]: updating jsbinding automatically (#2223) 2020-03-03 17:01:35 +08:00
minggo f88f668370 update submodule (#2222) 2020-03-03 16:47:49 +08:00