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

4 years agoadd some credits on README
Jean-Philippe Bruyère [Mon, 21 Feb 2022 18:27:14 +0000 (19:27 +0100)]
add some credits on README

4 years agodon't automatically enable scalar block if vk version = 1.2
Jean-Philippe Bruyère [Mon, 21 Feb 2022 05:08:27 +0000 (06:08 +0100)]
don't automatically enable scalar block if vk version = 1.2

4 years agorecord return value fix for vkvg_rectangle
Jean-Philippe Bruyère [Sun, 20 Feb 2022 21:10:08 +0000 (22:10 +0100)]
record return value fix for vkvg_rectangle

4 years agovkvg-svg return value fix
Jean-Philippe Bruyère [Sun, 20 Feb 2022 21:04:55 +0000 (22:04 +0100)]
vkvg-svg return value fix

4 years agoVK_MAKE_API_VERSION fix, update readme with vk version >= 1.1
Jean-Philippe Bruyère [Sun, 20 Feb 2022 20:44:27 +0000 (21:44 +0100)]
VK_MAKE_API_VERSION fix, update readme with vk version >= 1.1

4 years agoport fix to vkengine
Jean-Philippe Bruyère [Sun, 20 Feb 2022 05:12:41 +0000 (06:12 +0100)]
port fix to vkengine

4 years agoVKVG_VK_SCALAR_BLOCK_SUPPORTED fix
Jean-Philippe Bruyère [Sun, 20 Feb 2022 04:49:43 +0000 (05:49 +0100)]
VKVG_VK_SCALAR_BLOCK_SUPPORTED fix

4 years agoupdate vkh, optional scalar block layout in main frag shader
Jean-Philippe Bruyère [Sun, 20 Feb 2022 03:21:07 +0000 (04:21 +0100)]
update vkh, optional scalar block layout in main frag shader

4 years agoMerge branch 'isnan_fix'
Jean-Philippe Bruyère [Mon, 21 Feb 2022 14:38:48 +0000 (15:38 +0100)]
Merge branch 'isnan_fix'

4 years agoadd todo comment
Jean-Philippe Bruyère [Sun, 20 Feb 2022 19:52:22 +0000 (20:52 +0100)]
add todo comment

4 years agoadd multithreaded test for text
Jean-Philippe Bruyère [Sun, 20 Feb 2022 18:02:31 +0000 (19:02 +0100)]
add multithreaded test for text

4 years agodebug: font cache locking, waiting reader writer mutex for a fine grained inter-threa...
Jean-Philippe Bruyère [Sun, 20 Feb 2022 17:38:16 +0000 (18:38 +0100)]
debug: font cache locking, waiting reader writer mutex for a fine grained inter-threading implementation

4 years agodebug: buffers sizes checks
Jean-Philippe Bruyère [Sun, 20 Feb 2022 11:30:25 +0000 (12:30 +0100)]
debug: buffers sizes checks

4 years agodebug: buffers size check in polyfill
Jean-Philippe Bruyère [Sat, 19 Feb 2022 18:04:40 +0000 (19:04 +0100)]
debug: buffers size check in polyfill

4 years agodebug: _poly_fill vbo size check
Jean-Philippe Bruyère [Sat, 19 Feb 2022 15:26:52 +0000 (16:26 +0100)]
debug: _poly_fill vbo size check

4 years agoadd fill rule to test detail output
Jean-Philippe Bruyère [Sat, 19 Feb 2022 15:25:44 +0000 (16:25 +0100)]
add fill rule to test detail output

4 years agoreplace isnanf by isnan in vectors.h
Jean-Philippe Bruyère [Fri, 18 Feb 2022 22:00:02 +0000 (23:00 +0100)]
replace isnanf by isnan in vectors.h

4 years agoreplace obsolete isnanf by isnan
Jean-Philippe Bruyère [Fri, 18 Feb 2022 20:05:22 +0000 (21:05 +0100)]
replace obsolete isnanf by isnan

4 years agoadd glibc guard for backtrace in cross_os.c
Jean-Philippe Bruyère [Fri, 18 Feb 2022 21:57:18 +0000 (22:57 +0100)]
add glibc guard for backtrace in cross_os.c

4 years agoonly provide backtrace on linux gcc in debug
Jean-Philippe Bruyère [Fri, 18 Feb 2022 21:47:20 +0000 (22:47 +0100)]
only provide backtrace on linux gcc in debug

4 years agoremoved log level in multithreaded2
Jean-Philippe Bruyère [Fri, 18 Feb 2022 20:23:38 +0000 (21:23 +0100)]
removed log level in multithreaded2

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