Commit graph

1266 commits

Author SHA1 Message Date
Branimir Karadžić
60c7072558 Clamp blit to texture bounds. 2015-10-15 17:42:48 -07:00
Branimir Karadžić
ad5a46779a Added blit. 2015-10-15 16:38:59 -07:00
Branimir Karadžić
1dfd3fd9d9 Added debug check for arguments. 2015-10-13 18:28:22 -07:00
Branimir Karadžić
132103b989 Cleanup. 2015-10-10 20:02:19 -07:00
Branimir Karadžić
8f1aae57b5 OSX: Fixed debug output to print on single line. 2015-10-10 18:52:39 -07:00
Branimir Karadžić
faebec1f05 Metal: Fixed MRT. 2015-10-09 22:13:32 -07:00
Branimir Karadžić
0d1d489b4a iOS: Fixed build. 2015-10-09 20:43:18 -07:00
Branimir Karadžić
f0ae846837 Fixed clang warning. 2015-10-09 20:03:22 -07:00
Branimir Karadžić
09e6aa3d9a Cleanup. 2015-10-09 19:21:42 -07:00
Richard Gale
973b6e542f Changes needed for WinRT 2015-10-09 11:33:21 -07:00
Branimir Karadžić
1b1ea8aaec GL: Fixed non-dynamic library build. 2015-10-08 22:00:28 -07:00
Branimir Karadžić
2f02cd097a iOS: Remove texture test. Issue #483. 2015-10-08 17:34:03 -07:00
Branimir Karadžić
17b6e94360 Cleanup. 2015-10-07 20:24:34 -07:00
Branimir Karadžić
1504c1e78f Metal: Fixed flip. 2015-10-06 21:12:07 -07:00
Branimir Karadžić
cdbe689d93 Cleanup. 2015-10-06 19:36:04 -07:00
Branimir Karadžić
780fbb83fa Cleanup. 2015-10-06 18:17:46 -07:00
Branimir Karadžić
1bca8a29ac Merge branch 'master' of github.com:bkaradzic/bgfx 2015-10-06 15:28:02 -07:00
Branimir Karadžić
154d2e7232 Cleanup. 2015-10-06 15:27:54 -07:00
Branimir Karadžić
1b6ef6dba3 D3D11: Release frame buffer swap chain on shutdown. 2015-10-05 21:03:08 -07:00
Branimir Karadžić
2537efad37 Metal: Cleanup. 2015-10-01 20:26:27 -07:00
Branimir Karadžić
2e1d82b7d9 Fixed build. 2015-10-01 15:40:28 -07:00
Branimir Karadžić
c0ae9d671b Fixed asmjs build. 2015-09-30 14:43:02 -07:00
Branimir Karadžić
7f334e09fd Fixed Metal renderer. 2015-09-29 20:49:39 -07:00
Branimir Karadžić
91fe7aafdb Added support for RGB9E5F fromat. 2015-09-29 16:06:06 -07:00
Branimir Karadžić
b5ab524ee1 Cleanup. 2015-09-25 21:51:30 -07:00
Branimir Karadžić
0fba3c137e Added checks for redundant uniform sets. 2015-09-25 20:54:40 -07:00
Branimir Karadžić
5142e507b0 Reverted 682a0519ef. 2015-09-23 20:03:59 -07:00
Branimir Karadžić
f936d4c05e Fixed clang warnings. 2015-09-22 15:19:39 -07:00
Branimir Karadžić
4763828e63 Cleanup. 2015-09-20 23:22:23 -07:00
Branimir Karadžić
d1f99896ec Moved public header files into bgfx subdirectory.
grep -rl '<bgfx.h>' . | xargs sed -i 's@<bgfx.h>@<bgfx/bgfx.h>@g'
2015-09-18 20:19:12 -07:00
Jean-Francois Verdon
350b77091c Textures created with BackbufferRatio::enum where not sized correctly when bgfx first reset size was different from 1280x720px 2015-09-18 14:16:38 +02:00
Branimir Karadžić
6f6131f694 Cleanup. 2015-09-17 21:17:38 -07:00
Branimir Karadžić
54be2d5b77 Cleanup. 2015-09-17 19:55:01 -07:00
Branimir Karadžić
7adfc7856a D3D12: Sampler border color. 2015-09-16 20:59:22 -07:00
Branimir Karadžić
9311718f68 MTL: Added ClampToZero sampler mode. 2015-09-16 20:02:36 -07:00
Branimir Karadžić
ae71103bf9 Added border color index. 2015-09-16 17:21:28 -07:00
Branimir Karadžić
c94f5acd6d Updated RenderDoc header to v0.26. 2015-09-15 13:13:19 -07:00
Branimir Karadžić
5690e1cde8 Added uniform buffer dynamic resizing. 2015-09-14 15:53:33 -07:00
Branimir Karadžić
cba8c5d430 Cleanup. 2015-09-13 13:25:53 -07:00
Branimir Karadžić
344bacab7c Added workaround for compilers/platforms that don't support TLS specifier. 2015-09-13 13:24:14 -07:00
Branimir Karadžić
2c3e6867d7 Fixed variable shadowing warning. 2015-09-12 15:31:42 -07:00
Branimir Karadžić
f1a9081d2f Cleanup. 2015-09-12 15:11:56 -07:00
Branimir Karadžić
6abfcffb2e GL: Check if extension exist before setting border color. 2015-09-12 09:25:37 -07:00
Branimir Karadžić
4ef43dc802 GLES: Fixed imports. 2015-09-11 20:20:59 -07:00
Branimir Karadžić
c31ad50f31 GLES: Fixed clamp to border. 2015-09-11 20:05:13 -07:00
Branimir Karadžić
72446e998b Added border texture address mode. 2015-09-11 17:40:38 -07:00
Branimir Karadžić
e5db297ba8 Fixed framebuffer clear. 2015-09-10 22:46:51 -07:00
Branimir Karadžić
01ceccf515 D3D11: Find discard instruction to enable/disable fragment shader when writing into FB without color attachment. 2015-09-10 16:32:37 -07:00
Branimir Karadžić
05490b53ca D3D9: Fixed crash on resize. 2015-09-10 13:29:12 -07:00
Branimir Karadžić
65e0417c45 Merge branch 'dev' 2015-09-09 20:31:21 -07:00
Branimir Karadžić
00a630a783 Cleanup. 2015-09-09 20:18:55 -07:00
Branimir Karadžić
ade3d5bb90 Fixed Android build. 2015-09-09 18:35:59 -07:00
Branimir Karadžić
58f7676f7b Added process memory usage info. 2015-09-09 17:26:55 -07:00
Branimir Karadžić
3301da6ea3 Cleanup. 2015-09-08 20:57:31 -07:00
Bruce Mitchener
e832cd1223 Fix typos. 2015-09-07 17:33:22 +07:00
Branimir Karadžić
6482c8901f Cleanup. 2015-09-04 21:20:55 -07:00
Branimir Karadžić
493ed72e45 D3D12: Fixed sampler state change. 2015-09-04 20:48:00 -07:00
Branimir Karadžić
d13fe2321a Manually merged pull request #508. 2015-09-04 19:49:42 -07:00
Branimir Karadžić
5d540169ac Fixed build. 2015-09-02 16:53:08 -07:00
Branimir Karadžić
6edba00924 GL: Fixed GPU timer frequency. 2015-09-02 15:03:22 -07:00
Branimir Karadžić
561b7aa793 Cleanup. 2015-09-01 22:15:47 -07:00
Branimir Karadžić
1abf4d483f Cleanup. 2015-09-01 22:04:05 -07:00
Branimir Karadžić
1554903019 Cleanup. 2015-09-01 20:23:37 -07:00
Branimir Karadžić
11d2aa855f Fixed uniform type. 2015-09-01 16:48:01 -07:00
Branimir Karadžić
4470f7097c Fixed HLSL reflection for samplers. 2015-09-01 16:44:11 -07:00
Branimir Karadžić
9f1b7866d0 Fixed OSX build. 2015-09-01 13:34:36 -07:00
Branimir Karadžić
818c231d49 Detect available MSAA texture formats. 2015-09-01 13:23:20 -07:00
Branimir Karadžić
641a105f5d Added mOar texture formats. 2015-08-31 10:16:36 -07:00
Branimir Karadžić
d10b4440d5 Removed debug code. 2015-08-30 13:54:04 -07:00
Branimir Karadžić
d960217e9b D3D12: Cleanup. 2015-08-30 08:52:53 -07:00
Branimir Karadžić
bff5f2bafd Cleanup. 2015-08-29 01:03:13 -07:00
Branimir Karadžić
83935d0944 Merge branch 'dev' 2015-08-28 20:45:42 -07:00
Branimir Karadžić
bb89e6291c Cleanup. 2015-08-28 20:34:14 -07:00
Branimir Karadžić
15b7c0e60a GLES: Fixed missing defines. 2015-08-28 19:26:09 -07:00
Branimir Karadžić
444384469d Moar texture formats... 2015-08-28 17:41:24 -07:00
Branimir Karadžić
ece46d71bc Cleaned texture format names. 2015-08-28 14:48:51 -07:00
Branimir Karadžić
0cb21b8b83 GLES: Added workaround for broken emulator. 2015-08-28 11:17:26 -07:00
Branimir Karadžić
91c87e2149 Merge branch 'master' of github.com:bkaradzic/bgfx 2015-08-27 22:25:23 -07:00
Branimir Karadžić
0100107fc1 Cleanup. 2015-08-27 22:13:43 -07:00
Branimir Karadžić
07cdeea25b GL: Added missing defines. 2015-08-27 19:35:07 -07:00
Branimir Karadžić
b7ebbb07b6 Added snorm texture formats. 2015-08-27 16:35:27 -07:00
Branimir Karadžić
89e55a0c7e Added uniform size stats. 2015-08-27 11:06:45 -07:00
Branimir Karadžić
2cb4a52b36 D3D12: Fixed scissor. 2015-08-26 21:36:00 -07:00
Branimir Karadžić
093869941a Cleanup. 2015-08-26 21:02:53 -07:00
Branimir Karadžić
b50e609f85 GLES: Fixed MRT. 2015-08-26 18:02:05 -07:00
Branimir Karadžić
c5adaec06c D3D11: Fixed swap chain resize. 2015-08-26 12:44:40 -07:00
Branimir Karadžić
2c3bd9ce95 Cleanup. 2015-08-25 19:55:17 -07:00
Branimir Karadžić
125cb968fc D3D11: Fixed frame buffer depth buffer creation. 2015-08-25 18:29:06 -07:00
Branimir Karadžić
52c89c8cc8 D3D11: Added multidraw indexed via AMD's AGS. 2015-08-25 15:39:31 -07:00
Branimir Karadžić
344e5b2ae3 Fixed alpharef uniform name. 2015-08-24 23:55:23 -07:00
Branimir Karadžić
b0116cfd30 Merge branch 'master' of github.com:bkaradzic/bgfx 2015-08-24 16:29:53 -07:00
Branimir Karadžić
d7368442ff D3D12: Fixed alpharef. 2015-08-24 23:11:49 -07:00
Branimir Karadžić
9ded9412a8 Fixed alpharef. 2015-08-24 23:00:17 -07:00
Branimir Karadžić
3853645bf6 Cleanup. 2015-08-24 22:23:39 -07:00
Branimir Karadžić
32ab287ddc Fixed VS2008 build. 2015-08-24 21:38:45 -07:00
Dario Manesku
3bee406cb5 Maybe it makes more sense for fields to be uint16_t since the result, m_attributes, is uint16_t. 2015-08-25 03:37:04 +02:00
Dario Manesku
fa7cd66f71 Fixing encodeAsInt field. Had two problems: 1# Bit field didn't got updated for Uint10. 2# Shifting by 8 on uint8_t. Problem was introduced on: 8da579ff99. 2015-08-25 02:51:02 +02:00
Branimir Karadžić
7acf2b2616 Fixed compute program. 2015-08-24 15:40:11 -07:00
Branimir Karadžić
c93d8db523 Added program refcounting. 2015-08-24 14:52:21 -07:00
Branimir Karadžić
24fa6eee76 Cleanup. 2015-08-23 15:20:39 -07:00