Commit graph

223 commits

Author SHA1 Message Date
bkaradzic
f540cd827b GLES: Fixed glReadPixels format. Added IMG_shader_binary support. 2013-09-02 19:50:18 -07:00
bkaradzic
19dd4020f4 Added ETC1 texture support. Added KTX file format support. 2013-09-02 16:22:53 -07:00
bkaradzic
333ff8500d Added imageRgba8Downsample2x2 utility function and updated 07-callback to demonstrate how to use it to generate mip maps. 2013-08-21 22:51:50 -07:00
bkaradzic
7bdae66027 GL: Fixed memory corruption. 2013-08-15 00:06:10 -07:00
bkaradzic
6d0ebf3103 Cleanup. 2013-08-14 23:26:24 -07:00
bkaradzic
691c6c7f67 Added utility function imageSwizzleBGRA8 to convert RGBA8 image to BGRA8. 2013-08-14 23:19:12 -07:00
bkaradzic
f7fe163f2b Cleanup. 2013-08-06 21:04:28 -07:00
bkaradzic
3aea7306c6 Fixed compiler errors. 2013-08-04 16:56:07 -07:00
bkaradzic
e9504c9a26 Removed using namespace bx. 2013-08-03 22:15:13 -07:00
bkaradzic
fe0bbeb0e6 If both view and primitive scissors are set set their intersection as scissor region. 2013-08-01 22:55:26 -07:00
bkaradzic
c5025b769e GL: Added support for ARB_depth_clamp. 2013-07-28 19:16:35 -07:00
bkaradzic
2d3a408cfb GL: Disable scissor when rendering debug text. 2013-07-27 22:31:53 -07:00
bkaradzic
27c476924e GL: Disabled scissor test when using clear quad. 2013-07-27 21:07:23 -07:00
bkaradzic
bac2073b76 Added support for per primitive scissor. 2013-07-27 15:27:54 -07:00
bkaradzic
b1901ae776 Fixed instancing. 2013-07-25 23:13:48 -07:00
Branimir Karadzic
df3c562d47 Linux: Fixed context/init code for Mesa/i915. 2013-07-24 22:22:38 -07:00
bkaradzic
a1dfd1ab0d Added ability to change sampler filter when setting texture. GL/GLES3: Added support for GL_ARB_sampler_objects. 2013-07-24 21:59:59 -07:00
bkaradzic
2e086e32b3 iOS: Msaa and default back buffer are the same. 2013-07-22 21:35:22 -07:00
bkaradzic
5707309e6f GL: Added default back buffer FBO. 2013-07-22 21:20:43 -07:00
bkaradzic
a17be960c6 Cleanup. 2013-07-21 20:56:12 -07:00
bkaradzic
ab3fc19230 GL: Added support for ARB_seamless_cube_map. 2013-07-21 19:59:42 -07:00
bkaradzic
b6da99b102 GL: Sorted extensions by name. 2013-07-21 19:27:47 -07:00
bkaradzic
9852949a38 Merge branch 'master' of github.com:bkaradzic/bgfx 2013-07-21 14:46:23 -07:00
bkaradzic
bf22ffaae1 iOS stuff. 2013-07-21 14:44:53 -07:00
bkaradzic
376bdf1b74 GL: Detach shaders after linking program. 2013-07-18 00:41:27 -07:00
bkaradzic
f5edb6cdf4 Added view scissor support. 2013-07-14 14:32:09 -07:00
bkaradzic
fcf71d35f3 Fixed shutdown on OSX. 2013-07-14 10:13:10 -07:00
bkaradzic
d30a5240d7 Fixed crash when decompressing DDS texture. 2013-07-13 23:11:02 -07:00
bkaradzic
f59ba947cb iOS WIP. 2013-07-12 22:27:46 -07:00
bkaradzic
87dfe979a5 Added blend equation support. 2013-06-17 22:11:45 -07:00
bkaradzic
1f4539ec7c Added ability to set marker for profiling events. 2013-06-10 22:41:03 -07:00
bkaradzic
a5c6c0bf5b Added ability to set view name for profiling events. 2013-06-09 15:28:25 -07:00
bkaradzic
493766caa6 Added vsync info to debug display. 2013-06-08 08:25:03 -07:00
bkaradzic
2ef508139f GL/GLES: vsync. 2013-04-27 15:16:05 -07:00
bkaradzic
8711d3d3a3 GLX: added swap interval. 2013-04-26 23:43:31 -07:00
bkaradzic
6932b256a8 Merge branch 'master' of github.com:bkaradzic/bgfx 2013-04-24 19:15:45 -07:00
bkaradzic
10236da0f4 Fixed warnings. 2013-04-24 19:15:29 -07:00
bkaradzic
e25e93a7e7 Fixed GCC warnings. 2013-04-24 08:44:55 -07:00
bkaradzic
616177ea5f Fixing unused macro. 2013-04-23 19:29:46 -07:00
bkaradzic
aa814e9994 Cleanup. 2013-04-21 11:50:45 -07:00
bkaradzic
b94c328604 Fixed bad logic. 2013-04-21 00:43:00 -07:00
bkaradzic
dae6768c43 Fixed detection of instanced_array extension. 2013-04-20 23:13:44 -07:00
bkaradzic
247a3004ef GLES2: #ifdef use of GL_TEXTURE_MAX_LEVEL. 2013-04-17 20:46:25 -07:00
bkaradzic
c8c7139fc1 GL: Set max mip level to save memory. 2013-04-17 20:33:44 -07:00
bkaradzic
775ae7f61b GL: fixed GL_DEBUG_* define name. 2013-04-16 09:24:43 -07:00
bkaradzic
6ed7b6fe14 GL: Cleanup. 2013-04-15 21:17:30 -07:00
bkaradzic
7580bbb25e GL: fixed texture filter. Updated debug messages. 2013-04-15 20:59:01 -07:00
bkaradzic
3ed3938fda Cleanup. 2013-04-14 18:20:30 -07:00
bkaradzic
8a6b6133ec Fixed stencil clear when using clear quad. 2013-04-14 18:18:11 -07:00
bkaradzic
ab05bc6974 Added BX_PLATFORM_QNX. 2013-04-12 23:43:46 -07:00
bkaradzic
253f313a34 Added wglSwapInterval and ARB_debug_output. Removed BX_UNUSED used for removing warnings when debug messages are compiled out. 2013-04-07 22:12:49 -07:00
bkaradzic
a26e06929e Fixed issue#26 blend factor logic. 2013-03-30 09:44:13 -07:00
bkaradzic
5b763a28bb Added blend factor/color blend modes support. 2013-03-29 22:58:50 -07:00
bkaradzic
365f2655b3 Added aditional render target color formats. 2013-03-28 22:34:59 -07:00
bkaradzic
6582276e3e Fixed L4 warnings. 2013-03-25 21:13:54 -07:00
bkaradzic
07dc7b2c5f Fixed GCC warning. 2013-03-24 09:06:43 -07:00
bkaradzic
137700d0a2 GL: Fixed initial value of binary shader hash. 2013-03-23 22:42:16 -07:00
bkaradzic
def008725c Fixed compile error. 2013-03-23 22:07:06 -07:00
bkaradzic
133c0f05db Fixed issue#24. 2013-03-23 17:58:56 -07:00
bkaradzic
9e825e3c77 Added GL clear quad. 2013-03-23 16:02:34 -07:00
bkaradzic
7c91a7d732 Fixed destroy msaa fbo at shutdown. 2013-03-09 16:17:38 -08:00
bkaradzic
a165353896 Removed fixed function alpha test. 2013-03-08 21:54:08 -08:00
bkaradzic
678da1c0b3 GL 3.1 core context cleanup. 2013-03-05 21:37:31 -08:00
bkaradzic
c8bdf4e950 Added support for GL 3.2 core profile. 2013-03-03 22:30:50 -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
1bb60c30f6 GL: Change BC4/5 to RGTC when extension is available. 2013-02-24 17:20:17 -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
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
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
8f155985b6 Fixed GL_ARB_instanced_arrays on MESA. 2013-02-03 12:17:33 -08:00
bkaradzic
4dc9be09d3 Fixed RGBA16F DDS loading. 2013-01-26 23:00:35 -08:00
bkaradzic
3a7090684a Fixed bug caused by mixing GLES and GL texture extensions. 2013-01-23 23:42:38 -08:00
bkaradzic
800226545b Added RGTC extension. 2013-01-22 20:34:08 -08:00
bkaradzic
f0b80b6d09 Fixed bpp. 2013-01-22 20:04:02 -08:00
bkaradzic
37d720abd4 Remove debug code. 2013-01-21 23:38:04 -08:00
bkaradzic
e866a7b2e3 Fixed VAO cache. 2013-01-21 23:36:47 -08:00
bkaradzic
c26f8f4718 Added support for LATC/3DC texture compression. 2013-01-20 12:47:29 -08:00
Garett Bass
2bbcb92109 Added OSX entry point and OpenGL context
Added OSX entry point and OpenGL context
2013-01-15 20:37:07 -08:00
bkaradzic
4412f0f1d0 Fixed compile error. 2013-01-14 20:10:07 -08:00
bkaradzic
4779be3527 Fixed bad internal texture format when DXT is not supported. 2013-01-13 23:14:13 -08:00
bkaradzic
b77df356c1 Separated GL context code. 2013-01-13 18:39:25 -08:00
bkaradzic
174524dde4 Moved x11 window creation into examples/common. 2013-01-13 15:35:06 -08:00
bkaradzic
43ce51b8ec Updated year in copyright notice. 2013-01-13 10:57:24 -08:00
bkaradzic
9e562eed97 Added GL vertex array object support. 2013-01-12 19:13:51 -08:00
bkaradzic
b02f87acc0 Fixed glXCreateContext crash due to use of freed memory. 2013-01-10 23:01:33 -08:00
bkaradzic
3d12a8cd84 Fixed GLX initialization. 2013-01-08 20:57:15 -08:00
bkaradzic
97bcef11d9 Create GL2.1 context on Linux before trying to create GL3.0. 2013-01-06 21:50:55 -08:00
bkaradzic
79f5f23b79 Cleanup of texture swizzle and BGRA format handling. 2013-01-06 12:39:18 -08:00
bkaradzic
00e5de828e Check glGetString for glErrors. 2013-01-05 15:24:05 -08:00
bkaradzic
e21e840001 Cleanup. 2013-01-01 13:19:10 -08:00
bkaradzic
446686b48f Added vertex pack/unpack support. 2012-12-31 18:48:52 -08:00
bkaradzic
d4cd0ea4fa Added 07-callback example. 2012-12-30 20:52:47 -08:00