Commit Graph

356 Commits

Author SHA1 Message Date
Yun Hsiao Wu 29b6aded0d unified local DS layout (#7862)
* unified local DS layout

* minor
2020-11-25 14:02:14 +08:00
cary 9fef80571f Separate the runtime data of the effect in program-lib. (#7842)
* Separate the runtime data of the effect in program-lib.

* add space
2020-11-24 10:23:59 +08:00
troublemaker52025 e4e5ba72a0 Refactoring shadow ubo submit (#7824)
* refactorning shadow UBO submit

* update

* update

* add destory()

* Conflict effects resolution

* fix planar shadow shader error  &&  fix CC_ShadowMap no bounding error

* update
2020-11-20 09:34:15 +08:00
cary 2480d26cf2 Fix shadow map not binding. (#7829) 2020-11-20 09:31:38 +08:00
江战 1acfbd1c70 [3.0] add DragonBones (#7831) 2020-11-20 09:31:07 +08:00
cary b266d9ef03 Modify the initialization of scene global. (#7513)
* Modify the initialization of scene global.

* delete type of fog

* fix render error

* merge upstream 3d

* modify fog chunk

* commit effect
2020-11-19 18:08:32 +08:00
zheng han 720d372bf7 3d rename class under geometry namespace (#7816) 2020-11-19 11:58:33 +08:00
Santy-Wang f26782ac2c fix iOS 14 performance issue (#7815) 2020-11-18 14:55:41 +08:00
minggo 14f81675ff fix circle dependence (#7808) 2020-11-18 10:41:45 +08:00
troublemaker52025 acbefafe6a add planar shadow for C++ (#7801) 2020-11-17 16:29:41 +08:00
cary cec8460cae Fix the frame rate problem of TestList on native. (#7786) 2020-11-13 16:58:40 +08:00
cary 607ca8a2b4 Add USE_LOCAL processing in ui component batch. (#7777)
* Add USE_LOCAL processing in ui component batch.

* fix ci
2020-11-12 17:40:18 +08:00
Yun Hsiao Wu 53112da281 fix skinning model world bound update (#7775) 2020-11-12 15:03:53 +08:00
江战 63bf61315e [3.0] Spine support (#7765)
* add spine support

* recompile effects

* fix init

* save

* log error

* recompile effects
2020-11-12 15:01:33 +08:00
ChiaNing f3d62ce258 mask invert bug fix & uiComp check (#7758)
* mask invert bug fix

* uiComp check
2020-11-11 19:13:37 +08:00
troublemaker52025 3c669c4d9f Add spot light shadow for 3D (#7643) 2020-11-11 10:15:42 +08:00
pandamicro b162e21a93 Update license and API language declaration (#7750)
* Update licenses

* Update license for audio

* Update license for core/3d

* Update license for animation, assets, asset-manager, components, data

* update license for event, geometry, gfx

* update license for core modules

math, memop, pipeline, platform, primitive, renderer, scene-graph, utils, value-types

* Update license for core

* Update license for particle and particle-2d

* Update license for particle part2

* Update license for physics and physics-2d

* Update license for all modules in cocos

* Update license for exports

* Fix API doc language declaration
2020-11-10 17:36:31 +08:00
Yun Hsiao Wu 91ba93c7f1 update internal effect names (#7744) 2020-11-10 11:36:25 +08:00
zheng han b5770d3f69 fix pass error (#7735) 2020-11-09 19:54:35 +08:00
troublemaker52025 a91c502082 fix merge lost for 3.0 (#7742) 2020-11-09 19:50:34 +08:00
Yun Hsiao Wu 8d2ef1fe51 fix skybox effect (#7740)
* fix skybox

* fix subMesh.iaInfo
2020-11-09 17:55:55 +08:00
Yun Hsiao Wu 32598c25cb switch to eslint (#7727)
* switch to eslint

* eslint: extends airbnb
2020-11-09 10:19:12 +08:00
cary 449e250d7f Fix invalid buffer pool handle error. (#7718) 2020-11-07 11:36:41 +08:00
minggo 956a5b2cc7 Reduce jsb (#7723)
* use JS BufferInfo

* use JS TextureViewInfo

* use JS TextureInfo

* cache some data to reduce JSB invoking

* cached buffer usage

* add RasterizerState.depthBiasEnabled

* use JS DescriptorSetInfo

* add RasterizerState.depthBiasEnabled
2020-11-06 17:33:02 +08:00
minggo 69f6f2bf1a use buffer pool instead (#7714) 2020-11-06 13:38:11 +08:00
minggo 588025afe3 Reduce jsb (#7700)
* use JS version of GFXRect/GFXViewport/GFXColor/GFXOffset/GFXExtent/GFXTextureSubres/GFXTextureCopy/GFXBufferTexrureCopy
* use BufferPool for BlendState/BlendTarget/DepthStencilState/ResterizerState
2020-11-05 18:17:18 +08:00
Yun Hsiao Wu 3e8b6ec771 raw object pool (#7683)
* raw object pool

* fix worldToScreen

* fix mesh.merge on native

* inline some adaptation computations

* enable scissor tests by default
2020-11-05 10:56:59 +08:00
coulsonwang 0030867f63 fix native batched buffer (#7682) 2020-11-04 16:17:27 +08:00
pandamicro 3068956648 Refactor gfx module naming convention (#7663)
* Remove GFX prefix in gfx module

* Full deprecation for old GFX APIs

* export gfx module

* Fix issues and make deprecated exports backward compatible

* Adaptation in engine modules for gfx

* Fix ci

* fix ci
2020-11-02 09:49:50 +08:00
JoneLau 000dd93438 remove errors caused by useless code (#7654) 2020-10-31 19:52:44 +08:00
ChiaNing 6ed0e81cca new UI custom material & use hash check merge (#7649)
* new UI custom material & use hash check merge

* update

* update

* apidoc
2020-10-31 13:34:15 +08:00
cary 5243653fa7 Fix pipeline error in editor. (#7636)
* Fix pipeline error in editor.

* delete destroy in ui model
2020-10-31 12:52:17 +08:00
pandamicro b925dc7f62 Dynamic initialize shaders (#7647)
Co-authored-by: SB <leslieleigh@outlook.com>
2020-10-31 11:45:42 +08:00
coulsonwang 66b8c25574 fix lighting for native (#7637) 2020-10-31 09:49:00 +08:00
Yun Hsiao Wu 7591bbbb20 misc bug fixes (#7644) 2020-10-30 20:33:04 +08:00
pandamicro b67090be4f Revert "Dynamic initialize shaders (#7642)" (#7646)
This reverts commit e3577cf510.
2020-10-30 20:02:16 +08:00
Leslie Leigh (李的序) e3577cf510 Dynamic initialize shaders (#7642) 2020-10-30 19:24:33 +08:00
troublemaker52025 1020378d71 update memory pool for shadow (#7606) 2020-10-30 16:19:21 +08:00
江战 a933edb94f Merge TiledMap from 2.x (#7610)
* Save all

* fix uv

* fix object groups

* fix tintcolor

* add method modifier

* tslint

* replace ccCOlor

* add import warning

* rename

* add comments

* add comments

* update zlib

* Save

* pixel offset

* update tests/general/sealed-global-variables.json

* exclude from cc

* remove _walkGen

* update setScale & setRotationFromEuler
2020-10-30 10:35:52 +08:00
Yun Hsiao Wu c60a6ed251 pre-rotation adaptation: dynamics (#7625)
handle runtime orientation chanegs too
2020-10-29 13:45:16 +08:00
ChiaNing 9caad4d37a pass overridePipelineStates change (#7617) 2020-10-29 13:40:11 +08:00
coulsonwang 663aa1bf52 fix native memory pool (#7615) 2020-10-28 18:24:23 +08:00
Knox 37fec6341f sync 2d (Update the url links) (#7613) 2020-10-28 17:06:27 +08:00
JoneLau 351b6480e4 add image stencil in mask (#7598)
* add image stencil in mask

* update
2020-10-28 12:13:53 +08:00
Yun Hsiao Wu a318283a41 fix pre-rotation adaptation (#7607) 2020-10-28 10:28:21 +08:00
Leslie Leigh (李的序) f99240f664 @cocos/build-engine: add option to remove deprecated features (#7603) 2020-10-27 18:28:58 +08:00
cary 6bcc7933a9 Add motion streak and particle 2d. (#7588)
* Add motion streak and particle 2d.

* fix buffer error

* modify comment error

* fix ci

* fix comment

* modify some comment
2020-10-27 11:48:17 +08:00
ChiaNing ca87207d7f UI stencil cache add (#7595)
* stencil cache add

* function format change

* format change
2020-10-26 19:04:23 +08:00
ChiaNing b10e8c5bcd DescriptorSet Cache add (#7591)
* DescriptorSet Cache add

* commitComp function format change

* api in texture-base remove
2020-10-26 16:13:41 +08:00
coulsonwang f875a56e02 add sphere and spot light handle (#7587) 2020-10-26 15:25:21 +08:00