Commit Graph

9643 Commits

Author SHA1 Message Date
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
zhefeng.zhang 221014f454 sync #5924 (#7208)
Co-authored-by: zhefeng.zhang <35944775+Jno1995@users.noreply.github.com>
2020-09-27 18:07:02 +08:00
coulsonwang 0ea7abaa25 add index.jsb.ts (#7450) 2020-09-27 15:48:33 +08:00
minggo 00f1b65311 do not adapt PipelineState (#7448) 2020-09-27 11:23:06 +08:00
minggo e439afc0ae use native PipelineStateManager in native environment (#7447) 2020-09-25 14:16:11 +08:00
minggo 76c767adf1 Buffer pool stores mix data type (#7430) 2020-09-24 09:57:07 +08:00
Yun Hsiao Wu 80461d1566 fix audio stop after interrupted (#7443)
* minor

* fix audio stop after interrupted
2020-09-23 15:56:14 +08:00
Yun Hsiao Wu e47fc245e6 init main light info (#7427) 2020-09-22 16:27:58 +08:00
Yun Hsiao Wu da50b72654 pass main light handle (#7426) 2020-09-21 11:48:03 +08:00
minggo 58f54c9b44 put shared data into shared memory for light (#7413) 2020-09-18 14:35:14 +08:00
Yun Hsiao Wu b021a20722 submit once per frame (#7401) 2020-09-18 13:38:19 +08:00
minggo 1c4898f181 enable native pipeline (#7400) 2020-09-17 13:46:43 +08:00
minggo 72d27a5c0f cache RenderView.visibility (#7398) 2020-09-17 13:40:13 +08:00
minggo 1fef9af414 cache usage to reduce jni invoking times (#7393) 2020-09-16 18:27:05 +08:00
coulsonwang 4d0894ce27 add get handler for fog/ambient/skybox/shadows (#7388) 2020-09-16 16:36:36 +08:00
minggo acae711e3d send handle to native (#7389) 2020-09-16 16:20:15 +08:00
minggo f8ea6679fa cache view visibility (#7373) 2020-09-16 13:51:59 +08:00
Knox 85d758d25b improve video player (#7381) 2020-09-15 17:17:37 +08:00
cary 35948d46a9 Fix the error of particle model error when init. (#7377) 2020-09-15 11:11:25 +08:00
JoneLau c4606c8643 adjust the Graphics structure to support continuous data filling (#7359) 2020-09-13 23:33:07 +08:00
minggo 66f9b2001a Merge pull request #7356 from YunHsiao/3d
dynamic state cache capacity
2020-09-11 11:13:59 +08:00
minggo 896b22ea21 fix memory leak (#7362) 2020-09-11 11:09:45 +08:00
Yun Hsiao Wu 2e6c9b6ccb dynamic state cache capacity 2020-09-11 10:45:36 +08:00
Yun Hsiao Wu b2d9249dae fix circular refs (#7354) 2020-09-10 15:19:38 +08:00
minggo c85ab01596 fix logic error (#7353) 2020-09-10 14:44:20 +08:00
minggo ae99249c67 Merge pull request #7352 from minggo/merge_1.2
Merge 1.2
2020-09-10 11:44:35 +08:00
minggo 6e71962fb9 merge v1.2 2020-09-10 11:41:20 +08:00
coulsonwang 9cebf67a7a Revert "add setTarget adapter (#7342)" (#7351)
This reverts commit edbf237ea4.
2020-09-10 11:24:03 +08:00
Yun Hsiao Wu 5f0687a5f1 more type check on GFX public interfaces (#7350)
* more type check on GFX public interfaces
* more general vector types
2020-09-10 11:23:30 +08:00
coulsonwang edbf237ea4 add setTarget adapter (#7342) 2020-09-10 10:02:08 +08:00
coulsonwang b44ce3a3bb add renderWindow adapter (#7343) 2020-09-10 09:58:20 +08:00
coulsonwang d0c300aca8 fix pipeline import (#7344) 2020-09-10 09:57:13 +08:00
coulsonwang a91f97b7e1 rename shaderID (#7347) 2020-09-10 09:56:41 +08:00
coulsonwang 093436d086 hack buffer pool flag to 20 bits (#7349) 2020-09-10 09:56:10 +08:00
Yun Hsiao Wu 9dc5a20a9a fix pass handle type check (#7348) 2020-09-09 18:02:02 +08:00
cary 8fffa7fb88 Change skybox and shadow to buffer pool. (#7306) 2020-09-09 11:37:35 +08:00
pandamicro a34a1250e4 Fix texture reset process (#7338)
* Fix texture reset process

* refine (#30)

Co-authored-by: Yun Hsiao Wu <inheritorofgalaxy@gmail.com>
2020-09-09 10:36:25 +08:00
ChiaNing 0b73aff31a imageAsset data bug fix (#7337)
* imageAsset data bug fix

* update
2020-09-09 10:13:34 +08:00
minggo 4671f65df4 do not use pipeline adapter (#7339) 2020-09-09 10:06:40 +08:00
Leslie Leigh (李的序) 6694d74702 Add morph name field (#7332) 2020-09-08 15:05:16 +08:00
Leslie Leigh (李的序) 3422c13b61 Bump gift@2.0.7 (#7331) 2020-09-08 14:55:37 +08:00
Knox 2d1acb58e9 sync 2d webview (#7318) 2020-09-08 14:19:42 +08:00
Leslie Leigh (李的序) a333b0b564 Handle WebGL context lost event (#7291)
* Handle WebGL context lost event

* Fix
2020-09-08 14:08:20 +08:00
ChiaNing 8873c62fd2 compressed texture bug fix (#7328) 2020-09-08 13:56:52 +08:00
Santy-Wang f756be4318 fix loading failure when asset is recursively referenced (#7327) 2020-09-08 10:36:11 +08:00
minggo 43cc9ecc43 add jsb adapter (#7323) 2020-09-08 10:05:00 +08:00
Knox d8b2f63208 rename video-player-impl-web (#7310)
* rename video-player-impl-web

* refine code

* refine code
2020-09-08 10:02:37 +08:00
minggo 97191919d3 record correct shared data (#7326) 2020-09-07 18:33:49 +08:00
minggo a1beac8ea6 fix typo (#7321) 2020-09-07 11:36:51 +08:00
minggo d2a8714c66 Override some classes in jsb (#7319) 2020-09-07 10:56:11 +08:00