Add a FAQ about internal buffer sizes.
authorTom Fogal <tfogal@alumni.unh.edu>
Fri, 14 Aug 2009 01:51:57 +0000 (19:51 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 14 Aug 2009 14:58:59 +0000 (08:58 -0600)
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>