Add a FAQ about internal buffer sizes.
authorBrian Paul <brianp@vmware.com>
Fri, 14 Aug 2009 17:23:18 +0000 (11:23 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 14 Aug 2009 17:23:18 +0000 (11:23 -0600)
(cherry picked from master, commit 9a8781bd24730374e14568f67f7db8a9cc444bb4)

docs/faq.html

index 11b5d4325585815a9a22697182cbe3fa0fee6061..65e279aac57422da641ab61017df95c63126a1b5 100644 (file)
@@ -316,6 +316,19 @@ Basically, applying a translation of (0.375, 0.375, 0.0) to your coordinates
 will fix the problem.
 </p>
 
+<h2>3.6 How can I change the maximum framebuffer size in Mesa's
+<tt>swrast</tt> backend?</h2>
+<p>
+These can be overridden by using the <tt>--with-max-width</tt> and
+<tt>--with-max-height</tt> options.  The two need not be equal.
+</p><p>
+Do note that Mesa uses these values to size some internal buffers,
+so increasing these sizes will cause Mesa to require additional
+memory.  Furthermore, increasing these limits beyond <tt>4096</tt>
+may introduce rasterization artifacts; see the leading comments in
+<tt>src/mesa/swrast/s_tritemp.h</tt>.
+</p>
+
 <br>
 <br>