]> O.S.I.I.S - jp/vkvg.git/log
jp/vkvg.git
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

4 years agoPatch vkvg_pattern_get_color_stop_rgba and vkvg_rel_curve_to (#102)
Marco Rubin [Thu, 3 Mar 2022 06:42:38 +0000 (07:42 +0100)]
Patch vkvg_pattern_get_color_stop_rgba and vkvg_rel_curve_to (#102)

* vkvg_pattern_get_color_stop_rgba test out of bound indices
* vkvg_rel_curve_to: raise status if no current point defined

4 years agodebug win: missing ';'
Jean-Philippe Bruyère [Wed, 2 Mar 2022 14:19:14 +0000 (15:19 +0100)]
debug win: missing ';'

4 years agoimplement vkvg_set_miter_limit
Jean-Philippe Bruyère [Wed, 2 Mar 2022 14:14:12 +0000 (15:14 +0100)]
implement vkvg_set_miter_limit

4 years agoreplace internal call to public api (move_to) with private api calls
Jean-Philippe Bruyère [Wed, 2 Mar 2022 12:25:33 +0000 (13:25 +0100)]
replace internal call to public api (move_to) with private api calls

4 years agoharfbuzz: detect script with unicode funcs testing first glyph
Jean-Philippe Bruyère [Wed, 2 Mar 2022 09:08:23 +0000 (10:08 +0100)]
harfbuzz: detect script with unicode funcs testing first glyph

4 years agoadd -L option to tests, enable LOG in debug with loglevel in hexadecimal
Jean-Philippe Bruyère [Tue, 1 Mar 2022 15:55:30 +0000 (16:55 +0100)]
add -L option to tests, enable LOG in debug with loglevel in hexadecimal

4 years agoremove strlen from _font_cache_create_text_run
Jean-Philippe Bruyère [Tue, 1 Mar 2022 14:48:46 +0000 (15:48 +0100)]
remove strlen from _font_cache_create_text_run

4 years agostbtt_InitFont assert debug
Jean-Philippe Bruyère [Tue, 1 Mar 2022 10:04:39 +0000 (11:04 +0100)]
stbtt_InitFont assert debug

4 years agoadd vertex unchecked in draw fsq
Jean-Philippe Bruyère [Tue, 1 Mar 2022 07:25:04 +0000 (08:25 +0100)]
add vertex unchecked in draw fsq

4 years agoFill eo scissor (#101)
j-p [Tue, 1 Mar 2022 07:23:22 +0000 (08:23 +0100)]
Fill eo scissor (#101)

compute bounds for scissoring fill even/odd

4 years agoupdate appveyor
Jean-Philippe Bruyère [Mon, 28 Feb 2022 15:59:47 +0000 (16:59 +0100)]
update appveyor

4 years agoupdate appveyor
Jean-Philippe Bruyère [Mon, 28 Feb 2022 15:54:38 +0000 (16:54 +0100)]
update appveyor

4 years agoupdate appveyor
Jean-Philippe Bruyère [Mon, 28 Feb 2022 15:47:01 +0000 (16:47 +0100)]
update appveyor

4 years agoUpdate cmake.yml (#100)
j-p [Mon, 28 Feb 2022 15:32:28 +0000 (16:32 +0100)]
Update cmake.yml (#100)

Update cmake.yml

4 years agoupdate vkh
Jean-Philippe Bruyère [Mon, 28 Feb 2022 09:33:12 +0000 (10:33 +0100)]
update vkh

4 years agorevert getop in test, does not compile on win
Jean-Philippe Bruyère [Mon, 28 Feb 2022 09:32:53 +0000 (10:32 +0100)]
revert getop in test, does not compile on win

4 years agoprintf->LOG in font cache init
Jean-Philippe Bruyère [Mon, 28 Feb 2022 07:44:34 +0000 (08:44 +0100)]
printf->LOG in font cache init

4 years agoSurface refs increment/decrement on context creation/destruction (#96)
Marco Rubin [Sun, 27 Feb 2022 17:15:53 +0000 (17:15 +0000)]
Surface refs increment/decrement on context creation/destruction (#96)

Increment/decrement surf ref on create/destroy

4 years agoAdd vkvg_has_current_point and vkvg_get_target (#97)
Marco Rubin [Sun, 27 Feb 2022 12:01:36 +0000 (12:01 +0000)]
Add vkvg_has_current_point and vkvg_get_target (#97)

* Define vkvg_has_current_point and vkvg_get_target

* Declare vkvg_has_current_point and vkvg_get_target

4 years agoupdate vkh
Jean-Philippe Bruyère [Sun, 27 Feb 2022 08:13:42 +0000 (09:13 +0100)]
update vkh

4 years agovkengine_get_instance
Jean-Philippe Bruyère [Sun, 27 Feb 2022 08:06:56 +0000 (09:06 +0100)]
vkengine_get_instance

4 years agoupdate vkvg-svg
Jean-Philippe Bruyère [Sat, 26 Feb 2022 10:34:48 +0000 (11:34 +0100)]
update vkvg-svg

4 years agodebug, missing ';' in vkvg.h
Jean-Philippe Bruyère [Sat, 26 Feb 2022 10:31:17 +0000 (11:31 +0100)]
debug, missing ';' in vkvg.h

4 years agoexpose vkvg_glyph_t
Jean-Philippe Bruyère [Fri, 25 Feb 2022 06:58:24 +0000 (07:58 +0100)]
expose vkvg_glyph_t

4 years agoget_glyph_count of text run
Jean-Philippe Bruyère [Thu, 24 Feb 2022 03:05:02 +0000 (04:05 +0100)]
get_glyph_count of text run

4 years agoremove GlyphInfo, return individual positions elements
Jean-Philippe Bruyère [Thu, 24 Feb 2022 02:56:33 +0000 (03:56 +0100)]
remove GlyphInfo, return individual positions elements

4 years agoimplement vkvg_text_run_get_glyph_positions
Jean-Philippe Bruyère [Wed, 23 Feb 2022 15:49:33 +0000 (16:49 +0100)]
implement vkvg_text_run_get_glyph_positions

4 years agoimplement vkvg_load_font_from_memory
Jean-Philippe Bruyère [Wed, 23 Feb 2022 15:16:31 +0000 (16:16 +0100)]
implement vkvg_load_font_from_memory

4 years agoimplement changes without freetype
Jean-Philippe Bruyère [Wed, 23 Feb 2022 14:47:08 +0000 (15:47 +0100)]
implement changes without freetype

4 years agouse font file buffer and FT_New_Memory_Face
Jean-Philippe Bruyère [Wed, 23 Feb 2022 14:37:20 +0000 (15:37 +0100)]
use font file buffer and FT_New_Memory_Face

4 years agoadd vkvg_create_text_run_with_length to vkvg.h
Jean-Philippe Bruyère [Wed, 23 Feb 2022 06:15:25 +0000 (07:15 +0100)]
add vkvg_create_text_run_with_length to vkvg.h

4 years agoadd vkvg_text_run_create2, should find a better name
Jean-Philippe Bruyère [Tue, 22 Feb 2022 21:10:56 +0000 (22:10 +0100)]
add vkvg_text_run_create2, should find a better name

4 years agoexpose public methods to query required inst and dev extensions as well as required...
Jean-Philippe Bruyère [Fri, 25 Feb 2022 15:26:44 +0000 (16:26 +0100)]
expose public methods to query required inst and dev extensions as well as required features

4 years agoRemove constness from svgFragment (#95)
Marco Rubin [Fri, 25 Feb 2022 16:32:52 +0000 (16:32 +0000)]
Remove constness from svgFragment (#95)

* Remove constness from svgFragment

* Remove constness from svgFragment

* Use proper name

4 years agotabulation
Jean-Philippe Bruyère [Thu, 24 Feb 2022 14:22:49 +0000 (15:22 +0100)]
tabulation

4 years agodebug:validation err old font cache restore RO_OPT after transfer, may be still in...
Jean-Philippe Bruyère [Thu, 24 Feb 2022 09:00:40 +0000 (10:00 +0100)]
debug:validation err old font cache restore RO_OPT after transfer, may be still in use by other ctx

4 years agodebug:vkvg_text_run_get_extents
Jean-Philippe Bruyère [Wed, 23 Feb 2022 15:50:28 +0000 (16:50 +0100)]
debug:vkvg_text_run_get_extents

4 years agodebug recording2, I should find a better name
Jean-Philippe Bruyère [Mon, 21 Feb 2022 20:58:10 +0000 (21:58 +0100)]
debug recording2, I should find a better name

4 years agoUpdate README.md
j-p [Mon, 21 Feb 2022 18:29:42 +0000 (19:29 +0100)]
Update README.md