Commit Graph

17466 Commits

Author SHA1 Message Date
Yun Hsiao Wu b29259f118 fix procedural mesh vertex layout (#6745) 2020-05-26 14:09:21 +08:00
Leslie Leigh (李的序) ae097582cd Bump tfig@1.2.4 (#6742) 2020-05-26 11:19:03 +08:00
CocosRobot 94d0bc4bdd [AUTO][ci skip]: updating cocos2dx_files.json (#2485)
* [ci skip][AUTO]: updating jsbinding automatically

* [AUTO][ci skip]: updating cocos2dx_files.json
2020-05-26 09:51:49 +08:00
Myway 5c1d3fa370 fix typo (#6740)
* fix typo

* fixed serialize decorator

* fix serialize formerly
2020-05-25 20:53:12 +08:00
CocosRobot fabdac2eaa [ci skip][AUTO]: updating jsbinding automatically (#2484) 2020-05-25 18:40:55 +08:00
coulsonwang 6093b65ca2 fix metal buffer usage (#2477)
* fix metal buffer usage

* fix cmake

* synchronize the managed buffer
2020-05-25 18:28:08 +08:00
Yun Hsiao Wu b42de567af fix skinning model pose calc when missing joint nodes (#6721)
* fix skinning model pose calc when missing joint nodes

* fix camera.worldToScreen when world pos is behind near plane

* fix batched skinning model material instantiation
2020-05-25 18:05:52 +08:00
zheng han c801a4e3a6 export ccenum (#6714) 2020-05-25 17:59:34 +08:00
Leslie Leigh (李的序) fc07359b46 Add build-engine option "targets" (#6709) 2020-05-25 17:59:27 +08:00
ChiaNing abbdae70c0 webview remove (#6700) 2020-05-25 17:51:54 +08:00
JoneLau 39ff4fa132 fix undo bug for pageview (#6682) 2020-05-25 17:38:07 +08:00
Leslie Leigh (李的序) b531f78148 Fix a language semantic violation (#6674) 2020-05-25 17:35:48 +08:00
pandamicro a5c238dabb API translations in core (#6726)
* Add API translation for load pipeline

* Add API translation for core/data

* Fix decorator declarations

* API translation for scene graph

* Fix ci

* Fix ci

* Improve Eventify for event emit performance

* Fix ci

* improve format
2020-05-25 15:26:02 +08:00
Yun Hsiao Wu 8c1ee06416 profiler & splash screen works on Vulkan (#6731)
* gfx buffer init size shouldn't be 0

* fix splash screen

* fix profiler

* explicit attribute locations
2020-05-22 18:14:16 +08:00
coulsonwang ee86cbc4d3 not need to create texture when width or height is zero (#6646)
* not need create texture when width or heith is zero

* no need to reset texture when width or height is zero

* fix mipmap level

* should not create texture when mipmapLevel is zero
2020-05-22 18:03:49 +08:00
Leslie Leigh (李的序) 9306b0ba8f Allow some static member of class to be type (#6724) 2020-05-22 18:03:05 +08:00
CocosRobot bd0b835095 [ci skip][AUTO]: updating jsbinding automatically (#2480) 2020-05-22 09:53:34 +08:00
江战 0add0fb5d6 CI enable release builds for win32 / 3dgfx (#2475)
* enable release builds

* uppercase path for glsl/Public/ShaderLang.h

* add non quiet

* remove android debug build

* keep android debug
2020-05-22 09:45:46 +08:00
Leslie Leigh (李的序) ac3406082f Implements EventTarget in a better way (#6571)
* Implements EventTarget in a better way

* Fix

* Update

* Use Object instead of empty class

* Comment

* Revert "Use Object instead of empty class"

This reverts commit 3d41c70064d74c10a7b5ece2da5593ca9e8ac877.

* Eventful -> Eventify
2020-05-21 16:48:17 +08:00
troublemaker52025 b1efb51c3d Add forward-lighting (#6707)
* Add forward-lighting

# Conflicts:
#	cocos/core/pipeline/render-pipeline.ts

* Resolve conflicts

* Corresponding PR

* fix property location

* update description

* make cache

* Merge queue

* Update style

Co-authored-by: pandamicro <lphuabin@gmail.com>
2020-05-21 16:42:09 +08:00
ChiaNing e91bbfef44 gfx define bug fix for ETC2 (#6729) 2020-05-21 16:05:52 +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
JoneLau cc722a6ae0 fix warning about super.xxx = xxx (#6701) (#6718)
cherry pick branch 3d, link #6701
2020-05-20 10:52:14 +08:00
JoneLau db2cb88678 fix warning about super.xxx = xxx (#6701) 2020-05-20 10:20:50 +08:00
minggo c471c80120 Not record command buffer in submodel (#6713)
* not use secondary buffer

* not record render commands in sub model
Will generate render commands in render stage.

* remove command buffers

* fix ci

* remove unneeded space

* remove unneeded space

* invoke super.destroy()
2020-05-19 18:38:24 +08:00
coulsonwang 6e588895a7 set clear action for metal attachments (#2451)
* set clear action for metal attachments

* update review
2020-05-19 14:23:31 +08:00
江战 f0d2b6d268 update (#2459) 2020-05-19 14:21:14 +08:00
江战 1748a533a7 init pthread key p_key (#2460) 2020-05-19 14:02:12 +08:00
江战 1ab5d5ab80 3dgfx use v8 exposed GC function (#2463)
* use gc

* expose c

* reset _gcFunc
2020-05-19 14:00:18 +08:00
minggo 515bcd6df5 not clear ia information every frame (#6708)
* not clear ia data
i do not know why clear() is invoked every frame, so if clear ia data here, then render stage can not get correct ia data

* remove unneeded variables
as these informations are record in ia.
2020-05-19 12:42:02 +08:00
Yun Hsiao Wu e1c145a10d update gfx interface (#6705) 2020-05-19 09:54:00 +08:00
Leslie Leigh (李的序) dc16ecfbd8 Lint: @typescript-eslint/array-type (#6695) 2020-05-18 19:11:14 +08:00
JoneLau 53e758356a property name synchronization (#6681) 2020-05-18 17:55:33 +08:00
Yun Hsiao Wu 3e1752d485 no need to maintain both buffers when instancing (#6703) 2020-05-18 10:30:53 +08:00
cary 4a1e9c14e7 Optimize the creation and memory of the runtime particle system. (#6660) 2020-05-17 13:23:28 +08:00
JoneLau 3fb6490a64 fixed the error in the clear operation (#6683) 2020-05-17 12:55:16 +08:00
ChiaNing 1ff503bbf6 components help doc update (#6690)
* components help doc update

* webview remove
2020-05-17 12:50:52 +08:00
Yun Hsiao Wu dfaf43d732 planar shadow instancing support (#6692)
* refresh instanced attr on material update

* fix local binding check for builtin materials

* planar shadow instancing support
2020-05-17 12:48:31 +08:00
minggo 1aee1afddc not share InputAssembler object across UIDrawBatch objects (#6694)
* not share InputAssembler object across UIDrawBatch objects

* remove unneeded spaces

* UIDrawBatch.bufferBatch may return null

* set null after destroy object

* set attributes to null when destroyed
2020-05-17 12:24:12 +08:00
CocosRobot 21d53cdf0c [AUTO][ci skip]: updating cocos2dx_files.json (#2456) 2020-05-15 14:31:12 +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
ChiaNing 65ab2b9bf4 Create spriteframe function change (#6693)
* create spriteframe function change

* name change
2020-05-15 14:04:44 +08:00
ChiaNing 2044c6a8da create spriteframe function add (#6687)
* create spriteframe function add

* name change
2020-05-15 11:15:27 +08:00
ChiaNing a1512a099a widget lock value add (#6655)
* widget value lock

* remove change to editor

* editorOnly add
2020-05-14 17:45:19 +08:00
Leslie Leigh (李的序) 5e2adea787 Rename internal usages of global variable 'cc' into 'legacyGlobalExpo… (#6680)
* Rename internal usages of global variable 'cc' into 'legacyGlobalExports'

* Fix CI

* Rename 'legacyGlobalExports' -> 'legacyCC'
2020-05-14 15:46:45 +08:00
ChiaNing 826d53d9b0 compressedTexImage2D function change for compress texture (#6685)
* compressedTexImage2D function change for compress texture

* update
2020-05-14 15:34:18 +08:00
CocosRobot 3e7fc385ba [AUTO][ci skip]: updating cocos2dx_files.json (#2454)
* [ci skip][AUTO]: updating jsbinding automatically

* [AUTO][ci skip]: updating cocos2dx_files.json
2020-05-14 15:21:21 +08:00
CocosRobot 39736efe79 [ci skip][AUTO]: updating jsbinding automatically (#2453) 2020-05-14 15:21:02 +08:00