Commit graph

96 commits

Author SHA1 Message Date
bkaradzic
19dd4020f4 Added ETC1 texture support. Added KTX file format support. 2013-09-02 16:22:53 -07:00
bkaradzic
9537208d2f Removed use of bx::CrtFileWriter inside bgfx. 2013-09-01 14:23:05 -07:00
bkaradzic
08c38f5101 Added debug check when passing uninitialized vertex decl. 2013-08-27 22:02:43 -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
f7fe163f2b Cleanup. 2013-08-06 21:04:28 -07:00
bkaradzic
e9504c9a26 Removed using namespace bx. 2013-08-03 22:15:13 -07:00
bkaradzic
a09f804ac3 Fixed discard primitive logic. 2013-07-29 19:01:29 -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
41dfddf424 Cleanup. 2013-07-21 15:38:44 -07:00
bkaradzic
bf22ffaae1 iOS stuff. 2013-07-21 14:44:53 -07:00
bkaradzic
ba1bd59488 Merge branch 'master' of github.com:bkaradzic/bgfx 2013-07-15 21:49:27 -07:00
bkaradzic
d95e120430 Fixed warning: comparison is always true due to limited range of data type. 2013-07-15 21:48:55 -07:00
bkaradzic
f5edb6cdf4 Added view scissor support. 2013-07-14 14:32:09 -07:00
bkaradzic
851ab7fde5 Fixed OSX build. 2013-07-10 23:18:16 -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
e79102bf0e Added check available memory for instance buffer. 2013-06-03 20:51:06 -07:00
bkaradzic
ba6aacace3 Changed API to allow larger alloc checks, and to avoid integer truncation. 2013-05-02 22:16:33 -07:00
bkaradzic
b7c4630ee3 Added function to check both vertex and index transient buffers. 2013-05-01 20:35:43 -07:00
bkaradzic
468b48b017 Removed bad check for clear flags. 2013-04-30 23:10:29 -07:00
bkaradzic
0e0fcd22de Removed use of external debug functions. 2013-04-28 12:27:35 -07:00
bkaradzic
616177ea5f Fixing unused macro. 2013-04-23 19:29:46 -07:00
bkaradzic
d8bd7419f9 Added sanity check for transient buffers. 2013-04-21 23:16:34 -07:00
bkaradzic
ba55084ad8 Android wip. 2013-04-18 23:32:12 -07:00
bkaradzic
767df6c5e6 Android plumbing. 2013-04-18 21:16:09 -07:00
bkaradzic
8a6b6133ec Fixed stencil clear when using clear quad. 2013-04-14 18:18:11 -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
5b763a28bb Added blend factor/color blend modes support. 2013-03-29 22:58:50 -07:00
bkaradzic
eb8ab50281 Made setViewTransform behave the same way as the rest of setView* API. 2013-03-27 21:18:29 -07:00
bkaradzic
9e825e3c77 Added GL clear quad. 2013-03-23 16:02:34 -07: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
0d21a23ba7 GL 3.2 context. 2013-02-26 19:29:51 -08:00
bkaradzic
68af253169 Added warning when passing zero as framebuffer/rendertarget resolution. 2013-01-29 19:23:56 -08:00
bkaradzic
655dd6f7d9 Queue shutdown begin one frame earlier. 2013-01-27 22:43:11 -08:00
bkaradzic
e1f5fafc2c Added resource leak report at shutdown. 2013-01-27 21:52:29 -08:00
bkaradzic
4dc9be09d3 Fixed RGBA16F DDS loading. 2013-01-26 23:00:35 -08:00
bkaradzic
f0b80b6d09 Fixed bpp. 2013-01-22 20:04:02 -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
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
d6e4a57cf2 Moving window creation to examples/common. 2013-01-13 10:47:30 -08:00
bkaradzic
523572d400 Fixed DX11 texture initialization. 2013-01-07 22:01:07 -08:00
bkaradzic
b889e78841 Fixed bits per pixel for RGBA16 format. 2013-01-06 18:10:45 -08:00
bkaradzic
7ec5de1ad1 Added texture update example. 2013-01-06 17:53:45 -08:00
bkaradzic
637ab129d3 Wrapped validation code for debug build only. 2013-01-06 12:42:50 -08:00
bkaradzic
79f5f23b79 Cleanup of texture swizzle and BGRA format handling. 2013-01-06 12:39:18 -08:00
bkaradzic
b52cc77a14 Reorganized opcode type and location bits in constant buffer opcode. 2013-01-05 22:34:31 -08:00
bkaradzic
96199abe81 Use TextureInfo for caclTextureSize. 2013-01-05 14:33:05 -08:00