]> O.S.I.I.S - jp/vkvg.git/log
jp/vkvg.git
13 months agorgb color conversion with byte mask
Jean-Philippe Bruyère [Wed, 19 Mar 2025 17:19:31 +0000 (18:19 +0100)]
rgb color conversion with byte mask

13 months agopngBlitFormat from srgb to straight rgb
Jean-Philippe Bruyère [Wed, 19 Mar 2025 17:17:28 +0000 (18:17 +0100)]
pngBlitFormat from srgb to straight rgb

13 months agounpremult alpha for writing to disk or memory
Jean-Philippe Bruyère [Wed, 19 Mar 2025 17:16:34 +0000 (18:16 +0100)]
unpremult alpha for writing to disk or memory

13 months agounittest basicDraw with reference image compare and diff
Jean-Philippe Bruyère [Wed, 19 Mar 2025 17:15:08 +0000 (18:15 +0100)]
unittest basicDraw with reference image compare and diff

13 months agotest clipped image
Jean-Philippe Bruyère [Fri, 28 Feb 2025 12:16:37 +0000 (13:16 +0100)]
test clipped image

13 months agosave commit
Jean-Philippe Bruyère [Fri, 28 Feb 2025 11:15:32 +0000 (12:15 +0100)]
save commit

13 months agotime_struct_t
Jean-Philippe Bruyère [Wed, 4 Dec 2024 15:25:03 +0000 (16:25 +0100)]
time_struct_t

13 months agogunit tests wip + api calls strenghtenings
Jean-Philippe Bruyère [Wed, 4 Dec 2024 11:29:07 +0000 (12:29 +0100)]
gunit tests wip + api calls strenghtenings

13 months agodebug offscreen Segmentation fault
Jean-Philippe Bruyère [Wed, 4 Dec 2024 11:24:08 +0000 (12:24 +0100)]
debug offscreen Segmentation fault

13 months agoUpdate cmake.yml
j-p [Mon, 25 Nov 2024 17:55:23 +0000 (17:55 +0000)]
Update cmake.yml

13 months agogunit tests + error handling improvments
Jean-Philippe Bruyère [Mon, 25 Nov 2024 13:54:54 +0000 (14:54 +0100)]
gunit tests + error handling improvments

13 months agoupdate submodules
Jean-Philippe Bruyère [Sun, 27 Oct 2024 20:52:04 +0000 (20:52 +0000)]
update submodules

13 months agoclang format
Jean-Philippe Bruyère [Sun, 27 Oct 2024 20:03:31 +0000 (20:03 +0000)]
clang format

13 months agorely on cmake BUILD_SHARED_LIBS variable instead of building both version
Jean-Philippe Bruyère [Sun, 31 Dec 2023 14:57:34 +0000 (15:57 +0100)]
rely on cmake BUILD_SHARED_LIBS variable instead of building both version

13 months agowip
Jean-Philippe Bruyère [Wed, 13 Dec 2023 09:17:21 +0000 (10:17 +0100)]
wip

13 months agovkvg_device_create_info wip
Jean-Philippe Bruyère [Thu, 21 Sep 2023 05:15:37 +0000 (07:15 +0200)]
vkvg_device_create_info wip

13 months agouse of VkvgCreateInfo to create vkvg device
Jean-Philippe Bruyère [Sun, 4 Dec 2022 06:35:23 +0000 (07:35 +0100)]
use of VkvgCreateInfo to create vkvg device

2 years agoupdate vkh
Jean-Philippe Bruyère [Tue, 5 Sep 2023 21:22:57 +0000 (23:22 +0200)]
update vkh

2 years agoupdate vkh
Jean-Philippe Bruyère [Tue, 5 Sep 2023 21:07:47 +0000 (23:07 +0200)]
update vkh

2 years agoupdate vkh with cstdio include
Jean-Philippe Bruyère [Tue, 8 Aug 2023 08:31:56 +0000 (10:31 +0200)]
update vkh with cstdio include

3 years agoremove -ansi compile option on android and unix
Jean-Philippe Bruyère [Sat, 25 Mar 2023 10:48:33 +0000 (11:48 +0100)]
remove -ansi compile option on android and unix

