Commit Graph

1260 Commits

Author SHA1 Message Date
coulsonwang 2a65ceef86 fix ci compile issue (#2433)
* fix CI compil issue

* fix CI compile issue

* fix ANDROID_PLATFORM

* fix macors
2020-05-11 15:15:02 +08:00
CocosRobot 3d96fc880b [ci skip][AUTO]: updating jsbinding automatically (#2422) 2020-05-06 11:47:21 +08:00
江战 880422ad28 [bugfix] crash during global object destructuring / 3d-gfx (#2411)
* fix crash

* fix order
2020-04-28 12:03:51 +08:00
Yun Hsiao Wu 16faa76fcf fix depth texture view format (#2404)
* windows build gles2 too by default

* fix depth texture view format

* fix ci
2020-04-26 17:25:42 +08:00
江战 7c140824f0 [bugfix] win32/macosx add sourcemap / 3d-gfx (#2403)
* add sourcemap

* fix platform macro
2020-04-26 09:59:15 +08:00
minggo 2082c30ea4 fix crash if enter background on Android (#2401)
* fix crash if enter background on Android

* break if recreate window error
2020-04-24 16:56:35 +08:00
CocosRobot fc206fb09b [ci skip][AUTO]: updating jsbinding automatically (#2387) 2020-04-20 17:27:08 +08:00
CocosRobot 9187f0bad8 [ci skip][AUTO]: updating jsbinding automatically (#2381) 2020-04-15 18:27:07 +08:00
coulsonwang 51a87d3254 revert attribute caching for jsb optimization (#2380)
* revert attribute caching for jsb optimization

* update binding generator
2020-04-15 18:17:23 +08:00
Arnold 79fc8353d1 3dgfx add CI & cmake (#2350)
* use-cmake

* revert: enable gles3 for android

* compile with cmake only
2020-04-14 13:58:45 +08:00
CocosRobot 4211fb4ffd [ci skip][AUTO]: updating jsbinding automatically (#2362) 2020-04-09 18:39:05 +08:00
Yun Hsiao Wu 318c28c1f0 numInstances binding (#2359) 2020-04-09 18:32:25 +08:00
minggo 9e7717c1c3 improve metal implementation (#2354) 2020-04-07 15:52:01 +08:00
CocosRobot 7dfaaed0a8 [ci skip][AUTO]: updating jsbinding automatically (#2351) 2020-04-03 10:00:49 +08:00
coulsonwang 31cc3c73ca prefix "__" to property (#2347)
* prefix __ to property

* update submodule
2020-04-03 09:53:21 +08:00
minggo 1b696d8504 use gles3 for all platforms (#2327) 2020-03-24 17:26:21 +08:00
minggo dd093db501 Mac set cursor (#2326)
* enable cursor setting

* set correct OS string for macOS
2020-03-24 16:17:05 +08:00
CocosRobot 282d01ecb1 [ci skip][AUTO]: updating jsbinding automatically (#2322) 2020-03-24 14:42:43 +08:00
minggo dd1054d45d use GLES3 on iOS (#2316)
* use GLES3 on iOS

* add GLSL300 version define

Co-authored-by: coulsonwang <coulsonwang@126.com>
2020-03-24 14:35:04 +08:00
CocosRobot 747a54b138 [ci skip][AUTO]: updating jsbinding automatically (#2310) 2020-03-19 18:39:07 +08:00
coulsonwang fab59fdff0 fix particle issue (#2308)
* fix particle issue

* keep GFXIndirectBuffer

* revert GFXIndirectBuffer
2020-03-19 18:28:04 +08:00
Arnold c5ab459e4c [win32] fix keyboard key codes (#2306) 2020-03-19 17:04:27 +08:00
minggo 62f994ba85 simplify codes (#2304) 2020-03-19 15:00:41 +08:00
CocosRobot dfa1634907 [ci skip][AUTO]: updating jsbinding automatically (#2303) 2020-03-19 14:51:00 +08:00
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