Commit Graph

277 Commits

Author SHA1 Message Date
Бранимир Караџић
d70be4f3c1 Cleanup. 2019-01-23 17:33:43 -08:00
Бранимир Караџић
3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Branimir Karadžić
6bff345637 StringView cleanup. 2018-10-21 19:17:44 -07:00
Branimir Karadžić
4cbd5a5c0a Added frame buffer resolve control. 2018-10-03 17:52:26 -07:00
Hugo Amnov
71a1d659dc Add Unbind Attributes (#1515) 2018-10-02 18:06:48 -07:00
Hugo Amnov
50a64a7fdf Fix webgl2 instancing bug (#1512) 2018-10-01 12:46:49 -07:00
Branimir Karadžić
f40bf8e862 Added ability to sample stencil part of depth/stencil texture. 2018-08-23 17:59:47 -07:00
Branimir Karadžić
db0ec1f5db Removed HMD API and OculusVR support. 2018-07-19 20:22:21 -07:00
Andrew Willmott
acd99728b7 ATC and ASTC support (#1410)
* ATC & ASTC support

- Add update format enum for bimg additions
- renderer_gl ATC and ATSC support
- renderer_mtl ASTC support
- renderer_vk ASTC support
- updates to other backends for new enums
- Support emulated ATC

* cleanup

* Add texture_compression test files for ATC/ASTC formats

* Update 'update' example for ATC formats

- Generalise tile code a little
- Add ATC variants
- Ignoring ASTC for now as not emulated -- should we add empty
  checkerboard emulate though?
2018-06-11 09:23:41 -07:00
Branimir Karadžić
d227f9e8bf Fixed memory leak. 2018-03-12 18:56:27 -07:00
Branimir Karadžić
8adb5fc020 Added maxTextureLayers to caps/limits. 2018-02-08 16:48:54 -08:00
Branimir Karadžić
f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08:00
Branimir Karadžić
f7fea65bec Removed obsolete platforms. 2017-12-14 20:40:30 -08:00
Branimir Karadžić
8d471959eb Cleanup. 2017-10-13 08:16:30 -07:00
Codecat
c707e06d79 Build support for NX platform (#1257)
* NX platform supports GLES and Vulkan

* These defines are already set on NX
2017-10-13 08:13:21 -07:00
Branimir Karadžić
db671c2ee4 GL: Implemented setName. 2017-08-31 20:30:43 -07:00
Branimir Karadžić
167db342bd Added BGFX_DEBUG_PROFILER. 2017-08-20 14:46:33 -07:00
Branimir Karadžić
21ade78454 Replaced GL internal profiler. 2017-08-20 14:20:54 -07:00
Branimir Karadžić
5a987b3af8 Added texture LOD bias setting. 2017-08-11 15:21:01 -07:00
Branimir Karadžić
38574b6b73 GL: Removed VAO support. 2017-07-20 22:50:27 -07:00
Branimir Karadžić
a274c9a6c5 Replaced BX_OVERRIDE with override. 2017-07-15 00:17:29 -07:00
Branimir Karadžić
e19a6738c7 shaderc: If GLSL version is above 4.00 shaderc will just pass preprocessed code without invoking glsl-optimizer. 2017-06-05 17:37:26 -07:00
Branimir Karadžić
c4f5129e84 Removed support for Native Client. https://developer.chrome.com/native-client/migration 2017-05-30 23:49:53 -07:00
Branimir Karadžić
a1184d53c5 Invalidate occlusion queries in flight when new occlusion query with the same id is created. 2017-03-03 18:05:36 -08:00
Branimir Karadžić
eaa5ccf6ad Cleanup. 2017-02-28 11:01:58 -08:00
Dario Manesku
a956558c93 Multiple vertex stream support for OGL backend. (#1059) 2017-02-28 10:32:36 -08:00
Branimir Karadžić
b99ebb9535 Cleanup. 2017-02-08 19:55:31 -08:00
Branimir Karadžić
1d7b32e464 Fixed typo. 2017-02-03 18:25:35 -08:00
Branimir Karadžić
dcd82ea2b6 Backed out PR #1014. 2017-01-08 15:23:02 -08:00
Dario Manesku
bb1a2f76a1 OGL backend now supports multiple vertex streams. (#1014) 2017-01-06 19:45:50 -08:00
Branimir Karadžić
3b83f53ab1 Happy New Year! 2017-01-01 00:18:41 -08:00
Branimir Karadžić
025d806c70 Present swap chain only when it's updated. 2016-11-09 14:29:37 -08:00
Branimir Karadžić
95f5854f1d GLES: Fixed build. 2016-10-21 09:13:05 -07:00
Branimir Karadžić
752f3deee7 Fixed issue #952. 2016-10-18 20:36:41 -07:00
Matthew Endsley
d9dd4bceb5 Add platform agnostic bgfx::VR for renderers to interface
The new platform agnositic class bgfx::VR manages the
functionality that is shared across the various VR platforms.

The individual platform renderers no longer need
to interface with the internal VR tpyes (OVRRenderI) directly

This greatly simplifies the OVR object's surface area which
is now provided by the VRImplI interface. bgfx::VR now manages
core lifecycle issues of the headset.

The notable renderer API changes are the separation of sensor
sampling and rendering. We need these separate so we can control
the timing (later commit) of camera sampling with finer granularity
than at the start of the video frame.
2016-09-16 20:03:12 -07:00
Matthew Endsley
eec95aeef6 Combine OVRBufferI and OVRMirrorI into a single interface
Simplify the renderer interface for VR to separate the OVR
implementation from the overall HMD foundation.

Part of merging OpenVR back upstream.
2016-09-14 17:50:15 -07:00
Branimir Karadžić
7537b705e5 GL: Added support for texture array. 2016-08-21 14:03:16 -07:00
Branimir Karadžić
7b59fb716a Fixed stale VAO issue. 2016-08-18 19:02:57 -07:00
Branimir Karadžić
b7a0030c20 GL: Added texture mip autogen. 2016-07-23 16:16:43 -07:00
Branimir Karadžić
be8b66a96b GL: MSAA texture. 2016-04-20 22:19:12 -07:00
Branimir Karadžić
056bd5437e Cleanup. 2016-04-13 10:35:59 -07:00
Krzysztof Kondrak
c5acc53c6b OculusVR: added MSAA support 2016-04-09 18:39:08 +02:00
Branimir Karadžić
4bf0bfaf2c Added OpenVR stub. 2016-04-09 00:03:39 -07:00
Branimir Karadžić
35efaf8751 Cleanup. 2016-04-04 23:04:46 -07:00
Branimir Karadžić
ace7083efa Cleanup. 2016-04-04 22:57:54 -07:00
Branimir Karadžić
032759a5e6 Renamed files. 2016-04-02 19:07:20 -07:00
Branimir Karadžić
c4fa56092b GL: Added clip control support. 2016-04-01 12:40:18 -07:00
Branimir Karadžić
acbabdde3b Added conservative raster support. 2016-03-16 20:04:06 -07:00
Branimir Karadžić
8955ebc6c8 Added alpha to coverage and anti-aliased lines support. 2016-03-16 15:09:15 -07:00
Branimir Karadžić
937da03f04 GL: Added orphaning buffers to avoid transient buffer stalls. Issue #706. 2016-03-13 18:13:10 -07:00
Branimir Karadžić
57e0c80b36 Added missing GL enums. 2016-02-24 15:57:58 -08:00
Branimir Karadžić
3b09435af8 Cleanup. 2016-02-22 17:32:20 -08:00
Branimir Karadžić
459e211a26 Added framebuffer attachment. 2016-02-15 16:55:32 -08:00
Miodrag Milanovic
c0275c3a77 SteamLink support 2016-02-15 19:45:58 +01:00
Branimir Karadžić
1f6d0e8c0a Added ability to select cubemap face for framebuffer attachments. PR#679. 2016-02-14 11:51:48 -08:00
Branimir Karadžić
8ab0a4eea5 Cleanup. 2016-01-27 14:50:57 -08:00
Branimir Karadžić
193643a1f3 GL: Added missing GL ids. 2016-01-11 15:11:35 -08:00
Branimir Karadžić
aca9a0cdb9 GLES: Fixed build. 2016-01-07 10:39:44 -08:00
Branimir Karadžić
62d36ebe8a Fixed compile warnings. 2016-01-05 10:55:00 -08:00
Miodrag Milanovic
f9a7c6ec0b Use BX_PLATFORM_BSD for all BSD based platforms 2016-01-04 18:08:46 +01:00
Branimir Karadžić
4bb2b623d3 Happy New Year! 2016-01-01 00:11:04 -08:00
Branimir Karadžić
0f8ca11ff7 Cleanup. 2015-11-30 14:50:28 -08:00
Branimir Karadžić
10674ad181 OSX: Fixed query counter crash. 2015-11-13 08:18:21 -08:00
Branimir Karadžić
384b45bec1 Fixed Android build. 2015-11-09 18:32:32 -08:00
Branimir Karadžić
c55a6101d2 Added begin/end CPU/GPU timer stats instead of elapsed. 2015-11-09 17:56:12 -08:00
Branimir Karadžić
ecf7eba043 Added ability to read occlusion query result on main thread. 2015-11-03 16:00:14 -08:00
Branimir Karadžić
cda2261c6e Fixed Android build. 2015-11-01 19:38:27 -08:00
Branimir Karadžić
7a8b3632b9 GL: Occlusion query. 2015-11-01 19:12:42 -08:00
Branimir Karadžić
91fe7aafdb Added support for RGB9E5F fromat. 2015-09-29 16:06:06 -07:00
Branimir Karadžić
ae71103bf9 Added border color index. 2015-09-16 17:21:28 -07:00
Branimir Karadžić
5690e1cde8 Added uniform buffer dynamic resizing. 2015-09-14 15:53:33 -07:00
Branimir Karadžić
c31ad50f31 GLES: Fixed clamp to border. 2015-09-11 20:05:13 -07:00
Branimir Karadžić
5d540169ac Fixed build. 2015-09-02 16:53:08 -07:00
Branimir Karadžić
15b7c0e60a GLES: Fixed missing defines. 2015-08-28 19:26:09 -07:00
Branimir Karadžić
07cdeea25b GL: Added missing defines. 2015-08-27 19:35:07 -07:00
Branimir Karadžić
a1558e9986 GL: Fixed imports. 2015-08-16 21:27:15 -07:00
Branimir Karadžić
79d2b81eb1 GL: Timer query check if result is available. 2015-08-16 15:44:13 -07:00
Branimir Karadžić
bc2077acb0 GL: Fixed GPU timer query. 2015-08-16 15:37:46 -07:00
Branimir Karadžić
06a076fa2a GL: Use MAX_DRAW_BUFFERS instead of MAX_COLOR_ATTACHMENTS. 2015-08-09 07:53:48 -07:00
Branimir Karadžić
f54ffcca42 GLES: Fixed build. 2015-08-04 20:06:01 -07:00
Branimir Karadžić
f15008311a Fixed issue #452. 2015-07-17 11:12:41 -07:00
Branimir Karadžić
11868f704a GLES31: Fixed image format test. 2015-05-18 20:24:37 -07:00
Branimir Karadžić
f5d0a39dd0 Added buffer compute format flags. 2015-05-14 11:37:32 -07:00
Branimir Karadžić
9e5e7d476b Cleanup. 2015-05-06 07:46:59 -07:00
Ka-ming Chan
e4c15eac32 fixed sRGB-texture related compile erros for gles 2.0 2015-05-06 21:04:12 +08:00
Branimir Karadžić
d4cde9cbfa GL: Added sRGB texture caps. 2015-05-04 20:57:22 -07:00
Branimir Karadžić
3b66dfa5e8 Added indirect compute dispatch. 2015-05-01 14:54:23 -07:00
Branimir Karadžić
b04af680ad GL: Added draw indirect support. 2015-04-30 18:06:41 -07:00
Branimir Karadžić
2194728394 GL: Draw indirect WIP. 2015-04-29 23:20:21 -07:00
Branimir Karadžić
eea21fede2 Enabling KHR_debug on GLES. 2015-04-21 20:30:31 -07:00
Branimir Karadžić
bff3ae937c GL: Update frame buffer after reset. 2015-04-13 22:13:16 -07:00
Miodrag Milanovic
ab94f3df36 Fix compile for FreeBSD 2015-04-10 16:11:55 +02:00
Branimir Karadžić
23114a821c 32-bit indices support WIP. 2015-04-08 19:59:48 -07:00
Branimir Karadžić
c85c12b5cd Fixed variable narrowing warnings. 2015-04-07 17:58:14 -07:00
Branimir Karadžić
5eccbc7aa8 Cleanup. 2015-03-29 23:08:45 -07:00
Branimir Karadžić
d62025d530 Fixing VS2015 warnings. 2015-03-29 22:40:35 -07:00
Branimir Karadžić
6ba3a60c1a Fixed amalgamated build with multiple renderers. 2015-03-21 22:11:59 -07:00
Branimir Karadžić
1a0ba0d87a GL: Added [u/i]sampler[2D/3D/Cube]. 2015-03-16 21:44:33 -07:00
Branimir Karadžić
5185e2f901 GL: Fixing texture formats for GL and GLES31. 2015-03-04 22:08:54 -08:00
Branimir Karadžić
676127bc5d GLES: Fixed D0S8 texture format. 2015-02-26 17:51:00 -08:00