Skip to content

Commit 8933ea0

Browse files
chore: bump version to v0.10.0
1 parent b074177 commit 8933ea0

22 files changed

Lines changed: 323 additions & 254 deletions

docs/changelog.txt

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,34 @@
55
Below is the change log for typical users. Minor and older changes stripped
66
away, please see git history for details.
77

8-
- v0.10.0 (xx-xx-xx)
8+
- v0.10.0 (2026-06-16)(graphics v2.0.0) -major version update requires Metal 4.0 & Vulkan 1.4 support
9+
-moved from renderpasses to dynamic rendering
10+
-removed explicit image layouts
11+
-removed events (for now)
12+
-added consumer, producer, & intrapass barriers
13+
-removed render, compute, & blit encoders
14+
-combined blit & compute passes
15+
-changed enum members to start with "e"
16+
-removed "plBeginCommandInfo" when starting command recordings
17+
-added size parameter when allocating dynamic memory blocks
18+
-fixed copy buffer to texture issues with texture arrays
19+
-removed all obsolete items
20+
-"plBindGroupUpdateData" now uses arrays to allow in-place creation
21+
-"plGraphicsState" parameters start with "b", "e", or "u" instead of "ul"
22+
-"plSubmitInfo" now contains the wait semaphore information
23+
-removed transient attachment types (for now)
24+
(draw v3.0.0) -"submit_*d_drawlist" now takes command buffer & "plRenderAttachmentInfo" for
25+
gfx 2.0 changes
26+
(dxt v2.0.0) -renamed plDxtInfo member "tFlags" to "eFlags"
27+
(ecs v2.0.0) -renamed plTransformComponent member "tFlags" to "eFlags"
28+
(file v2.0.0) -renamed plDirectoryEntry member "tType" to "eType"
29+
(shader v2.0.0) -renamed plShaderOptions member "tFlags" to "eFlags"
30+
-renamed plShaderOptions member "tOptimizationLevel" to "eOptimizationLevel"
31+
(starter v2.0.0) -begin_main_pass now returns command buffer instead of encoders
32+
-removed blit encoders
33+
-removed render pass stuff
34+
-added "get_render_attachment_info"
35+
-changed plStarterInit member "tFlags" to "eFlags"
936
- v0.9.3 (2026-06-02)(graphics v1.10.0) -last version before 2.x with breaking changes
1037
-remove necessity of subpass dependencies
1138
-remove necessity of "set_texture_usage(...)"

docs/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
v0.10.0 WIP
1+
v0.10.0
22

33
-----------------------------------------------------------------------------
44
Versioning

examples/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,18 @@ Demonstrates:
4141
* loading APIs
4242
* hot reloading
4343

44-
### Example 2 - Starter & Basic Extensions (example_basic_2.c)
44+
### Example 2 - Starter & Basic Extensions With API Registry (example_basic_2.c)
4545
Demonstrates:
46+
* loading APIs
4647
* loading extensions
4748
* starter extension
4849
* basic drawing extension (2D)
4950
* basic screen log extension
5051
* basic console extension
5152
* basic UI extension
5253

53-
### Example 3 - Starter & Basic Extensions With API Registry (example_basic_3.c)
54+
### Example 3 - Starter & Basic Extensions (example_basic_3.c)
5455
Demonstrates:
55-
* loading APIs
5656
* loading extensions
5757
* starter extension
5858
* basic drawing extension (2D)

examples/example_basic_1.c

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,11 @@ const plWindowI* gptWindows = NULL;
7171
PL_EXPORT void*
7272
pl_app_load(plApiRegistryI* ptApiRegistry, plAppData* ptAppData)
7373
{
74-
// NOTE: on first load, "pAppData" will be NULL but on reloads
75-
// it will be the value returned from this function
74+
// NOTE: on first load, "ptAppData" will be NULL but on reloads
75+
// it will be the value returned from this function's first
76+
// call
7677

77-
// load required apis
78+
// load required apis (stored as globals for convience)
7879
gptIO = pl_get_api_latest(ptApiRegistry, plIOI);
7980
gptWindows = pl_get_api_latest(ptApiRegistry, plWindowI);
8081

@@ -89,7 +90,7 @@ pl_app_load(plApiRegistryI* ptApiRegistry, plAppData* ptAppData)
8990
}
9091

9192
// this path is taken only during first load, so we
92-
// allocate app memory here
93+
// allocate the app memory here
9394
ptAppData = malloc(sizeof(plAppData));
9495
memset(ptAppData, 0, sizeof(plAppData));
9596

@@ -131,7 +132,7 @@ pl_app_resize(plWindow* ptWindow, plAppData* ptAppData)
131132
{
132133
// perform any operations required during a window resize
133134
plIO* ptIO = gptIO->get_io();
134-
printf("resize to %d, %d\n", (int)ptIO->tMainViewportSize.x, (int)ptIO->tMainViewportSize.y);
135+
printf("resizing to %d, %d\n", (int)ptIO->tMainViewportSize.x, (int)ptIO->tMainViewportSize.y);
135136
}
136137

137138
//-----------------------------------------------------------------------------

0 commit comments

Comments
 (0)