Skip to content

Dev#4

Merged
zoozooll merged 4 commits into
masterfrom
dev
Jun 1, 2026
Merged

Dev#4
zoozooll merged 4 commits into
masterfrom
dev

Conversation

@zoozooll

Copy link
Copy Markdown
Owner

No description provided.

zoozooll added 3 commits May 31, 2026 07:00
- Added a stencil test toggle to `StencilTestingActivity` and updated `ControlPanelContent` to support dynamic titles.
- Implemented `stenciltest_event` handling in `StencilTestingScene` to receive state changes from the UI.
- Updated native rendering logic to conditionally enable `GL_STENCIL_TEST` and render object outlines based on the toggle state.
Added Compose-based dropdown selectors and toggles to `BlendingActivity` to allow real-time adjustment of OpenGL blending parameters. This includes support for modifying source/destination factors and blend equations.

Key changes:
- **UI:** Introduced `SelectorControlPanelContent` using Material3 `ExposedDropdownMenuBox` to manage blending factors and equations.
- **Native:** Implemented event parsing in `BlendingScene` to handle dynamic updates from the UI and apply `glBlendFunc` and `glBlendEquation` during the draw cycle.
- **Scene Cleanup:** Refactored vertex data for better readability, enabled `GL_CULL_FACE`, and updated asset paths for shaders and textures.
- **Shaders:** Renamed blending shaders for consistency and performed minor cleanup of float literals in tessellation shaders.

@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: 3bbf0017e3

ℹ️ 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 thread tutorial/src/main/cpp/basic/BlendingScene.cpp
Simplified shader filenames for CubemapScene and GeometryShaderScene by removing numeric prefixes and updated the corresponding C++ source files to use the new paths.
@zoozooll zoozooll merged commit fec5037 into master Jun 1, 2026
2 checks passed
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