DescriptionCache OpenGL textures and other objects in CompositingIOSurfaceMac copy/transform code.
On Macs using AMD Radeon and/or Intel HD Graphics GPUs, the deletion of textures, FBOs, and other OpenGL objects for each frame capture was causing GPU pipeline stalls. This was causing average capture time to be too high; in many cases, not allowing even a 30 FPS rate of capture. With this change, the pipeline stalls have been removed.
Confirmed:
1. Visually, using our tab capture/playback tools (several hours of video watching).
2. Via Chrome browser tracing tool.
3. Via Apple's OpenGL Profiler tool (no operations other than glReadPixels and glFlush take more than 1 ms to complete).
BUG=223326
TEST=See above; and ran content_unittests.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194404
Patch Set 1 : #
Total comments: 8
Patch Set 2 : Tweaks, per nick@'s comments. #
Messages
Total messages: 5 (0 generated)
|