summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_aaline.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-11-05 23:15:16 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-11-05 23:15:16 +0000
commit7798374e472a8fa2f8699d38873e6b8490d853a4 (patch)
tree5b320550e20335504ee952a909422c08dfea463e /src/mesa/swrast/s_aaline.h
parent14940c4ffe066a8b85bc14274c19ad3d8e334d61 (diff)
New implementation of antialiased lines. Mesa should now pass the remaining
GL conformance tests for AA lines (but not tried yet). TODO: improve code sharing with the AA triangle code.
Diffstat (limited to 'src/mesa/swrast/s_aaline.h')
-rw-r--r--src/mesa/swrast/s_aaline.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_aaline.h b/src/mesa/swrast/s_aaline.h
new file mode 100644
index 0000000000..a39c5b525e
--- /dev/null
+++ b/src/mesa/swrast/s_aaline.h
@@ -0,0 +1,40 @@
+/* $Id: s_aaline.h,v 1.1 2000/11/05 23:15:16 brianp Exp $ */
+
+/*
+ * Mesa 3-D graphics library
+ * Version: 3.5
+ *
+ * Copyright (C) 1999-2000 Brian Paul All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+ * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+
+#ifndef S_AALINE_H
+#define S_AALINE_H
+
+
+#include "types.h"
+#include "swrast.h"
+
+
+extern void
+_swrast_choose_aa_line_function(GLcontext *ctx);
+
+
+#endif