Commit Graph

19 Commits

Author SHA1 Message Date
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
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
Yun Hsiao Wu d61330ee03 discrete descriptor set layout bindings (#7536)
* allow discrete descriptor set layout bindings

* specialize local DS layout

* fix binding indices mapping

* fix shadows

* UI: update buffer after device.acquire

* update shadow phase name

* ext blend minmax support

* fix splash screen on native
2020-10-20 15:08:17 +08:00
Yun Hsiao Wu c2e3de2caa GFX: public interfaces (#7444)
* public interfaces: render pass, IA, PSO

* public interfaces: Queue, Sampler, Shader, DSLayout

* public interfaces: DS, CB, Texture, Buffer, Device

* public interfaces: other supporting structs

* fix framebuffer state cache
2020-09-28 11:32:47 +08:00
minggo 6e71962fb9 merge v1.2 2020-09-10 11:41:20 +08:00
Yun Hsiao Wu 39eac4646f texture unit opt (#7298)
* texture unit opt

* type checks

* circular ref fix

* plane as vec4 compatible

* cache IA cross render passes
2020-09-04 14:07:49 +08:00
Yun Hsiao Wu f1c7f41c6c fix uniform1iv (#7300) 2020-09-03 19:00:38 +08:00
Yun Hsiao Wu 1fb08a521c more misc fixes (#7254)
* fix IA reuse

* better instanced/batched buffer submission

* UI: don't destroy IA every frame!

* passes need to be updated regardless of model.node

* restore splash screen workaround

* use class to declare draw info

* even even more type checks for object pools

* should bind an envmap regardless of activeness of skybox
2020-09-01 12:27:47 +08:00
Yun Hsiao Wu c451c8a4e8 bindless textures (#7231)
* bindless textures

* unified pass UBOs

* remove gl.getActiveUniform in WebGL2
2020-08-28 10:18:34 +08:00
Yun Hsiao Wu ba8e49eff8 more adaptations (#7205) 2020-08-24 12:02:27 +08:00
Yun Hsiao Wu 742989cce9 keep pipeline layouts for effect overrides (#7152) 2020-08-17 17:33:26 +08:00
Yun Hsiao Wu dfc3d141f2 GFX Descriptor Set (#7101)
* gfx: descriptor sets

* gfx: descriptor set, singular

* better structure

* adapt upper layers: first pass

finally all compiler errors cleared.

OKAY IT'S HAPPENING EVERYBODY STAY THE ****ING CALM

* adapt upper layers: second pass

THERE AND BACK AGAIN

* unified light pass & shadow shader

* gfx: descriptor set & pipeline layout

* light pass: better structure

* light pass: dynamic uniform

* even more type checking for memory pools

* Fix particleSystem and lineComponent.

* delete comment

* guard pool init param

* Fix trail module error.

* delete space

* light pass: instancing & batching support

* don't polyfill gfx stuff inside EffectAsset

* better light pass structure

* fix spot light culling

Co-authored-by: caryliu <caryliu1999@gmail.com>
2020-08-13 18:21:15 +08:00
pandamicro e09efa33c2 Fix ci 2020-08-13 11:07:28 +08:00
Yun Hsiao Wu afeb83e9a6 native pools (#7028) 2020-08-04 14:14:56 +08:00
Yun Hsiao Wu 4401e9fb2e remove PipelineLayout/CommandAllocator (#6919)
* remove gfx pipeline layout

* remove gfx command allocator
2020-06-24 15:16:30 +08:00
minggo 10377de263 Remove texture view (#6830)
* fix conflict

* support creating texture view

* remove GFXTextureViewType

* set texture type to cube

* set status

* fix comment

* IGFXFramebufferInfo add mipmap level element

* set mipmap levels for all attachments

* make mipmap level optional

* fix comments
2020-06-09 11:23:34 +08:00
Yun Hsiao Wu 3513319c1e copyBuffersToTexture using ArrayBufferViews (#5945) 2019-12-23 16:10:46 +08:00
Yun Hsiao Wu aa11efe0c7 misc pipeline fixes (#5661)
* shorter shader name

* remove global GL ref

* fix shadow disappear after undo
2019-10-31 17:00:37 +08:00
pandamicro 9f89b0ef24 New module division (#5285)
* Temp

* temp

* move ui core

* Arrange ui and terrain

* Fix import path for all modules except core

* Move primitives into core

* Fix debug.getError

* Move audio-downloader to audio module

* export game from game.ts

* Migrate load-pipeline to ts

* Fix core modules and cleanup

* Move animation into core

* Fix module exports

* Fix director issue

* Remove most cc.director usage

* Fix ts issues

* Fix issues for unit test and editor running

* Revert removing deprecated import

* tweaks

* tweaks

* Fix ci

* Fix ci

* Add modules in module division

* Upgrade coordinates-converts-utils
2019-08-30 11:35:22 +08:00