Opened 5 years ago

Last modified 2 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:
Has a Patch: no 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 Changed 5 years ago by kallisti5

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

comment:2 Changed 5 years ago by jackburton

Milestone: R1/beta1Unscheduled

I don't think this should be a blocker, no ?

comment:3 Changed 2 years ago by axeld

Owner: changed from axeld to nobody
Status: newassigned
Note: See TracTickets for help on using tickets.