diff options
authorAdamJackson <AdamJackson@web>2016-09-27 17:17:21 +0000
committerxorg <>2016-09-27 17:17:21 +0000
commit9cbda53539a1524f99b1325fab3c12a721042e70 (patch)
parent797ff8c846b63f5c893865475eb94cf5146ed6e0 (diff)
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.