This repository has been archived on 2025-02-04. You can view files and clone it, but cannot push or open issues or pull requests.
helpless/oogabooga
Charlie 18f4fc8123 - Text rendering
- Font loading
	- Measuring for formatting & justification
	- Utf8 Glyph walking
	- Commented example in oogabooga/examples/text_rendering.c
- Small 2D renderer refactor
	- Pass 8-bit integers "type" and "sampler_index" to shader
	- Sample texture differently depending on "type" (text or regular quad)
	- Sample with nearest/linear min/mag depending on sampler_index
	- Set min/mag filtering in Draw_Quad
	- Images are now created and deleted directly with gfx calls rather than deferring it for gfx_update.
	- We can now set image sub data with gfx_set_image_data()
	- Images are no longer hard coded to 4 channels
- Utf8 utility:
	- utf8_to_utf32(): convert utf8 bytes to a single u32 codepoint
	- next_utf8(): Convert first utf8 character in a string to a u32 codepoint and advance the passed string to the next unicode
- Renamed m4_multiply -> m4_mul for consistency
- Refactored os window to be DPI aware (scaled_width vs pixel_width)
- in minimal example, renamed hammer_xform -> rect_xform
2024-07-07 20:27:34 +02:00
..
dev - Text rendering 2024-07-07 20:27:34 +02:00
examples - Text rendering 2024-07-07 20:27:34 +02:00
third_party - Replace lodepng with stb_image (& add stb_truetype for fonts) 2024-07-04 20:56:27 +02:00
base.c Naive hash table & tests 2024-07-06 15:50:16 +02:00
color.c color.c utils 2024-07-02 12:48:05 +07:00
cpu.c - Replace lodepng with stb_image (& add stb_truetype for fonts) 2024-07-04 20:56:27 +02:00
d3d11_image_shader_bytecode.c - Text rendering 2024-07-07 20:27:34 +02:00
drawing.c - Text rendering 2024-07-07 20:27:34 +02:00
font.c - Text rendering 2024-07-07 20:27:34 +02:00
gfx_impl_d3d11.c - Text rendering 2024-07-07 20:27:34 +02:00
gfx_impl_legacy_opengl.c - D3D11, Image drawing & Matrix4 xform drawing 2024-07-01 02:14:08 +02:00
gfx_interface.c - Text rendering 2024-07-07 20:27:34 +02:00
hash.c Naive hash table & tests 2024-07-06 15:50:16 +02:00
hash_table.c - Text rendering 2024-07-07 20:27:34 +02:00
input.c - User input 2024-06-29 17:54:30 +02:00
linmath.c - Text rendering 2024-07-07 20:27:34 +02:00
memory.c Naive hash table & tests 2024-07-06 15:50:16 +02:00
oogabooga.c - Text rendering 2024-07-07 20:27:34 +02:00
os_impl_windows.c - Text rendering 2024-07-07 20:27:34 +02:00
os_interface.c - Text rendering 2024-07-07 20:27:34 +02:00
path_utils.c Merge 2024-07-04 12:13:40 +02:00
profiling.c - Fixed bug in ALLOCATOR_REALLOC corrupting memory/returning invalid address 2024-07-03 17:55:25 +02:00
random.c - Fixed D3D11 eating 40000000 cycles for no reason (Thank you Bill Gates) 2024-07-02 15:27:33 +02:00
simd.c - Replace lodepng with stb_image (& add stb_truetype for fonts) 2024-07-04 20:56:27 +02:00
string.c - Replace lodepng with stb_image (& add stb_truetype for fonts) 2024-07-04 20:56:27 +02:00
string_format.c - Replace lodepng with stb_image (& add stb_truetype for fonts) 2024-07-04 20:56:27 +02:00
tests.c - Text rendering 2024-07-07 20:27:34 +02:00
third_party.c - Text rendering 2024-07-07 20:27:34 +02:00
unicode.c - Text rendering 2024-07-07 20:27:34 +02:00