| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
📝 Walkthrough
WalkthroughPremultiplied alpha blending was enabled, texture uploads became alignment-aware, texture creation now requires explicit wgpu formats and uses descriptor-based creation with counted handles, and UIContext gained a RequestLateUpdate mechanism with overlays/documents sized to 100%. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~40 minutes Possibly related PRs
Suggested reviewers
Poem🚥 Pre-merge checks | ✅ 1 | ❌ 2 ❌ Failed checks (2 warnings)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. ❤️ ShareComment @coderabbitai help to get the list of available commands and usage tips. |
Sorry, something went wrong.
There was a problem hiding this comment.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)src/plugin/graphic/src/resource/Texture.hpp (1)185-216: ⚠️ Potential issue | 🔴 Critical
Add early return for mismatched texture dimensions
Size mismatch can cause out-of-bounds buffer reads. The code calculates row read sizes based on textureSize.width but reads from a buffer allocated to image.width. If the image is smaller than the texture in either dimension, the memcpy loop will read past the source buffer bounds. Add an early return when dimensions don't match:
Fixif (image.width != this->_webgpuTexture.getWidth() || image.height != this->_webgpuTexture.getHeight()) { Log::Warn("Image data size does not match texture size."); + return; }
Sorry, something went wrong.
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Not related to any issue.
Summary by CodeRabbit
New Features
Bug Fixes / Improvements
✏️ Tip: You can customize this high-level summary in your review settings.