Commit Graph

1276 Commits

Author SHA1 Message Date
CocosRobot dc7795ce09 [ci skip][AUTO]: updating jsbinding automatically (#2509) 2020-05-29 17:07:25 +08:00
Yun Hsiao Wu b46d4cc89f more vulkan adaptations (#2479)
* vk: explicit location

* SDL main entry

* vk: unsuccessful attempt to workaround clearFlags

* vk: restore clear loadop

* vk: refine device feature framework

* gfx: fence

* overloads instead of default params

* fix ci compile issue

* fix ci compile issue

Co-authored-by: coulsonwang <coulsonwang@126.com>
2020-05-29 15:44:21 +08:00
CocosRobot aec6c9789d [ci skip][AUTO]: updating jsbinding automatically (#2502) 2020-05-29 10:45:34 +08:00
江战 082f432d2a remove unused code / 3dgfx (#2487)
* remove \*.mk

* support Makefile

* update default template

* fix path

* fix field type

* link resource instead of copy

* update external

* fix travis

* fix ssize_t macro

* fix macro 2
2020-05-28 11:24:14 +08:00
CocosRobot 89e0cab7bb [ci skip][AUTO]: updating jsbinding automatically (#2492) 2020-05-27 18:35:37 +08:00
CocosRobot fabdac2eaa [ci skip][AUTO]: updating jsbinding automatically (#2484) 2020-05-25 18:40:55 +08:00
CocosRobot bd0b835095 [ci skip][AUTO]: updating jsbinding automatically (#2480) 2020-05-22 09:53:34 +08:00
Yun Hsiao Wu b15292ebd7 gfx-vk: all c++ test cases cleared (#2461)
* vk: switch to VMA

* vk: remove viewport hacks

* vk: JSB bindings

* minor

* API change metal sync

* device.acquire

* fix ci
2020-05-20 17:51:44 +08:00
江战 7d5dcf4281 catch exception when ScriptEngine::evalString / 3dgfx (#2468)
* - catch exception when evalString
- fix CMake resource path / win32

* remove unused variables
2020-05-20 14:08:45 +08:00
CocosRobot 8091eee5c8 [ci skip][AUTO]: updating jsbinding automatically (#2469) 2020-05-20 14:06:57 +08:00
江战 1ab5d5ab80 3dgfx use v8 exposed GC function (#2463)
* use gc

* expose c

* reset _gcFunc
2020-05-19 14:00:18 +08:00
江战 725ee401e2 3dgfx update v8 to version 8.0 (#2446)
* update v8 api

* use cmake on android

* update ios target version for simulator

* keep ANativeActivity_onCreate

* update v8 on win32

* update resource dir for win32

* update external/config.json

* Update tools/travis-scripts/run-script.sh

* Update tools/travis-scripts/run-script.sh

* should not set ANDROID_PLATFORM manually
2020-05-15 14:20:47 +08:00
CocosRobot 39736efe79 [ci skip][AUTO]: updating jsbinding automatically (#2453) 2020-05-14 15:21:02 +08:00
江战 c2439db94e add v8 bytecode support (#2434)
* add bytecode

* update order & add comments

* Update cocos/scripting/js-bindings/jswrapper/v8/ScriptEngine.cpp
2020-05-14 15:08:26 +08:00
CocosRobot 7e2d182772 [AUTO][ci skip]: updating cocos2dx_files.json (#2437)
* [ci skip][AUTO]: updating jsbinding automatically

* [AUTO][ci skip]: updating cocos2dx_files.json
2020-05-12 11:19:52 +08:00
coulsonwang e97662e27c uncomment device motion (#2431) 2020-05-12 11:11:33 +08:00
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