]> O.S.I.I.S - jp/vkvg.git/log
jp/vkvg.git
4 years agomultithreading is not ok with context caching, articulating both need more work
Jean-Philippe Bruyère [Fri, 18 Feb 2022 19:20:09 +0000 (20:20 +0100)]
multithreading is not ok with context caching, articulating both need more work

4 years agowith harfbuzz, _prepare_char is only required on show_text
Jean-Philippe Bruyère [Fri, 18 Feb 2022 18:59:14 +0000 (19:59 +0100)]
with harfbuzz, _prepare_char is only required on show_text

4 years agocleanup
Jean-Philippe Bruyère [Fri, 18 Feb 2022 18:58:00 +0000 (19:58 +0100)]
cleanup

4 years agobuggy font cache mutex guarding, multithreaded tests
Jean-Philippe Bruyère [Fri, 18 Feb 2022 14:49:55 +0000 (15:49 +0100)]
buggy font cache mutex guarding, multithreaded tests

4 years agoremove duplicated _parse_args
Jean-Philippe Bruyère [Fri, 18 Feb 2022 14:53:35 +0000 (15:53 +0100)]
remove duplicated _parse_args

4 years agoadd svg and recording options in cmake resume
Jean-Philippe Bruyère [Fri, 18 Feb 2022 04:00:57 +0000 (05:00 +0100)]
add svg and recording options in cmake resume

4 years agoadd invalid font status
Jean-Philippe Bruyère [Fri, 18 Feb 2022 03:28:22 +0000 (04:28 +0100)]
add invalid font status

4 years agoremove unecessary fence wait
Jean-Philippe Bruyère [Fri, 18 Feb 2022 03:16:06 +0000 (04:16 +0100)]
remove unecessary fence wait

4 years agofont cache mutex, func renames
Jean-Philippe Bruyère [Tue, 1 Feb 2022 11:34:20 +0000 (12:34 +0100)]
font cache mutex, func renames

4 years ago-t option for test: thread aware
Jean-Philippe Bruyère [Thu, 27 Jan 2022 23:52:50 +0000 (00:52 +0100)]
-t option for test: thread aware

4 years ago_device prefix in device_internal
Jean-Philippe Bruyère [Thu, 27 Jan 2022 21:38:09 +0000 (22:38 +0100)]
_device prefix in device_internal

4 years agothread aware option in device, simple mutex device lock
Jean-Philippe Bruyère [Thu, 27 Jan 2022 21:12:10 +0000 (22:12 +0100)]
thread aware option in device, simple mutex device lock

4 years agomerge multithreading device guards with cached context
Jean-Philippe Bruyère [Thu, 27 Jan 2022 04:08:24 +0000 (05:08 +0100)]
merge multithreading device guards with cached context

4 years agoadd multihreaded test direct draw on main surface
Jean-Philippe Bruyère [Wed, 26 Jan 2022 22:51:29 +0000 (23:51 +0100)]
add multihreaded test direct draw on main surface

4 years agotest with only guarded last fence wait and submit
Jean-Philippe Bruyère [Wed, 26 Jan 2022 22:41:15 +0000 (23:41 +0100)]
test with only guarded last fence wait and submit

4 years agovkvg_device_set_queue_guards
Jean-Philippe Bruyère [Tue, 25 Jan 2022 23:22:46 +0000 (00:22 +0100)]
vkvg_device_set_queue_guards

4 years agoreplace cross_mutex with tinycthread, add multisampled example
Jean-Philippe Bruyère [Tue, 25 Jan 2022 22:01:06 +0000 (23:01 +0100)]
replace cross_mutex with tinycthread, add multisampled example

4 years agodon't store context with status_invalid, check surf pointer and status on ctx reuse
Jean-Philippe Bruyère [Tue, 25 Jan 2022 11:32:47 +0000 (12:32 +0100)]
don't store context with status_invalid, check surf pointer and status on ctx reuse

4 years agomove getarcstep.c to tmp dir, it reference vkvg internals which cause linking failures
Jean-Philippe Bruyère [Tue, 25 Jan 2022 11:25:19 +0000 (12:25 +0100)]
move getarcstep.c to tmp dir, it reference vkvg internals which cause linking failures

