Skip to content

Integrate all post-v68 Reader work - #116

Merged
VrUaCom merged 18 commits into
mainfrom
integrate/post-v68-all-20260928
Sep 28, 2026
Merged

VrUaCom merged 18 commits into
mainfrom
integrate/post-v68-all-20260928

Conversation

@VrUaCom

@VrUaCom VrUaCom commented Sep 28, 2026

Copy link
Copy Markdown
Owner

Integrates the remaining post-v68 Native Reader work after the v72 em034 Lady runtime merge: FXBANK gallery visualization, Visual/Info dual previews, gallery/runtime tests and Android UI wiring. Keeps v72 identity and does not commit APK artifacts.

@VrUaCom
VrUaCom marked this pull request as draft September 28, 2026 15:36
@VrUaCom
VrUaCom marked this pull request as ready for review September 28, 2026 15:36
@VrUaCom
VrUaCom merged commit d3bf173 into main Sep 28, 2026
1 check passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5328f06839

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +230 to +233
child.image_preview =
views::render_effect_visual_view(r, texture, animation);
child.info_preview =
views::render_effect_record_view(r, texture, animation);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Bound eager effect-preview allocation

Avoid retaining both full-size renders for every effect record. Each call here creates a 1080×1440 RGBA image (about 6.2 MB), so every E/G/P/V/C child adds roughly 12.4 MB before the gallery later downsamples it to 256×256; because the parser permits thousands of records, a valid moderately sized bank can consume hundreds of megabytes or fail opening when allocation throws. Generate these views lazily or keep bounded thumbnails under a bank-wide pixel budget.

Useful? React with 👍 / 👎.

Comment on lines +244 to +248
entry.translation = {
f32(b, base + 0x0CU),
f32(b, base + 0x10U),
f32(b, base + 0x14U),
};

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Reject non-finite runtime floats before rasterizing

Validate the decoded V transform values with std::isfinite before accepting the view. A structurally valid or corrupt FXBANK can encode NaN/Infinity in these fields; render_v_visual subsequently converts the translation and scale results to int, which is undefined for non-finite values and can also feed overflowing coordinates into the rasterizer, potentially crashing or hanging while merely opening the file.

Useful? React with 👍 / 👎.

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