437 Commits

Author SHA1 Message Date
2b9152d602 optimized Material and ShaderModule,Pipeline,Database codes. 2020-09-19 23:49:32 +08:00
93c4e39b1a delete RenderpassCreater class. 2020-09-19 16:43:23 +08:00
07894d73e4 upgrade VKPipeline.cpp/.h 2020-09-19 14:58:54 +08:00
b3b8de4adb use VKPipelineData instead VKPipelineCreater 2020-09-18 20:44:11 +08:00
b42ad2d667 rename a value. 2020-09-18 17:24:28 +08:00
5df8466cc8 upgrade the PipelineCreater, it don't need use RenderTarge when construct. 2020-09-18 11:45:52 +08:00
37ffb5dc8c support .material file 2020-09-17 21:49:23 +08:00
8f68b3935d fix a little problem 2020-09-11 18:52:17 +08:00
3f6742f116 fix bugs in Clang 2020-09-11 17:11:32 +08:00
154ddd8c27 简写变量名称 2020-09-07 20:07:08 +08:00
cba14ff413 VertexAttrib 属性中的Vertex全部改名为Position 2020-09-05 18:56:49 +08:00
e7f0009908 upgrade ShaderModuleMap, auto detect kind of ShaderModule 2020-09-05 18:36:18 +08:00
5427d10e8d support String 2020-09-05 17:54:21 +08:00
3fd9d1535d use Prim instead macros.
use IndexType instead VkIndexType
2020-09-02 19:06:12 +08:00
1e6e0e305c use ImageTiling instead VkImageTiling 2020-09-02 18:36:24 +08:00
66f761385e use SharingMode instead VkSharingMode 2020-09-02 18:27:19 +08:00
79a7c158a8 rename from SceneDB to Database 2020-09-02 18:18:57 +08:00
8dbd0b3f2f use VKDatabase instead SceneDB 2020-09-02 18:16:15 +08:00
b4ca17e44b support new VertexAttribType instead spirv_cross::SPIRType::BaseType 2020-08-25 18:12:42 +08:00
54e5531fc4 support .shader file(version 1) 2020-08-23 19:43:50 +08:00
38a365306d SceneDB add CreateMaterialInstance,CreateRenderable,CreateTextRenderable functions. 2020-08-08 22:54:09 +08:00
90314c4b97 finished first edition of the TextRenderable class. 2020-08-08 20:12:37 +08:00
a6f1657cac add TextRenderable 2020-08-07 22:34:07 +08:00
d26b59cb1d use VAB instead VertexAttribBuffer.
use VAD instead VertexAttribData.
2020-08-07 21:59:20 +08:00
1964e5da04 delete old codes. 2020-08-07 16:43:05 +08:00
a5ab2edf12 support compress texture file format. 2020-08-06 21:27:58 +08:00
324003ec6d update TileFont 2020-08-04 18:28:34 +08:00
12aa57a0f0 1.add AddCJK(FontSource *) in FontSourceMulti
2.impl GetCharHeight() in FontSourceMulti
2020-08-04 18:26:27 +08:00
824c1b0fcd finished draw text example,and tested ok. 2020-08-04 02:23:22 +08:00
cea2f8da9e fix draw text example. 2020-08-04 01:27:35 +08:00
2ae2228546 first finished TileFont and test program. 2020-08-03 21:22:02 +08:00
8305602995 add TileUVFloatList/TileUVFloatMap in TileData.h 2020-08-03 21:21:35 +08:00
bb1484ae98 split CharAttributes from CharLayoutAttributes. use in all FontSource 2020-08-03 17:51:24 +08:00
cbd3598ebb first finished TileFont::Registry/Unregistry functions. but it not test. 2020-08-01 19:38:43 +08:00
18b00d40fe update TileFont codes 2020-07-31 22:21:44 +08:00
1f80f793ac update TileFont.... 2020-07-31 18:01:28 +08:00
4dc060e05f layout TextLayout.h 2020-07-30 21:32:16 +08:00
afe3f9a27a delete unused value "commit_offset" 2020-07-29 17:23:29 +08:00
3dbddbeb9a VKDevice::ChangeTexture2D add batch commit edition. 2020-07-29 17:06:43 +08:00
093fa93825 convert tabs to spaces 2020-07-29 15:24:41 +08:00
8cc35599ad convert file codes to UTF8-BOM 2020-07-29 01:00:25 +08:00
331bcd236e use PRIM_2D_RECTANGLES instead PRIM_RECTANGLES 2020-07-28 18:48:23 +08:00
a95bd6a4b4 add Add(BitmapData *) in TileData class. 2020-07-28 18:47:50 +08:00
8518ace21e move Bitmap2DLoader codes to TextureLoader.h 2020-07-28 18:47:22 +08:00
5020f80060 updates 2020-07-28 16:37:01 +08:00
488f16483c use os_char instead char in Font() 2020-07-28 16:34:29 +08:00
bd811a009c add BaseType in vulkan namespace 2020-07-28 16:33:26 +08:00
1c8998f3e6 add LoadBitmapFromFile 2020-07-27 14:14:03 +08:00
49062baf75 code layout 2020-07-25 18:53:50 +08:00
8669ed77d0 update function name 2020-07-25 15:15:23 +08:00