Commit Graph

594 Commits

Author SHA1 Message Date
minggo e4eadc714a add some functions (#2954)
These functions are used for performance
2020-10-29 13:39:59 +08:00
Yun Hsiao Wu c10fb33a1f vk: pre-rotation on android (#2940) 2020-10-24 14:20:59 +08:00
PP d648d3252b fix simulator compiling (#2943)
* fix simulator compiling

* remove terminate app logic
2020-10-23 20:54:01 +08:00
吴智明 d5d772556c 3d gfx upgrade gradle (#2928)
* upgrade gradle version and instant app version

Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com>

* upgrade gradle config

Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com>

* fix project path

Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com>
2020-10-20 15:09:05 +08:00
Yun Hsiao Wu fb791ad01b discrete descriptor set layout bindings (#2920) 2020-10-20 15:06:57 +08:00
coulsonwang f490f68120 Fix instance buffer (#2911) 2020-10-15 09:54:36 +08:00
minggo d25dd22e77 do not bind gfx enum class (#2907) 2020-10-14 15:41:13 +08:00
minggo 0effee8613 Gfx bind (#2905)
* bind FenceInfo

* the same sequence as JS

* rename SubPass in binding codes

* make the same sequence as JS

* remove unneeded space
2020-10-14 15:14:22 +08:00
吴智明 c12b73d42a fix bug when compile android (#2903)
* fix bug when compile android

Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com>

* update travis script

Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com>
2020-10-14 14:17:01 +08:00
minggo 822cca2112 Sync SamplerInfo definition & use default values (#2901) 2020-10-14 09:42:05 +08:00
Arnold 96a9f9210e remove warnning 2020-10-13 17:31:35 +08:00
minggo 5d4e31803d Merge pull request #2896 from PatriceJiang/3dgfx-bindings-generator-unexposed-expr
[3dgfx] bindings generator: output error message when CXCursor_UnexposedDecl
2020-10-13 15:19:08 +08:00
minggo d96a745c7e auto bind BindingMappingInfo 2020-10-13 10:38:31 +08:00
Arnold 359cb720ef add waring message 2020-10-13 10:28:45 +08:00
Yun Hsiao Wu efad97b643 array pool refactor (#2883)
* fix draw call issueing

* vk: descriptor set: default sampler only

* array pool refactor

* skip backupBuffer & device bindings

* MRT feature flag

* skip getDevice
2020-10-12 14:26:10 +08:00
coulsonwang eb89d2e5f5 fix ci (#2892) 2020-10-12 10:22:42 +08:00
江战 c4433a3c75 fix outof range error (#2885) 2020-10-10 16:28:10 +08:00
江战 a12ef80cba 3dgfx struct constructor allow varargs (#2879)
* Revert "update constructor (#2873)"

This reverts commit cfedd696b1.

* allow variable argument list
2020-10-10 15:12:43 +08:00
吴智明 c076ba8a7a change template config file to camel case syntax (#2804) 2020-10-10 11:55:22 +08:00
江战 cfedd696b1 update constructor (#2873) 2020-10-10 10:05:41 +08:00
Knox 8299383ae8 add web view (#2863)
* add web view

* refine code
2020-09-30 17:58:38 +08:00
Knox 24bb96f7ef add video player (#2860) 2020-09-30 13:58:07 +08:00
江战 7cbb298297 Fix jsb.fileUtils.listFilesRecursively binding #2337 (#2850) 2020-09-28 15:00:04 +08:00
minggo 010da34533 remove unneeded macros checktion (#2820) 2020-09-22 14:54:28 +08:00
Yun Hsiao Wu c6103495d0 misc fixes (#2801)
* misc fixes

* fix GLES update buffer

* pipeline sync

* fix copyBuffersToTexture

* minor
2020-09-18 18:23:21 +08:00
minggo 3987f54f57 do not define property of RenderView.visibility (#2799)
the property is defined in jsb adapter
2020-09-17 13:40:28 +08:00
coulsonwang 8c4656e04d fix DefineMap (#2790) 2020-09-17 10:52:55 +08:00
coulsonwang fa30b0fc15 fix fog/ambient/skybox/shadows (#2794) 2020-09-16 16:27:35 +08:00
coulsonwang d9d207aa27 fix descriptorSetLayout binding (#2792) 2020-09-16 13:46:31 +08:00
江战 56b0e56c09 Update path of bindings/auto in travis script (#2779) 2020-09-11 14:34:27 +08:00
minggo 59d567bcbb bind RenderPipeine.getDescriptorSet() (#2776) 2020-09-10 16:31:04 +08:00
minggo 4ed720b8b8 merge binding generators (#2773) 2020-09-10 13:44:20 +08:00
minggo 9d9c79012b change file path (#2733) 2020-09-10 09:51:24 +08:00
coulsonwang 7851017bab fix pso hash (#2764) 2020-09-09 18:20:43 +08:00
coulsonwang b8ae064750 bind setTarget for blendState (#2767) 2020-09-09 17:36:16 +08:00
吴智明 4df4563be3 sync template (#2754)
* update version

* add android instant and sync project structure to 2d version

* revert default project name

Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com>

* add instant template travis script support

Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com>
2020-09-09 14:01:48 +08:00
Yun Hsiao Wu b5cb10f5c8 bindless textures (#2723)
* bindless textures

* fix buffer views as descriptors

* gpuPSO/gpuIA reuse

* update GFXColor
2020-09-04 16:15:15 +08:00
coulsonwang ace971bc82 fix render window binding (#2748) 2020-09-02 13:39:29 +08:00
minggo 04c970ad89 Merge pull request #2743 from minggo/pipline_binding
Pipline binding
2020-09-01 18:00:02 +08:00
coulsonwang 1b091e3f55 add get macros binding 2020-09-01 17:22:41 +08:00
coulsonwang c0bb7138a9 remove shadowmap binding 2020-09-01 11:24:02 +08:00
minggo fc55b39311 fix binding issue 2020-08-31 17:43:06 +08:00
江战 360e8ba5ec skip old template name (#2741) 2020-08-31 15:13:02 +08:00
cary a86ff9b4d8 Add serialized data synchronization for pipeline. (#2736) 2020-08-31 11:17:45 +08:00
minggo 783937aa0a Update binding generator (#2739) 2020-08-31 10:45:03 +08:00
coulsonwang de380ae677 fix native pipeline (#2734) 2020-08-31 09:32:13 +08:00
cary b2eb500d47 Add pipeline jsb binding. (#2722)
Co-authored-by: minggo <nudtzxm@gmail.com>
2020-08-28 17:48:37 +08:00
minggo b08407c501 remove CC/cc prefix for file names (#2728) 2020-08-28 15:23:29 +08:00
Yun Hsiao Wu ca23166ebf remove GFXStatus (#2719) 2020-08-25 14:34:37 +08:00
minggo 4d889c7ae7 use CC_DEBUG instead (#2718) 2020-08-25 11:58:13 +08:00