Commit Graph

685 Commits

Author SHA1 Message Date
Branimir Karadžić
857feaa70d Cleanup. 2016-11-22 21:14:01 -08:00
Branimir Karadžić
69759a0116 Cleanup. 2016-11-22 17:55:45 -08:00
Branimir Karadžić
6430099ea9 Added texture format validation function. 2016-11-22 14:37:20 -08:00
Branimir Karadžić
3f98a93463 Renamed bgfx::setViewRemap to bgfx::setViewOrder. 2016-11-20 12:56:11 -08:00
Branimir Karadžić
cef953d6e9 Fixed issue #980. 2016-11-20 12:45:47 -08:00
Branimir Karadžić
34db235454 API change: Added getTexture from FrameBufferHandle, and removed all helper APIs that were using FrameBufferHandle and attachment. Related to issue #975. 2016-11-15 20:23:52 -08:00
Branimir Karadžić
616472b742 Don't flip after each timeout. 2016-11-08 18:01:26 -08:00
Branimir Karadžić
b9c1deceee Detect double freeing resources. 2016-11-03 16:52:34 -07:00
Branimir Karadžić
a3113ab94c Added ability to retrieve uniform info. 2016-11-02 00:12:40 -07:00
Branimir Karadžić
38a5b5ae44 Cleanup. 2016-10-28 16:33:17 -07:00
Branimir Karadžić
2230c23b76 Cleanup. 2016-10-28 13:18:30 -07:00
Branimir Karadžić
246bcb864f Cleanup. 2016-10-24 08:07:11 -07:00
benoitjacquier
9a0e685861 Merge branch 'master' of https://github.com/benoitjacquier/bgfx into readtexture_mip 2016-10-22 12:26:49 +02:00
benoitjacquier
74298e9940 readTexture mip support / D3D9 / D3D11 2016-10-21 17:22:05 +02:00
Branimir Karadžić
6cda5f1740 Cleanup. 2016-10-18 17:58:42 -07:00
Branimir Karadžić
599992c8f1 Added ability to specify api thread wait timeout. Fixed HLSL compiler. 2016-10-13 15:01:27 -07:00
Branimir Karadžić
8b4ac9d440 Changed getSupportedRenderers function. 2016-10-07 16:58:26 -07:00
Branimir Karadžić
272195da3f Updated embedded shaders. 2016-10-05 20:41:25 -07:00
Branimir Karadžić
059ef463d5 Sorted caps defines by name. 2016-10-03 19:16:19 -07:00
Branimir Karadžić
d639452e9b noop: Pretend all features that are not returning results to CPU are available. 2016-10-03 18:26:22 -07:00
Branimir Karadžić
202803cf3b Fixed scoring. 2016-09-29 21:29:37 -07:00
Branimir Karadžić
61a21ddb56 Cleanup. 2016-09-29 21:25:31 -07:00
Branimir Karadžić
0b3aec69a9 Cleanup. 2016-09-29 21:23:07 -07:00
Branimir Karadžić
57d34f557b Cleanup. 2016-09-28 16:42:15 -07:00
Branimir Karadžić
f1a8c5f195 Cleanup. 2016-09-27 22:07:53 -07:00
Branimir Karadžić
84e4a66c96 Cleanup. 2016-09-27 18:11:41 -07:00
Branimir Karadžić
9f53d33e80 Renamed null renderer to noop. 2016-09-24 08:35:31 -07:00
Branimir Karadžić
55dc1e2168 Added GNM renderer stub. 2016-09-24 08:31:49 -07:00
Branimir Karadžić
50d867bbc2 Added limits info to caps. 2016-09-24 00:29:59 -07:00
Branimir Karadžić
37f00de7de Fixed issue #917. 2016-09-15 20:54:00 -07:00
Branimir Karadžić
f62726b5db Added BGFX_CAPS_GRAPHICS_DEBUGGER. 2016-09-14 19:38:57 -07:00
Branimir Karadžić
1ae77b0cfb WIP: Adding vertex stream support. 2016-09-12 19:38:29 -07:00
Branimir Karadžić
0d981316f8 Switched use of stl::unordered_map to new HandleHashMap. 2016-09-06 22:42:45 -07:00
Branimir Karadžić
08438fa567 texturev: Added texture array support. 2016-08-23 22:06:50 -07:00
Branimir Karadžić
8809a190ef Fixed calcTextureSize. 2016-08-22 14:17:08 -07:00
Branimir Karadžić
7537b705e5 GL: Added support for texture array. 2016-08-21 14:03:16 -07:00
Branimir Karadžić
9527c756da Merge branch 'master' of github.com:bkaradzic/bgfx 2016-08-20 19:08:16 -07:00
Stuart Carnie
336357db6f improve inter-operability by exposing dbgTextPrintfVargs API 2016-08-20 19:02:56 -07:00
Branimir Karadžić
63e79499fa Cleanup. 2016-08-20 08:10:20 -07:00
Branimir Karadžić
c98be90bf5 WIP: Texture array support. 2016-08-19 21:05:37 -07:00
Branimir Karadžić
c1c7942265 Fixed issue #880. 2016-08-12 19:24:39 -07:00
Branimir Karadžić
f7060b66ee Cleanup. 2016-08-03 21:57:56 -07:00
Branimir Karadžić
b7a0030c20 GL: Added texture mip autogen. 2016-07-23 16:16:43 -07:00
Branimir Karadžić
08b5e9c851 Fixed mipmap chain generation for textures created with backbuffer ratio size. 2016-07-21 12:57:14 -07:00
Branimir Karadžić
1bd97b0d3d Fixed crash during initialization when platform data is not set correctly. 2016-07-06 20:04:07 -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ć
e46135da8c Added ability to programmatically capture frame with RenderDoc. 2016-06-02 18:46:43 -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ć
9beac469af Added check for texture flag missuse. 2016-05-04 20:33:24 -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