Commit Graph

2797 Commits

Author SHA1 Message Date
Бранимир Караџић
23998f3d78 Fixed typo. 2020-04-08 08:05:11 -07:00
Бранимир Караџић
5555c73b3a Cleanup. 2020-04-07 23:59:16 -07:00
Бранимир Караџић
9c5a236230 Cleanup. 2020-04-07 23:51:51 -07:00
Бранимир Караџић
1361ccf211 Revert "Revert "Avoid redundant uniform uploads (#2090)""
This reverts commit c023ac4620.
2020-04-07 23:43:21 -07:00
Бранимир Караџић
c023ac4620 Revert "Avoid redundant uniform uploads (#2090)"
This reverts commit d9d9865ad9.
2020-04-07 23:23:54 -07:00
juj
d9d9865ad9 Avoid redundant uniform uploads (#2090)
* Avoid redundant uniform uploads

* Fix placement of GL_CHECK()s and import of glUniform4f.

* Fix typo

* Migrate GL uniform cache to use tinystl to conform to BGFX data structures

* Address review

* Address review
2020-04-07 23:08:09 -07:00
Бранимир Караџић
aff6bc0d41 Renamed directory containing vulkan headers to avoid clash with system headers. Fixed issue #2097. 2020-04-07 20:42:53 -07:00
Бранимир Караџић
aeec903fc3 Fixed #2102. 2020-04-07 15:58:25 -07:00
G
f07a0f5179 Added support for the extension OES_EGL_image_external(_essl3) for GLES2/3 (#2021)
Co-authored-by: Gabriel <gabriel.sulka@visiarc.com>
2020-04-06 08:20:49 -07:00
Pablo Escobar
eeb5fe7c02 Don't double-quote profiler literals 2020-04-03 21:56:54 +00:00
Pablo Escobar
1b85139371 Revert "Remove debug label quotes"
This reverts commit 08b3ec5814.
2020-04-03 21:56:54 +00:00
Pablo Escobar
c08d451493 Formatting 2020-04-03 21:56:54 +00:00
Pablo Escobar
08360a338a Vulkan: streamline debug labels (+ color) 2020-04-03 21:56:54 +00:00
Pablo Escobar
fdcdeae23a Remove debug label quotes 2020-04-03 21:56:54 +00:00
Бранимир Караџић
ae4a804f01 Updated version number. 2020-04-02 19:09:26 -07:00
Бранимир Караџић
06460b8ac2 Fixed discard flags. 2020-04-02 19:04:13 -07:00
Бранимир Караџић
83a211efac Updated version number. 2020-04-01 20:51:05 -07:00
Бранимир Караџић
c306e3b4bf Added bgfx version number. 2020-04-01 20:50:44 -07:00
Бранимир Караџић
ebc55f8083 Cleanup. 2020-03-31 18:52:02 -07:00
paul gruenbacher
c92e647b1a add missing flags to conditional check 2020-03-31 23:47:40 +00:00
Бранимир Караџић
f2290c1b57 Move GL_CHECK to GL callsites. 2020-03-30 09:08:10 -07:00
paul gruenbacher
5b9dd78383 make sure depth textures are resolved as well when blitting frameBuffer 2020-03-30 15:57:13 +00:00
Бранимир Караџић
a594cfa391 Cleanup. 2020-03-30 08:38:33 -07:00
Jukka Jylänki
7aed93f392 Adjust integer texture format enums for desktop OpenGL < 4.0 2020-03-30 15:35:15 +00:00
Jukka Jylänki
3ad3227595 Revert back to using GL_HALF_FLOAT (that is GL_HALF_FLOAT_OES) 2020-03-30 15:35:15 +00:00
Jukka Jylänki
43bd07f825 Fix OpenGL ES texture formats and remove runtime texture probing on WebGL. 2020-03-30 15:35:15 +00:00
Бранимир Караџић
e495c613a5 Cleanup. 2020-03-30 08:34:58 -07:00
Jukka Jylänki
d26aac6d2c Create WebGL 2 context if available. Work around Chrome performance bug https://bugs.chromium.org/p/chromium/issues/detail?id=1045643 2020-03-30 15:27:17 +00:00
Jukka Jylänki
4a8276cb29 Optimize glUniform1iv and glUniform4fv to use faster glUniform1i and glUniform4f on WebGL. 2020-03-30 15:26:49 +00:00
Jukka Jylänki
bab9dc752e Avoid redundant GL calls to glEnableVertexAttribArray() and glDisableVertexAttribArray(). #1960 2020-03-30 15:26:15 +00:00
Pablo Escobar
be626359f9 Fix #2071 again 2020-03-29 16:16:33 +00:00
Бранимир Караџић
6c0c5c9921 Renamed vertexdecl.* to vertexlayout.* 2020-03-28 20:06:03 -07:00
Pablo Escobar
1c9e6e6bb6 Fix #2071, #1950 2020-03-28 16:35:41 +00:00
Pablo Escobar
1f5ca837de Vulkan: fall back to deprecated validation layers if necessary 2020-03-27 04:35:19 +00:00
Pablo Escobar
9482c8589e Vulkan: bind correct compute index buffer 2020-03-26 22:17:53 +00:00
Pablo Escobar
d3e4e35700 Formatting 2020-03-26 19:03:05 +00:00
Pablo Escobar
570d269b86 Vulkan: enable sRGB backbuffer and sRGB textures 2020-03-26 19:03:05 +00:00
Pablo Escobar
0636436006 Vulkan: fix validation errors, switch to new validation layers 2020-03-24 21:28:48 +00:00
Бранимир Караџић
dc25f517a2 Revert "Allow macro expansion for sampler registers with HLSL 4 and below"
This reverts commit 77cd6482e7.
2020-03-23 11:49:51 -07:00
Бранимир Караџић
17d5a24279 Merge branch 'master' of github.com:bkaradzic/bgfx 2020-03-22 13:53:12 -07:00
Бранимир Караџић
34caa9cfb3 Fixed issue #2072. 2020-03-22 13:52:50 -07:00
Pablo Escobar
77cd6482e7 Allow macro expansion for sampler registers with HLSL 4 and below 2020-03-22 20:51:37 +00:00
Бранимир Караџић
8e18824460 Cleanup. 2020-03-22 13:51:09 -07:00
Pablo Escobar
c9fcca6327 Vulkan: use correct vertex layout for calculating vertex count 2020-03-22 20:47:35 +00:00
Бранимир Караџић
126a3fa6da Fixed issue #2072. 2020-03-21 20:42:10 -07:00
Бранимир Караџић
387ac7fc25 Cleanup. 2020-03-18 21:39:48 -07:00
Бранимир Караџић
7f8471e168 Fixed aligned delete. 2020-03-18 18:34:05 -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