Hugo Amnov
79321ffce2
Replace freetype with stb_truetype in font examples ( #2139 )
...
* Replace freetype with stb_truetype in font example
* Remove freetype
2020-05-10 17:44:14 -07:00
Бранимир Караџић
3f647f1ca1
Fixed tabs/spaces.
2019-08-17 13:32:18 -07:00
Leandro Freire
d7c70c49e3
Add url to examples
2019-08-17 13:27:38 -07:00
Branimir Karadžić
66a7d6ab05
Removing old vector math.
2018-11-16 21:54:20 -08:00
Branimir Karadžić
db0ec1f5db
Removed HMD API and OculusVR support.
2018-07-19 20:22:21 -07:00
Branimir Karadžić
5bb6a14876
Changed bgfx::init to take init parameters as structure instead of arguments.
2018-04-17 15:42:18 -07:00
Branimir Karadžić
4b78939317
Removed use of wchar_t.
2018-02-17 12:27:07 -08: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ć
0fad539078
Cleanup.
2017-06-29 23:19:20 -07:00
Branimir Karadžić
917385f79e
Cleanup.
2017-06-29 22:23:18 -07:00
Branimir Karadžić
5f666a5ee2
Combined all examples. Issue #1143 .
2017-06-25 21:44:04 -07:00
Branimir Karadžić
30b6d07e29
Cleanup.
2017-06-12 22:43:07 -07:00
attilaz
60fbe0a863
converted 10-font to entry::AppI ( #1154 )
2017-06-12 10:20:35 -07:00
Branimir Karadžić
d96225a1f0
Fixing projection matrix in examples.
2017-02-22 22:26:39 -08:00
Branimir Karadžić
42a01f6f1a
Cleanup.
2017-02-13 23:19:08 -08:00
Branimir Karadžić
a5bb9be4ed
Cleanup.
2016-12-08 20:45:01 -08:00
Branimir Karadžić
071912b2d2
Fixed MSVC L4 warnings.
2016-05-06 21:29:47 -07:00
Branimir Karadžić
db37bd1bcd
Added icon font headers.
2016-02-10 22:37:09 -08:00
Branimir Karadžić
4bb2b623d3
Happy New Year!
2016-01-01 00:11:04 -08:00
Branimir Karadžić
1c51d81006
Cleanup.
2015-10-23 20:52:22 -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
Branimir Karadžić
1fa85ccf27
Replaced bgfx::setProgram function with bgfx::submit argument. Added bgfx::touch and bgfx::getStats.
2015-07-22 18:05:11 -07:00
Branimir Karadžić
921a315c4d
Cleanup.
2015-07-16 20:28:43 -07:00
Matthew Endsley
1e604e8f38
VR: Add device resolution to HMD. Init at startup.
...
BREAKING: bgfx::getHMD() now returns a valid pointer
if the VR runtime was initialized. This is different
from existing behavior where getHMD returned NULL until
a bgfx::reset(... BGFX_RESET_HMD) was issued. Applications
must now check HMD::flags for the current state of the VR
runtime. The following code has the code change required:
`const bgfx::HMD* hmd = bgfx::getHMD()
if (NULL != hmd)`
becomes:
`const bgfx::HMD* hmd = bgfx::getHMD()
if (NULL != hmd && 0 != (hmd->flags & BGFX_HMD_RENDRERING))
{
// rendering logic
}`
See the updated examples for details.
This allows applications to create the appropriately
sized back buffer for the HMD device by using the new device
resolution fields HMD::deviceHeight and HMD::deviceWidth.
These values report the pixel resolution of the attached
HMD hardware.
This also allows applications to query the reported HMD
resolution immediately after bgfx::init. This prevents
the device from being cycled which generates rendring
artifacts on startup - namely flashing back to a black
screen and reseting the Health+Warning disaply.
This involves initialization the ovrHmd device on
initialization, but deferring rendering until
postReset has been called. This adds an addiional
memory overhead of 32k to builds defining BGFX_CONFIG_USE_OVR.
The overhead for current builds is ~1.9MB for calls to
ovr_Initialize, so the additional overhead is pretty
trivial (+1.8%)
2015-06-03 15:39:09 -07:00
Branimir Karadžić
ff7f967c1b
Removed _BIT suffix from BGFX_CLEAR_* flags.
2015-01-10 21:39:45 -08:00
Branimir Karadžić
31efb2991f
Updated to OVR 0.4.3. Added support for event char to read keyboard text input.
2014-11-08 20:57:47 -08:00
Branimir Karadžić
c400562d61
HMD fixes.
2014-11-03 19:11:08 -08:00
Branimir Karadžić
02e549bfec
Moved fpumath to bx.
2014-05-26 19:31:37 -07:00
bkaradzic
c99d145347
Added FontAwesome to 10-font example.
2013-10-23 20:32:48 -07:00
bkaradzic
3e6f682c30
Fixed resource leak in font examples.
2013-08-08 22:18:19 -07:00
bkaradzic
4c4c2eb5cb
examples-common: Reogranized sources. Added command interpreter and input bindings support.
2013-08-07 21:45:56 -07:00
bkaradzic
640c61fe45
Cleanup.
2013-08-06 21:09:02 -07:00
bkaradzic
daab00e816
Cleanup.
2013-06-24 23:38:14 -07:00
bkaradzic
375f17060a
DX11/GL: Fixed font subpixel issues.
2013-06-03 23:16:02 -07:00
bkaradzic
af842a1c68
Cleanup.
2013-05-29 21:53:19 -07:00
bkaradzic
18f2e82362
Added include path to common. Renamed math to fpumath.
2013-05-23 22:07:54 -07:00
bkaradzic
bed490bd53
Cleanup.
2013-05-18 22:12:40 -07:00
bkaradzic
c487afa8ef
Added varying.def to dependencies.
2013-05-17 22:13:32 -07:00
bkaradzic
9c0b5be6d7
Added vsync by default to font examples.
2013-05-17 08:45:12 -07:00
bkaradzic
4319f8f1df
Fixed MinGW compile error.
2013-05-16 23:45:37 -07:00
bkaradzic
274a5f2321
Cleanup.
2013-05-16 20:37:54 -07:00
bkaradzic
50a92db146
Cleanup.
2013-05-16 20:35:08 -07:00
bkaradzic
7fcda61d90
Fixed Linux build.
2013-05-16 09:03:56 -07:00
bkaradzic
45e14926d2
Fixed GCC warnings.
2013-05-15 21:35:26 -07:00
Jeremie Roy
c4b4b15e37
uncrustify whole font code
2013-05-15 15:21:23 +02:00
Jeremie Roy
61305ed0e4
fix warning and remove useless includes
2013-05-15 15:12:25 +02:00
Jeremie Roy
a4006cf0ab
harmonize license header text
2013-05-15 15:07:04 +02:00
Jeremie Roy
2f89ab16ba
rework the samples
2013-05-08 23:55:54 +02:00
Jeremie Roy
b2e506d7aa
better font sample
2013-05-08 19:55:20 +02:00