4 years agowip
Jean-Philippe Bruyère [Thu, 20 Jan 2022 01:20:07 +0000 (02:20 +0100)]
wip

4 years agostore context in vkvgdevice to be reused on creation
Jean-Philippe Bruyère [Wed, 19 Jan 2022 08:51:17 +0000 (09:51 +0100)]
store context in vkvgdevice to be reused on creation

4 years agoAdded stdarg.h inclusion (#82)
Marco Rubin [Fri, 18 Feb 2022 19:56:40 +0000 (19:56 +0000)]
Added stdarg.h inclusion (#82)

include stdarg.h in vkvg_internal.h

4 years agotypo in readme
Jean-Philippe Bruyère [Sat, 5 Feb 2022 03:54:10 +0000 (04:54 +0100)]
typo in readme

4 years agoDocs fixes
Marco Rubin [Tue, 1 Feb 2022 10:11:52 +0000 (10:11 +0000)]
Docs fixes

4 years agotypo
Jean-Philippe Bruyère [Tue, 25 Jan 2022 23:23:23 +0000 (00:23 +0100)]
typo

4 years agogetopt instead of manual parsing, style changes (#70)
Marco Rubin [Tue, 25 Jan 2022 18:41:10 +0000 (18:41 +0000)]
getopt instead of manual parsing, style changes (#70)

* getopt instead of manual parsing, style changes

Something maybe unusual but I think it's better to use existing tools even here, instead of manually parsing the arguments, and I think it's more pleasing to the eye. Also, `getopt` checks for missing arguments for options which need one.

* Add stdio.h for fprintf

* Restore "vsync" option instead of "v"

That was a test, now it prints the correct (already) supported option.

4 years agoWorflow test (#68)
j-p [Tue, 25 Jan 2022 11:08:22 +0000 (12:08 +0100)]
Worflow test (#68)

* Create cmake.yml, win32 isnanf debug

4 years agoupdate vkh
Jean-Philippe Bruyère [Tue, 25 Jan 2022 10:20:22 +0000 (11:20 +0100)]
update vkh

4 years agoclean dev, surf, ctx error handling
Jean-Philippe Bruyère [Mon, 24 Jan 2022 22:16:13 +0000 (23:16 +0100)]
clean dev, surf, ctx error handling

4 years agounified layer and instance exts check
Jean-Philippe Bruyère [Mon, 24 Jan 2022 20:50:48 +0000 (21:50 +0100)]
unified layer and instance exts check

4 years agomake glfw init and vulkan support check fatal failure in any case
Jean-Philippe Bruyère [Mon, 24 Jan 2022 18:40:52 +0000 (18:40 +0000)]
make glfw init and vulkan support check fatal failure in any case

4 years agoMerge pull request #63 from Rubo3/patch-4
j-p [Mon, 24 Jan 2022 13:56:26 +0000 (13:56 +0000)]
Merge pull request #63 from Rubo3/patch-4

Substitute nested ifs with a single bigger if

4 years agoSubstitute nested ifs with a single bigger if 63/head
Marco Rubin [Mon, 24 Jan 2022 12:40:22 +0000 (12:40 +0000)]
Substitute nested ifs with a single bigger if

4 years agoMerge pull request #60 from Rubo3/patch-1
j-p [Mon, 24 Jan 2022 12:02:05 +0000 (12:02 +0000)]
Merge pull request #60 from Rubo3/patch-1

Fixed spelling

4 years agoNDEBUG disable assert, so required function MUST be outside
Jean-Philippe Bruyère [Mon, 24 Jan 2022 11:58:22 +0000 (12:58 +0100)]
NDEBUG disable assert, so required function MUST be outside

4 years agoFix a possible memory leak in vkengine_create (#62)
Marco Rubin [Mon, 24 Jan 2022 11:44:55 +0000 (11:44 +0000)]
Fix a possible memory leak in vkengine_create (#62)

* Fix a possible memory leak in vkengine_create

The assertion checks could crash the program, leaving memory allocated by `e` un`free`d.

* Restored GLFW callback function

4 years agoMerge pull request #61 from Rubo3/patch-2
j-p [Mon, 24 Jan 2022 11:37:36 +0000 (11:37 +0000)]
Merge pull request #61 from Rubo3/patch-2

add GLFW error callback function and assertion

4 years agoadd GLFW error callback function and assertion 61/head
Marco Rubin [Mon, 24 Jan 2022 10:58:39 +0000 (10:58 +0000)]
add GLFW error callback function and assertion

Added a `glfwInit()` assertion because it could fail, and a callback function to get the error description and print it to stdout.

4 years agoFixed spelling 60/head
Marco Rubin [Mon, 24 Jan 2022 10:19:43 +0000 (10:19 +0000)]
Fixed spelling

"complient" -> "compliant"

4 years agoprovide 2 steps blit if blitting not supported in linear tiling
Jean-Philippe Bruyère [Sun, 23 Jan 2022 18:20:16 +0000 (19:20 +0100)]
provide 2 steps blit if blitting not supported in linear tiling

4 years agoadd test for png blit img format support, debug surface img format feature test
Jean-Philippe Bruyère [Sun, 23 Jan 2022 16:49:58 +0000 (17:49 +0100)]
add test for png blit img format support, debug surface img format feature test

4 years agoport scalar block layout fixes to vkvg_device_create
Jean-Philippe Bruyère [Sun, 23 Jan 2022 11:54:24 +0000 (12:54 +0100)]
port scalar block layout fixes to vkvg_device_create

4 years agoset vulkan version to 1.2 in vkvg_device_create
Jean-Philippe Bruyère [Sat, 22 Jan 2022 23:21:05 +0000 (00:21 +0100)]
set vulkan version to 1.2 in vkvg_device_create

4 years agoUpdate README.md
j-p [Sat, 22 Jan 2022 20:18:49 +0000 (21:18 +0100)]
Update README.md

4 years agocheck sample count support on device creation
Jean-Philippe Bruyère [Sat, 22 Jan 2022 13:55:00 +0000 (14:55 +0100)]
check sample count support on device creation

4 years agoUpdate README.md
j-p [Sat, 22 Jan 2022 03:44:34 +0000 (04:44 +0100)]
Update README.md

4 years agoUpdate README.md v0.3.0-beta
j-p [Sat, 22 Jan 2022 01:41:06 +0000 (02:41 +0100)]
Update README.md

4 years agoreset simpleConcave if curve
Jean-Philippe Bruyère [Tue, 18 Jan 2022 18:57:46 +0000 (19:57 +0100)]
reset simpleConcave if curve

4 years agosimple concave path handling
Jean-Philippe Bruyère [Tue, 18 Jan 2022 18:55:29 +0000 (19:55 +0100)]
simple concave path handling

4 years agoupdate readme
Jean-Philippe Bruyère [Tue, 18 Jan 2022 12:29:29 +0000 (13:29 +0100)]
update readme

4 years agoupdate vkvg-svg
Jean-Philippe Bruyère [Mon, 17 Jan 2022 08:14:20 +0000 (09:14 +0100)]
update vkvg-svg

4 years agocmake options in readme
Jean-Philippe Bruyère [Sun, 16 Jan 2022 12:30:13 +0000 (13:30 +0100)]
cmake options in readme

4 years agoadd text test
Jean-Philippe Bruyère [Sun, 16 Jan 2022 00:59:52 +0000 (01:59 +0100)]
add text test

4 years agoMerge branch 'master' of github.com:jpbruyere/vkvg
Jean-Philippe Bruyère [Sat, 15 Jan 2022 19:36:30 +0000 (20:36 +0100)]
Merge branch 'master' of github.com:jpbruyere/vkvg

4 years agodebug paint_surf test
Jean-Philippe Bruyère [Fri, 14 Jan 2022 22:12:10 +0000 (23:12 +0100)]
debug paint_surf test

4 years agodon't clear stencil on surf creation, but on ctx first pass, polyfill vao size check...
Jean-Philippe Bruyère [Fri, 14 Jan 2022 15:22:51 +0000 (16:22 +0100)]
don't clear stencil on surf creation, but on ctx first pass, polyfill vao size check debug, add _ensure_*bo_buffer methods

4 years agocheck vbo size once during poly fill
Jean-Philippe Bruyère [Fri, 14 Jan 2022 06:25:35 +0000 (07:25 +0100)]
check vbo size once during poly fill

4 years agorender svg #subid: update vkvg-svg
Jean-Philippe Bruyère [Thu, 13 Jan 2022 14:05:52 +0000 (15:05 +0100)]
render svg #subid: update vkvg-svg

4 years agoscalar block layout enabled in vk device creation info
Jean-Philippe Bruyère [Thu, 13 Jan 2022 14:04:14 +0000 (15:04 +0100)]
scalar block layout enabled in vk device creation info

4 years agoget matrix scaling to scale arcstep and curve dist limit
Jean-Philippe Bruyère [Thu, 13 Jan 2022 14:03:05 +0000 (15:03 +0100)]
get matrix scaling to scale arcstep and curve dist limit

4 years agocomments
Jean-Philippe Bruyère [Thu, 13 Jan 2022 08:25:48 +0000 (09:25 +0100)]
comments

4 years agovkvg_clip_state_t implementation
Jean-Philippe Bruyère [Thu, 13 Jan 2022 06:52:37 +0000 (07:52 +0100)]
vkvg_clip_state_t implementation

4 years agodon't flush context on restore if no clipping info is stored
Jean-Philippe Bruyère [Wed, 29 Dec 2021 19:01:25 +0000 (20:01 +0100)]
don't flush context on restore if no clipping info is stored

4 years agoisClipped boolean in context_t, save/restore handle clipping only if clipped
Jean-Philippe Bruyère [Wed, 29 Dec 2021 17:21:06 +0000 (18:21 +0100)]
isClipped boolean in context_t, save/restore handle clipping only if clipped

4 years agosvg #subid rendering test
Jean-Philippe Bruyère [Wed, 12 Jan 2022 21:20:09 +0000 (22:20 +0100)]
svg #subid rendering test

4 years agoelliptical arc step limit reduced
Jean-Philippe Bruyère [Wed, 12 Jan 2022 21:19:36 +0000 (22:19 +0100)]
elliptical arc step limit reduced

4 years agonsvg public iface rename as vkvg-svg, single api for both, recording wip
Jean-Philippe Bruyère [Wed, 12 Jan 2022 07:59:33 +0000 (08:59 +0100)]
nsvg public iface rename as vkvg-svg, single api for both, recording wip

4 years agouse private _line_to in arc
Jean-Philippe Bruyère [Sun, 9 Jan 2022 10:45:49 +0000 (11:45 +0100)]
use private _line_to in arc

4 years agorecording wip
Jean-Philippe Bruyère [Sun, 9 Jan 2022 10:44:25 +0000 (11:44 +0100)]
recording wip

4 years agobase implementation of recording infrastructure
Jean-Philippe Bruyère [Sat, 8 Jan 2022 15:27:27 +0000 (16:27 +0100)]
base implementation of recording infrastructure

4 years agoimplement svg from fragment for vkvg-svg
Jean-Philippe Bruyère [Tue, 11 Jan 2022 15:39:21 +0000 (16:39 +0100)]
implement svg from fragment for vkvg-svg

4 years agoprevent trying to create surface with dim <= 0
Jean-Philippe Bruyère [Tue, 11 Jan 2022 13:55:16 +0000 (14:55 +0100)]
prevent trying to create surface with dim <= 0

4 years agoset cmake min vers to 3.16
Jean-Philippe Bruyère [Tue, 11 Jan 2022 10:40:23 +0000 (11:40 +0100)]
set cmake min vers to 3.16

4 years agowired debug modes
Jean-Philippe Bruyère [Tue, 11 Jan 2022 10:36:44 +0000 (11:36 +0100)]
wired debug modes

4 years agofix vkh missing in package
Jean-Philippe Bruyère [Mon, 10 Jan 2022 21:26:38 +0000 (22:26 +0100)]
fix vkh missing in package

4 years agotry obj lib for vkvg sources and shaders
Jean-Philippe Bruyère [Mon, 10 Jan 2022 20:32:05 +0000 (21:32 +0100)]
try obj lib for vkvg sources and shaders

4 years agoupdate glutess
Jean-Philippe Bruyère [Mon, 10 Jan 2022 19:44:17 +0000 (20:44 +0100)]
update glutess

4 years agocpack nsis
Jean-Philippe Bruyère [Mon, 10 Jan 2022 17:48:31 +0000 (18:48 +0100)]
cpack nsis

4 years agofix win compilation issues
Jean-Philippe Bruyère [Mon, 10 Jan 2022 15:13:05 +0000 (16:13 +0100)]
fix win compilation issues

4 years agoembed vkvg-svg, svg-viewer as in vkvg/tests
Jean-Philippe Bruyère [Sun, 9 Jan 2022 20:04:26 +0000 (21:04 +0100)]
embed vkvg-svg, svg-viewer as in vkvg/tests

4 years agocmake:check glutess target exists
Jean-Philippe Bruyère [Sun, 9 Jan 2022 18:49:12 +0000 (19:49 +0100)]
cmake:check glutess target exists

4 years agotry to better handle static/shared libraries and linkage
Jean-Philippe Bruyère [Sun, 9 Jan 2022 18:45:05 +0000 (19:45 +0100)]
try to better handle static/shared libraries and linkage

4 years agoreset submodule addresses to https
Jean-Philippe Bruyère [Sat, 8 Jan 2022 11:58:07 +0000 (12:58 +0100)]
reset submodule addresses to https

4 years agoset vkh remote address
Jean-Philippe Bruyère [Sat, 8 Jan 2022 11:50:38 +0000 (12:50 +0100)]
set vkh remote address

4 years agodebug without glutess
Jean-Philippe Bruyère [Fri, 7 Jan 2022 23:28:51 +0000 (00:28 +0100)]
debug without glutess

4 years agocall glutess directly
Jean-Philippe Bruyère [Fri, 7 Jan 2022 23:03:37 +0000 (00:03 +0100)]
call glutess directly

4 years agouint_32 for log_level, log commands
Jean-Philippe Bruyère [Fri, 7 Jan 2022 20:24:01 +0000 (21:24 +0100)]
uint_32 for log_level, log commands

4 years agoupdate vkvg-svg
Jean-Philippe Bruyère [Fri, 7 Jan 2022 11:56:05 +0000 (12:56 +0100)]
update vkvg-svg

4 years agorename elliptic arc to fit api
Jean-Philippe Bruyère [Thu, 6 Jan 2022 19:15:04 +0000 (20:15 +0100)]
rename elliptic arc to fit api

4 years agovkvg-svg library integration
Jean-Philippe Bruyère [Thu, 6 Jan 2022 17:24:02 +0000 (18:24 +0100)]
vkvg-svg library integration

4 years agovkvg-svg library as submodule
Jean-Philippe Bruyère [Thu, 6 Jan 2022 11:02:19 +0000 (12:02 +0100)]
vkvg-svg library as submodule

4 years agoelliptical_arc, ellipse, rounded_rectangle2
Jean-Philippe Bruyère [Thu, 6 Jan 2022 10:15:54 +0000 (11:15 +0100)]
elliptical_arc, ellipse, rounded_rectangle2

4 years agooptional glutesselator for non-zero filling
Jean-Philippe Bruyère [Thu, 6 Jan 2022 07:09:55 +0000 (08:09 +0100)]
optional glutesselator for non-zero filling

4 years agomatrix_transform_point for get_arc_steps gives no glitch
Jean-Philippe Bruyère [Wed, 5 Jan 2022 17:55:10 +0000 (18:55 +0100)]
matrix_transform_point for get_arc_steps gives no glitch

4 years agoupdate vkh
Jean-Philippe Bruyère [Wed, 5 Jan 2022 17:53:22 +0000 (18:53 +0100)]
update vkh

4 years agoupdate tests
Jean-Philippe Bruyère [Wed, 5 Jan 2022 17:53:05 +0000 (18:53 +0100)]
update tests

4 years agopattern transform, opacity, debug getarcsteps (abs)
Jean-Philippe Bruyère [Wed, 5 Jan 2022 17:24:47 +0000 (18:24 +0100)]
pattern transform, opacity, debug getarcsteps (abs)

4 years agocmake cleanup
Jean-Philippe Bruyère [Tue, 4 Jan 2022 10:07:17 +0000 (11:07 +0100)]
cmake cleanup

4 years agoadd test
Jean-Philippe Bruyère [Mon, 3 Jan 2022 18:16:44 +0000 (19:16 +0100)]
add test

4 years agoincrement flush fence timeout
Jean-Philippe Bruyère [Mon, 3 Jan 2022 18:08:52 +0000 (19:08 +0100)]
increment flush fence timeout