minggo
75331d43fc
only concat none undefiend patch macros
2020-06-03 16:26:05 +08:00
minggo
f44822c960
Create PSO in render stage ( #6732 )
...
* record PSO in sub model
* import Pass
* create PSO dynamically in render stage
* remove debug codes
* rmeove PSO in more components
* remove unneeded codes
* add comments
* subModel.psoCreateInfos -> subModel.psoInfos
* remove unneeded \!
* remove spaces
* remove unneeded codes
* IPSOCreationInfo -> IPSOCreateInfo
* add name into hash computing
* add GFXInputState back
* concat super's macro patches
2020-06-02 17:11:22 +08:00
Yun Hsiao Wu
868ef4bf6d
gfx: fence ( #6749 )
2020-05-28 16:51:16 +08:00
Yun Hsiao Wu
b29259f118
fix procedural mesh vertex layout ( #6745 )
2020-05-26 14:09:21 +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
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
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
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
Yun Hsiao Wu
a4ab634aff
effect: shader stages ( #6652 )
...
* effect: shader stages
* update effect
2020-05-08 13:59:14 +08:00
pandamicro
dead9b2f9a
Merge pull request #6629 from pandamicro/3d-gfx
...
Merge v1.1
2020-04-28 18:40:11 +08:00
pandamicro
6338ed6211
Fix ci
2020-04-28 18:37:24 +08:00
pandamicro
80666c0331
Fix merge issue
2020-04-28 18:36:28 +08:00
pandamicro
0ca1546c10
Fix issues
2020-04-28 18:11:26 +08:00
pandamicro
e849b7f3c6
Merge remote-tracking branch 'origin/3d-v1.1' into 3d-gfx
...
# Conflicts:
# cocos/core/3d/builtin/effects.ts
# cocos/core/game.ts
# cocos/core/gfx/webgl/webgl-commands.ts
# cocos/core/gfx/webgl2/webgl2-commands.ts
# cocos/core/math/mat4.ts
# cocos/core/renderer/scene/camera.ts
# cocos/core/splash-screen-webgl.ts
# cocos/core/splash-screen.ts
2020-04-28 17:06:07 +08:00
ChiaNing
20346a8d1e
API hidden ( #6626 )
2020-04-28 14:30:21 +08:00
coulsonwang
0b54a4bd14
adjust attribute order to match vertex buffer layout ( #6589 )
2020-04-24 18:27:49 +08:00
coulsonwang
97b4b3b808
fix incorrect indirect buffer stride ( #6604 )
2020-04-24 18:25:13 +08:00
Leslie Leigh (李的序)
cdf18b197b
Fix typing on AnimationComponent.on ( #6603 )
2020-04-24 18:21:34 +08:00
jiaxin.lai
40f545faa8
update @cocos/cannon to 1.1.0(fix collison event) ( #6612 )
2020-04-24 17:44:38 +08:00
jiaxin.lai
90015565a0
fix some system ID ( #6592 )
...
* fix some system ID
* docs
2020-04-21 19:13:57 +08:00
JoneLau
f0e9f95bcf
fixed page position err when scrolling ( #6591 )
2020-04-21 19:12:34 +08:00
jiaxin.lai
349c5100be
adapt canvas size for alipay ( #6590 )
2020-04-21 18:32:30 +08:00
Yun Hsiao Wu
48f9321cf6
better camera doc ( #6588 )
2020-04-21 16:12:17 +08:00
Yun Hsiao Wu
a7716a507a
disable instancing on UC ( #6587 )
2020-04-21 12:09:13 +08:00
ChiaNing
f20e308025
Accelerometer event fix for Ios 13+ ( #6585 )
2020-04-21 11:32:58 +08:00
jiaxin.lai
44844fdb94
fix get body of rigid body ( #6578 )
...
* fix get body of rigid body
* make event optional in trigger&collision callback
* fix apply local force/impulse of ammo
2020-04-20 18:42:54 +08:00
Leslie Leigh (李的序)
381ad78e95
Process that when cross fade to a state having already cross faded but stopped ( #6579 )
2020-04-20 18:35:08 +08:00
ChiaNing
e1ffa75bd1
accelerometer bug fix for vivo ( #6580 )
2020-04-20 18:32:47 +08:00
ChiaNing
6a30d99f8e
Acceleration bug fix ( #6568 )
2020-04-16 22:41:46 +08:00
ChiaNing
96a53470f1
acceleration export ( #6567 )
2020-04-16 20:03:08 +08:00
Leslie Leigh (李的序)
68a6cbe090
Fix cross fade bug ( #6564 )
...
* Fix cross fade bug
* Update
2020-04-16 19:46:36 +08:00
jiaxin.lai
86fd5b59d6
fix replace property ( #6566 )
2020-04-16 16:39:54 +08:00
pandamicro
276a7f200a
Partial API translation for core and related tweaks ( #6534 )
...
* Event api translation
* Event manager API translation
* Macro cleanup and API doc improve
* Code cleanup and API translation in core/platform,
* Use macro.ENABLE_WEBGL_ANTIALIAS for initialization
* tweak
* Improve singleton ref in view
* Fix ci
* Export sys without default
2020-04-16 11:38:24 +08:00
zheng han
12e1e20fb3
1. emit node removed event after component removed event ( #6557 )
2020-04-15 21:39:58 +08:00
cary
0802dd38d0
Modify the size module of GPU particles to be discrete. ( #6535 )
...
* Modify the size module of GPU particles to be discrete.
* add multipler
* fix editor error
* commit effect.ts
2020-04-15 21:32:33 +08:00
ChiaNing
8c41b79aec
label baseline add ( #6526 )
...
* label baseline add
* baseline change in runtime
2020-04-15 17:55:11 +08:00
jiaxin.lai
0fe353c517
enable retina & resize for splash screen ( #6547 )
...
* enable retina & resize for splash screen
* using user settings if exist
2020-04-15 17:44:40 +08:00
JoneLau
61a5a07051
fixed a bug where clicking to change color did not work ( #6558 )
...
Fixed bug where you could click to directly modify the “_val” property of color and skip detection of UI rendering data changes
2020-04-15 17:43:46 +08:00
King Wang
3ceb44b347
Mask isHit issue when type===GRAPHICS_STENCIL ( #6548 )
2020-04-15 17:42:23 +08:00
cary
217989fd33
Fix multi touch disable is invalid when touch event on SystemEvent. ( #6551 )
2020-04-15 17:41:55 +08:00
jiaxin.lai
547a6b55d9
fix sampler of splash screen ( #6550 )
...
* fix sampler of splash screen
* using user settings if exist
2020-04-15 17:06:58 +08:00
Yun Hsiao Wu
fe46a6c973
should trigger camera matrix update onEnable ( #6561 )
2020-04-15 17:02:47 +08:00
Yun Hsiao Wu
a0a82368eb
update builtin effect ( #6552 )
2020-04-14 17:02:03 +08:00
Yun Hsiao Wu
3bedccdeaa
fix skinning model type when not enabled immediately ( #6542 )
...
* fix skinning model type update
* unbatch util
* camera property display order
* fix model type order
2020-04-14 12:47:58 +08:00
minggo
d185c5e713
make vertex buffer attributes layout the same as corresponding shader ( #6539 )
2020-04-13 21:28:43 +08:00
Yun Hsiao Wu
338738430d
projection matrix gfx adaptations ( #6540 )
...
* fix batched buffer resize
* projection matrix gfx adaptations
2020-04-13 21:26:34 +08:00
ChiaNing
ec34f5970b
multi touch bug fix ( #6541 )
2020-04-13 21:24:58 +08:00
Santy-Wang
dde8ae72f3
fix format error of compressed texture ( #6538 )
...
Co-authored-by: pandamicro <lphuabin@gmail.com >
2020-04-13 21:24:15 +08:00