Details
-
Technical task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
-
1d6bb23f6 (dev), 07059d4d1 (6.7), 9125f3701 (6.6), 3cfce6a00 (tqtc/lts-6.5), 11baa8dc3 (dev), 8ead4ab0f (6.7), a6b007a8c (6.6), e75e88ff4 (tqtc/lts-6.5)
Description
Upon loading textures from data, we do extra data copy:
subresDesc.setData(QByteArray(ptr, size));
We should reduce the data copies to reduce CPU loading.
Loading textures from memory happens in many cases:
- most of camera implementations
- most of screen and window capture implementations
- software decoding
- disabled hw texture conversion.
Attachments
For Gerrit Dashboard: QTBUG-121934 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
537062,13 | Eliminate copying of frame data upon creating textures from memory | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
537233,10 | Fix loading QRhiTexture from image on gles | dev | qt/qtbase | Status: MERGED | +2 | 0 |
538585,2 | Fix loading QRhiTexture from image on gles | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
538702,2 | Fix loading QRhiTexture from image on gles | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
539045,2 | Fix loading QRhiTexture from image on gles | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
541269,2 | Eliminate copying of frame data upon creating textures from memory | 6.7 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
541279,3 | Eliminate copying of frame data upon creating textures from memory | 6.6 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
542113,2 | Eliminate copying of frame data upon creating textures from memory | tqtc/lts-6.5 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |