Commit graph

310 commits

Author SHA1 Message Date
bkaradzic
9f667c3b12 Added example 09-hdr. 2013-02-26 21:24:16 -08:00
bkaradzic
0d21a23ba7 GL 3.2 context. 2013-02-26 19:29:51 -08:00
bkaradzic
32c82db697 Merge branch 'master' of github.com:bkaradzic/bgfx 2013-02-26 18:57:41 -08:00
Branimir Karadžić
6d81f64fbf Merge pull request #21 from gtbass/master
Fix conflict between sal.h and MinGW STL
2013-02-26 18:57:18 -08:00
Garett Bass
295059564e Fix MSVC warnings
renderer_d3d11.cpp(615): warning C4389: '==' : signed/unsigned mismatch
renderer_d3d11.cpp(1100): warning C4189: 'deviceCtx' : local variable is
initialized but not referenced
2013-02-26 18:54:03 -08:00
Garett Bass
0f86204daa Fix conflict between sal.h and MinGW STL
Moved #include<windows.h> after #include <string> to avoid conflicts
between sal.h and MinGW STL usage of __in and __out as function
parameters.
2013-02-26 18:17:20 -08:00
bkaradzic
f116ba0e10 Added missing predefined uniforms. Removed default state texture flags. 2013-02-25 20:36:30 -08:00
bkaradzic
1bb60c30f6 GL: Change BC4/5 to RGTC when extension is available. 2013-02-24 17:20:17 -08:00
bkaradzic
6b9cc431fd Merge branch 'master' of github.com:bkaradzic/bgfx 2013-02-24 08:43:22 -08:00
bkaradzic
5fe1132b1c Cleanup. 2013-02-23 20:43:31 -08:00
bkaradzic
e0eca362ad Fixed DX9 lack of non-normalized UINT16 vertex decl type. 2013-02-23 19:02:51 -08:00
bkaradzic
074bf5a232 Added dummy window to peek into WGL features. 2013-02-23 00:15:54 -08:00
bkaradzic
6edd2991f3 Removed dxerr.h from DX11 build. 2013-02-22 22:34:55 -08:00
bkaradzic
c44db7eaa0 Merge branch 'master' of github.com:bkaradzic/bgfx 2013-02-22 09:05:13 -08:00
bkaradzic
35d7d2ff1b Added F8 as MSAA toggle in examples. 2013-02-21 22:05:33 -08:00
bkaradzic
c2f2c3bdf0 Normalized *.lua line endings. 2013-02-21 21:13:56 -08:00
bkaradzic
ff7eefaf2b Added *.lua to .gitattributes. 2013-02-21 21:13:16 -08:00
bkaradzic
5a2f6846a6 Merge branch 'master' of github.com:bkaradzic/bgfx 2013-02-21 21:12:20 -08:00
bkaradzic
fbd6bce562 Added .gitattributes. 2013-02-21 21:11:55 -08:00
bkaradzic
b29b102cc4 Resolved conflict. 2013-02-21 21:11:06 -08:00
bkaradzic
8e0e21f40d Normalized line endings. 2013-02-21 21:07:31 -08:00
bkaradzic
5edeb765fe Merge branch 'master' of github.com:bkaradzic/bgfx 2013-02-21 09:01:22 -08:00
bkaradzic
318b45bdd9 Updated readme. 2013-02-20 23:56:59 -08:00
bkaradzic
bbfc599684 Resolved merge conflict. 2013-02-20 22:20:37 -08:00
bkaradzic
195fd6913d Manually integrated @gtbass DX11 vsync change. 2013-02-20 22:18:59 -08:00
bkaradzic
936c2b5737 Added GL backbuffer MSAA. 2013-02-20 22:13:32 -08:00
bkaradzic
39e53d11db Updated readme. 2013-02-19 20:35:55 -08:00
bkaradzic
c698457907 Fixed initializer order warning. 2013-02-18 22:30:11 -08:00
bkaradzic
2ab26d47a9 Added info about VS2008 TR1 support. 2013-02-18 21:52:41 -08:00
bkaradzic
553e47fba0 Added OpenGL render target MSAA. 2013-02-18 21:17:29 -08:00
bkaradzic
15eaa09913 GL MSAA WIP. 2013-02-17 20:42:33 -08:00
bkaradzic
74cbfc9c04 GL MSAA WIP. 2013-02-17 18:04:40 -08:00
bkaradzic
5e15534628 Fixed GCC warning in release build. 2013-02-17 11:31:04 -08:00
bkaradzic
e0c3d4d6f8 Merge branch 'master' of github.com:bkaradzic/bgfx 2013-02-16 23:01:13 -08:00
bkaradzic
4494bcf6bc Normalize shader source EOL to LF. 2013-02-16 23:00:57 -08:00
bkaradzic
cfefd88ec3 Fixed EOL. 2013-02-16 15:38:52 -08:00
bkaradzic
b9a0272856 Cleanup. 2013-02-16 14:02:27 -08:00
bkaradzic
5aa0c15dd5 DX11 unified caching sampler state. 2013-02-16 13:52:35 -08:00
bkaradzic
da9382cad7 Updated docs. 2013-02-16 11:51:36 -08:00
bkaradzic
5ba2b24e1e Added createTexture docs. Removed BGFX_TEXTURE_*_REPEAT flags since it's default. 2013-02-16 10:57:28 -08:00
bkaradzic
3e9a884f0d Fixed VS2010 warning. 2013-02-15 19:42:51 -08:00
bkaradzic
c11d434681 Removed debug code. 2013-02-14 21:44:18 -08:00
bkaradzic
8a499e69c0 Fixed BC4/BC5 LockRect memory corruption. 2013-02-14 21:43:27 -08:00
bkaradzic
cc69b20e14 Fixed 'unexpected EOL' when building shaders. Added error message for missing shader entry point. 2013-02-14 17:27:10 -08:00
bkaradzic
8511cefe54 Fixed DX9 debug output warnings. 2013-02-13 22:28:16 -08:00
bkaradzic
391ebaefc3 Fixed shaderc arguments. 2013-02-13 20:18:18 -08:00
bkaradzic
a51144691b Enabled extra warnings for MSVC. 2013-02-12 23:54:32 -08:00
bkaradzic
ff8cc805fe Merge branch 'master' of github.com:bkaradzic/bgfx 2013-02-12 23:45:14 -08:00
Branimir Karadžić
3c0dba7032 Merge pull request #11 from gtbass/master
STL error fix for MinGW
2013-02-12 23:24:26 -08:00
Garett Bass
49e7fc4f02 STL error fix for MinGW
When namespace std is using namespace tr1, the MinGW STL generates a
compile error due to an ambiguity between the std::__detail and the
std::tr1::__detail namespaces (internal to the implementation).  By
changing stl to use both std and std::tr1, the std namespace remains
unchanged and the ambiguity is avoided.
2013-02-12 22:36:50 -08:00