Commit Graph

1236 Commits

Author SHA1 Message Date
coulsonwang 32fd98017e Fix vector conversion (#2264)
* fix vector_to_seval

* fix

* remove some manual conversion, make it auto generate

* update bindingGenerator
2020-03-19 14:19:01 +08:00
Arnold 4743bfd379 3dgfx websocket add const fields for instance (#2299)
* websocket add const properties for instances

* fix macro
2020-03-19 13:55:20 +08:00
minggo 2d3010f546 Editbox (#2294)
* mac support editbox

* fix compiling/runtime issue for iOS/Android

* prevent handling touch event if it is prevented

* make editbox work

* fix effect of editbox on android
2020-03-19 13:46:31 +08:00
CocosRobot 09fe61bb9a [ci skip][AUTO]: updating jsbinding automatically (#2295) 2020-03-19 13:45:36 +08:00
Yun Hsiao Wu 366f76acec should update cache when binding array buffer (#2284)
* fix tri/dc count

* fix array buffer cache

* fix VAO routine

* fix windows pointer lock

* gfx instance count

* fix SDL window event handler

* fix profiler interface

* fix GL resource deletion

* fix state cache
2020-03-18 17:25:35 +08:00
CocosRobot 0ec364f30c [ci skip][AUTO]: updating jsbinding automatically 2020-03-18 03:38:40 +00: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
CocosRobot fd76a6999a [ci skip][AUTO]: updating jsbinding automatically (#2281) 2020-03-17 11:36:08 +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
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 a2615f9745 use v8 for all platforms (#2265) 2020-03-11 09:54:04 +08:00
CocosRobot af9b6192b1 [ci skip][AUTO]: updating jsbinding automatically (#2254) 2020-03-09 12:13:31 +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 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
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
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 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 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
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
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
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
CocosRobot 916b34adaa [ci skip][AUTO]: updating jsbinding automatically (#2170) 2020-02-24 15:29:29 +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
CocosRobot 96f71dd2d1 [ci skip][AUTO]: updating jsbinding automatically (#2163) 2020-02-21 11:46:17 +08:00
CocosRobot c16287f7fa [ci skip][AUTO]: updating jsbinding automatically (#2160) 2020-02-21 11:09:58 +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
CocosRobot e5d923c99f [ci skip][AUTO]: updating jsbinding automatically (#2158) 2020-02-21 10:22:29 +08:00