3 years agovkvg as c library, vma still require c++ dependencies
Jean-Philippe Bruyère [Mon, 5 Dec 2022 02:05:39 +0000 (03:05 +0100)]
vkvg as c library, vma still require c++ dependencies

3 years agowip
Jean-Philippe Bruyère [Sat, 3 Dec 2022 07:35:13 +0000 (08:35 +0100)]
wip

3 years agowip
Jean-Philippe Bruyère [Tue, 8 Nov 2022 12:09:00 +0000 (13:09 +0100)]
wip

3 years agostore result of cos()
Jean-Philippe Bruyère [Sun, 30 Oct 2022 06:59:06 +0000 (07:59 +0100)]
store result of cos()

3 years agosurf and pattern status check when affecting to context
Jean-Philippe Bruyère [Sun, 30 Oct 2022 06:57:26 +0000 (07:57 +0100)]
surf and pattern status check when affecting to context

3 years agoFix building on MSYS2 MinGW
iahuntn [Wed, 1 Mar 2023 11:10:21 +0000 (18:10 +0700)]
Fix building on MSYS2 MinGW

3 years agofix compatibility with CMake 3.16
Christoph Neuhauser [Fri, 24 Feb 2023 15:34:28 +0000 (16:34 +0100)]
fix compatibility with CMake 3.16

3 years agoadded shader compilation switch for applying opacity depending on use of premultiplie...
Christoph Neuhauser [Mon, 6 Feb 2023 11:49:57 +0000 (12:49 +0100)]
added shader compilation switch for applying opacity depending on use of premultiplied alpha

3 years agoadapted vkvg_set_opacity to internally used premultiplied alpha
Christoph Neuhauser [Sun, 5 Feb 2023 20:08:04 +0000 (21:08 +0100)]
adapted vkvg_set_opacity to internally used premultiplied alpha

3 years agofix validation error with deferred resolve
Christoph Neuhauser [Sun, 5 Feb 2023 20:01:55 +0000 (21:01 +0100)]
fix validation error with deferred resolve

3 years agofix build with static GLFW
Christoph Neuhauser [Sun, 5 Feb 2023 14:36:22 +0000 (15:36 +0100)]
fix build with static GLFW

3 years agodebug when context destroyed with remaining saved ctx
Jean-Philippe Bruyère [Fri, 14 Oct 2022 01:58:09 +0000 (03:58 +0200)]
debug when context destroyed with remaining saved ctx

3 years agoreenable c extensions by default, should implement more standard solution
Jean-Philippe Bruyère [Tue, 2 Aug 2022 23:11:44 +0000 (01:11 +0200)]
reenable c extensions by default, should implement more standard solution

3 years agoupdate vkh
Jean-Philippe Bruyère [Fri, 15 Jul 2022 09:18:46 +0000 (11:18 +0200)]
update vkh

3 years agoget_matrix with const pointer
Jean-Philippe Bruyère [Wed, 22 Jun 2022 04:00:45 +0000 (06:00 +0200)]
get_matrix with const pointer

3 years agoupdate vkh
Jean-Philippe Bruyère [Wed, 8 Jun 2022 16:35:27 +0000 (18:35 +0200)]
update vkh

3 years agoadd /Od to msvc in Realease build
Jean-Philippe Bruyère [Mon, 6 Jun 2022 17:26:57 +0000 (19:26 +0200)]
add /Od to msvc in Realease build

3 years agotry to fix win build
Jean-Philippe Bruyère [Mon, 6 Jun 2022 16:54:50 +0000 (18:54 +0200)]
try to fix win build

3 years agoupdate cmake.yml
Jean-Philippe Bruyère [Sat, 28 May 2022 12:44:11 +0000 (14:44 +0200)]
update cmake.yml

3 years agoupdate vkh 123/head
Jean-Philippe Bruyère [Sat, 28 May 2022 12:31:41 +0000 (14:31 +0200)]
update vkh

3 years agoremove flto compile option, multithreading problem, maybe a gcc bug
Jean-Philippe Bruyère [Sat, 28 May 2022 12:18:03 +0000 (14:18 +0200)]
remove flto compile option, multithreading problem, maybe a gcc bug

3 years agooptional vma, vkvg is now a true c lib
Jean-Philippe Bruyère [Sat, 28 May 2022 11:04:28 +0000 (13:04 +0200)]
optional vma, vkvg is now a true c lib

