Opened 11 years ago
Last modified 8 years ago
#10160 assigned enhancement
Evaluate BBitmap to see if SSE optimizations could help performance
Reported by: | kallisti5 | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Kits/Interface Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Mesa uses BBitmap->ImportBits to convert the colorspace / stride of Mesa / Gallium rendered images to the proper colorspace / stride of the current desktop.
We should evaluate BBitmap to see if any optimization can be done to it internally (while still keeping our Pentium CPU target) or within called functions.
http://cgit.haiku-os.org/haiku/tree/src/kits/interface/Bitmap.cpp
Change History (3)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Milestone: | R1/beta1 → Unscheduled |
---|
I don't think this should be a blocker, no ?
comment:3 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
Just realized that SSE didn't come about until Pentium III (and we target i586). PulkoMandy pointed out that ShowImage has SSE code + fallback non-SSE code for scaling when the build isn't SSE enabled. We may want to see if these optimizations could be applied to BBitmap