Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize drawing bitmaps with alpha on WXMSW. #144

Closed
wants to merge 2 commits into from
Closed

Optimize drawing bitmaps with alpha on WXMSW. #144

wants to merge 2 commits into from

Conversation

a-wi
Copy link
Contributor

@a-wi a-wi commented Dec 6, 2015

  1. Added benchmarks to determine speed of drawing RGB/ARGB bitmaps on target bitmaps with different colour depths (RGB/0RGB/ARGB/system default).
  2. Optimized AlphaBlt to increase speed of drawing 32-bits ARGB bitmaps (with alpha) on 32-bit 0RGB bitmaps (without alpha).

Details: http://trac.wxwidgets.org/ticket/16766#comment:8

Extended tests to determine speed of drawing RGB/ARGB bitmaps on target bitmaps with different colour depths (RGB/0RGB/ARGB/system default).
Modify the loop fixing alpha channel value in order to increase speed when ARGB bitmap is drawn on 0RGB DIB bitmap or 32-bit DDB bitmap.
@vadz
Copy link
Contributor

vadz commented Dec 6, 2015

Thanks a lot for fixing this!

@vadz vadz closed this Dec 6, 2015
@a-wi a-wi deleted the fix_drawing_with_alpha branch December 21, 2015 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants