summaryrefslogtreecommitdiff
path: root/Development
diff options
context:
space:
mode:
authorAdamJackson <AdamJackson@web>2016-09-27 17:17:21 +0000
committerxorg <iki-xorg@freedesktop.org>2016-09-27 17:17:21 +0000
commit9cbda53539a1524f99b1325fab3c12a721042e70 (patch)
tree19f2f74179ec6c69548cfb30e783418facd98229 /Development
parent797ff8c846b63f5c893865475eb94cf5146ed6e0 (diff)
Diffstat (limited to 'Development')
-rw-r--r--Development/Documentation/GlamorPerformance.mdwn6
1 files changed, 6 insertions, 0 deletions
diff --git a/Development/Documentation/GlamorPerformance.mdwn b/Development/Documentation/GlamorPerformance.mdwn
index 1747051f..ed670dbc 100644
--- a/Development/Documentation/GlamorPerformance.mdwn
+++ b/Development/Documentation/GlamorPerformance.mdwn
@@ -69,3 +69,9 @@ Might be nice to add support for more formats? Should inspect the source to vari
## Übershader
Switching among shader programs isn't free. Would be worth investigating whether a single shader performs as well as the current design.
+
+## Flush reduction
+
+Currently we flush in BlockHandler, which is quite often. Strictly speaking we only need to do this when we're trying to synchronize between the X and GL command streams (or, arguably, when sending damage events), and can otherwise let the implicit flush in SwapBuffers do the job for us.
+
+The GL sync extensions should be able to help us out with this, though on at least i965 they're equivalent to a flush so they're not _that_ much help.