Modify ↓
Opened 3 years ago
Closed 3 years ago
#21693 closed enhancement (fixed)
[PATCH] Map only visible part of image, read directly from buffer array when buffer type is byte.
Reported by: | GhostFoxSledgehammer | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 22.03 |
Component: | Core image mapping | Version: | |
Keywords: | performance | Cc: |
Description
Problem
When the image is zoomed CameraPlane still maps the entire image even if some part of image will not be displayed. Also when source/target image buffer is of type byte then colors are mapped using getRGB() and setRGB() which are slow compared to directly accessing image data buffer.
Solution
Map only the visible part of image.
Map colors using data buffer when both source and target image have data buffers of type byte.
Attachments (1)
Change History (6)
by , 3 years ago
Attachment: | cameraPlane_fast_mapping.patch added |
---|
comment:1 by , 3 years ago
Milestone: | → 22.01 |
---|
comment:2 by , 3 years ago
Keywords: | performance added |
---|
comment:3 by , 3 years ago
Milestone: | 22.01 → 22.02 |
---|
comment:4 by , 3 years ago
Milestone: | 22.02 → 22.03 |
---|
Note:
See TracTickets
for help on using tickets.
Milestone renamed