Skip to content
Snippets Groups Projects
Commit eaf4911d authored by Tor Arne Vestbø's avatar Tor Arne Vestbø
Browse files

macOS: Optionally flush sub-layers via sub-image copies of the backingstore


When we're flushing the backingstore to sub-views with their own layers
we don't want to pay the cost of uploading the whole backingstore to the
GPU in the case where we're dealing with a discrete GPU.

To work around this we make a copy of the appropriate part of the surfcace.

This results in additional copies of the data, and will need further
investigation to limit these.

Task-number: QTBUG-77447
Change-Id: I318ae80e433dd7b0a55fd5a598b19f114d8bd28e
Reviewed-by: default avatarMorten Johan Sørvig <morten.sorvig@qt.io>
parent 35713ef3
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment