Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

staging/v2 #21

Merged
merged 17 commits into from
Feb 26, 2021
Merged

staging/v2 #21

merged 17 commits into from
Feb 26, 2021

Conversation

acgaudette
Copy link
Owner

@acgaudette acgaudette commented Feb 14, 2021

notable API changes (see commit messages for more detail):

- struct Settings => struct txt_cfg
- struct Frame => struct txt_frame
    - win_size => size
    - (data => frame)
- struct Share => struct txt_share
- struct Text => struct txt_buf
    - char_count => count
    - chars => quads
    - (text => txt)
- struct Char => struct txt_quad
    - Replace transform fields with m4
    - v => value
    - col => color
    - fx => _extra
- Remove struct Block (no longer supported)
- DEBUG => TXT_DEBUG
- main.c => lib.c

this PR also adds a new "extras" dir for useful single-header extensions. currently this contains some draft code copied up from downstream repos and will be expanded later.

- struct Settings => struct txt_cfg
- struct Extent => struct extent
- struct Frame => struct txt_frame
	- last_t => t_prev
	- last_i => i_prev (and moved under debug define)
	- win_size => size
	- (data => frame)
- struct Share => struct share
	- Refactor extra vars to union
- struct Text => struct txt_buf
	- char_count => count
	- chars => quads
	- (text => txt)
- struct Char => struct txt_quad
	- Replace transform fields with m4
	- v => value
	- col => color
	- fx => _extra
- Remove struct Block (no longer supported)
- DEBUG => TXT_DEBUG
- Comment
- Update to new interface
- Remove most of text_update()
- Rename types, functions, vars
- Wipe shared UBO before sending to update
- Swap demos 2 and 3
- Simplify baseline (demo 0)
- Add color to demo 2
- Stub demo 3
- Replace ctx.finished with rettype
- Pack block struct
- Never return an invalid sprite,
  but keep the data coherent
  for rendering at the end
- Update CLI demo (3)
@acgaudette acgaudette merged commit 6364fd5 into master Feb 26, 2021
@acgaudette acgaudette deleted the staging/v2 branch February 26, 2021 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant