summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/powervr/powervr.pro
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2024-04-18 12:44:58 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2024-04-26 18:59:54 +0200
commit94e83aa7d7d05cf0b6636bdfac5cdcb38706aa73 (patch)
tree442f77792604e7bcf72459af86fd83ad744946d5 /src/plugins/gfxdrivers/powervr/powervr.pro
parentda508c2c241aa52c22a8355c541819ea45969d48 (diff)
metal: Tie drawable's MTLTexture lifetime to MTLCommandBufferHEADdev
By default we define QRHI_METAL_COMMAND_BUFFERS_WITH_UNRETAINED_REFERENCES, which means we create MTLCommandBuffer via commandBufferWithUnretainedReferences. In this case, if Metal API validation diagnostics is enabled in Xcode, the texture is released before the command buffer is done with it, so we manually ensure the lifetime of the texture extends until the command buffer is complete. Pick-to: 6.7 Change-Id: I9b9efa96b4a004f43e0b72144aafc4b440c7fbb4 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/plugins/gfxdrivers/powervr/powervr.pro')
0 files changed, 0 insertions, 0 deletions