Move framebuffer ownership from renderer to window (#114) #115

Merged
OragonEfreet merged 4 commits from renderer-removal into main 2026-05-29 09:35:20 +02:00
Owner
No description provided.
Move framebuffer ownership from renderer to window (#117?)
All checks were successful
Documentation / build-docs (pull_request) Successful in 9s
QA / cert (pull_request) Successful in 31s
Build and Test / linux-linux-gcc (pull_request) Successful in 18s
Build and Test / linux-windows-mingw (pull_request) Successful in 29s
1effc9c71e
Drop public renderer API; migrate examples to bj_bind_window only (#114)
Some checks failed
Documentation / build-docs (pull_request) Successful in 9s
QA / cert (pull_request) Failing after 23s
Build and Test / linux-linux-gcc (pull_request) Failing after 9s
Build and Test / linux-windows-mingw (pull_request) Failing after 20s
68e0158be1
OragonEfreet changed title from Move framebuffer ownership from renderer to window (#117?) to Move framebuffer ownership from renderer to window (#114) 2026-05-29 09:25:20 +02:00
Commit 68e0158 removed the public renderer header but left it
listed as a library source. CMake fails at configure time with
"Cannot find source file: inc/banjo/renderer.h", which red-lit
every CI job on PR #115.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sweep tutorial prose to drop stale renderer mentions
All checks were successful
Documentation / build-docs (pull_request) Successful in 9s
QA / cert (pull_request) Successful in 31s
Build and Test / linux-linux-gcc (pull_request) Successful in 17s
Build and Test / linux-windows-mingw (pull_request) Successful in 27s
6d0f566de0
Commit 68e0158 removed the public renderer API with mechanical
\ref replacements, which left lingering "create renderer, configure
renderer, destroy renderer" prose in the tutorial walkthroughs.
This sweep rewrites those paragraphs to describe the new shape:
bj_bind_window opens the window AND owns its framebuffer; the
draw callback writes into it.

- window.h (start.c): collapse three-step "create renderer / open
  window / wire them" learn-bullets into a single "open a window
  with bj_bind_window" bullet; rewrite walkthrough §2.
- window.h (pong.c): drop renderer from the file-scope globals
  list and from the teardown-order chain.
- bitmap.h: topic intro and load_bmp prerequisites/walkthrough.
- draw.h: framebuffer accessor description and drawing_2d §1.
- event.h: event_callbacks §2 file-scope globals reference.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
OragonEfreet deleted branch renderer-removal 2026-05-29 09:35:20 +02:00
OragonEfreet added this to the 1.0 milestone 2026-06-04 19:46:07 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
OragonEfreet/banjo!115
No description provided.