Бранимир Караџић
e642efb03a
Updated bindings.
2021-05-19 09:53:34 -07:00
Бранимир Караџић
117c999d6e
Added bgfx::Init capabilities mask.
2021-04-22 20:18:48 -07:00
Бранимир Караџић
6109697ade
Added bgfx::isFrameBufferValid API.
2021-04-16 22:13:26 -07:00
Бранимир Караџић
69fb21f50e
Cleanup.
2021-04-13 21:55:56 -07:00
Sam
49fb72842a
Minor alteration to clarify that BGFX_DISCARD_STATE also discards uniforms ( #2464 )
...
Signed-off-by: Samuel Hellawell <sshellawell@gmail.com>
2021-04-09 21:51:03 -07:00
Бранимир Караџић
a735fccd15
Cleanup.
2021-03-05 18:07:45 -08:00
Бранимир Караџић
239ce7a612
Fixed typo.
2021-02-07 07:35:18 -08:00
Бранимир Караџић
af49c5d264
Happy New Year!
2021-01-14 15:53:49 -08:00
Бранимир Караџић
e2eb3d56e6
Cleanup.
2020-12-18 06:40:28 -08:00
Branimir Karadžić
5c304dad3b
Fixed issue #2330 . Added support for 32-bit indices in transient index buffer.
2020-12-15 19:01:25 -08:00
Бранимир Караџић
796acfa98b
Added Attachment.numLayers needed for viewport layer array support.
2020-12-12 10:04:14 -08:00
Бранимир Караџић
8dd39d42df
Cleanup.
2020-12-02 21:08:25 -08:00
Бранимир Караџић
3042c52ea6
Cleanup. Issue #2319 .
2020-11-29 15:16:03 -08:00
kingscallop
436b7fab9e
Adds UAV support for D3D12, Vulkan and reworked for OpenGL, D3D11 ( #2119 )
...
* Adds UAV support for D3D12, Vulkan and reworked support for OpenGL, D3D11
UAV support is now uniform across compute and draw.
To set a UAV you just use bgfx::setImage() and IMAGE2D in the shader, just like in compute.
Due to these changes shaders will have to be recompiled.
The changes include:
- D3D11 requires patching of the UAV slot number (which is now done by modifying the DXBC instead of using a macro)
- If the DXBC binary includes a debug chunk, that is also patched to match the new slot number
- All the other renderers don't need any kind of patching
- There are some shader annotations to better convert the UAV format used in hlsl to spirv
Possibility of further enhancements:
- bgfx::setViewFrameBuffer() only supports binding to a framebuffer or, using BGFX_INVALID_HANDLE, to bind the default backbuffer. This doesn't allow for the case where there is no need to bind to either one of them, for example when using a fragment shader only to read and write to an UAV.
* Bump shader version, because they need to be recompiled.
2020-10-04 21:51:41 -07:00
云风
0e1c095c3b
add *_with_layout APIs ( #2251 )
2020-09-01 20:19:14 -07:00
云风
4d6445896e
Add missing VertexLayoutHandle for C APIs ( #2249 )
2020-09-01 08:36:52 -07:00
Бранимир Караџић
9e3704c4aa
Fixed docs.
2020-07-16 20:39:17 -07:00
Бранимир Караџић
8065659e90
Added configurable minimum resource command buffer size.
2020-06-03 17:58:54 -07:00
Бранимир Караџић
977188e9de
Added weldVertices 32-bit indices support.
2020-05-30 21:38:41 -07:00
Бранимир Караџић
2baa857065
Fixed IDL generator mix of short/long Doxygen comments.
2020-05-30 09:21:49 -07:00
Бранимир Караџић
1c063fdc67
Fixed spelling.
2020-05-30 08:22:08 -07:00
Hugo Amnov
b62302631e
Add Webgpu backend ( #2132 )
...
* WebGPU first draft (shaderc bin version 8)
* WebGPU scripts
2020-05-08 08:53:53 -07:00
Бранимир Караџић
f2e79bbe41
Fixed #2133 .
2020-05-03 19:58:15 -07:00
Бранимир Караџић
7792a893af
Cleanup.
2020-04-25 09:50:52 -07:00
Бранимир Караџић
00d1225cc6
Updated docs.
2020-04-16 21:27:48 -07:00
Бранимир Караџић
6a1db4c2a2
Updated docs.
2020-04-14 20:13:22 -07:00
Бранимир Караџић
000a3b704c
Cleanup.
2020-04-14 08:37:07 -07:00
Бранимир Караџић
b3d1460368
Cleanup.
2020-04-10 21:11:18 -07:00
Бранимир Караџић
06460b8ac2
Fixed discard flags.
2020-04-02 19:04:13 -07:00
Бранимир Караџић
23f9ba6552
Cleanup dicard flags.
2020-04-01 19:23:40 -07:00
Cedric Guillemet
dbb83d2525
PR feedback
2020-03-18 02:14:20 +00:00
Cedric Guillemet
0881d98bd2
Discard flags for submit call
2020-03-18 02:14:20 +00:00
Бранимир Караџић
4d50e90dd2
Removed support for SteamLink (discontinued 11/2018).
2020-03-11 21:49:11 -07:00
Бранимир Караџић
c735560b93
Fixed typo.
2020-02-10 08:59:34 -08:00
Бранимир Караџић
cacf62190b
Cleanup.
2020-02-10 08:19:21 -08:00
Wencey Wang
7a506a48d7
Let WinRT dll Build
...
WinRT dll should also use __declspec to build.
2020-02-10 16:18:21 +00:00
Бранимир Караџић
880f932cb8
Fixed issue #2002 .
2020-01-22 19:54:14 -08:00
Бранимир Караџић
b14f9dc280
Cleanup.
2020-01-21 20:08:48 -08:00
Бранимир Караџић
de9a508409
Cleanup.
2020-01-21 09:16:55 -08:00
Cedric Guillemet
9ee39e8241
PR feedback
2020-01-21 09:11:53 -08:00
Cedric Guillemet
b4cac17b93
default parameters
2020-01-21 09:11:53 -08:00
Cedric Guillemet
4b83e0f5bc
discard flags
2020-01-21 09:11:53 -08:00
Бранимир Караџић
82f56b5987
Happy New Year!
2020-01-14 21:37:06 -08:00
Scott Graham
de9f0195cf
Fix name of c99 equivalent for setViewRect
2019-12-02 22:13:59 -08:00
Бранимир Караџић
4eb5a125c6
Updated API version.
2019-10-31 07:31:09 -07:00
Sandy
c7950c6db3
view stats: Make CPU and GPU timestamps available ( #1921 )
...
* view stats: Make GPU begin and end times available
* view stats: Make CPU start and end times available
* view stats: Remove redundant `gpuTimeElapsed`
Value can be derived by `gpuTimeEnd - gpuTimeBegin`
* view stats: Remove redundant `cpuTimeElapsed`
Value can be derived by `cpuTimeEnd - cpuTimeBegin`
2019-10-31 07:30:35 -07:00
Бранимир Караџић
8494200645
Updated IDL info / autogenerated comments.
2019-10-25 20:40:02 -07:00
Бранимир Караџић
bd9600e167
Fixed IDL.
2019-10-25 20:13:21 -07:00
Cedric Guillemet
6a883a33fd
Front facing ( #1904 )
...
* Added BGFX_STATE_FRONT_CCW to defines.h and implemented initial usage only in renderer_d3d11.cpp.
* set front facing for d3d12, gl metal and vulkan
* front facing method Metal
* tabs
* removed tab
idl updated
2019-10-25 20:07:05 -07:00
Бранимир Караџић
b079e67426
Cleanup.
2019-08-17 21:35:20 -07:00
Leandro Freire
214a125432
Use underscore on arguments
2019-08-17 12:32:16 -07:00
Leandro Freire
1db46f4fe6
Rename variables and constants
2019-08-17 12:32:16 -07:00
Leandro Freire
855623e153
Rename VertexDecl to VertexLayout
2019-08-13 18:42:01 -07:00
Rinthel Kwon
6927a9179b
vulkan renderer draft implementation
2019-08-04 19:51:16 -07:00
Бранимир Караџић
d5fcbf98cf
Updated IDL.
2019-07-14 21:19:46 -07:00
Бранимир Караџић
541a379722
IDL C#: Added enum comments.
2019-07-11 21:31:18 -07:00
Бранимир Караџић
ceba5d8b24
Cleanup.
2019-07-06 11:53:04 -07:00
Бранимир Караџић
a1cdb91758
IDL now generates defines.h
2019-05-23 20:31:36 -07:00
Бранимир Караџић
54d844be45
Merge branch 'master' of github.com:bkaradzic/bgfx
2019-05-23 17:56:34 -07:00
Бранимир Караџић
29cd7d69c7
Cleanup.
2019-05-23 17:56:25 -07:00
Бранимир Караџић
d158205fde
Updated docs.
2019-05-22 08:12:12 -07:00
Cloud Wu
f1288e212e
Add C99 api(macro) BGFX_HANDLE_IS_VALID
2019-05-17 07:12:45 +08:00
Бранимир Караџић
f4e23fa80b
Fixed IDL to match PR #1767 .
2019-05-14 21:32:36 -07:00
Бранимир Караџић
10e8a15ba1
Added API for aliasing vertex buffer with different vertex declaration.
2019-04-06 19:26:35 -07:00
Бранимир Караџић
0af6d02fcd
Updated docs.
2019-03-20 16:47:41 -07:00
Бранимир Караџић
758b2b268b
Cleanup.
2019-03-18 22:00:33 -07:00
Бранимир Караџић
28e8b8da04
Updated docs.
2019-03-17 09:38:07 -07:00
Branimir Karadžić
4bc541a723
Fixed overrideInternal API.
2019-03-16 21:42:34 -07:00
Бранимир Караџић
71e1dd6666
C99: Added function id enum.
2019-03-14 15:36:11 -07:00
Бранимир Караџић
96ee0ab79c
Updated IDL.
2019-03-12 22:24:35 -07:00
Бранимир Караџић
9f7c3281e1
Added NVN stub.
2019-03-12 17:01:02 -07:00
Бранимир Караџић
8cc0b10719
Updated IDL.
2019-03-12 10:57:03 -07:00
Cloud Wu
4bc193f2e3
fixbuild
2019-03-10 18:28:58 +08:00
Cloud Wu
309edd2adf
Update IDL code generator
2019-03-10 14:40:43 +08:00
Бранимир Караџић
5648104fe5
Cleanup.
2019-03-08 20:11:23 -08:00
Бранимир Караџић
f1abdd79b6
Cleanup.
2019-03-08 19:50:28 -08:00
Branimir Karadžić
0ccb1a9fed
Fixed IDL.
2019-03-05 20:22:14 -08:00
Бранимир Караџић
a283e875e7
IDL: Put back old pre-encoder API to C99.
2019-02-27 11:47:11 -08:00
Бранимир Караџић
d03c20ca68
Added PFN_BGFX_GET_INTERFACE.
2019-02-27 11:15:39 -08:00
Бранимир Караџић
1243551c22
Cleanup.
2019-02-27 00:25:45 -08:00
Бранимир Караџић
29edbaa2fd
Switching to IDL generated code.
2019-02-26 23:08:38 -08:00
Бранимир Караџић
8b6e0b3284
Cleanup.
2019-02-26 22:29:23 -08:00
Бранимир Караџић
cc49186d22
Cleanup.
2019-02-21 11:30:05 -08:00
Бранимир Караџић
e3e7e9aaf4
Cleanup.
2019-02-17 09:03:09 -08:00
Hugo Amnov
58563b0b1b
FrameBuffer Read/Write access WIP
2019-02-17 16:50:26 +01:00
Бранимир Караџић
dbdb41d5c8
Updated docs.
2019-01-22 09:01:55 -08:00
Cloud Wu
204abeb077
missing new c99 apis
2019-01-18 20:38:39 +08:00
Бранимир Караџић
fd45604047
Added setName for index, vertex, and frame buffers.
2019-01-17 17:30:09 -08:00
Бранимир Караџић
3f3a9450ba
Happy New Year!
2019-01-13 17:13:25 -08:00
Бранимир Караџић
a54f8a3f81
Renamed UniformType enum Int1 to Sampler.
2019-01-11 14:14:17 -08:00
Бранимир Караџић
5bcd51bbed
Cleanup.
2019-01-06 17:23:18 -08:00
Бранимир Караџић
22fb0f7ad7
Removing VR leftovers.
2018-12-21 23:25:30 -08:00
Бранимир Караџић
abeb00f694
Cleanup.
2018-12-18 20:57:42 -08:00
Бранимир Караџић
2c0da4d2cb
Added helper macros.
2018-12-14 21:38:43 -08:00
Branimir Karadžić
7639c5688c
Added access parameter for frame buffer attachment.
2018-11-16 17:59:46 -08:00
Branimir Karadžić
82815f1c4c
Allow passing platform data via init.
2018-10-15 17:54:04 -07:00
Branimir Karadžić
5e946a0407
Fixed submit depth argument.
2018-10-10 17:52:14 -07:00
Branimir Karadžić
bafcf613ba
Added number of blit calls submitted stat.
2018-10-09 18:10:54 -07:00
Branimir Karadžić
6ff2d99c90
Updated docs.
2018-10-03 20:27:23 -07:00
Branimir Karadžić
4cbd5a5c0a
Added frame buffer resolve control.
2018-10-03 17:52:26 -07:00