Commit graph

1700 commits

Author SHA1 Message Date
bkaradzic
1c595a6820 Fixed bad offset for ETC2 planar mode decoding. 2013-09-15 20:44:10 -07:00
bkaradzic
f88da8bea4 GL: Fixed ETC1 format override logic. 2013-09-15 16:00:46 -07:00
bkaradzic
eefa378449 GL: Override ETC1 format settings when ETC2 is available. 2013-09-15 14:44:26 -07:00
bkaradzic
528a725387 Added ETC2 decoding. 2013-09-15 14:36:51 -07:00
bkaradzic
666b431b40 Fixed ETC1 block decoding. 2013-09-11 21:12:20 -07:00
bkaradzic
f84081b0ad Added texture compression test. 2013-09-09 23:17:17 -07:00
bkaradzic
c8fce8d93f DX9: Use D3DCREATE_FPU_PRESERVE as device behavior. 2013-09-09 22:03:36 -07:00
bkaradzic
8b9a98b05f Added different colors for unsupported compressed image fallbacks. 2013-09-09 22:02:36 -07:00
bkaradzic
cacff49d99 Cleanup. 2013-09-08 23:14:34 -07:00
bkaradzic
983f1e6f9a GL: When using ARB_texture_swizzle don't swizzle image to BGRA8. 2013-09-08 23:03:14 -07:00
bkaradzic
e97cf77c41 Updated README. 2013-09-08 22:30:41 -07:00
bkaradzic
084c8e8345 Fixed missing PVR3 formats. Fixed decompression checkerboard error color. 2013-09-08 22:16:15 -07:00
bkaradzic
488483a945 Fixed texture update when requested texture format doesn't match internal texture format, and simplified texture creation. 2013-09-08 21:03:03 -07:00
bkaradzic
82256fc34d Merge branch 'master' of github.com:bkaradzic/bgfx 2013-09-05 21:41:52 -07:00
bkaradzic
1aced4d4ec Cleanup. 2013-09-05 21:41:42 -07:00
bkaradzic
2250a21f85 Added clang analyzer annotation. 2013-09-05 20:23:35 -07:00
bkaradzic
8cdc2a1d15 Added ETC2 and PVRTC2. 2013-09-04 21:42:31 -07:00
bkaradzic
9d59e31f6a Fixed warning. 2013-09-04 21:41:01 -07:00
bkaradzic
057ee3e335 Updated README. 2013-09-03 20:13:40 -07:00
bkaradzic
19ce130464 Added PVRTC1 support. 2013-09-03 20:13:07 -07:00
bkaradzic
f540cd827b GLES: Fixed glReadPixels format. Added IMG_shader_binary support. 2013-09-02 19:50:18 -07:00
bkaradzic
1471a37366 Added other supported formats to KTX parser. 2013-09-02 19:02:26 -07:00
bkaradzic
726a5feea1 Cleanup. 2013-09-02 18:50:04 -07:00
bkaradzic
802cd87768 Updated README. 2013-09-02 18:34:04 -07:00
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
2d1725ca96 Check semaphore result after wait. 2013-09-01 14:02:12 -07:00
bkaradzic
01f25d87af Updated README. 2013-08-30 22:45:26 -07:00
bkaradzic
1da64571d9 Fixed MinGW build. 2013-08-30 22:31:40 -07:00
bkaradzic
a68969875e Added alignment warning for imageSwizzleBgra8. 2013-08-28 22:55:12 -07:00
bkaradzic
08c38f5101 Added debug check when passing uninitialized vertex decl. 2013-08-27 22:02:43 -07:00
bkaradzic
e05d250948 Added debug info for shaders build with DX11 compiler. 2013-08-26 22:40:02 -07:00
bkaradzic
cbb3136436 Added ASCII cubemap info. 2013-08-26 22:38:53 -07:00
bkaradzic
b36a26528a Added fclamp and fsaturate. 2013-08-26 22:37:56 -07:00
bkaradzic
6c4faed7d5 Cleanup. 2013-08-22 19:58:08 -07:00
bkaradzic
20f24bbe2b Fixed Linux build. 2013-08-22 09:56:41 -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
fe92ee4b9a Updated docs. 2013-08-18 00:00:14 -07:00
bkaradzic
6f7c04a43c Removed fatal error on SetPixelFormat to prevent failure when window is created with SDL and SDL_WINDOW_OPENGL flag. 2013-08-16 22:32:03 -07:00
bkaradzic
c8ac5690ba Cleanup. 2013-08-16 22:29:55 -07:00
bkaradzic
752fa73cec Fixed bad logic for ref/simd path. 2013-08-15 20:14:27 -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
dfd17b1d79 Fixed clang warning. 2013-08-14 21:18:42 -07:00
bkaradzic
24c894ea90 Shuffling entry stuff. 2013-08-14 21:08:46 -07:00
bkaradzic
e92eb7504b Added SDL2 entry point. 2013-08-12 20:47:41 -07:00
bkaradzic
ea38983f8d Fixed Clang warnings. 2013-08-11 20:29:10 -07:00
bkaradzic
5a0d48c77f Updated README. 2013-08-11 19:57:26 -07:00
bkaradzic
2d21e92cd8 Added Clang toolchain support for Linux. 2013-08-11 19:01:17 -07:00