ed
4f9de8f539
refinement to demo
2025-01-11 01:08:56 -05:00
ed
48927fd008
Fixed shaper bug, removed shaper_shape_text_uncached_advanced (intergrated into harfbuzz)
2025-01-11 00:51:39 -05:00
ed
c64f8132dc
Add assignable allocator support to stb_truetype
2025-01-10 22:44:39 -05:00
ed
87ab22c207
Fixed size issue (parsesr_scale convention needs to be em_to_pixels by default).
2025-01-10 20:50:33 -05:00
ed
79498efbf3
oops : dumb mistakes
2025-01-10 20:41:09 -05:00
ed
a584497563
left zoom compute to its own proc
2025-01-10 20:36:30 -05:00
ed
c995af36e7
Got zoom implemented on library's side. Still figuring out font size issue
2025-01-10 20:16:51 -05:00
ed
3b59ac75bf
update ignore for thirdparty
2025-01-10 17:54:18 -05:00
ed
7af3c49dfc
remove ols.json
2025-01-10 17:53:11 -05:00
ed
4afa50f1df
made get_normalized_position_scale (got rid of get_snapped_position), more docs
2025-01-10 17:45:21 -05:00
ed
52584f888c
fixing some normalized space calculation issues
...
I need to review the convention I'm using for the "view" or at least how I interpret these coordinate spaces so its inutitive for the interface.
At the end of the day, the draw_list should be in normalized space, however how it gets digested to that state needs to be better documented or made more explicit in its transformation from the usual user calls.
2025-01-10 16:15:09 -05:00
ed
91e8af8839
Got the demo to show text again (but with lots of errors)
2025-01-10 15:27:51 -05:00
ed
99a1f77699
remove proc using stmt usage in backend_sokol.odin
2025-01-10 13:29:10 -05:00
ed
a14e4faf29
remove using usage from sokol_demo.odin
2025-01-10 13:24:58 -05:00
ed
572abf5d86
compiling.. borken tho...
2025-01-10 13:09:52 -05:00
ed
f6ea780747
progress on updating sokol backend & demo
2025-01-10 12:45:15 -05:00
ed
2eb94e077f
More cleanup, doc updates
2025-01-10 12:44:53 -05:00
ed
18decf3e46
Add local version of stb_truetype
2025-01-10 12:13:45 -05:00
ed
ddfd529993
Progress on cleanup
2025-01-10 09:52:44 -05:00
ed
77cf07ce16
Updating shaders
2025-01-10 09:52:28 -05:00
ed
36cc557975
WIP: Updating public repo with latest version
2025-01-10 09:07:26 -05:00
ed
d329327555
incorrect heading
2024-12-29 19:41:51 -05:00
ed
c41e09f377
Update to interface doc.
2024-12-29 19:41:19 -05:00
ed and GitHub
f1a47223ea
Update Readme.md
...
Added a screencap of showcase section
2024-12-29 18:46:48 -05:00
ed and GitHub
e53abccc98
Update Readme.md
...
* Added an mp4 of the demo
* Removed todos going to convert them to issues on github
2024-12-29 18:35:31 -05:00
ed
90ca01bdaa
General improvements (text and features)
...
* Added clear_atlas_region_caches & clear_shape_cache to VEFontCache (Usage Example: On hot-reloads to force refresh the caches if tuning the library)
* Made glyph_draw's over_sample a vec2 for initialization (incase user wants to do some float value multiple of 4x4)
* ADVANCE_SNAP_SMALLFONT_SIZE made a runtime option: Shaper_Context.adv_snap_small_font_threshold
* Some improvement to text hinting and general rendering of text
* Better defaults for initialization of the library
2024-12-29 18:27:46 -05:00
ed
55a4c3dee6
Updates for breaking changes (nov 7 Sokol pr)
2024-11-26 10:13:10 -05:00
ed
137eea9da4
Maint update (November Odin compiler release)
2024-11-24 18:39:43 -05:00
ed
20e9a556ce
Minor update on the scripts readme on MacOS and Linux testing
2024-10-19 15:53:03 -04:00
ed
cc411b0e1e
macos worflow: remove debug ls
2024-10-19 15:48:39 -04:00
ed
f7071c2810
Comment out make_map_cap as thats not in a released version of Odin yet.
2024-10-19 15:45:10 -04:00
ed
15192ff4b3
Merge branch 'test_macos_action'
2024-10-19 15:41:40 -04:00
ed
810d188b8f
Update to mac/linux section of scripts doc
2024-10-19 15:41:09 -04:00
ed
c2dbe91973
Decided to add back generated shader code since there should be no discrpancies when building on any platform
2024-10-19 15:34:44 -04:00
ed
a8823c9776
add make_map_cap to make in mappings
2024-10-19 15:21:06 -04:00
ed
a64edb4253
Workflow: install harfbuzz via brew since there is an issue with linking path of the library on osx
2024-10-19 14:54:00 -04:00
ed
c9af4417ab
see if this build works for stb libs
2024-10-19 14:17:34 -04:00
ed
ce69952620
Make sure freetype is installed
2024-10-19 14:14:22 -04:00
ed
44fcdabf38
Fixes for demo build not copying harfbuzz lib in macos
2024-10-19 14:05:36 -04:00
ed
bee81f896c
workflow: install odin
2024-10-19 13:59:59 -04:00
ed
9a673f68ef
worflow: fixes to os case switch in shader build script
2024-10-19 13:55:05 -04:00
ed
99d64f55a1
attempting to fix sokol shaders exectable picked
2024-10-19 13:42:50 -04:00
ed
c1f8c5641c
worfklow: woops 2
2024-10-19 13:31:20 -04:00
ed
d2636a9b13
workflow: woops
2024-10-19 13:29:40 -04:00
ed
f3a10d0a93
workflow: problably will not work (permissions)
2024-10-19 13:28:01 -04:00
ed
b10b68ea84
worfklow: removing perm for files that don't exist before cloning
2024-10-19 13:22:24 -04:00
ed
f05c8994e3
worflow: more permissions
2024-10-19 13:17:04 -04:00
ed
8f4f64bc57
workflow: permissions
2024-10-19 13:14:03 -04:00
ed
6c20c3ed39
worflow: nproc doesn't exist on mac
2024-10-19 13:10:17 -04:00
ed
06f82b7328
worfklow: make sure nproc is installed
2024-10-19 13:07:48 -04:00
ed
2aec34fb69
worflow: skip check
2024-10-19 13:05:08 -04:00
ed
93cae9a27f
workflow: wrong script
2024-10-19 13:01:04 -04:00
ed
7ebc071724
worflow: more dumb debug
2024-10-19 12:59:43 -04:00
ed
26744f40cc
worfklow: make sure git is installed
2024-10-19 12:58:04 -04:00
ed
25f1acbb87
gh worflow dumb debug
2024-10-19 12:52:45 -04:00
ed
988aa5efee
Updated build_sokol_library.sh for mac support
2024-10-19 12:40:06 -04:00
ed
a62e996943
making some more verbose logs... in the mac workflow
2024-10-19 12:30:20 -04:00
ed
9fd5df839f
wrong path for script to run in workflow
2024-10-19 12:27:16 -04:00
ed
1e16bb5394
testing to see if this triggers on any branch automatically...
2024-10-19 12:25:07 -04:00
ed
6a8270f626
initial script
2024-10-19 12:16:46 -04:00
ed
922372b582
Fixes for uv coords on shaders when compiling for opengl vs directx
2024-09-11 15:11:24 -04:00
ed
4f296cd96d
More bash script adjustments for linux
2024-09-10 05:17:55 -04:00
ed
1afb7289ca
readme updates
2024-09-10 04:58:10 -04:00
ed
b64ef46876
Have the build scripts compile the shaders by default.
2024-09-10 04:44:13 -04:00
ed
ba667a8fa0
Fixes for linux in parser.odin
2024-09-10 04:34:41 -04:00
ed
5832589eca
adjustment to sh scripts
2024-09-10 04:34:31 -04:00
ed
15b8291131
working on linux build scripts
2024-09-10 03:53:50 -04:00
ed
a6ae0b8fb9
Change to sampler mipmap_filter values based on sokol_gfx Filter definition update.
2024-09-09 13:21:55 -04:00
ed
969175669f
another readme typo
2024-07-04 16:30:37 -04:00
ed
16319d9e43
Formating, name changes (making identifiers more idiomatic)
2024-07-04 16:18:26 -04:00
ed
7c1c1fc315
Change indent size for odin-files in editor config to 4.
2024-07-04 16:08:43 -04:00
ed
d09b720ec7
Grammer and typo fixes in readme
2024-07-04 16:08:15 -04:00
ed
b7002f1f7e
Update docs
2024-07-02 13:45:32 -04:00
ed
e64717632a
update harfbuzz url
2024-07-02 13:34:45 -04:00
ed
ee4555485c
comment out regions
2024-07-02 10:57:09 -04:00
ed
d50c84cf81
Readme update
2024-07-02 10:49:07 -04:00
ed
a930fc00d4
last cleanup for this dev pass
2024-07-02 10:34:36 -04:00
ed
0f4ad9bdd1
cleanup
2024-07-02 01:42:32 -04:00
ed
9d18a43f64
putting away freetype for now... its going to take quite a bit of effort to learn how to fix the mesh generation...
2024-07-02 01:24:13 -04:00
ed
b822859033
wip freetype glyph caching suffering part 2
2024-07-02 00:16:16 -04:00
ed
26e2aa96aa
wip freetype glyph caching suffering
2024-07-02 00:16:08 -04:00
ed
9db6e67155
Progress on getting some horrible looking glyphs on the screen
2024-07-01 20:52:59 -04:00
ed
70b2d1fe55
Prepping to start getting freetype working (2)
2024-07-01 20:32:44 -04:00
ed
b67c1567d2
shaper_shape_from_text supports providing shape size
2024-07-01 19:47:48 -04:00
ed
b409063906
got harfbuzz working (need to fixup the text size measuring)
2024-07-01 19:37:29 -04:00
ed
baa8024278
adjustments to to segregate the demo sections better
2024-07-01 18:09:15 -04:00
ed
7c64e20f9c
missing changes
2024-07-01 17:43:41 -04:00
ed
6d4745700f
Finished initial implementation of sokol demo
2024-07-01 17:39:00 -04:00
ed
b3f2add7d1
scripts readme added note on build_sokol_demo.ps1
2024-07-01 12:26:50 -04:00
ed
51ddb5371b
updates to sokol_demo & sokol backend
2024-07-01 12:24:20 -04:00
ed
93e8b2d64e
updates to scripts
2024-07-01 12:24:03 -04:00
ed
f02a5c0783
Updates to readmes
2024-07-01 12:23:55 -04:00
ed
10f1f7655c
remove unnecessary simd defs
2024-07-01 11:29:44 -04:00
ed
26974d6de0
sokol demo works
...
Just need to port over the original implementation now
2024-07-01 02:22:41 -04:00
ed
e26cf5fb7e
update gitignore
2024-07-01 01:22:40 -04:00
ed
b2257f8f6c
delete pureref file on codepaths (will make a good one later)
2024-07-01 01:22:29 -04:00
ed
e06c866ace
got it to compile
2024-07-01 01:22:04 -04:00
ed
8a7f615ebf
fix typo with harfbuzz interface
2024-07-01 01:21:57 -04:00
ed
1199daaa74
Update build script to copy harfbuzz dlls
2024-07-01 01:03:39 -04:00
ed
e55e089774
finish force rename
2024-07-01 00:53:33 -04:00