aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_swtcl.h
diff options
context:
space:
mode:
authorMaciej Cencora <[email protected]>2009-05-14 02:07:49 +0200
committerAlex Deucher <[email protected]>2009-05-16 11:42:02 -0400
commit2240c0d33365189f975b84b06792e2a5ecb8b13a (patch)
tree2e8978e3dd1c52a8dc538565a6709fce4031eb42 /src/mesa/drivers/dri/r300/r300_swtcl.h
parent621f65ab86f94f7a228e5f96061a8e3451f15db0 (diff)
r300: software fallbacking handling rewrite
Until now falling back to software rasterizer worked only for TCL enabled cards. For non TCL cards we used to plug our rendering functions in r300InitSwtcl, and we had never restored original functions for software rasterizer.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_swtcl.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_swtcl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_swtcl.h b/src/mesa/drivers/dri/r300/r300_swtcl.h
index 75c419380d3..14826f08171 100644
--- a/src/mesa/drivers/dri/r300/r300_swtcl.h
+++ b/src/mesa/drivers/dri/r300/r300_swtcl.h
@@ -60,5 +60,11 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
extern void r300InitSwtcl( GLcontext *ctx );
extern void r300DestroySwtcl( GLcontext *ctx );
+extern void r300RenderStart(GLcontext *ctx);
+extern void r300RenderFinish(GLcontext *ctx);
+extern void r300RenderPrimitive(GLcontext *ctx, GLenum prim);
+extern void r300ResetLineStipple(GLcontext *ctx);
+
extern void r300_swtcl_flush(GLcontext *ctx, uint32_t current_offset);
+
#endif