summaryrefslogtreecommitdiff
path: root/Development/Documentation
diff options
context:
space:
mode:
Diffstat (limited to 'Development/Documentation')
-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.