Skip to content

Shader optimizing#1756

Merged
midwan merged 7 commits intomasterfrom
shader-optimizing
Jan 18, 2026
Merged

Shader optimizing#1756
midwan merged 7 commits intomasterfrom
shader-optimizing

Conversation

@midwan
Copy link
Collaborator

@midwan midwan commented Jan 18, 2026

No description provided.

Key changes:
1. Implemented GL_UNPACK_ROW_LENGTH for efficient cropping without additional memory allocations.
2. Cached uniform locations in shaders to eliminate redundant lookups.
3. Removed redundant OpenGL calls and unnecessary error checks for better performance.
4. Refactored vertex buffer handling to avoid redundant data uploads.
5. Enhanced handling of invalid or zero crop dimensions, ensuring proper fallback behavior.
@midwan midwan merged commit ba688b4 into master Jan 18, 2026
1 of 53 checks passed
@midwan midwan deleted the shader-optimizing branch January 18, 2026 12:28
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