bkaradzic
133c0f05db
Fixed issue#24.
2013-03-23 17:58:56 -07:00
bkaradzic
b26b292b02
Added check for stride/vertex size.
2013-03-23 16:04:45 -07:00
bkaradzic
9e825e3c77
Added GL clear quad.
2013-03-23 16:02:34 -07:00
bkaradzic
ea49146ea1
Fixing eols.
2013-03-17 16:10:50 -07:00
bkaradzic
24a1a76329
Merge branch 'master' of github.com:bkaradzic/bgfx
2013-03-17 11:15:22 -07:00
bkaradzic
c29dc6de31
Remove glx.h include from renderer_gl.h
2013-03-14 09:13:51 -07:00
questor / inter
1797567840
fixed include file when compiling under linux with BGFX_CONFIG_RENDERER_OPENGL set to 31
2013-03-14 16:03:34 +01:00
bkaradzic
6d2abecfe7
Replaced spaces with tabs.
2013-03-11 22:05:12 -07:00
bkaradzic
5afe69f240
GLX: Removed alpha from backbuffer attributes. Fix for NV issue#23.
2013-03-10 23:19:00 -07:00
bkaradzic
7c91a7d732
Fixed destroy msaa fbo at shutdown.
2013-03-09 16:17:38 -08:00
bkaradzic
8d5b34ffa6
Fixed Linux build.
2013-03-09 15:56:26 -08:00
bkaradzic
ed0055caad
Fixed init/shutdown code, so it can be called multiple time from the same app.
2013-03-09 14:57:53 -08:00
bkaradzic
a165353896
Removed fixed function alpha test.
2013-03-08 21:54:08 -08:00
bkaradzic
4c02620a24
Use greater than test for GL version.
2013-03-06 21:33:35 -08:00
bkaradzic
55a87d52da
Fixed function prototype name.
2013-03-06 19:36:49 -08:00
bkaradzic
678da1c0b3
GL 3.1 core context cleanup.
2013-03-05 21:37:31 -08:00
bkaradzic
9b5cf3c9a7
GLX 3.1 core profile.
2013-03-04 20:24:02 -08:00
bkaradzic
c8bdf4e950
Added support for GL 3.2 core profile.
2013-03-03 22:30:50 -08:00
bkaradzic
42653612cf
Added handling for dirty box.
2013-03-02 23:20:28 -08:00
bkaradzic
435b83f1ac
Added texture update batching. Added rect packing.
2013-03-02 21:35:09 -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
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
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
35d7d2ff1b
Added F8 as MSAA toggle in examples.
2013-02-21 22:05:33 -08:00
bkaradzic
8e0e21f40d
Normalized line endings.
2013-02-21 21:07:31 -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
c698457907
Fixed initializer order warning.
2013-02-18 22:30:11 -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
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
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
a51144691b
Enabled extra warnings for MSVC.
2013-02-12 23:54:32 -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
bkaradzic
d6cb01f72d
Fixed sampler state ref leak.
2013-02-10 18:12:52 -08:00
bkaradzic
d91c0f2c69
Moved GL_RGBA16*.
2013-02-03 12:23:48 -08:00
bkaradzic
8f155985b6
Fixed GL_ARB_instanced_arrays on MESA.
2013-02-03 12:17:33 -08:00