Previous 15994 Revisions Next

r6080 Wednesday 14th October, 2009 at 21:03:35 UTC by Harmony
[CDI] Significant optimization:
- Removed redudant call to mcd212_process_regions
- Refactored mcd212_process_regions to fill scanline-wide buffers for region flags and pixel weights, eliminating costly recalculation for every pixel
- Refactored color calculations to use separated R/G/B buffers to avoid constant bit-shifting / boolean arithmetic
- Un-inlined certain functions to possibly improve cache performance with better code locality
- Unrolled plane enable/disable logic to avoid frequent array lookups
Performance has increased on a 1.86GHz Core 2 Duo from 28% in a profile build to 75% profile build, flat 100% on a non-profile build
[src/mess/drivers]cdi.c

Previous 15994 Revisions Next


© 1998-2018 The MESS Team