Adam D. Ruppe
5f64fe5d5b
build fails
2022-08-23 22:04:45 -04:00
Adam D. Ruppe
92a6f957f8
bugs
2022-02-09 09:48:35 -05:00
Adam D. Ruppe
3c6977e004
toc
2021-09-13 09:10:23 -04:00
Adam D. Ruppe
543d3a2b5d
it just continues to get more awesome
2021-05-28 23:06:13 -04:00
Adam D. Ruppe
1e4e4ead7e
convenience class
2021-01-25 21:11:48 -05:00
Adam D. Ruppe
d4f8ed6f18
add opengl 3+ helpers
2020-08-25 22:24:25 -04:00
Adam D. Ruppe
0755efc96d
dynamic load of xlib
2020-06-30 18:02:03 -04:00
drug007
2c8171f829
Enable using existing OpenGL textures
...
NVGImage can be creating using existing OpenGL texture
2020-03-17 14:09:53 +03:00
asumface
f5b9e48195
add missing binding
...
my fault, sorry
2019-08-11 18:34:31 +02:00
asumface
5d6e320a77
Replace broken OpenGL solution with working one
...
Previous one was utter nonsense upon closer inspection.
The one in glnvg__finishClip is tested, the one in glnvg__copyFBOToFrom is not because I couldn't figure out how to reach it. Same code however so, eh.
2019-07-12 22:43:01 +02:00
asumface
c52fb47084
Add LOD bias by default
...
I don't know how driver dependent this shit is, but on my system the scaling with a factor of 0.5<x<1 just looks better with the bias
2019-07-12 00:06:47 +02:00
asumface
08fa54b8e9
Change Mipmapping option interaction
...
Mipmapping only affects downscaling anyway, so by letting it override the interpolation method we enable another useful configuration. (Blocky upscaling, smooth downscaling)
Option documentation updated.
2019-07-12 00:03:33 +02:00
asumface
ed74614ff0
Replace deprecated OpenGL function usage
...
Change deprecated calls to their modern equivalents. This achieves compatiblity with OpenGL >=3.2 core contexts. Since nanovega requires >=3.0 anyway, all new calls are already required to be supported anyway.
Since no compatibility context is required anymore, the tip has become superfluous.
2019-07-12 00:01:46 +02:00
asumface
ff4349777f
Add support for BindBC bindings
...
Add support for dynamic OpenGL and static FreeType bindings from BindBC. Fontconfig bindings aren't provided yet, so the inbuilt ones are still used.
Add tip to inform users about binding options.
2019-07-11 23:26:19 +02:00
Adam D. Ruppe
50a752df70
more recent updates
2019-05-11 10:30:16 -04:00
Adam D. Ruppe
38c84d7fa2
catchup
2019-01-06 17:28:55 -05:00
Jan Jurzitza
cac6bee486
Fix nanovega compilation warnings
...
#include and #define made dmd and ldc very unhappy.
2018-11-11 14:50:02 +01:00
drug007
1393d7db03
Additional image flags.
...
These flags allow better control of texture outputting for nice visual effects.
2018-04-25 20:10:00 +03:00
Ketmar Dark
2c0dfd7331
nanovega: removed unfinished path recording API; added some documentation for FontStash
2018-04-16 10:14:33 -04:00
Ketmar Dark
e877539492
nanovega: more font stash cleanups-aka-refu...actoring
2018-04-15 19:00:41 -04:00
Ketmar Dark
c0f56a655c
nanovega: converted FontStash to "real entity with methods"
...
as FontStash API is not publicly documented, i think that it is ok
to change it.
2018-04-14 20:40:18 -04:00
Ketmar Dark
26c14c5d90
bugfixes and compatibilities (sdpy, jpeg, nanovega)
2018-04-11 09:47:48 -04:00
Ketmar Dark
26da315d06
nanovega: don't reset FBO (so user can set FBO before rendering, and NanoVega will use it)
2018-03-26 14:29:50 -04:00
Ketmar Dark
a34e7a5d74
nanovega: some fixes in dasher; promoted one image flag to "official"
2018-03-26 14:29:47 -04:00
Ketmar Dark
2bdfb88659
nanovega: dashed strokes; removed some pasta
2018-03-23 12:39:10 -04:00
Ketmar Dark
d62047ea0a
nanovega: it is now possible to get current path as outline
2018-03-23 10:18:48 -04:00
Ketmar Dark
a27deca9f1
nanovega: it is now possible to "flatten" path outline
2018-03-23 10:18:43 -04:00
Ketmar Dark
88ca1e2556
nanovega: changed outline API a little (it is just an ordinary struct with refcounted payload now)
2018-03-23 10:18:37 -04:00
Ketmar Dark
ca090c78a2
nvg and blendish: cosmetix
2018-03-22 09:12:29 -04:00
Adam D. Ruppe
35ee572151
typos in dox
2018-03-22 09:10:38 -04:00
Ketmar Dark
3a63dbebcc
nanovega: some multithreading guards; also, it should be safe to finalize NVGImage anytime and in any thread now
2018-03-19 10:36:45 -04:00
Ketmar Dark
a055c35e9a
nanovega: made fontconfig less aggressive
2018-03-17 11:49:10 -04:00
Ketmar Dark
5c5f2d932d
nanovega: fixed segfault in texture manager
2018-03-17 09:00:51 -04:00
Ketmar Dark
ac5c325e57
nanovega: fixed bug in image refcounting; added some safety checks
2018-03-14 11:30:10 -04:00
Adam D. Ruppe
45c516b0d0
more stuff
2018-03-14 11:30:05 -04:00
Ketmar Dark
577489bf96
nanovega/blendish/svg fixes (small)
2018-03-12 17:38:04 -04:00
Adam D. Ruppe
89e9886b97
scripting nvg
2018-03-12 17:38:01 -04:00
Ketmar Dark
c0db16a13d
NanoVega: fixed kerning bug in stb_ttf backend; implemented glyph outline retrieval for stb.ttf; experimental API to get tesselated paths
2018-03-10 12:35:12 -05:00
Ketmar Dark
871b27712d
nanovega: more shader fixes for shitel
2018-03-06 14:22:56 -05:00
Ketmar Dark
238eefa2c3
NanoVega: no more `texelFetch()` in GLSL
2018-03-06 14:16:41 -05:00
Ketmar Dark
10766f14fa
nvg: API for 3-color linear gradients; multistop linear gradient optimizations
2018-03-05 08:41:37 -05:00
Adam D. Ruppe
d41a95dc26
ketmar: tesselation
2018-03-04 22:26:40 -05:00
Adam D. Ruppe
cc1547b831
ketmar bugfix lol
2018-03-04 16:57:52 -05:00
Adam D. Ruppe
846dddddb7
from ketmar: NanoVega clipping API
2018-03-04 09:19:53 -05:00
Adam D. Ruppe
fcbb561df6
fix composite ops
2018-03-01 22:12:27 -05:00
Adam D. Ruppe
04b8b4b08f
ketmar memory management patch to handle deprecated delete
2018-03-01 11:30:25 -05:00
Adam D. Ruppe
6ed8ab8a4f
more ketmar patches
2018-02-28 23:11:50 -05:00
Adam D. Ruppe
a1c57fa9eb
ketmar patches
2018-02-28 19:16:53 -05:00
Adam D. Ruppe
905eab5d7a
ketmar patch more api and dox
2018-02-27 18:13:28 -05:00
Adam D. Ruppe
62782c4caf
ketmar unreachable fix for static if
2018-02-27 12:42:44 -05:00