Commit Graph

545 Commits

Author SHA1 Message Date
Branimir Karadžić
80d56ed37c Cleanup. 2018-04-23 16:23:38 -07:00
Branimir Karadžić
098bbe46e9 texturev: Moved context menu into main menu. 2018-04-20 16:42:39 -07:00
Branimir Karadžić
fe1ecd20bf Cleanup. 2018-04-19 19:02:00 -07:00
Branimir Karadžić
28e1839342 Added transient buffer stats. 2018-04-18 16:35:57 -07:00
Branimir Karadžić
dcc559536a shaderc: GLSL patching. 2018-04-16 18:00:24 -07:00
Branimir Karadžić
b6199d9254 Fixed DDS association mimetype. 2018-04-15 07:57:15 -07:00
Branimir Karadžić
0c405fc256 shaderc: Fixed SPIRV uniform offsets. 2018-04-14 10:30:00 -07:00
Branimir Karadžić
ec3241a869 shaderc: Remove unused uniforms from SPIRV shader. 2018-04-13 17:12:43 -07:00
Branimir Karadžić
fc87e05199 shaderc: Added SPIR-V uniform buffer size. 2018-04-12 20:20:41 -07:00
Branimir Karadžić
d8160075e8 shaderc: Flip gl_Position.y when building SPIR-V. 2018-04-12 19:54:19 -07:00
Branimir Karadžić
ae8f21c467 SPIRV: Removed remap, and renamed gl_FragData_X_ to bgfx_FragDataX to workaround NV/VK driver bug. 2018-04-11 21:02:31 -07:00
Branimir Karadžić
172b7c506b Added SPIRV-Tools. 2018-04-10 19:44:28 -07:00
Branimir Karadžić
b0a7c13473 texturev: Fixed crash when selected image is invalid. 2018-04-02 06:02:55 -07:00
Branimir Karadžić
498175746e texturev: Fixed layer control for 3D textures with mips. 2018-03-27 18:09:31 -07:00
Branimir Karadžić
8e6450de15 Updated ImGui. 2018-03-22 21:11:18 -07:00
Branimir Karadžić
9f0a889cca shaderc: Added GLES2 fallback for transpose. 2018-03-16 22:41:51 -07:00
Branimir Karadžić
52a5f630fd shaderc: Added command line info after preprocessing shader. 2018-03-16 18:15:16 -07:00
Branimir Karadžić
f2e19da28a Cleanup. 2018-03-15 18:27:34 -07:00
Branimir Karadžić
a2e553665c Cleanup. 2018-03-09 19:36:36 -08:00
Branimir Karadžić
954a2df953 Fixed GLSL intepolator qualifier. 2018-02-17 10:04:42 -08:00
Branimir Karadžić
3198dd8226 Cleanup. 2018-02-14 22:01:24 -08:00
Branimir Karadžić
c6b4ce512a Fixed issue #1331. 2018-02-13 16:08:49 -08:00
Branimir Karadžić
584b8b34f0 Added support for independent RGB channel write control. 2018-02-13 12:35:23 -08:00
Branimir Karadžić
cf91b62542 shaderc: Allow passing CS buffers into all shader stages in GLSL. 2018-01-15 17:39:18 -08:00
Branimir Karadžić
49a75f2fb1 bx math API cleanup. 2018-01-13 15:33:50 -08:00
Lectem
7960b42c90 Fix shaderc leaks (#1313)
* Fix fcpp memory leaks

* Fix glsl_optimizer leaks
2018-01-13 10:08:03 -08:00
Branimir Karadžić
052948f173 Cleanup. 2018-01-12 16:38:54 -08:00
Branimir Karadžić
b8f8370935 shaderc: Fixed depends option. 2018-01-10 16:47:43 -08:00
Branimir Karadžić
a6617f7fdf Cleanup. 2018-01-08 19:05:21 -08:00
Branimir Karadžić
6023a016c4 texturev: Fixed window resizing. 2018-01-05 16:43:38 -08:00
Branimir Karadžić
b103741c1a shaderc: Updated version. 2018-01-04 19:04:30 -08:00
Branimir Karadžić
0093775508 texturev: Added support for drop file. 2018-01-04 13:05:36 -08:00
Branimir Karadžić
97e6c498a8 entry: Added drop file event WIP. 2018-01-03 21:37:42 -08:00
Branimir Karadžić
ed00c24f6f texturev: Allow arbitrary window size. 2018-01-02 19:15:04 -08:00
Branimir Karadžić
fcc9160e03 texturev: Added scale slider. 2018-01-02 16:20:03 -08:00
Branimir Karadžić
f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08:00
Kyle Rocha
1f3846224b uint32 size indices and vertexBaseIndex to Forsyth (#1304)
- Forsyth::OptimizeFaces() now has 2 overloads, 1 for uint16_t and one
for uint32_t sized indices. Internally each overload now calls down to
the templated OptimizeFacesImpl() providing the respective index type.

- The new 'vertexBaseIndex' is the starting vertex index
subtracted from each index in indexList to allow safe operation on
multiple objects in a single index buffer.

- Also replaced the interal int typedefs with common types provided by
stdint.h
2017-12-30 20:46:21 -08:00
Branimir Karadžić
d32ca7682c texturev: Added support for linear input images. 2017-12-12 17:31:22 -08:00
Branimir Karadžić
0110c8c0b0 shaderc: HLSL fixed interpolation specifier. 2017-12-11 10:47:44 -08:00
Branimir Karadžić
f9d39b2380 Cleanup. 2017-12-09 17:55:09 -08:00
Branimir Karadžić
547d1d2b11 Cleanup. 2017-12-02 18:15:31 -08:00
Branimir Karadžić
90ef8970cc Fixed build. 2017-12-01 22:09:02 -08:00
Branimir Karadžić
844cabf25e texturev: Added SDF menu option. 2017-11-29 22:30:05 -08:00
Branimir Karadžić
0a39920db4 texturev: Rebuilt shaders. 2017-11-29 21:13:24 -08:00
Branimir Karadžić
624c050047 texturev: Added separate MSDF shader. 2017-11-29 21:06:14 -08:00
Branimir Karadžić
c5c851af5a texturev: Fixed SDF. 2017-11-29 16:53:39 -08:00
Branimir Karadžić
81ded16290 texturev: Added load/save settings. 2017-11-28 19:18:46 -08:00
Branimir Karadžić
7a1e4637e3 Cleanup. 2017-11-27 23:10:34 -08:00
Branimir Karadžić
7384171900 Fixed view id remapping. 2017-11-27 15:57:31 -08:00
Branimir Karadžić
1e16af3701 Cleanup. 2017-11-27 14:29:39 -08:00
attilaz
b8886a3531 Adding an API to shaderc (#1280) 2017-11-24 10:01:13 -08:00
Branimir Karadžić
93bde787b8 Fixed build. 2017-11-15 20:30:02 -08:00
Branimir Karadžić
2fa09df3bd texturev: Fixed mip update issue. 2017-11-06 18:25:14 -08:00
Branimir Karadžić
1cd0f35cb7 texturev: Added option to disable transition animation. 2017-11-04 00:07:40 -07:00
Branimir Karadžić
8ded805ff2 texturev: Added .pgm and .ppm extensions as supported. 2017-10-27 20:59:07 -07:00
Branimir Karadžić
e322217bc7 texturev: Added exposure control. 2017-10-25 16:17:54 -07:00
Branimir Karadžić
a5419a8f52 texturev: Added basic texture info. 2017-10-24 21:32:31 -07:00
Branimir Karadžić
a6a166020d Fixed build. 2017-10-04 20:40:01 -07:00
Branimir Karadžić
374b4b4469 geometryc: Fixed uv/normal output. 2017-10-04 20:31:58 -07:00
Branimir Karadžić
2650897f06 Fixed build. 2017-10-01 22:52:26 -07:00
Branimir Karadžić
ed572fc5a6 Cleanup. 2017-09-30 16:25:11 -07:00
Branimir Karadžić
88e00edf4d Fixed build. 2017-09-25 20:02:25 -07:00
Branimir Karadžić
1218981a22 Cleanup. 2017-09-25 17:51:15 -07:00
Branimir Karadžić
a3309c1205 Fixed issue #1236. 2017-09-17 16:54:37 -07:00
Branimir Karadžić
0dd6083787 Cleanup. 2017-09-02 19:30:40 -07:00
Branimir Karadžić
9a7ab977ec Fixed glsl shadow sampler with GLSL 1.30. 2017-08-18 16:59:55 -07:00
Branimir Karadžić
e2f097c83d texturev: Fit image based on orientation. 2017-07-20 20:58:42 -07:00
Branimir Karadžić
ae3d8b5dd1 texturev: Added all orientation modes. 2017-07-20 20:27:36 -07:00
Branimir Karadžić
c38d76f42a texturev: Added image orientation. 2017-07-19 22:53:48 -07:00
Branimir Karadžić
1b5e193aed texturev: Find file with case-insensitive search. 2017-07-19 18:14:04 -07:00
Branimir Karadžić
7c9b2b7257 API change: Simplified destroy functions to use overload resolution. 2017-07-17 22:29:43 -07:00
Branimir Karadžić
f76d3bd33e texturev: Added file list. 2017-07-17 21:30:03 -07:00
Branimir Karadžić
8aa79c43dd Cleanup. 2017-07-15 21:21:31 -07:00
Branimir Karadžić
3e212b519f Moving code around and renaming files. 2017-07-15 21:01:08 -07:00
Branimir Karadžić
a274c9a6c5 Replaced BX_OVERRIDE with override. 2017-07-15 00:17:29 -07:00
Branimir Karadžić
ac33b32cb5 Fixed windows build. 2017-07-14 23:38:45 -07:00
Branimir Karadžić
f86eafcfd7 Switching code to use FilePath. 2017-07-14 23:06:03 -07:00
Branimir Karadžić
f5dea0d1e1 Merge branch 'master' of github.com:bkaradzic/bgfx 2017-07-14 00:16:04 -07:00
Branimir Karadžić
535ad9c9b6 Cleanup. 2017-07-14 00:15:54 -07:00
Branimir Karadžić
d50b29ac6c Cleanup. 2017-07-14 00:14:57 -07:00
Branimir Karadžić
24e796fa5b Cleanup. 2017-07-14 00:10:33 -07:00
Branimir Karadžić
2df32373f9 texturev: Fixed key bindings. 2017-07-10 21:42:50 -07:00
Branimir Karadžić
fa5a1bf2c1 Cleanup. 2017-07-09 17:29:51 -07:00
Branimir Karadžić
8e979820b5 texturev: Added context menu options. 2017-07-09 17:11:59 -07:00
Branimir Karadžić
369efb8a61 texturev: Rebuilt embedded shaders. 2017-07-09 11:54:24 -07:00
Branimir Karadžić
08ba314532 texturev: Added cubemap view modes. 2017-07-09 11:47:13 -07:00
Branimir Karadžić
afcfdb9c73 texturev: Added cubemap rotation control. 2017-07-05 22:36:08 -07:00
Branimir Karadžić
b83204d516 Added kExitSuccess/Failure constants. 2017-06-20 21:42:23 -07:00
Branimir Karadžić
236ef4b875 Fixed shader binary truncation. Issue #1170. 2017-06-20 20:34:41 -07:00
Branimir Karadžić
35060be243 texturev: Added 3D texture support. 2017-06-20 13:31:22 -07:00
Branimir Karadžić
baa7cd9282 Cleanup. 2017-06-18 17:12:30 -07:00
Branimir Karadžić
e7acaa2162 Cleanup. 2017-06-17 17:03:02 -07:00
Branimir Karadžić
30b6d07e29 Cleanup. 2017-06-12 22:43:07 -07:00
Branimir Karadžić
c39c6121a6 Removed obsolete platform. 2017-06-11 22:54:52 -07:00
Branimir Karadžić
525af7685e Renaming CrtFile* -> File*. 2017-06-11 21:01:38 -07:00
Branimir Karadžić
6a6c5e3af9 Cleanup. 2017-06-10 22:31:59 -07:00
Branimir Karadžić
3fbcddb4ef Renamed constants to new style. 2017-06-09 20:08:52 -07:00
Branimir Karadžić
bbdc0fbcbd texturev: Added fit to window option toggle. 2017-06-09 19:40:20 -07:00
Branimir Karadžić
24569934a1 Added color2/3 attributes. 2017-06-06 17:25:17 -07:00
Branimir Karadžić
e19a6738c7 shaderc: If GLSL version is above 4.00 shaderc will just pass preprocessed code without invoking glsl-optimizer. 2017-06-05 17:37:26 -07:00
Branimir Karadžić
d96f716473 Cleanup. 2017-06-03 15:38:03 -07:00
Branimir Karadžić
18bbec1152 texturev: Rebuilt embedded shader. 2017-06-03 13:37:42 -07:00
Branimir Karadžić
f8739bc8e2 texturev: Added image rotation. 2017-06-03 13:18:12 -07:00
Branimir Karadžić
7fc0b67b34 Updated glslang. 2017-06-03 11:11:11 -07:00
Branimir Karadžić
32730a7776 Cleanup. 2017-06-01 19:21:29 -07:00
Branimir Karadžić
c4f5129e84 Removed support for Native Client. https://developer.chrome.com/native-client/migration 2017-05-30 23:49:53 -07:00
Branimir Karadžić
33a83de1e1 texturev: Added checkeboard background for transparent images. 2017-05-29 16:18:30 -07:00
Branimir Karadžić
321797f162 Cleanup. 2017-05-29 14:09:48 -07:00
Branimir Karadžić
cba4ed0f04 texturev: Rebuilt embedded shaders. 2017-05-29 12:13:02 -07:00
Branimir Karadžić
8f7f096d93 texturev: Q for exit. 2017-05-27 09:40:25 -07:00
Branimir Karadžić
d4917fa333 Fixed VS build. 2017-05-25 21:31:44 -07:00
Branimir Karadžić
dbceaf702e Cleanup. 2017-05-25 20:24:02 -07:00
Branimir Karadžić
d5eb3fb08d texturev: Added panning. 2017-05-25 15:12:07 -07:00
Branimir Karadžić
4be1d1e292 Cleanup. 2017-05-24 22:40:53 -07:00
Branimir Karadžić
c8abb371c9 texturev: Added mouse wheel zoom. 2017-05-24 21:12:30 -07:00
Branimir Karadžić
e8c630c001 Cleanup. 2017-05-16 17:29:59 -07:00
Branimir Karadžić
68c6b46a65 Exposed vertex stream argument to API. 2017-05-14 11:48:59 -07:00
Branimir Karadžić
fab6630bf8 Added tools version info. 2017-05-10 20:55:31 -07:00
Branimir Karadžić
7c8733c22b Removed texturec source, now lives in bimg. 2017-05-09 20:07:41 -07:00
Branimir Karadžić
f15cfa711e Cleanup. 2017-05-09 17:30:39 -07:00
Branimir Karadžić
dd836d3e45 Cleanup. 2017-05-08 17:51:26 -07:00
Branimir Karadžić
f4f2625685 Added image passthru. 2017-04-29 20:16:41 -07:00
Branimir Karadžić
190c6455cb texturec: Fixed mismatch between input/output format. 2017-04-28 16:19:22 -07:00
Branimir Karadžić
b13dc2373a Cleanup. 2017-04-27 21:13:06 -07:00
Branimir Karadžić
01a76bbdf0 Fixed texture load info. 2017-04-27 21:09:44 -07:00
Branimir Karadžić
3d73d0904b shaderc: Added support for gl_VertexID/InstanceID. Issue #1062. 2017-04-23 15:53:15 -07:00
Branimir Karadžić
c9679731a5 Renaming string functions. 2017-04-22 14:47:02 -07:00
Branimir Karadžić
97ddfaa776 texturec: Added save as option. 2017-04-22 14:20:17 -07:00
Branimir Karadžić
5617c33c4b Cleanup. 2017-04-22 00:27:11 -07:00
Branimir Karadžić
e2ac805822 texturec: Fixed crash when input texture is already BC encoded. 2017-04-21 18:19:44 -07:00
Branimir Karadžić
573b155862 texturec: Added image rescaling if '--max <value>' argument is passed. 2017-04-19 21:11:44 -07:00
Branimir Karadžić
6e9e862565 Renaming string functions. 2017-04-16 21:56:17 -07:00
Branimir Karadžić
c26b1f1614 Cleanup. 2017-04-15 18:19:17 -07:00
Branimir Karadžić
8ce85d2462 Added bimg dependency. 2017-04-03 22:42:27 -07:00
Branimir Karadžić
423c655095 Cleanup. 2017-04-03 20:43:57 -07:00
Branimir Karadžić
8b94c13e32 shaderc: Parse in/out correctly. 2017-04-03 17:53:14 -07:00
Branimir Karadžić
e492eb5132 Image code cleanup, preparing for split into new lib. 2017-04-01 14:54:18 -07:00
Branimir Karadžić
294f15fd5e Allow updating RO compute buffers. 2017-03-28 17:35:16 -07:00
Branimir Karadžić
db3939ca16 Merge pull request #1093 from BrianHarris/master
Vulkan/Spirv updates
2017-03-24 17:06:24 -07:00
Brian Harris
c2d62c44ee Spirv compiler fixes 2017-03-24 15:20:38 -05:00
Branimir Karadžić
293c1dc60a Added support for texture2DGrad. 2017-03-23 17:33:29 -07:00
Branimir Karadžić
313749174b Cleanup. 2017-03-11 14:58:09 -08:00
Branimir Karadžić
46ec8d3ca4 VS: Fixing L4 warnings. 2017-03-11 14:44:00 -08:00
Branimir Karadžić
af92146360 Added custom allocator to ImageContainer. 2017-02-19 17:51:38 -08:00
Brian Harris
ae566e2bb6 Some vulkan fixes (#1051) 2017-02-17 09:35:09 -08:00
Branimir Karadžić
2e8c2a0070 Cleanup. 2017-01-19 11:31:14 -08:00
Branimir Karadžić
14dccb7f1e Cleanup. 2017-01-19 00:22:06 -08:00
Branimir Karadžić
f5c2ed411b Fixed tinyexr warnings. 2017-01-18 10:46:08 -08:00
Branimir Karadžić
fd6ab494ff Merge branch 'master' of github.com:bkaradzic/bgfx 2017-01-15 16:22:54 -08:00
Branimir Karadžić
f63553fecc Cleanup. 2017-01-15 16:22:47 -08:00