DescriptionReuse GLFenceNV when an existing CommandsCompletedQuery is reused
This is a first part of the fix for 573120. When Begin/End
are called again for a completed query that already has an
instance of GLFenceNV, the existing GLFenceNV instance is
reused rather than creating a new one.
For each frame that saves one call to glGenFencesNV and
one call to glDeleteFencesNV .
My estimation is that that saves about 0.2 Wt when playing
1080p @ 60Hz h.264 content.
The second part of the fix will add reusing instances of
CommandsCompletedQuery.
BUG=573120
Committed: https://crrev.com/1f3c24312efb7d76ccb331f170aa0941e6fdfda9
Cr-Commit-Position: refs/heads/master@{#371898}
Patch Set 1 #Patch Set 2 : Moved ResetSupported check into a separate function #
Messages
Total messages: 13 (7 generated)
|