3 years agotests
Jean-Philippe Bruyère [Thu, 26 May 2022 11:58:29 +0000 (13:58 +0200)]
tests

3 years agocomments
Jean-Philippe Bruyère [Thu, 26 May 2022 11:57:20 +0000 (13:57 +0200)]
comments

3 years agoupdate batchTest
Jean-Philippe Bruyère [Thu, 26 May 2022 11:56:39 +0000 (13:56 +0200)]
update batchTest

3 years agosvg-viewer -o => write to file and exit
Jean-Philippe Bruyère [Thu, 26 May 2022 11:55:52 +0000 (13:55 +0200)]
svg-viewer -o => write to file and exit

4 years agoupdate vkvg-svg
Jean-Philippe Bruyère [Mon, 2 May 2022 23:55:24 +0000 (01:55 +0200)]
update vkvg-svg

4 years agoupdate vkvg.org address
Jean-Philippe Bruyère [Tue, 26 Apr 2022 19:04:20 +0000 (21:04 +0200)]
update vkvg.org address

4 years agodev.stencilAspect code simplification
Jean-Philippe Bruyère [Sat, 23 Apr 2022 12:41:59 +0000 (14:41 +0200)]
dev.stencilAspect code simplification

4 years agodisable timelineSemaphore by default
Jean-Philippe Bruyère [Sat, 23 Apr 2022 07:59:07 +0000 (09:59 +0200)]
disable timelineSemaphore by default

4 years agodev.stencilAspectFlag depending on depth or not for layout transitions
Jean-Philippe Bruyère [Sat, 23 Apr 2022 07:57:33 +0000 (09:57 +0200)]
dev.stencilAspectFlag depending on depth or not for layout transitions

4 years ago'--' bug in equF macro
j-p [Sat, 23 Apr 2022 07:01:38 +0000 (09:01 +0200)]
'--' bug in equF macro

4 years agoMerge branch 'timelineSemaphore'
Jean-Philippe Bruyère [Fri, 22 Apr 2022 19:25:06 +0000 (21:25 +0200)]
Merge branch 'timelineSemaphore'

4 years agoMerge branch 'master' into timelineSemaphore
Jean-Philippe Bruyère [Fri, 22 Apr 2022 19:16:47 +0000 (21:16 +0200)]
Merge branch 'master' into timelineSemaphore

4 years agoremoved unnecessary ctx->source 122/head
Jean-Philippe Bruyère [Fri, 22 Apr 2022 18:41:34 +0000 (20:41 +0200)]
removed unnecessary ctx->source

4 years agofree remaining saved context debug, set pSavedCtxs=NULL
Jean-Philippe Bruyère [Fri, 22 Apr 2022 17:59:38 +0000 (19:59 +0200)]
free remaining saved context debug, set pSavedCtxs=NULL

4 years agodash reset debug
Jean-Philippe Bruyère [Fri, 22 Apr 2022 17:27:01 +0000 (19:27 +0200)]
dash reset debug

4 years agotimeline sync source surface, rename _wait_flush_fence=>_wait_ctx_flush_end, surface...
Jean-Philippe Bruyère [Tue, 5 Apr 2022 10:54:15 +0000 (12:54 +0200)]
timeline sync source surface, rename _wait_flush_fence=>_wait_ctx_flush_end, surface locks debug

4 years agoreorder svg-viewer.c includes to prevent shadowed definition of c extensions
Jean-Philippe Bruyère [Fri, 25 Mar 2022 21:00:31 +0000 (22:00 +0100)]
reorder svg-viewer.c includes to prevent shadowed definition of c extensions

4 years agodebug: vkvg-svg without c extensions
Jean-Philippe Bruyère [Fri, 25 Mar 2022 14:47:17 +0000 (15:47 +0100)]
debug: vkvg-svg without c extensions

4 years agoSET(CMAKE_C_EXTENSIONS OFF), replace remainings M_PI by defined M_PIF
Jean-Philippe Bruyère [Fri, 25 Mar 2022 12:26:48 +0000 (13:26 +0100)]
SET(CMAKE_C_EXTENSIONS OFF), replace remainings M_PI by defined M_PIF

