Commit Graph

4804 Commits

Author SHA1 Message Date
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
pandamicro a679723f1b Fix game tick argument issue (#2217)
* Fix game tick argument issue

* Revert to original EventDispatcher implementation

* Remove useless include
2020-03-03 13:37:09 +08:00
coulsonwang 65cc5be5b2 rename to GFXDataArray (#2218) 2020-03-03 09:35:41 +08:00
CocosRobot c7d4803a86 [ci skip][AUTO]: updating jsbinding automatically (#2216) 2020-03-02 14:57:45 +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
coulsonwang 0e642c0c63 fix compile issue due to code refine (#2212)
* fix compile issue due to code refine
2020-03-02 11:56:15 +08:00
minggo ee0ca9a3be android bind window handler (#2210) 2020-02-28 14:37:16 +08:00
Arnold 6721aef2db set undefined if property no exists (#2206) 2020-02-28 11:54:14 +08:00
minggo e2728a7faa Android issue (#2209)
* fix android compile error

* fix android crash
2020-02-28 10:53:11 +08:00
CocosRobot 662566b773 [ci skip][AUTO]: updating jsbinding automatically (#2205) 2020-02-27 16:10:24 +08:00
minggo 91901a7b83 binding codes support intptr_t (#2204) 2020-02-27 16:04:01 +08:00
CocosRobot 5c55fa461f [AUTO][ci skip]: updating cocos2dx_files.json (#2201)
* [ci skip][AUTO]: updating jsbinding automatically

* [AUTO][ci skip]: updating cocos2dx_files.json
2020-02-27 13:36:47 +08:00
pandamicro 588167ac63 Bind GFXDevice (#2197) 2020-02-27 11:56:23 +08:00
minggo 4ad16a8328 fix binding issue (#2198) 2020-02-27 11:39:16 +08:00
minggo fe7e0d5491 Ios window handler (#2195)
* set window attribute first

* create view contorller before game object
2020-02-26 18:16:38 +08:00
minggo fb9c122827 Remove unneeded code (#2193)
* rmove unneeded codes

* fix compiling error

* remove unneeded file

* remove CCStdc related files
2020-02-26 16:11:32 +08:00
minggo 2584fb3807 Remove gl dependence (#2192)
* remove CCConfiguration

* remove gl related header files
2020-02-26 15:51:29 +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
Arnold 928d9880c8 update url (#2188) 2020-02-26 11:39:27 +08:00
minggo bbeec956e9 Remove unneeded code (#2187) 2020-02-26 10:54:41 +08:00
CocosRobot 02e525dbbc [AUTO][ci skip]: updating cocos2dx_files.json (#2184)
* [ci skip][AUTO]: updating jsbinding automatically

* [AUTO][ci skip]: updating cocos2dx_files.json
2020-02-26 09:23:52 +08:00
minggo 743f91a3a8 remove some unneed codes (#2182) 2020-02-25 18:33:41 +08:00
minggo dc9676a51f image remove tiff support (#2181) 2020-02-25 16:44:38 +08:00
minggo 7ac05e123f remove unneed codes (#2180) 2020-02-25 16:04:18 +08:00
coulsonwang c9b036afd8 fix crash issue in metal (#2178) 2020-02-25 14:38:49 +08:00
minggo b9c13b6a30 Android pause resume (#2179)
* remove unneed coces

* post onResume and on pause event
2020-02-25 14:35:48 +08:00
coulsonwang c5fdb1da96 fix crash due to missing color texture (#2177) 2020-02-25 13:41:32 +08:00
minggo dda8760df0 remove unneed codes (#2176)
* remove unneed codes

* remove unneed codes
2020-02-25 11:04:50 +08:00
minggo e693d0a237 get audio output sample rate and output frame count in C++ (#2175) 2020-02-24 18:14:00 +08:00