Branimir Karadžić
a3a1ed112b
Fixed variable shadowing warning.
2015-04-08 22:40:51 -07:00
Branimir Karadžić
23114a821c
32-bit indices support WIP.
2015-04-08 19:59:48 -07:00
Branimir Karadžić
1824a3f5bd
Cleanup.
2015-04-08 14:16:02 -07:00
Branimir Karadžić
6fe02e7815
Fixed crash (Win7) when query IID_IDXGIDevice3 succeeds, but getting adapter fails.
2015-04-07 20:41:16 -07:00
Branimir Karadžić
c85c12b5cd
Fixed variable narrowing warnings.
2015-04-07 17:58:14 -07:00
Branimir Karadžić
288361b5c1
Pass all reset flags to glcontext.
2015-04-06 21:31:26 -07:00
Branimir Karadžić
c5a03233c0
Fixed shutdown sequence.
2015-04-06 18:22:15 -07:00
Miodrag Milanovic
9b71495507
Fix for :
...
error: array index 1 is past the end of the array (which contains 1 element) [-Werror,-Warray-bounds]
m_samplerFlags[stage][1] = UINT32_MAX;
2015-04-06 10:37:12 +02:00
Branimir Karadžić
1e8051fd00
Fixed variable shadowing.
2015-04-04 19:10:35 -07:00
Branimir Karadžić
4063b2a652
Cleanup.
2015-04-02 23:18:20 -07:00
Vas Crabb
9f1370c603
Fix leaks of autoreleased objects and allow building on OS X 10.6 Snow Leopard
2015-04-03 07:42:56 +11:00
Branimir Karadžić
46ad1aa51d
Merge pull request #317 from mendsley/d3d11_cb_align16
...
D3D11 constant buffer must align ByteWidth to 16 bytes
2015-04-02 12:02:14 -07:00
Branimir Karadžić
2a725eca76
Made compute sort priority higher than sequence.
2015-04-02 11:58:24 -07:00
Branimir Karadžić
5a9b02ca31
Added view name flag for compute.
2015-04-02 11:57:53 -07:00
Matthew Endsley
2680bd0608
D3D11 constant buffer must align ByteWidth to 16 bytes
...
See remarks of:
https://msdn.microsoft.com/en-us/library/windows/desktop/ff476092(v=vs.85).aspx
Most PC drivers don't seem to enforce this, but it will
crash the xb1 implementation if fed an unaligned value.
2015-04-02 11:45:34 -07:00
Branimir Karadžić
7ebc6e3cbb
Updated C99 API.
2015-04-01 23:58:36 -07:00
Branimir Karadžić
ca41b8b774
Merge pull request #314 from mendsley/resolved3d11rt
...
Resolve D3D11 render targets before switching.
2015-04-01 19:26:34 -07:00
Branimir Karadžić
dd98c12901
Added release callback for makeRef.
2015-04-01 16:44:44 -07:00
Matthew Endsley
aa7f0149bd
Resolve D3D11 render targets before switching.
2015-04-01 14:05:47 -07:00
Miodrag Milanovic
f1ae3f2a5c
Fix BGFX compile
2015-04-01 13:02:48 +02:00
Branimir Karadžić
8f3708fe28
Cleanup.
2015-03-31 22:01:50 -07:00
Branimir Karadžić
ef5ba847eb
Fixed MinGW build.
2015-03-31 17:15:17 -07:00
Branimir Karadžić
81d6876067
Cleanup.
2015-03-31 09:44:51 -07:00
Branimir Karadžić
1dc10fa48f
GL: Fixed crash when extension reports functionality but function doesn't exist.
2015-03-30 08:58:15 -07:00
Branimir Karadžić
9fc5badf69
GL: Fixed crash when timer query is not available.
2015-03-30 00:06:34 -07:00
Branimir Karadžić
5eccbc7aa8
Cleanup.
2015-03-29 23:08:45 -07:00
Branimir Karadžić
932b44fbec
Cleanup.
2015-03-29 23:10:52 -07:00
Branimir Karadžić
d62025d530
Fixing VS2015 warnings.
2015-03-29 22:40:35 -07:00
Branimir Karadžić
bec3382e61
Cleanup.
2015-03-29 21:17:14 -07:00
Matthew Endsley
a8f715e279
Support Oculus SDK versions through 0.5.0.1-beta
...
Tested against the following SDKs:
- 0.5.0-beta
- 0.4.4-beta
- 0.4.3-beta
- 0.4.2-beta
- 0.4.1-beta
- 0.4.0-beta
2015-03-29 20:38:54 -07:00
Branimir Karadžić
675745cb9e
GLES: Float texture filtering when OES_texture_half_float_linear is present.
2015-03-28 22:03:25 -07:00
Branimir Karadžić
25b37dfee6
Added EXT_color_buffer_float.
2015-03-28 21:41:48 -07:00
Branimir Karadžić
3039c9a040
GLES: Fixed OES_texture_half_float incomplete texture.
2015-03-28 21:25:40 -07:00
Branimir Karadžić
4b18babb62
Updated C99 API.
2015-03-27 22:09:10 -07:00
Branimir Karadžić
bf393f69f7
Fixed handle check.
2015-03-27 19:52:31 -07:00
Branimir Karadžić
91e1c1bedb
Aligned stats.
2015-03-26 22:52:49 -07:00
Branimir Karadžić
dc60f34883
Updated stats display.
2015-03-26 22:43:50 -07:00
Branimir Karadžić
53b9e90d21
Added caps vendor/device info.
2015-03-26 19:39:55 -07:00
Branimir Karadžić
eeb491883d
Added ability to select GPU.
2015-03-26 15:01:47 -07:00
Branimir Karadžić
a4bf237b05
Fixed handle check.
2015-03-26 15:01:09 -07:00
Branimir Karadžić
9b5f148d42
Improved handle error checking.
2015-03-25 23:33:35 -07:00
Branimir Karadžić
b19c391570
GLX: Fixed context destroy.
2015-03-25 21:23:48 -07:00
Branimir Karadžić
a797b00a7f
Updated GLFW entry to test for exit.
2015-03-25 19:43:12 -07:00
Branimir Karadžić
4b60ddf44d
Fixed GLFW3 integration on Linux.
2015-03-24 23:21:32 -07:00
Branimir Karadžić
0da6c77806
Added glfw entry.
2015-03-24 22:19:21 -07:00
Branimir Karadžić
b2c8c45b02
Cleanup.
2015-03-24 21:24:13 -07:00
Branimir Karadžić
c4ddb3b0e7
Fixed view remap.
2015-03-23 17:10:33 -07:00
Branimir Karadžić
476f438d7a
Added new WEGL extensions.
2015-03-22 22:03:37 -07:00
Branimir Karadžić
317dc986f1
Fixed NaCl build.
2015-03-22 22:02:01 -07:00
Branimir Karadžić
db0934f419
Cleanup.
2015-03-22 10:18:47 -07:00
Branimir Karadžić
6ba3a60c1a
Fixed amalgamated build with multiple renderers.
2015-03-21 22:11:59 -07:00
Branimir Karadžić
81c93758e3
Added header guards to ovr.h.
2015-03-21 18:13:05 -07:00
Branimir Karadžić
32f4165aa9
Updated GENie script to remove *.bin.h from projects.
2015-03-21 17:42:46 -07:00
Branimir Karadžić
5802af7329
Made vertex decl begin accept RenderType::Count as default.
2015-03-18 12:42:59 -07:00
Branimir Karadžić
b2da0cce93
Added [u/i]sampler3D.
2015-03-17 17:27:04 -07:00
Branimir Karadžić
bbf2fa6f46
GL: Fixed crash when looking for [u/i]samplers.
2015-03-17 15:38:41 -07:00
Miodrag Milanovic
161d5a475e
Fix VisualStudio warning
2015-03-17 14:18:27 +01:00
Branimir Karadžić
1a0ba0d87a
GL: Added [u/i]sampler[2D/3D/Cube].
2015-03-16 21:44:33 -07:00
Branimir Karadžić
19c8214485
Commented out D3D_DISABLE_9EX, some D3D9 headers are not handling it properly (f.e. MinGW 3.1 runtime, default VS headers).
2015-03-14 10:59:11 -07:00
Branimir Karadžić
d67a940802
D3D11: Handle CheckFeatureSupport gracefully,
2015-03-13 11:48:27 -07:00
Branimir Karadžić
13fb047a51
GL: Fixed framebuffer with stencil attachment.
2015-03-12 22:35:45 -07:00
Branimir Karadžić
7fca16b68d
Fixed typo.
2015-03-12 17:59:03 -07:00
Branimir Karadžić
441e674459
D3D11: Texture format caps.
2015-03-11 21:52:10 -07:00
Branimir Karadžić
918b111eb5
Cleanup. Added state cache.
2015-03-05 21:11:44 -08:00
Branimir Karadžić
2ce33465d5
Added Vulkan stub.
2015-03-05 20:34:39 -08:00
Branimir Karadžić
a819a3f73e
Added error check for use of TextureFormat::BGRA8 in compute.
2015-03-05 19:31:20 -08:00
Branimir Karadžić
4419338b27
Merge branch 'master' of github.com:bkaradzic/bgfx
2015-03-05 17:45:05 -08:00
Branimir Karadžić
d858dde912
Added RGBA8 texture format.
2015-03-05 17:44:56 -08:00
Branimir Karadžić
5185e2f901
GL: Fixing texture formats for GL and GLES31.
2015-03-04 22:08:54 -08:00
Branimir Karadžić
64a32ecdf5
D3D11: Fixed crash with RenderDoc.
2015-03-03 15:16:17 -08:00
Branimir Karadžić
ac34be556a
D3D11: Fixed buffer update. Issue #271 .
2015-03-03 14:37:18 -08:00
Branimir Karadžić
93b5b0a20c
Added imageLoad/Store overloads.
2015-03-02 17:58:43 -08:00
Branimir Karadžić
478449e23a
Adding vertex textures WIP.
2015-03-01 22:01:30 -08:00
Branimir Karadžić
7bd37979ab
Added separate table for RBO format. Issue #272 .
2015-03-01 12:33:27 -08:00
Branimir Karadžić
676127bc5d
GLES: Fixed D0S8 texture format.
2015-02-26 17:51:00 -08:00
Branimir Karadžić
a396f671ec
Added more handle checks.
2015-02-25 22:40:56 -08:00
Branimir Karadžić
579f43fad7
Added number of views to caps.
2015-02-25 21:12:52 -08:00
Branimir Karadžić
b80edd19ff
Added handle debug checks.
2015-02-25 19:46:10 -08:00
Branimir Karadžić
26e96b0489
GL: Fixed program sampler count.
2015-02-24 15:18:33 -08:00
Branimir Karadžić
fb6aa4f51d
Removed need to set texture format for compute's setImage.
2015-02-23 17:25:06 -08:00
Branimir Karadžić
7652b05cc5
Fixed GCC 4.9 type-limit warning.
2015-02-23 11:33:02 -08:00
Branimir Karadžić
cc9ed76048
D3D11: Disable alt-enter.
2015-02-22 20:30:17 -08:00
Branimir Karadžić
4685fdeca3
Fixed dynamic vertex/index buffer leak warning. Issue #263 .
2015-02-21 21:51:06 -08:00
Branimir Karadžić
c3112bce2a
Fixed GCC warning.
2015-02-21 21:50:16 -08:00
Branimir Karadžić
8790649495
Moved imgui to last view.
2015-02-21 15:51:03 -08:00
Branimir Karadžić
2883be5c1a
Increased number of views to 256. Added view remap support.
2015-02-21 15:40:51 -08:00
Branimir Karadžić
ca3a6e5c84
Fixed Emscripten.
2015-02-20 15:35:20 -08:00
Branimir Karadžić
78f415e812
GL: Added unsigned int image samplers.
2015-02-19 20:06:02 -08:00
Branimir Karadžić
5a4afee0ea
Fixed compute unsigned image.
2015-02-19 16:23:27 -08:00
Branimir Karadžić
078dd5127f
Added HLSL pack/unpackHalf2x16.
2015-02-18 17:37:07 -08:00
Branimir Karadžić
1295de90ea
Remove destroyed uniform from hash map.
2015-02-17 17:08:08 -08:00
Branimir Karadžić
3838492e8d
Dispatch compute is always in sequential mode.
2015-02-17 16:26:35 -08:00
Branimir Karadžić
b8d065da79
Merge branch 'master' of github.com:bkaradzic/bgfx
2015-02-17 11:50:38 -08:00
Branimir Karadžić
7279a31768
GL: Cache current GL context. Issue #262 .
2015-02-17 11:50:31 -08:00
Branimir Karadžić
5ff63f93b6
Cleanup.
2015-02-16 22:53:06 -08:00
Branimir Karadžić
13ac805085
Cleanup.
2015-02-16 21:58:13 -08:00
Branimir Karadžić
895f697f50
Removed 16-bit API limit from vertex buffer.
2015-02-16 19:01:32 -08:00
Branimir Karadžić
a57634cd09
Added D3D12 enum.
2015-02-15 18:27:54 -08:00
Branimir Karadžić
39e6eff1e0
Updated DDS formats.
2015-02-14 15:45:51 -08:00
Branimir Karadžić
3fb7221df2
Cleanup.
2015-02-13 09:33:56 -08:00
Branimir Karadžić
4f28cffa1a
Fixed issue #259 .
2015-02-12 08:26:21 -08:00
Branimir Karadžić
06eef99ce9
Added legacy DDS pixel format decoding.
2015-02-11 14:57:09 -08:00
Branimir Karadžić
b27c945cef
Reverted bad commit.
2015-02-10 14:26:13 -08:00
Branimir Karadžić
06ad146d9f
Updated compute shader header.
2015-02-10 14:22:56 -08:00
Branimir Karadžić
74b59f1692
GL: Fixed optional import.
2015-02-09 16:19:53 -08:00
Branimir Karadžić
f81f34545c
Added cubemap to texture info. Fixed issue #255 .
2015-02-09 11:24:59 -08:00
Branimir Karadžić
ef84ba3f1f
Cleanup.
2015-02-08 11:02:39 -08:00
Branimir Karadžić
1d4eb335a7
Removed X11 include in bgfxplatform.h.
2015-02-06 16:49:04 -08:00
Branimir Karadžić
b01f289340
Fixed issue #252 .
2015-02-06 10:47:53 -08:00
Branimir Karadžić
5fc9ac494b
DX11: Embedded ID3D11InfoQueue GUID.
2015-02-04 19:33:31 -08:00
Branimir Karadžić
f0f0d08417
Fixed texture info.
2015-02-02 20:42:59 -08:00
Branimir Karadžić
8942628ec1
Fixed texture size calculation.
2015-02-02 20:30:57 -08:00
Branimir Karadžić
c2e100d65d
Added minimum number of blocks for PTC textures. Issue #250 .
2015-02-01 21:38:47 -08:00
Branimir Karadžić
c7a32e63cc
Cleanup.
2015-01-31 15:06:44 -08:00
Branimir Karadžić
aea2cd2ce3
Fixed GLX context.
2015-01-31 13:55:02 -08:00
Branimir Karadžić
c65f04ae05
EGL: Added ability to use EGL on Linux.
2015-01-31 13:47:27 -08:00
Branimir Karadžić
524b28a9f7
Cleanup.
2015-01-30 10:31:50 -08:00
Branimir Karadžić
a1d50d6ea4
Cleanup.
2015-01-29 19:54:23 -08:00
Branimir Karadžić
3de816bf34
Added dynamic buffer resizing.
2015-01-28 17:56:29 -08:00
Branimir Karadžić
34ab21c7cf
Merge branch 'master' of github.com:bkaradzic/bgfx
2015-01-28 11:53:21 -08:00
Branimir Karadžić
37ec631ec7
Fixed issue #249 .
2015-01-28 11:52:58 -08:00
Branimir Karadžić
3b54571447
Reverted bad commit.
2015-01-26 19:46:18 -08:00
Branimir Karadžić
b2a91c4a29
Cleanup.
2015-01-26 19:09:51 -08:00
Branimir Karadžić
02d32dc1bb
Fixed vertex buffer update offset.
2015-01-26 09:19:34 -08:00
Branimir Karadžić
5129b8462e
Updated DX12 stub.
2015-01-24 22:19:42 -08:00
Branimir Karadžić
f763ec9355
Updated .gitignore.
2015-01-24 22:07:42 -08:00
Branimir Karadžić
3a7e9ff7cd
Fixed transient buffer alignment.
2015-01-23 22:40:04 -08:00
Branimir Karadžić
2764d9d2aa
Fixed issue #239 .
2015-01-23 22:18:07 -08:00
Branimir Karadžić
938c1a0e92
Fixed dynamic index buffer offset.
2015-01-23 17:27:15 -08:00
Branimir Karadžić
6fda797b23
Merge branch 'dev'
2015-01-21 20:41:48 -08:00
Branimir Karadžić
0516b5603b
Added max anisotropy reset flag.
2015-01-21 20:39:42 -08:00
Branimir Karadžić
a47839be56
Removed glcontext_ios.h issue #237 .
2015-01-20 22:14:27 -08:00
Branimir Karadžić
be8c9576f5
Fixed issue #225 .
2015-01-20 22:07:30 -08:00
Branimir Karadžić
6cb953af14
Rename bx::swap to bx::xchg.
2015-01-20 00:04:30 -08:00
Branimir Karadžić
21fff2de4b
Cleanup.
2015-01-14 21:31:08 -08:00
Branimir Karadžić
1cf70cbcdd
Fixed compiler warning.
2015-01-13 22:49:39 -08:00
Branimir Karadžić
069de61bdb
Combined sampler and compute binding.
2015-01-13 22:34:48 -08:00
Branimir Karadžić
99af670622
Cleanup.
2015-01-13 19:43:04 -08:00
Miodrag Milanovic
86d6e003cc
Mark DX11 as unsuported if build is created for higher windows version but running on WinXP or lower
2015-01-13 19:35:44 +01:00
Miodrag Milanovic
13ca8fc45b
On 32bit we should try DX9 too on Win 8
2015-01-13 16:03:50 +01:00
Branimir Karadžić
4e39749b1e
DX11: Fixed initialization error when D3D11 SDK Layers is not present.
2015-01-12 20:46:50 -08:00
Branimir Karadžić
8d70a2abde
Added gl_PrimitiveID builtin for fragment shaders.
2015-01-12 19:37:42 -08:00
Branimir Karadžić
904f52ab91
Fixed compile error.
2015-01-11 18:02:34 -08:00
Branimir Karadžić
bb96d76c0a
Added discard framebuffer resources after use.
2015-01-11 18:00:08 -08:00
Branimir Karadžić
ff7f967c1b
Removed _BIT suffix from BGFX_CLEAR_* flags.
2015-01-10 21:39:45 -08:00
Branimir Karadžić
a038b6d426
Added ability to bind static index buffer to compute.
2015-01-10 20:56:38 -08:00
Branimir Karadžić
ef05e607d6
Added support for GPU compute dynamic index buffer.
2015-01-10 20:38:47 -08:00
Branimir Karadžić
eef76d08cb
Added PTC14(A) to emulated formats.
2015-01-10 15:16:08 -08:00
Branimir Karadžić
01ac66258e
Added PTC14(A) decoding fallback.
2015-01-09 22:31:52 -08:00
Branimir Karadžić
dbca2689ca
Fixed issue#226.
2015-01-08 20:43:36 -08:00
Branimir Karadžić
86765854b0
Fixed missing DX11 defines when building with MinGW on Linux.
2015-01-05 20:59:58 -08:00
Branimir Karadžić
4b1b62e6bd
Fixed MinGW build from Linux.
2015-01-04 16:23:00 -08:00
Branimir Karadžić
649d7f74d2
Updated copyright year.
2015-01-02 14:43:11 -08:00
Branimir Karadžić
c25dd466be
Updated copyright year.
2015-01-01 15:04:46 -08:00
Branimir Karadžić
efe0bc3c47
Fixed build.
2014-12-28 12:51:06 -08:00
Branimir Karadžić
1be040f2ab
Added compute dispatch flags.
2014-12-28 11:36:36 -08:00
Branimir Karadžić
9d83a5307c
Fixed example 24-nbody with OVR.
2014-12-28 10:12:24 -08:00
Branimir Karadžić
6e73d4ea34
Predefined uniforms refactoring.
2014-12-27 19:00:41 -08:00
Branimir Karadzic
c8a112d71e
X11: Relax polling input.
2014-12-25 09:27:51 -08:00
Miodrag Milanovic
3df7041cba
Fixed compile and linking under mingw environment
2014-12-24 11:46:49 +01:00
Branimir Karadžić
857a2b18f1
Android: Fixed GLES3+ build.
2014-12-23 23:32:36 -08:00
Branimir Karadžić
08d97d8c4b
OVR: Support for multiple SDK versions.
2014-12-21 18:55:33 -08:00
Branimir Karadžić
83f151f71b
Added 24-nbody compute shader example.
2014-12-19 21:09:58 -08:00
Branimir Karadzic
9d1d59604c
Implemented missing casts.
2014-12-18 10:22:27 -08:00
Branimir Karadžić
341eb4e609
Fixed issue #202 .
2014-12-16 23:25:18 -08:00
Branimir Karadžić
9ae934ffd7
Included bgfx_shader.sh to bgfx_compute.sh.
2014-12-16 20:48:16 -08:00
Branimir Karadžić
efcb10aef6
Fixed compute program destruction.
2014-12-16 20:12:09 -08:00
attilaz
28f17cd8f2
added view id checks
2014-12-15 16:20:49 +01:00
Branimir Karadžić
504af5216b
Fix.
2014-12-14 16:47:01 -08:00
Branimir Karadžić
10aeb83a69
Removed psapi.h from non-windows builds.
2014-12-14 16:43:39 -08:00
Branimir Karadžić
d45e245039
Updated RenderDoc to nightly 20141211. Added support for capturing OpenGL.
2014-12-11 20:48:16 -08:00
Branimir Karadžić
bbf4819c01
Fixed issue #208 .
2014-12-11 20:17:38 -08:00
attilaz
108f0e7aca
check if _mem is NULL
2014-12-11 12:05:30 +01:00
Branimir Karadžić
3ccf3f70bb
Cleanup.
2014-12-10 22:44:00 -08:00
Branimir Karadžić
47f100d70f
Fixed compute buffer.
2014-12-10 21:09:13 -08:00
Branimir Karadžić
1f96070f28
Cleanup.
2014-12-09 23:19:53 -08:00
Branimir Karadžić
ad47659669
Added compute buffer support.
2014-12-09 23:16:27 -08:00
Branimir Karadžić
1a5dae9862
Fixed issue #200 .
2014-12-06 18:12:40 -08:00
Branimir Karadžić
18e9c30a0c
Updated OVR SDK 0.4.4.
2014-12-05 19:17:59 -08:00
Branimir Karadžić
254efb5a3d
Added bgfx::dbgTextImage API for drawing directly into debug text buffer.
2014-12-04 20:32:19 -08:00
Branimir Karadžić
584a32038f
Cleanup.
2014-12-04 19:56:19 -08:00
Branimir Karadžić
1f696d2f7f
DX11: Fixed device creation flags.
2014-12-04 19:35:01 -08:00
Branimir Karadžić
cafe34ee2f
Merge branch 'master' of github.com:bkaradzic/bgfx
2014-12-02 20:33:23 -08:00
Branimir Karadžić
a7290afc4f
DX11: Fixed screen shot.
2014-12-02 20:28:14 -08:00
Branimir Karadzic
38f340b540
Fixed issue #197 .
2014-12-01 08:21:13 -08:00
Branimir Karadžić
3e4b82e7fe
Fixed typo. Issue #196 .
2014-11-30 09:06:47 -08:00
Branimir Karadžić
7c1c180243
Fixed compile error.
2014-11-30 00:03:02 -08:00
Mike Popoloski
3c04ad2d4c
Fixing warnings about locals shadowing others of the same name. At least one of these was an actual bug.
2014-11-22 17:34:09 -05:00
Mike Popoloski
8af790201f
D3D_FEATURE_LEVEL_11_2 isn't actually a thing. The D3D11.2 features are checked explicitly instead of using a feature level.
2014-11-22 17:13:14 -05:00
Branimir Karadžić
6c7589c0c9
Cleanup.
2014-11-17 21:35:53 -08:00
Branimir Karadžić
70253127e4
D3D11: Moved missing defines into header.
2014-11-17 21:13:55 -08:00
Branimir Karadžić
ddddd458f6
Added D3D_FEATURE_LEVEL_11_1 define when it's not defined.
2014-11-17 19:38:58 -08:00
Mike Popoloski
d1d38fb825
Fixing whitespace issues.
2014-11-17 22:23:28 -05:00
Mike Popoloski
850059c1cd
Fixing D3D11 device creation issues on downlevel hardware.
2014-11-17 22:18:35 -05:00
Mike Popoloski
48bfab3713
Fixing compile errors on MSVC.
2014-11-15 15:52:14 -05:00
Mike Popoloski
893035af65
Merge branch 'master' of https://github.com/bkaradzic/bgfx
2014-11-15 13:32:22 -05:00
Mike Popoloski
f55a91db97
Adding specialized codepaths for swapchain creation on WinRT, since it requires DXGI 1.3.
2014-11-14 08:22:32 -05:00
Mike Popoloski
0b55cb1348
Adding WinRT platform function and setting it to use multithreaded rendering.
2014-11-14 08:19:33 -05:00
Branimir Karadžić
545978d661
Cleanup.
2014-11-12 22:16:19 -08:00
Branimir Karadžić
e147e7b2e6
OVR: Added rendering without distortion.
2014-11-12 21:26:28 -08:00
Branimir Karadžić
31efb2991f
Updated to OVR 0.4.3. Added support for event char to read keyboard text input.
2014-11-08 20:57:47 -08:00
Branimir Karadžić
b3a9c38d5c
Fixed narrowing conversion warning.
2014-11-04 20:01:42 -08:00
Branimir Karadžić
a2153729be
Added HMD recenter support. Updated examples to support HMD.
2014-11-02 00:06:18 -07:00
Branimir Karadžić
ea36931ee1
Cleanup.
2014-10-30 21:06:52 -07:00
Branimir Karadzic
f960d0cc31
Cleanup.
2014-10-29 15:50:41 -07:00
Branimir Karadžić
f6cf4df3d3
Added OculusVR support.
2014-10-28 22:08:55 -07:00
Branimir Karadžić
e8ff46840e
Cleanup.
2014-10-28 21:41:34 -07:00
Branimir Karadžić
c9bef966ca
Cleanup.
2014-10-26 00:55:49 -07:00
Branimir Karadžić
62abe9db5e
Cleanup.
2014-10-25 19:16:24 -07:00
Branimir Karadžić
208a348ab2
Fixed compile errors. Added default part of view debug name. Added example how to use view debug name.
2014-10-25 18:07:51 -07:00
Branimir Karadžić
96ecaffee0
Cleanup.
2014-10-22 20:45:08 -07:00
Branimir Karadžić
8a354b0785
Added line strip primitive type.
2014-10-22 19:19:33 -07:00
Branimir Karadžić
41fae47351
Fixed some false positive clang analysis warnings.
2014-10-21 23:38:16 -07:00
Branimir Karadzic
c3ed0050d2
Fixed compile error.
2014-10-21 23:00:23 -07:00
Branimir Karadzic
07f052201a
Added clang analyzer config.
2014-10-21 22:58:07 -07:00
Branimir Karadžić
29b7249fc1
Cleanup.
2014-10-18 15:44:45 -07:00
Branimir Karadzic
7c2b232220
Fixed clang build.
2014-10-17 21:39:26 -07:00
Branimir Karadžić
a0068524a9
Fixed MinGW macro collsion.
2014-10-17 21:01:39 -07:00
Branimir Karadžić
5e39e3b16a
clang on VS201x.
2014-10-16 19:54:29 -07:00
Branimir Karadžić
7fa124eeab
Fixed alignment macro.
2014-10-13 21:31:18 -07:00
Branimir Karadžić
bfa1f9f3af
Moved ctor/dtor into init/shutdown to have class ctor fully initialized prior calling initialization code.
2014-10-13 21:14:51 -07:00
Branimir Karadžić
3b01df7293
Cleanup.
2014-10-13 20:05:23 -07:00
Branimir Karadžić
c7901436a5
Fixed issue #169 . C99 function name mismatch between header and implementation.
2014-10-12 09:58:57 -07:00
Branimir Karadzic
4ba9212d35
Cleanup.
2014-10-11 22:24:07 -07:00
Branimir Karadžić
ea571fd754
Cleanup.
2014-10-11 15:39:53 -07:00
Branimir Karadzic
1def740a7c
Fixed unused variable warning.
2014-10-11 14:14:12 -07:00
Branimir Karadžić
f1533ccc74
Removed emulated flags from caps.
2014-10-11 12:51:32 -07:00
Branimir Karadžić
9126ca8fd7
Added DX12 stub.
2014-10-11 11:24:37 -07:00
Branimir Karadzic
3dd237aefa
Updated docs.
2014-10-11 10:12:27 -07:00
Branimir Karadzic
a96837c1ea
Fixed VS2013 warning.
2014-10-10 09:26:58 -07:00
Branimir Karadzic
5ea84e8274
Added allocTransform API to return pointer to internal matrix cache.
2014-10-08 20:13:57 -07:00
Branimir Karadzic
f5b8d636a6
GL: Fixed constants commit.
2014-10-08 19:58:29 -07:00
Branimir Karadžić
51d8daf762
Fixed constant buffer allocation logic.
2014-10-08 19:36:59 -07:00
Branimir Karadžić
14a71bd477
Cleanup.
2014-10-07 22:05:35 -07:00
Branimir Karadžić
b1878edd2e
Cleanup.
2014-10-06 22:10:55 -07:00
Branimir Karadžić
493c964423
Cleanup.
2014-10-06 19:21:08 -07:00
Branimir Karadžić
d90b754bae
Cleanup.
2014-10-05 18:20:05 -07:00
Branimir Karadžić
a05acba1ee
Added state cache info to debug panel.
2014-10-05 00:14:21 -07:00
Branimir Karadzic
8dab207b36
OSX: Fixed window resize.
2014-10-01 20:25:56 -07:00
Branimir Karadžić
1b5454bd51
Fixed 22-windows example.
2014-09-30 22:20:16 -07:00
Branimir Karadžić
61ed393f6c
DX11: Allow lost device for few frames.
2014-09-30 21:16:24 -07:00
Branimir Karadzic
9ba0956812
GLX: Added swap chain support.
2014-09-28 14:38:52 -07:00
Branimir Karadžić
80f2044a7c
Cleanup.
2014-09-28 11:03:47 -07:00
Branimir Karadžić
d705fbc9bd
Fixed RenderDoc crash when IntelGPA is present.
2014-09-27 20:40:47 -07:00
Branimir Karadžić
d35c14164b
Updated README.
2014-09-27 14:15:56 -07:00
Branimir Karadžić
58b37542c8
Removed *Mask API.
2014-09-27 12:07:40 -07:00
Branimir Karadžić
c659e70bdc
Uncomment RenderDoc dlclose. Fixed in RenderDoc nightly 9/26/14.
2014-09-26 20:31:54 -07:00
Branimir Karadžić
4657f97c6f
DX11: Integrated RenderDoc capture.
2014-09-25 22:41:53 -07:00
Branimir Karadžić
7362288131
Added EGL swap chain.
2014-09-24 19:22:15 -07:00
Branimir Karadžić
f4c7f69ed7
Added swap chain caps.
2014-09-23 20:35:39 -07:00
bkaradzic
357c2bfce1
Disabled dxerr, causes issues when building without DXSDK.
2014-09-23 07:46:39 -07:00
Branimir Karadžić
3d3a725812
DX9: Fixed swap chain depth creation.
2014-09-22 23:00:42 -07:00
Branimir Karadžić
de3d152b9c
Added multiple windows example.
2014-09-22 19:34:10 -07:00
miodragm
11b229c235
Enable DX11 for Win7 as well
2014-09-19 18:20:12 +02:00
Branimir Karadžić
e1d98eb465
Reverting to __uuidof...
2014-09-19 00:07:45 -07:00
Branimir Karadžić
f000f259d7
Fixed missing uuid.
2014-09-18 23:58:20 -07:00
Branimir Karadžić
338bbcb559
Cleanup.
2014-09-18 20:28:41 -07:00
m.milanovic@levi9.com
3e572a9616
Fixed DirectX 11 render compile errors
2014-09-18 15:33:09 +02:00
Branimir Karadžić
8f09044ea4
Fixed 64-bit warning.
2014-09-16 20:51:55 -07:00
Branimir Karadžić
c193bd0b62
Updated C99 header.
2014-09-14 11:31:23 -07:00
Branimir Karadžić
506efdc072
GLES2: Added EXT_draw_buffers support.
2014-09-12 00:02:12 -07:00
Branimir Karadžić
eec4ae9847
Fixing paths.
2014-09-10 21:48:08 -07:00
Branimir Karadžić
db954c9031
Fixed GCC warning.
2014-09-07 23:21:17 -07:00
bkaradzic
ba1c5353e6
Fixed iOS build.
2014-09-07 17:52:02 -07:00
bkaradzic
96e07d3929
Fixed OSX build.
2014-09-07 17:46:52 -07:00
Branimir Karadžić
2c03cf4927
Added multiple windows support.
2014-09-07 17:17:38 -07:00
bkaradzic
529b9274a5
Cleanup.
2014-09-03 00:29:54 -07:00
Branimir Karadžić
d3af45bd56
Cleanup.
2014-09-01 13:22:34 -07:00
Branimir Karadžić
6b00f65849
Increased number of MRT to 8.
2014-09-01 11:24:51 -07:00
Branimir Karadžić
3318053355
Fixed issue #145 .
2014-08-28 21:02:55 -07:00
bkaradzic
07f5cd2b70
Merge branch 'master' of github.com:bkaradzic/bgfx
2014-08-27 20:11:33 -07:00
bkaradzic
81c4b7d2ae
Fixed VS2012 warning when DXSDK and WindowsSDK are included.
2014-08-27 20:11:23 -07:00
Branimir Karadžić
4fb802e405
Added R11G11B10F format.
2014-08-26 20:56:53 -07:00
Branimir Karadžić
3b73fb2063
Cleanup.
2014-08-25 20:50:36 -07:00
Branimir Karadžić
af8bc1fac0
RPI: Init EGL via dispmanx.
2014-08-24 20:39:35 -07:00
Branimir Karadžić
140e990ab4
Added RaspberryPi platform.
2014-08-24 17:41:41 -07:00
bkaradzic
222fcbe75a
Cleanup.
2014-08-23 14:13:23 -07:00
Branimir Karadzic
a59593b1d2
Fixed missing define.
2014-08-23 14:01:52 -07:00
Branimir Karadžić
612eb2f7ed
Fixed uniform leak at shutdown.
2014-08-23 10:37:34 -07:00
bkaradzic
d138e01e72
Fixed undefined define.
2014-08-22 11:06:05 -07:00
Branimir Karadžić
2dcfe10acf
Fixed undefined defines errors.
2014-08-21 22:05:02 -07:00
Branimir Karadžić
17b2559e35
Cleanup.
2014-08-21 21:02:41 -07:00
Branimir Karadžić
b209308fbc
Cleanup.
2014-08-20 20:11:50 -07:00
Matthew Endsley
dc9e29601d
Resolve active render target in D3D9 before switch
...
On D3D9 platforms that work on active render target instead of
a specified surface, the resovle of the previous RT must happen
before the new RT becomes active.
2014-08-20 15:55:32 -07:00
Branimir Karadžić
b5627dc1b5
Made VertexDecl not appear as POD type to compiler.
2014-08-19 20:23:46 -07:00
Branimir Karadžić
66890595b9
Added serialization for vertex decl attribute enums. Binary format changes. Rebuilt all meshes and shaders.
2014-08-17 17:20:15 -07:00
Branimir Karadžić
3295126799
Updated texture container texture format support.
2014-08-12 21:47:01 -07:00
Branimir Karadžić
e42d878fe8
Fixed Issue #128 caused by read from unaligned memory (undefined behavior? when running asmjs).
2014-08-07 20:31:35 -07:00
Branimir Karadžić
659feeec61
Fixed NaCl debug build.
2014-08-06 22:16:17 -07:00
Branimir Karadžić
8c55c8f8a9
FreeBSD ifdefs.
2014-08-06 21:53:32 -07:00
Branimir Karadžić
c16f7a0f1f
Manually integrated some FreeBSD changes from @lye #132 pull request.
2014-08-06 21:18:41 -07:00
Branimir Karadžić
d525e96dd9
Manually integrated some FreeBSD changes from @lye #132 pull request.
2014-08-06 21:17:14 -07:00
Branimir Karadžić
5ddec2b790
DX11: Added static linking with D3D libs for WinRT.
2014-08-04 22:01:20 -07:00
Branimir Karadžić
be4729940c
Added BC6H and BC7 compressed formats.
2014-08-01 19:24:42 -07:00
bkaradzic
f6e740dee3
Updated README.
2014-07-30 22:44:26 -07:00
Branimir Karadžić
1c04b822bd
Cleanup.
2014-07-30 20:37:54 -07:00
Branimir Karadžić
f580110d7f
Cleanup.
2014-07-30 20:34:26 -07:00
Branimir Karadžić
1d0a9841d7
Added intel fragment shader ordering.
2014-07-29 21:29:38 -07:00
Branimir Karadžić
a8abead615
Fixed issue#123
2014-07-29 19:26:08 -07:00
Branimir Karadžić
e782f2f873
Fixed preprocessor bug that trucnates macro arguments to first character when concatenating them.
2014-07-28 20:15:01 -07:00
Branimir Karadžić
6c8eeec36e
Added caps info for all texture formats.
2014-07-27 20:44:02 -07:00
Branimir Karadžić
ac49c6f129
Added RG8 texture format.
2014-07-25 23:16:11 -07:00
Branimir Karadžić
c2c1f42ecc
Cleanup.
2014-07-24 23:31:52 -07:00
Branimir Karadžić
532fdf2198
GLES3.1: Fixed getting compute shader active uniform information.
2014-07-24 21:30:57 -07:00
Branimir Karadžić
ade8f49b6d
Added 32-bit texture formats.
2014-07-21 21:13:16 -07:00
Branimir Karadžić
62b620a1a0
Initial compute support.
2014-07-20 20:27:13 -07:00
Branimir Karadžić
2db00e3351
DX9: Fixed texture lod.
2014-07-12 16:41:51 -07:00
Branimir Karadžić
0ebb4923fc
Added interpolator qualifier support.
2014-06-25 18:43:26 -07:00
Branimir Karadžić
c7a257c27d
Fixed issue#106.
2014-06-24 20:29:43 -07:00
Branimir Karadžić
99b2441378
Added check to prevent multiple calls to bgfx init.
2014-06-22 21:37:38 -07:00
Branimir Karadžić
32ed7f5bf6
GL: Fixed MSAA + stencil.
2014-06-22 18:57:37 -07:00
Branimir Karadžić
1f7152cfc5
Cleanup.
2014-06-22 18:51:14 -07:00
Branimir Karadžić
2e38f2f483
Cleanup.
2014-06-14 18:11:54 -07:00
Branimir Karadžić
0728b91bfa
Workaround C4127 MSVC level 4 warning.
2014-06-08 20:57:39 -07:00
Branimir Karadžić
0f330a7a08
Added bgfx platform C99 header.
2014-06-05 22:49:51 -07:00
Branimir Karadžić
82216b2176
Fixed mip calculation.
2014-06-05 21:07:08 -07:00
Branimir Karadžić
4b5159394c
Added shared library support.
2014-06-01 15:26:43 -07:00
Branimir Karadžić
b176ad42c1
Fixed type.
2014-06-01 13:26:57 -07:00
Branimir Karadžić
97090e826c
Updated C99 header.
2014-06-01 13:25:31 -07:00
Branimir Karadžić
60b3ba03ea
Added interfaces to C99 header.
2014-05-31 10:33:37 -07:00
Branimir Karadžić
1c917de7f9
Added C99 compatible header.
2014-05-31 00:18:45 -07:00
Branimir Karadžić
dba5f9ee7f
Switched logic to prefer DX11 renderer on Win8.
2014-05-27 20:28:27 -07:00
Branimir Karadžić
4f908ee911
Updated 07-callback example.
2014-05-27 20:05:13 -07:00
Branimir Karadžić
20838ea4f2
Cleanup.
2014-05-26 14:34:58 -07:00
Branimir Karadžić
b0d204c344
Added ability to choose renderer backend in runtime.
2014-05-26 14:09:26 -07:00
Dario Manesku
c0ac10ad42
Fixing a small typo bug.
2014-05-24 20:16:40 +01:00
Branimir Karadžić
8cede52d91
Added 21-deferred example.
2014-05-21 20:33:12 -07:00
Branimir Karadžić
1d82b0c07b
Cleanup.
2014-05-19 22:08:35 -07:00
bkaradzic
b685a02947
Fixed compile error.
2014-05-11 12:48:11 -07:00
Branimir Karadžić
bba2ef8031
Added predefined uniforms for inverted view/proj/viewproj matrices.
...
shaderc: Added raw shader support.
shaderc: Fixed uniform types.
2014-05-10 20:51:54 -07:00
Branimir Karadžić
6dc6dd6148
Simplified allocator interface.
2014-05-01 10:15:41 -07:00
Branimir Karadžić
d479af651c
Cleanup.
2014-04-29 19:52:10 -07:00
Branimir Karadžić
7bc62b1d07
Added tristrip support.
2014-04-26 23:48:41 -07:00
Branimir Karadžić
285bd321f9
Cleanup.
2014-04-25 19:36:42 -07:00
Dmitry Ivanov
f793c2f087
more pvr formats
2014-04-26 00:21:55 +02:00
bkaradzic
a9b07870d5
Avoid creating MRT shaders when GL doesn't support MRT.
2014-04-19 18:16:26 -07:00
Branimir Karadžić
dbbaa6ec90
Added texture debug info.
2014-04-19 15:02:43 -07:00
Branimir Karadžić
c8442ebb40
Cleanup.
2014-04-16 22:24:31 -07:00
Branimir Karadžić
e39d280a31
Fixed 10-font example.
2014-04-16 22:11:14 -07:00
Branimir Karadžić
903b186110
Cleanup.
2014-04-15 22:59:40 -07:00
Branimir Karadžić
bc36c29f2a
Added ability to retrieve uniforms used by shader.
2014-04-15 19:10:56 -07:00
Branimir Karadžić
428f63eacb
Cleanup.
2014-04-13 11:43:34 -07:00
Branimir Karadžić
f1a1212efc
Fixed texture formats for iOS.
2014-04-12 21:25:38 -07:00
Branimir Karadžić
78475a30e6
Added ability to set start vertex when setting vertex buffer.
2014-04-10 22:09:17 -07:00
bkaradzic
4955630ab0
Removed texture format check from Emscripten build (causes JS to stop responding).
2014-04-10 20:18:16 -07:00
Branimir Karadžić
aadd9bd1c1
Fixed NaCl crash.
2014-04-10 19:21:10 -07:00
Branimir Karadžić
ea34b9476c
Fixed GL texture sampler state. Issue#85
2014-04-09 21:23:27 -07:00
Branimir Karadžić
efc6516a00
Fixed compiler warning.
2014-04-07 22:58:30 -07:00
Branimir Karadžić
80b7ad4d2f
GL: Added check for texture formats.
2014-04-06 21:31:28 -07:00
Branimir Karadžić
b4ed970363
Merge.
2014-04-06 21:30:32 -07:00
Attilaz
9092266533
iOS: added stencil buffer to context fbo. ( fixed stencil example )
...
Depth/stencil in this fbo ( and other contexts ) should depend on some user settable flag ( flag from bgfx::reset ?)
2014-04-06 14:58:21 +02:00
Attilaz
601df52fae
APPLE_texture_format_BGRA8888 support fix, tested on Apple iPad mini 2.
2014-04-06 14:58:21 +02:00
Branimir Karadžić
5e382dc481
GL: Messing with compressed texture formats.
2014-04-02 22:06:18 -07:00
bkaradzic
ccf024dbbd
GL: Check for extension and compressed texture format enumeration.
2014-04-02 20:52:15 -07:00
Branimir Karadžić
6e4ad864a9
Cleanup.
2014-04-01 22:58:03 -07:00
Branimir Karadžić
e907edd1eb
GLES3 fixed gl_FragData patching.
2014-04-01 22:31:02 -07:00
Branimir Karadžić
c49656c473
Fixed GLES3 shader patching.
2014-03-31 23:17:05 -07:00
Branimir Karadžić
b4dc2d4ea1
Fixed samplers and depth format.
2014-03-31 22:41:56 -07:00
Branimir Karadžić
51d948bd15
Cleanup.
2014-03-31 20:37:04 -07:00
Branimir Karadžić
d436875344
Cleanup.
2014-03-31 20:08:32 -07:00
Branimir Karadžić
df7999c891
Merge pull request #81 from attilaz/master
...
fixed dst inside loop
2014-03-31 14:19:04 -07:00
attilaz
ec0f407469
fixed dst inside loop
...
This fixes examples 08,10 and 11 on iOS.
2014-03-31 23:01:46 +02:00
bkaradzic
e79a85bd2e
Fixed iOS build.
2014-03-30 21:54:53 -07:00
bkaradzic
eb07a24124
Fixed shader patching.
2014-03-30 13:19:33 -07:00
Branimir Karadžić
47a965bf51
Cleanup.
2014-03-30 10:22:18 -07:00
Branimir Karadžić
85c5172a29
Changed GLES macro to use version number.
2014-03-29 23:12:15 -07:00
bkaradzic
32ca63bd93
Cleanup.
2014-03-29 19:58:24 -07:00
Branimir Karadžić
f436f79c10
Simplified API, removed difference between vertex and fragment shaders.
2014-03-29 19:42:57 -07:00
Branimir Karadžić
2701350b7f
GLES3 fixes.
2014-03-29 17:22:24 -07:00
Branimir Karadžić
6afa55381a
Updated glsl-optimizer.
2014-03-29 16:26:01 -07:00
bkaradzic
4410e0de4d
Fixed debug marker extension check.
2014-03-29 14:32:47 -07:00
Branimir Karadžić
2f3c37d850
Cleanup.
2014-03-27 22:36:53 -07:00
Branimir Karadžić
4cabbe37d6
Fixed draw buffers.
2014-03-27 21:35:14 -07:00
Branimir Karadžić
dfdd644fdb
Fixed compile error.
2014-03-27 09:55:39 -07:00
Branimir Karadžić
b42819a87a
Added GL_CHECK_I macro to ignore GL errors.
2014-03-27 09:19:44 -07:00
bkaradzic
eecbf19c57
Ignore blend independent when not supported.
2014-03-26 23:37:01 -07:00
Branimir Karadžić
a3df7a3ac6
Added blend independent caps debug info.
2014-03-26 22:39:40 -07:00
Branimir Karadžić
d3753d69bf
Added support for blend separate and blend MRT independent.
2014-03-25 23:07:51 -07:00
Branimir Karadžić
03dc9225ed
Enabled GL extensions for asm.js.
2014-03-18 22:50:24 -07:00
bkaradzic
329be757a9
OSX: Added NSOpenGLCPSwapInterval control.
2014-03-17 19:14:20 -07:00
Branimir Karadžić
9e441a546f
Removed workaround from old Emscripten SDK.
2014-03-16 22:36:53 -07:00
bkaradzic
dfa6229237
Fixed attribs and uniforms with WebGL/asmjs.
2014-03-16 18:16:08 -07:00
Branimir Karadžić
81a3e23841
Adding webgl extensions.
2014-03-16 17:43:51 -07:00
bkaradzic
fa9b650b37
Added entry for asmjs.
2014-03-16 16:49:59 -07:00
Branimir Karadžić
c633838822
Fixed compile error.
2014-03-15 10:40:10 -07:00
Branimir Karadžić
e24c3f42b3
Cleanup.
2014-03-12 22:32:27 -07:00
Branimir Karadžić
cec1b79390
Removed unused variable.
2014-03-10 20:12:39 -07:00
Branimir Karadžić
22bbd166d7
Cleanup.
2014-03-09 21:21:53 -07:00
bkaradzic
ed4496282b
Cleanup.
2014-03-05 20:51:44 -08:00
Branimir Karadžić
08ec0f3f96
Cleanup.
2014-03-04 22:23:58 -08:00
Branimir Karadžić
dea6567b5b
Cleanup.
2014-03-04 22:20:37 -08:00
Branimir Karadžić
c7ad5a0095
Use block info for minimum texture block size.
2014-03-01 20:08:50 -08:00
Branimir Karadžić
490e31de52
Merge branch 'master' of github.com:bkaradzic/bgfx
2014-03-01 19:30:55 -08:00
Branimir Karadžić
f04798d3e0
Fixed compressed image block size.
2014-03-01 19:27:34 -08:00
bkaradzic
c01354ecd2
Fixed glimports.
2014-02-27 20:12:17 -08:00
Branimir Karadžić
739b7646d7
Spit out translated shader in debug build when using ANGLE.
2014-02-26 20:24:35 -08:00
Branimir Karadžić
673a80363c
Fixed MSAA resolve.
2014-02-25 22:20:09 -08:00
Branimir Karadžić
9852b6977c
Added missing gl stubs.
2014-02-25 21:33:16 -08:00
bkaradzic
d7c4adb369
Added missing caps to debug info.
2014-02-24 22:31:04 -08:00
bkaradzic
cf940331d6
Fixed framebuffer size.
2014-02-24 22:10:19 -08:00
bkaradzic
7ad942b14b
Fixed bad logic.
2014-02-24 22:02:43 -08:00
Branimir Karadžić
0fe44d7829
Fixed incomplete framebuffer.
2014-02-24 22:00:26 -08:00
Branimir Karadžić
6eee3cca63
Added shadow samplers and updated example 15-shadowmaps-simple to use them.
2014-02-24 21:44:12 -08:00
Branimir Karadžić
a68ffbf4a0
WIP: Adding texture compare modes and shadow samplers support.
2014-02-23 11:21:23 -08:00
Branimir Karadžić
b09018df86
DX9: Create D3DFMT_NULL render target when only depth is attached to framebuffer.
2014-02-22 08:48:30 -08:00
Branimir Karadžić
ceffc24f17
Cleanup.
2014-02-20 23:03:31 -08:00
Branimir Karadžić
3bc15318fd
Cleanup.
2014-02-20 22:05:50 -08:00
Branimir Karadžić
95ff8b3f07
Added ANGLE extensions.
2014-02-19 23:49:28 -08:00
Branimir Karadžić
03632e48f6
Fixed createTexture default argument error.
2014-02-19 23:04:19 -08:00
Branimir Karadžić
753b9fdd15
Added ability to skip top level mips when parsing texture format.
2014-02-19 22:34:53 -08:00
Branimir Karadžić
3ca0d8312a
Fixed GLES3 build.
2014-02-19 21:22:22 -08:00
bkaradzic
f554176645
GL import fixes for Linux.
2014-02-19 20:53:06 -08:00
bkaradzic
0829795663
GL import fixed for OSX and iOS.
2014-02-19 20:08:22 -08:00
Branimir Karadžić
db735f5ff6
GL import code cleanup. Added ability to load GLES library dynamically.
2014-02-18 23:36:13 -08:00
Branimir Karadžić
c6f5fa3b25
Updated log message with renderer name.
2014-02-16 18:43:46 -08:00
Branimir Karadžić
91043b0195
Added dynamic loading of EGL library on Windows.
2014-02-16 16:40:08 -08:00
Branimir Karadžić
101a2162ff
Added EXT_shader_texture_lod support.
2014-02-16 16:08:44 -08:00
Branimir Karadžić
e2532b37ff
Fixed: Swizzle works only for BGRA8.
2014-02-16 10:50:58 -08:00
bkaradzic
cfdb38c590
Fixed EXT_bgra handling.
2014-02-14 20:43:00 -08:00
bkaradzic
ba7de4bcae
Added precision specifier defines for embedded shaders.
2014-02-14 09:18:49 -08:00
bkaradzic
7c7f406c9e
Fixed issue #74 (cont).
2014-02-13 22:50:52 -08:00
Branimir Karadžić
771909c988
Fixed issue #74 .
2014-02-13 22:13:19 -08:00
Branimir Karadžić
9ff1d0c513
Updated copyright year.
2014-02-10 22:07:04 -08:00
Branimir Karadžić
c89004fdeb
Cleanup.
2014-02-10 21:06:46 -08:00
Branimir Karadžić
ad335be715
shaderc: Added ARB_shader_texture_lod extension.
2014-02-09 16:46:50 -08:00
bkaradzic
7884a72df2
Added destroy shaders option when creating program.
2014-02-06 20:03:26 -08:00
bkaradzic
877621105d
Added MRT support.
2014-02-05 23:07:11 -08:00
bkaradzic
3273b04f6f
Use aligned allocator for context.
2014-01-31 22:08:31 -08:00
bkaradzic
b0957f34fe
Enable screen shot save when CRT file is present.
2014-01-21 20:53:43 -08:00
bkaradzic
b25a7cc9ff
Fixed C4244 warnings.
2014-01-20 22:07:08 -08:00
bkaradzic
3e4ec1dc24
Added check for memory leak.
2014-01-20 21:49:36 -08:00
bkaradzic
2c05b90792
Embedded shaders and font into 17-drawstress.
2014-01-19 22:34:58 -08:00
bkaradzic
35f895adb3
Cleanup.
2014-01-19 16:03:09 -08:00
bkaradzic
e8075dc367
Using renderFrame to setup thread creation behavior.
2014-01-19 14:58:05 -08:00
bkaradzic
96d9d7437b
Swiched from FPU to SIMD math.
2014-01-18 23:33:00 -08:00
bkaradzic
a11fbaf520
GL: Disable scissor before FB blit.
2014-01-16 08:33:25 -08:00
bkaradzic
4061d19963
Updated screenshots.
2014-01-13 20:36:33 -08:00
bkaradzic
e50f0b11dc
Merge branch 'master' of github.com:bkaradzic/bgfx
2014-01-12 21:43:56 -08:00
bkaradzic
1f228a172b
Increased BGFX_CONFIG_MAX_DRAW_CALLS to 64K.
2014-01-12 21:43:47 -08:00
bkaradzic
fc01a51e0b
Merge.
2014-01-12 14:55:18 -08:00
bkaradzic
046449395b
Added depth stencil texture formats.
2014-01-12 13:51:26 -08:00
bkaradzic
12545b0a88
Merge branch 'master' of github.com:bkaradzic/bgfx
2014-01-11 16:51:21 -08:00
bkaradzic
da62c82d3f
Cleanup.
2014-01-08 22:08:37 -08:00
bkaradzic
d1117f34b5
Added support for different RT depth stencil formats.
2013-12-29 11:43:44 -08:00
bkaradzic
835131d69f
Quiet GCC 4.8.1.
2013-12-23 20:57:58 -08:00
bkaradzic
b31eaa1697
Merge branch 'master' of github.com:bkaradzic/bgfx
2013-12-20 21:44:02 -08:00
bkaradzic
2674b5db5c
Fixed Linux build with GL 3.1
2013-12-20 21:43:07 -08:00
bkaradzic
3903d3af85
GL: Updated extensions.
2013-12-20 21:42:24 -08:00
bkaradzic
7e656fa4ef
Added GL 3.1 core profile shader patching.
2013-12-20 19:51:17 -08:00
bkaradzic
f4260eb405
GL: Added num mips to sampler state cache hash value.
2013-12-16 21:34:33 -08:00