4 years agodebug nsvg surf->new name changed
Jean-Philippe Bruyère [Mon, 21 Mar 2022 14:00:29 +0000 (15:00 +0100)]
debug nsvg surf->new name changed

4 years agothreaded context cache merge
Jean-Philippe Bruyère [Mon, 21 Mar 2022 12:43:16 +0000 (13:43 +0100)]
threaded context cache merge

4 years agotimeline sync for surface operations, surface local cmd and cmdpool, surface fence...
Jean-Philippe Bruyère [Mon, 21 Mar 2022 11:57:52 +0000 (12:57 +0100)]
timeline sync for surface operations, surface local cmd and cmdpool, surface fence sync if timeline disabled

4 years agodebug ctx->timelineStep only if timeline semaphore enabled
Jean-Philippe Bruyère [Mon, 21 Mar 2022 11:54:03 +0000 (12:54 +0100)]
debug ctx->timelineStep only if timeline semaphore enabled

4 years agodebug scalar block layout support macro name change
Jean-Philippe Bruyère [Fri, 18 Mar 2022 19:53:02 +0000 (20:53 +0100)]
debug scalar block layout support macro name change

4 years agotimeline semaphore implementation start for context
Jean-Philippe Bruyère [Fri, 18 Mar 2022 19:44:23 +0000 (20:44 +0100)]
timeline semaphore implementation start for context

4 years agovulkan optional feature cmake options/readme/presence check
Jean-Philippe Bruyère [Fri, 18 Mar 2022 17:33:35 +0000 (18:33 +0100)]
vulkan optional feature cmake options/readme/presence check

4 years agocheck scalar block layout device support if compile option is enabled
Jean-Philippe Bruyère [Fri, 18 Mar 2022 13:44:20 +0000 (14:44 +0100)]
check scalar block layout device support if compile option is enabled

4 years agoalways return valid pointer for surface/context/pattern
Jean-Philippe Bruyère [Wed, 16 Mar 2022 12:25:28 +0000 (13:25 +0100)]
always return valid pointer for surface/context/pattern

4 years agopremult: .dstAlphaBlendFactor = ONE_MINUS_SRC_ALPHA (instead of ONE)
Jean-Philippe Bruyère [Wed, 16 Mar 2022 09:44:27 +0000 (10:44 +0100)]
premult: .dstAlphaBlendFactor = ONE_MINUS_SRC_ALPHA (instead of ONE)

4 years agouse blend LogicOp.Clear for clear operator, restore premult blend..dstAlphaBlendFacto...
Jean-Philippe Bruyère [Tue, 15 Mar 2022 14:21:44 +0000 (15:21 +0100)]
use blend LogicOp.Clear for clear operator, restore premult blend..dstAlphaBlendFactor to ONE

4 years agodon't store MS suf image
Jean-Philippe Bruyère [Mon, 14 Mar 2022 14:53:44 +0000 (15:53 +0100)]
don't store MS suf image

4 years ago.dstColorBlendFactor=0, source alpha as final alpha.
Jean-Philippe Bruyère [Sun, 13 Mar 2022 19:42:20 +0000 (20:42 +0100)]
.dstColorBlendFactor=0, source alpha as final alpha.

4 years agomove strlen(fontname) inside _font_add_name
Jean-Philippe Bruyère [Sun, 13 Mar 2022 07:24:17 +0000 (08:24 +0100)]
move strlen(fontname) inside _font_add_name

