Avoid slow drawing of bitmaps with alpha in wxAUI (PR #25983)

32 views
Skip to first unread message

VZ

unread,
Nov 21, 2025, 10:13:20 AM (12 days ago) Nov 21
to wx-...@googlegroups.com, Subscribed

See #23841.

If no problems are found with this, it should be backported to 3.2 by just adding 24 to the code creating the bitmap (i.e. without the first commit here).


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/25983

Commit Summary

  • 2a9d97d Use a single wxSize instead of (w,h) pair in wxBufferedDC
  • 28eaad7 Don't reinvent wxAutoBufferedPaintDC in wxAuiTabContainer code
  • b732393 Use 24bpp backing store bitmap in wxMSW to speed up drawing on it

File Changes

(3 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25983@github.com>

Mark Roszko

unread,
Nov 24, 2025, 10:51:42 AM (9 days ago) Nov 24
to wx-...@googlegroups.com, Subscribed
marekr left a comment (wxWidgets/wxWidgets#25983)

So far the individual that experienced the slowdowns the heaviest reports it seems to be fixed with this patch applied to our 3.2 based builds. Letting it sit awhile longer since it wasn't always the most consistently reproduced issue


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25983/c3571496623@github.com>

VZ

unread,
Nov 28, 2025, 10:57:54 AM (5 days ago) Nov 28
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#25983)

I'm going to merge this, as I'd like to backport it to 3.2 too, but any feedback would still be welcome, of course!


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25983/c3589795671@github.com>

VZ

unread,
Nov 28, 2025, 11:04:46 AM (5 days ago) Nov 28
to wx-...@googlegroups.com, Subscribed

Merged #25983 into master.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25983/issue_event/21245156561@github.com>

Reply all
Reply to author
Forward
0 new messages