Branimir Karadžić
e47b474263
Fixed issue #823 .
2016-06-27 11:03:45 -07:00
attilaz
6fdc523d39
metal: added caps, added alphaToCoverage support, fixed texture format conversion ( #822 )
2016-06-27 08:53:11 -07:00
Branimir Karadžić
d173832129
Merge branch 'master' of github.com:bkaradzic/bgfx
2016-06-24 15:31:29 -07:00
Branimir Karadžić
ef30951693
Fixed issue #820 .
2016-06-24 15:31:20 -07:00
attilaz
0871a5ca00
iOS8 fixes ( #821 )
2016-06-24 06:13:42 -07:00
attilaz
6941d506d2
opaque/alphatest/alphablend sort order ( #819 )
2016-06-24 03:57:20 -07:00
Branimir Karadžić
d4e41c98b2
iOS: Fixed build.
2016-06-23 15:14:12 -07:00
Branimir Karadžić
92d8065850
Cleanup.
2016-06-23 09:24:57 -07:00
attilaz
7a76179273
fixed typo in vertex half vertex format ( #818 )
...
added missing texture formats
fixed packed depth/stencil format usage
2016-06-23 08:16:27 -07:00
Branimir Karadžić
8fd9f38094
GL: Fixed MSAA texture sampling.
2016-06-18 21:51:52 -07:00
Branimir Karadžić
00a2a9c964
Fixed GPU timer read-back.
2016-06-13 16:45:29 -07:00
Branimir Karadžić
d8d17994dc
GL: Fixed MSAA texture sampling.
2016-06-13 14:47:37 -07:00
Branimir Karadžić
34ec758be7
Updated bgfx::readTexture to return frame number when result will be available.
2016-06-04 09:27:19 -07:00
Branimir Karadžić
36ead44878
Cleanup.
2016-06-02 21:31:48 -07:00
Branimir Karadžić
f3fe5810ad
Cleanup.
2016-06-02 21:15:37 -07:00
Branimir Karadžić
e46135da8c
Added ability to programmatically capture frame with RenderDoc.
2016-06-02 18:46:43 -07:00
Branimir Karadžić
21518f201f
texturec: Preserve precision of input texture.
2016-06-02 16:38:26 -07:00
Branimir Karadžić
918f18c668
Fixed reset flags.
2016-05-31 12:50:28 -07:00
Sami Kyöstilä
3d23690216
Give a valid display parameter to eglMakeCurrent ( #800 )
2016-05-30 16:41:11 -07:00
Branimir Karadžić
10b9d079bf
Cleanup.
2016-05-22 17:20:27 -07:00
Sami Kyöstilä
516e287f24
Make it possible to reset the native window ( #796 )
...
On Android when the application goes into the background, the EGL
window surface becomes invalid. It is possible to resume rendering when
coming to the foreground by resetting and reinitializing bgfx from
scratch, but this is costly in terms of performance.
This patch provides an alternative by letting the application provide a
new native window, causing bgfx to recreate just the EGL window surface
while keeping the EGL context intact. This allows the application to
resume rendering without needing to reload textures, shaders, etc.
To test, build and run the Hello World example on Android, switch to
another app and then back again. The screen should not remain blank
after switching back.
2016-05-22 17:16:25 -07:00
Branimir Karadžić
ea67fa406f
Fixed PTC14A decoding. Issue #792 .
2016-05-19 15:04:20 -07:00
PendingChaos
768cf72ca7
GL: Fixed a bug where the depth buffer is not written to ( #793 )
...
`glDisable(GL_DEPTH_TEST)` disables not just depth testing but depth writing too. In the OpenGL renderer, it is called even when depth writing is enabled. This commit makes it fall back to `glEnable(GL_DEPTH_TEST)` and `glDepthFunc(GL_ALWAYS)` when it is enabled.
2016-05-19 12:15:34 -07:00
Mikulas Florek
16c73cd71b
waitRender and waitSubmit in the stats
2016-05-15 17:27:13 +02:00
Branimir Karadžić
579cd6647e
KTX: Fixed parser.
2016-05-10 15:07:35 -07:00
Branimir Karadžić
407c37e8d3
Cleanup.
2016-05-08 14:50:04 -07:00
Branimir Karadžić
9beac469af
Added check for texture flag missuse.
2016-05-04 20:33:24 -07:00
Branimir Karadžić
1d25dec13e
Fixed loading 24-bit DDS texture.
2016-05-04 17:51:16 -07:00
Stephen Hill
bd822fffa6
Fixed reuse of va_list in traceVargs
...
It's not safe to reuse va_list over multiple var-arg calls.
2016-05-01 18:33:01 -04:00
Branimir Karadžić
ab3ba43756
GL: Fixed shader patching.
2016-04-26 17:35:01 -07:00
Branimir Karadžić
c869e48248
Fixed issue #774 .
2016-04-23 11:31:36 -07:00
Libor Capak
f3ce2d4358
VertexDecl::m_hash should count m_stride too
2016-04-22 14:44:51 +02:00
Dario Manesku
fc03aaab57
GL_ARB_texture_multisample is written against OGL 3.1.
2016-04-22 00:38:10 +02:00
Branimir Karadžić
a483ee936c
GLES: Fixed imports.
2016-04-20 22:24:42 -07:00
Branimir Karadžić
be8b66a96b
GL: MSAA texture.
2016-04-20 22:19:12 -07:00
Branimir Karadžić
26e098f42c
Updated amalgamated build.
2016-04-20 15:34:59 -07:00
Branimir Karadžić
150fe0dd10
Added missing ABI asserts for C99 headers.
2016-04-19 09:17:29 -07:00
Branimir Karadžić
da0af1e356
Fixed assert message.
2016-04-19 09:12:04 -07:00
Branimir Karadžić
fe62fe5ebf
Fixed dynamic buffer overrun. Issue #760 .
2016-04-18 20:08:50 -07:00
Branimir Karadžić
7423257f57
Added BGFX_TEXTURE_MSAA_SAMPLE flag.
2016-04-17 23:00:36 -07:00
Branimir Karadžić
032ec109dd
D3D11: Retrieve feature level when using externally created device.
2016-04-15 21:24:14 -07:00
Branimir Karadžić
fb11176ae1
Cleanup.
2016-04-15 21:09:48 -07:00
Branimir Karadžić
29cbba3d39
Cleanup.
2016-04-14 21:16:07 -07:00
Branimir Karadžić
c92b0dd9d4
Cleanup.
2016-04-14 19:41:39 -07:00
Branimir Karadžić
056bd5437e
Cleanup.
2016-04-13 10:35:59 -07:00
Branimir Karadžić
4d1542519f
Merge branch 'master' of github.com:bkaradzic/bgfx
2016-04-12 16:45:41 -07:00
Branimir Karadžić
c360ab23f3
GL: Fixed crash when reading active attributes with ARB_program_interface_query.
2016-04-12 16:45:33 -07:00
Krzysztof Kondrak
714ab421f9
OculusVR: fix stereoscopic view
2016-04-11 20:57:34 +02:00
Branimir Karadžić
2369a6c489
Cleanup.
2016-04-10 21:40:38 -07:00
Branimir Karadžić
c2de2f44f2
Merge branch 'master' of cane:bkaradzic/bgfx into dev
2016-04-10 21:41:34 -07:00