4 years agoFix strcpy invalid write size (#111)
Marco Rubin [Sun, 13 Mar 2022 07:13:39 +0000 (08:13 +0100)]
Fix strcpy invalid write size (#111)

`strcpy` copies the terminating NULL-character, too.

4 years agoDocs fixes (#112)
Marco Rubin [Sat, 12 Mar 2022 15:09:41 +0000 (16:09 +0100)]
Docs fixes (#112)

* Docs fixes

* Update vkvg.h

4 years agoDocs typo fixes (#110)
Marco Rubin [Fri, 11 Mar 2022 13:38:04 +0000 (14:38 +0100)]
Docs typo fixes (#110)

4 years agoupdate tests
Jean-Philippe Bruyère [Fri, 11 Mar 2022 00:51:04 +0000 (01:51 +0100)]
update tests

4 years agodon't enable deferredResolve if sample count=1
Jean-Philippe Bruyère [Fri, 11 Mar 2022 00:49:19 +0000 (01:49 +0100)]
don't enable deferredResolve if sample count=1

4 years agodefault solid color for context to opaque black
Jean-Philippe Bruyère [Fri, 11 Mar 2022 00:47:02 +0000 (01:47 +0100)]
default solid color for context to opaque black

4 years agoupdate docs
Jean-Philippe Bruyère [Fri, 11 Mar 2022 00:46:12 +0000 (01:46 +0100)]
update docs

4 years agoset default cached context count to 2
Jean-Philippe Bruyère [Wed, 9 Mar 2022 12:20:13 +0000 (13:20 +0100)]
set default cached context count to 2

4 years agosvg sizing and comment
Jean-Philippe Bruyère [Wed, 9 Mar 2022 12:17:03 +0000 (13:17 +0100)]
svg sizing and comment

4 years agoincrease arc limit for reduced point gen (r:15->30)
Jean-Philippe Bruyère [Wed, 9 Mar 2022 12:16:21 +0000 (13:16 +0100)]
increase arc limit for reduced point gen (r:15->30)

4 years agoreduce curve distanceTolerance (1.0->0.25)
Jean-Philippe Bruyère [Wed, 9 Mar 2022 12:15:03 +0000 (13:15 +0100)]
reduce curve distanceTolerance (1.0->0.25)

4 years agoRemove duplicate documentation (#108)
Marco Rubin [Sat, 5 Mar 2022 18:22:27 +0000 (19:22 +0100)]
Remove duplicate documentation (#108)

4 years agoFix deallocation (#107)
Marco Rubin [Sat, 5 Mar 2022 15:37:50 +0000 (16:37 +0100)]
Fix deallocation (#107)

4 years agoupdate tests
Jean-Philippe Bruyère [Sat, 5 Mar 2022 08:05:27 +0000 (09:05 +0100)]
update tests

4 years agouse _get_arc_step for stroke caps resolution
Jean-Philippe Bruyère [Sat, 5 Mar 2022 08:04:57 +0000 (09:04 +0100)]
use _get_arc_step for stroke caps resolution

4 years agomove stroke half width (hw) in stroke_ctx_t
Jean-Philippe Bruyère [Sat, 5 Mar 2022 07:40:21 +0000 (08:40 +0100)]
move stroke half width (hw) in stroke_ctx_t

4 years agouse _get_arcstep for stroke joins
Jean-Philippe Bruyère [Sat, 5 Mar 2022 06:43:29 +0000 (07:43 +0100)]
use _get_arcstep for stroke joins

4 years agoglsl compile with -DVKVG_SCALAR..., test macro in shader (#104)
j-p [Fri, 4 Mar 2022 08:45:35 +0000 (09:45 +0100)]
glsl compile with -DVKVG_SCALAR..., test macro in shader (#104)

4 years agoAdd vkvg_status_to_string (#99)
Marco Rubin [Fri, 4 Mar 2022 08:44:51 +0000 (09:44 +0100)]
Add vkvg_status_to_string (#99)

* Add vkvg_status_to_string definition
* Remove unused status

4 years agostore context in device context cache per thread 105/head
Jean-Philippe Bruyère [Fri, 4 Mar 2022 06:48:04 +0000 (07:48 +0100)]
store context in device context cache per thread

4 years agoadd tests/bezier.c
Jean-Philippe Bruyère [Thu, 3 Mar 2022 13:56:42 +0000 (14:56 +0100)]
add tests/bezier.c

4 years agodebug: use printf instead of LOG in svg-viewer for dbg stats
Jean-Philippe Bruyère [Thu, 3 Mar 2022 12:40:35 +0000 (13:40 +0100)]
debug: use printf instead of LOG in svg-viewer for dbg stats

4 years agotight angle curve, switch to curved join when angle above const limit
Jean-Philippe Bruyère [Thu, 3 Mar 2022 12:39:41 +0000 (13:39 +0100)]
tight angle curve, switch to curved join when angle above const limit

4 years agoadd gradient alpha test
Jean-Philippe Bruyère [Thu, 3 Mar 2022 07:13:12 +0000 (08:13 +0100)]
add gradient alpha test