Keith Whitwell | 8e4a95a | 2007-05-24 10:41:34 +0100 | [diff] [blame] | 1 | /************************************************************************** |
| 2 | * |
| 3 | * Copyright 2007 Tungsten Graphics, Inc., Cedar Park, Texas. |
| 4 | * All Rights Reserved. |
| 5 | * |
| 6 | * Permission is hereby granted, free of charge, to any person obtaining a |
| 7 | * copy of this software and associated documentation files (the |
| 8 | * "Software"), to deal in the Software without restriction, including |
| 9 | * without limitation the rights to use, copy, modify, merge, publish, |
| 10 | * distribute, sub license, and/or sell copies of the Software, and to |
| 11 | * permit persons to whom the Software is furnished to do so, subject to |
| 12 | * the following conditions: |
| 13 | * |
| 14 | * The above copyright notice and this permission notice (including the |
| 15 | * next paragraph) shall be included in all copies or substantial portions |
| 16 | * of the Software. |
| 17 | * |
| 18 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 19 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 20 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. |
| 21 | * IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR |
| 22 | * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 23 | * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 24 | * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 25 | * |
| 26 | **************************************************************************/ |
| 27 | |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 28 | /** |
| 29 | * Private data structures, etc for the draw module. |
Keith Whitwell | 8e4a95a | 2007-05-24 10:41:34 +0100 | [diff] [blame] | 30 | */ |
| 31 | |
Keith Whitwell | 8e4a95a | 2007-05-24 10:41:34 +0100 | [diff] [blame] | 32 | |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 33 | /** |
| 34 | * Authors: |
| 35 | * Keith Whitwell <keith@tungstengraphics.com> |
| 36 | * Brian Paul |
Keith Whitwell | 8e4a95a | 2007-05-24 10:41:34 +0100 | [diff] [blame] | 37 | */ |
Keith Whitwell | 8e4a95a | 2007-05-24 10:41:34 +0100 | [diff] [blame] | 38 | |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 39 | |
| 40 | #ifndef DRAW_PRIVATE_H |
| 41 | #define DRAW_PRIVATE_H |
| 42 | |
| 43 | |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 44 | #include "pipe/p_state.h" |
| 45 | #include "pipe/p_defines.h" |
Brian | 766fa51 | 2007-08-20 17:02:07 -0600 | [diff] [blame] | 46 | |
José Fonseca | 6acd63a | 2008-02-15 17:50:12 +0900 | [diff] [blame] | 47 | #include "tgsi/exec/tgsi_exec.h" |
Brian | cddeca5 | 2008-02-27 16:02:58 -0700 | [diff] [blame] | 48 | #include "tgsi/util/tgsi_scan.h" |
Brian | 0d13ade | 2007-10-02 11:46:11 -0600 | [diff] [blame] | 49 | |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 50 | |
Brian | aceeb80 | 2008-02-18 16:19:05 -0700 | [diff] [blame] | 51 | struct pipe_context; |
Zack Rusin | 25b17b2 | 2007-10-29 08:27:32 -0400 | [diff] [blame] | 52 | struct gallivm_prog; |
| 53 | struct gallivm_cpu_engine; |
Keith Whitwell | 280bcff | 2008-04-17 14:20:00 +0100 | [diff] [blame] | 54 | struct draw_vertex_shader; |
Keith Whitwell | 507fbe2 | 2008-04-19 15:29:27 +0100 | [diff] [blame] | 55 | struct draw_context; |
| 56 | struct draw_stage; |
| 57 | struct vbuf_render; |
Keith Whitwell | f40357e | 2008-03-23 16:44:59 +0000 | [diff] [blame] | 58 | |
Zack Rusin | aadbb1d | 2008-04-12 15:45:28 -0400 | [diff] [blame] | 59 | |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 60 | /** |
| 61 | * Basic vertex info. |
| 62 | * Carry some useful information around with the vertices in the prim pipe. |
| 63 | */ |
| 64 | struct vertex_header { |
Brian | fd0a6d6 | 2007-08-16 12:52:20 -0600 | [diff] [blame] | 65 | unsigned clipmask:12; |
| 66 | unsigned edgeflag:1; |
Keith Whitwell | a37e0da | 2007-09-25 13:20:53 +0100 | [diff] [blame] | 67 | unsigned pad:3; |
| 68 | unsigned vertex_id:16; |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 69 | |
Brian | fd0a6d6 | 2007-08-16 12:52:20 -0600 | [diff] [blame] | 70 | float clip[4]; |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 71 | |
Keith Whitwell | 507fbe2 | 2008-04-19 15:29:27 +0100 | [diff] [blame] | 72 | /* This will probably become float (*data)[4] soon: |
| 73 | */ |
| 74 | float data[][4]; |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 75 | }; |
| 76 | |
José Fonseca | c28fdf3 | 2007-11-07 12:08:19 +0000 | [diff] [blame] | 77 | /* NOTE: It should match vertex_id size above */ |
| 78 | #define UNDEFINED_VERTEX_ID 0xffff |
| 79 | |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 80 | |
| 81 | /** |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 82 | * Private context for the drawing module. |
| 83 | */ |
| 84 | struct draw_context |
| 85 | { |
Brian | fd0a6d6 | 2007-08-16 12:52:20 -0600 | [diff] [blame] | 86 | /** Drawing/primitive pipeline stages */ |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 87 | struct { |
Brian | ea470ee | 2007-07-12 13:32:31 -0600 | [diff] [blame] | 88 | struct draw_stage *first; /**< one of the following */ |
Keith Whitwell | 8e4a95a | 2007-05-24 10:41:34 +0100 | [diff] [blame] | 89 | |
Keith Whitwell | 08589f7 | 2007-09-26 11:56:17 +0100 | [diff] [blame] | 90 | struct draw_stage *validate; |
| 91 | |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 92 | /* stages (in logical order) */ |
Brian | ea470ee | 2007-07-12 13:32:31 -0600 | [diff] [blame] | 93 | struct draw_stage *flatshade; |
| 94 | struct draw_stage *clip; |
| 95 | struct draw_stage *cull; |
| 96 | struct draw_stage *twoside; |
| 97 | struct draw_stage *offset; |
| 98 | struct draw_stage *unfilled; |
Brian | 329a847 | 2008-01-21 14:08:20 -0700 | [diff] [blame] | 99 | struct draw_stage *stipple; |
Brian | eb4dc2d | 2008-02-21 16:18:05 -0700 | [diff] [blame] | 100 | struct draw_stage *aapoint; |
Brian | aceeb80 | 2008-02-18 16:19:05 -0700 | [diff] [blame] | 101 | struct draw_stage *aaline; |
Brian | 446bfc3 | 2008-02-21 16:56:32 -0700 | [diff] [blame] | 102 | struct draw_stage *pstipple; |
Brian Paul | a1a1395 | 2008-02-28 17:49:22 -0700 | [diff] [blame] | 103 | struct draw_stage *wide_line; |
| 104 | struct draw_stage *wide_point; |
Zack Rusin | de69fc1 | 2007-09-18 10:02:16 -0400 | [diff] [blame] | 105 | struct draw_stage *rasterize; |
Keith Whitwell | 507fbe2 | 2008-04-19 15:29:27 +0100 | [diff] [blame] | 106 | |
| 107 | float wide_point_threshold; /**< convert pnts to tris if larger than this */ |
| 108 | float wide_line_threshold; /**< convert lines to tris if wider than this */ |
| 109 | boolean line_stipple; /**< do line stipple? */ |
| 110 | boolean point_sprite; /**< convert points to quads for sprites? */ |
| 111 | |
Keith Whitwell | bee1d31 | 2008-04-19 16:39:24 +0100 | [diff] [blame] | 112 | /* Temporary storage while the pipeline is being run: |
| 113 | */ |
| 114 | char *verts; |
| 115 | unsigned vertex_stride; |
| 116 | unsigned vertex_count; |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 117 | } pipeline; |
| 118 | |
Keith Whitwell | 297b3be | 2008-03-10 19:49:15 +0000 | [diff] [blame] | 119 | |
| 120 | struct vbuf_render *render; |
| 121 | |
| 122 | /* Support prototype passthrough path: |
| 123 | */ |
| 124 | struct { |
Keith Whitwell | f40357e | 2008-03-23 16:44:59 +0000 | [diff] [blame] | 125 | struct { |
Keith Whitwell | 1246d06 | 2008-04-19 13:20:26 +0100 | [diff] [blame] | 126 | struct draw_pt_middle_end *fetch_emit; |
Keith Whitwell | bbda45e | 2008-05-12 19:40:20 +0100 | [diff] [blame] | 127 | struct draw_pt_middle_end *fetch_shade_emit; |
Keith Whitwell | 1246d06 | 2008-04-19 13:20:26 +0100 | [diff] [blame] | 128 | struct draw_pt_middle_end *general; |
Keith Whitwell | f40357e | 2008-03-23 16:44:59 +0000 | [diff] [blame] | 129 | } middle; |
| 130 | |
| 131 | struct { |
Keith Whitwell | f40357e | 2008-03-23 16:44:59 +0000 | [diff] [blame] | 132 | struct draw_pt_front_end *vcache; |
Zack Rusin | 992d0b9 | 2008-04-24 16:22:47 -0400 | [diff] [blame] | 133 | struct draw_pt_front_end *varray; |
Keith Whitwell | f40357e | 2008-03-23 16:44:59 +0000 | [diff] [blame] | 134 | } front; |
Keith Whitwell | 7d72607 | 2008-04-19 17:27:52 +0100 | [diff] [blame] | 135 | |
| 136 | struct pipe_vertex_buffer vertex_buffer[PIPE_MAX_ATTRIBS]; |
| 137 | unsigned nr_vertex_buffers; |
| 138 | |
| 139 | struct pipe_vertex_element vertex_element[PIPE_MAX_ATTRIBS]; |
| 140 | unsigned nr_vertex_elements; |
| 141 | |
| 142 | /* user-space vertex data, buffers */ |
| 143 | struct { |
| 144 | const unsigned *edgeflag; |
| 145 | |
| 146 | /** vertex element/index buffer (ex: glDrawElements) */ |
| 147 | const void *elts; |
| 148 | /** bytes per index (0, 1, 2 or 4) */ |
| 149 | unsigned eltSize; |
Keith Whitwell | 82605d7 | 2008-05-29 11:46:43 +0100 | [diff] [blame] | 150 | unsigned min_index; |
| 151 | unsigned max_index; |
Keith Whitwell | 7d72607 | 2008-04-19 17:27:52 +0100 | [diff] [blame] | 152 | |
| 153 | /** vertex arrays */ |
| 154 | const void *vbuffer[PIPE_MAX_ATTRIBS]; |
| 155 | |
| 156 | /** constant buffer (for vertex shader) */ |
| 157 | const void *constants; |
| 158 | } user; |
| 159 | |
Keith Whitwell | 807e7c4 | 2008-05-29 14:35:30 +0100 | [diff] [blame] | 160 | boolean test_fse; /* enable FSE even though its not correct (eg for softpipe) */ |
| 161 | boolean no_fse; /* disable FSE even when it is correct */ |
Keith Whitwell | 297b3be | 2008-03-10 19:49:15 +0000 | [diff] [blame] | 162 | } pt; |
| 163 | |
Keith Whitwell | 0588858 | 2008-04-22 20:50:20 +0100 | [diff] [blame] | 164 | struct { |
| 165 | boolean bypass_clipping; |
| 166 | } driver; |
| 167 | |
Brian Paul | 14d1ca8 | 2008-04-23 18:08:20 -0600 | [diff] [blame] | 168 | boolean flushing; /**< debugging/sanity */ |
| 169 | boolean suspend_flushing; /**< internally set */ |
| 170 | boolean bypass_clipping; /**< set if either api or driver bypass_clipping true */ |
Keith Whitwell | 297b3be | 2008-03-10 19:49:15 +0000 | [diff] [blame] | 171 | |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 172 | /* pipe state that we need: */ |
Zack Rusin | 2944018 | 2007-09-17 12:59:50 -0400 | [diff] [blame] | 173 | const struct pipe_rasterizer_state *rasterizer; |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 174 | struct pipe_viewport_state viewport; |
Brian | 594dab4 | 2008-03-31 14:14:30 -0600 | [diff] [blame] | 175 | boolean identity_viewport; |
| 176 | |
Keith Whitwell | 2f0d139 | 2008-05-13 13:40:22 +0100 | [diff] [blame] | 177 | struct { |
| 178 | struct draw_vertex_shader *vertex_shader; |
| 179 | uint num_vs_outputs; /**< convenience, from vertex_shader */ |
Keith Whitwell | 2161b0f | 2008-06-11 23:48:13 +0100 | [diff] [blame^] | 180 | uint position_output; |
Brian | 63a51ae | 2007-09-06 17:07:09 -0600 | [diff] [blame] | 181 | |
Keith Whitwell | 2f0d139 | 2008-05-13 13:40:22 +0100 | [diff] [blame] | 182 | /** TGSI program interpreter runtime state */ |
| 183 | struct tgsi_exec_machine machine; |
| 184 | |
| 185 | /* This (and the tgsi_exec_machine struct) probably need to be moved somewhere private. |
| 186 | */ |
| 187 | struct gallivm_cpu_engine *engine; |
| 188 | |
Keith Whitwell | 62628c4 | 2008-05-29 00:17:53 +0100 | [diff] [blame] | 189 | /* Here's another one: |
| 190 | */ |
| 191 | struct aos_machine *aos_machine; |
| 192 | |
Keith Whitwell | 2f0d139 | 2008-05-13 13:40:22 +0100 | [diff] [blame] | 193 | |
Keith Whitwell | bb2e13b | 2008-05-29 12:38:49 +0100 | [diff] [blame] | 194 | const float (*aligned_constants)[4]; |
| 195 | |
Michal Krol | 1358195 | 2008-05-31 18:19:21 +0200 | [diff] [blame] | 196 | float (*aligned_constant_storage)[4]; |
Keith Whitwell | bb2e13b | 2008-05-29 12:38:49 +0100 | [diff] [blame] | 197 | unsigned const_storage_size; |
| 198 | |
| 199 | |
Keith Whitwell | 7c99d7f | 2008-05-15 12:39:08 +0100 | [diff] [blame] | 200 | struct translate *fetch; |
Keith Whitwell | 2f0d139 | 2008-05-13 13:40:22 +0100 | [diff] [blame] | 201 | struct translate_cache *fetch_cache; |
Keith Whitwell | 7c99d7f | 2008-05-15 12:39:08 +0100 | [diff] [blame] | 202 | struct translate *emit; |
Keith Whitwell | 2f0d139 | 2008-05-13 13:40:22 +0100 | [diff] [blame] | 203 | struct translate_cache *emit_cache; |
| 204 | } vs; |
| 205 | |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 206 | /* Clip derived state: |
| 207 | */ |
Brian | fd0a6d6 | 2007-08-16 12:52:20 -0600 | [diff] [blame] | 208 | float plane[12][4]; |
| 209 | unsigned nr_planes; |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 210 | |
Brian | aceeb80 | 2008-02-18 16:19:05 -0700 | [diff] [blame] | 211 | /* If a prim stage introduces new vertex attributes, they'll be stored here |
| 212 | */ |
| 213 | struct { |
| 214 | uint semantic_name; |
| 215 | uint semantic_index; |
| 216 | int slot; |
| 217 | } extra_vp_outputs; |
| 218 | |
Brian | fd0a6d6 | 2007-08-16 12:52:20 -0600 | [diff] [blame] | 219 | unsigned reduced_prim; |
| 220 | |
Ian Romanick | a89ee8a | 2008-01-30 20:10:45 -0800 | [diff] [blame] | 221 | void *driver_private; |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 222 | }; |
| 223 | |
| 224 | |
Keith Whitwell | 2f0d139 | 2008-05-13 13:40:22 +0100 | [diff] [blame] | 225 | /******************************************************************************* |
| 226 | * Vertex shader code: |
| 227 | */ |
| 228 | boolean draw_vs_init( struct draw_context *draw ); |
| 229 | void draw_vs_destroy( struct draw_context *draw ); |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 230 | |
Keith Whitwell | 62628c4 | 2008-05-29 00:17:53 +0100 | [diff] [blame] | 231 | void draw_vs_set_viewport( struct draw_context *, |
| 232 | const struct pipe_viewport_state * ); |
| 233 | |
| 234 | void draw_vs_set_constants( struct draw_context *, |
Keith Whitwell | bb2e13b | 2008-05-29 12:38:49 +0100 | [diff] [blame] | 235 | const float (*constants)[4], |
| 236 | unsigned size ); |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 237 | |
José Fonseca | 3e22180 | 2007-11-07 13:07:20 +0000 | [diff] [blame] | 238 | |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 239 | |
Brian | 9a11a4a | 2007-08-31 11:28:31 -0600 | [diff] [blame] | 240 | |
Keith Whitwell | 507fbe2 | 2008-04-19 15:29:27 +0100 | [diff] [blame] | 241 | /******************************************************************************* |
| 242 | * Vertex processing (was passthrough) code: |
Keith Whitwell | f40357e | 2008-03-23 16:44:59 +0000 | [diff] [blame] | 243 | */ |
| 244 | boolean draw_pt_init( struct draw_context *draw ); |
| 245 | void draw_pt_destroy( struct draw_context *draw ); |
Keith Whitwell | 0b20d1b | 2008-04-04 13:18:09 +0100 | [diff] [blame] | 246 | void draw_pt_reset_vertex_ids( struct draw_context *draw ); |
Keith Whitwell | f40357e | 2008-03-23 16:44:59 +0000 | [diff] [blame] | 247 | |
Keith Whitwell | 507fbe2 | 2008-04-19 15:29:27 +0100 | [diff] [blame] | 248 | |
| 249 | /******************************************************************************* |
Keith Whitwell | e7bac42 | 2008-04-19 16:43:15 +0100 | [diff] [blame] | 250 | * Primitive processing (pipeline) code: |
Keith Whitwell | 507fbe2 | 2008-04-19 15:29:27 +0100 | [diff] [blame] | 251 | */ |
| 252 | |
| 253 | boolean draw_pipeline_init( struct draw_context *draw ); |
| 254 | void draw_pipeline_destroy( struct draw_context *draw ); |
| 255 | |
Keith Whitwell | f93332d | 2008-04-24 12:38:15 +0100 | [diff] [blame] | 256 | |
| 257 | |
| 258 | |
| 259 | |
| 260 | /* We use the top few bits in the elts[] parameter to convey a little |
| 261 | * API information. This limits the number of vertices we can address |
| 262 | * to only 4096 -- if that becomes a problem, we can switch to 32-bit |
| 263 | * draw indices. |
| 264 | * |
| 265 | * These flags expected at first vertex of lines & triangles when |
| 266 | * unfilled and/or line stipple modes are operational. |
| 267 | */ |
Keith Whitwell | 0a4aea0 | 2008-06-02 12:59:16 +0100 | [diff] [blame] | 268 | #define DRAW_PIPE_MAX_VERTICES (0x1<<12) |
Keith Whitwell | f93332d | 2008-04-24 12:38:15 +0100 | [diff] [blame] | 269 | #define DRAW_PIPE_EDGE_FLAG_0 (0x1<<12) |
| 270 | #define DRAW_PIPE_EDGE_FLAG_1 (0x2<<12) |
| 271 | #define DRAW_PIPE_EDGE_FLAG_2 (0x4<<12) |
| 272 | #define DRAW_PIPE_EDGE_FLAG_ALL (0x7<<12) |
| 273 | #define DRAW_PIPE_RESET_STIPPLE (0x8<<12) |
| 274 | #define DRAW_PIPE_FLAG_MASK (0xf<<12) |
| 275 | |
Keith Whitwell | bee1d31 | 2008-04-19 16:39:24 +0100 | [diff] [blame] | 276 | void draw_pipeline_run( struct draw_context *draw, |
| 277 | unsigned prim, |
| 278 | struct vertex_header *vertices, |
| 279 | unsigned vertex_count, |
| 280 | unsigned stride, |
| 281 | const ushort *elts, |
| 282 | unsigned count ); |
| 283 | |
Zack Rusin | fe586f8 | 2008-05-06 18:59:45 -0400 | [diff] [blame] | 284 | void draw_pipeline_run_linear( struct draw_context *draw, |
| 285 | unsigned prim, |
| 286 | struct vertex_header *vertices, |
| 287 | unsigned count, |
| 288 | unsigned stride ); |
| 289 | |
Keith Whitwell | f93332d | 2008-04-24 12:38:15 +0100 | [diff] [blame] | 290 | |
| 291 | |
Keith Whitwell | e7bac42 | 2008-04-19 16:43:15 +0100 | [diff] [blame] | 292 | void draw_pipeline_flush( struct draw_context *draw, |
| 293 | unsigned flags ); |
| 294 | |
Keith Whitwell | 507fbe2 | 2008-04-19 15:29:27 +0100 | [diff] [blame] | 295 | |
| 296 | |
Keith Whitwell | bee1d31 | 2008-04-19 16:39:24 +0100 | [diff] [blame] | 297 | /******************************************************************************* |
| 298 | * Flushing |
| 299 | */ |
| 300 | |
Brian | 1603a33 | 2008-01-25 17:21:05 -0700 | [diff] [blame] | 301 | #define DRAW_FLUSH_STATE_CHANGE 0x8 |
| 302 | #define DRAW_FLUSH_BACKEND 0x10 |
Keith Whitwell | 08589f7 | 2007-09-26 11:56:17 +0100 | [diff] [blame] | 303 | |
| 304 | |
Brian | 1603a33 | 2008-01-25 17:21:05 -0700 | [diff] [blame] | 305 | void draw_do_flush( struct draw_context *draw, unsigned flags ); |
Keith Whitwell | 08589f7 | 2007-09-26 11:56:17 +0100 | [diff] [blame] | 306 | |
Keith Whitwell | 08589f7 | 2007-09-26 11:56:17 +0100 | [diff] [blame] | 307 | |
Keith Whitwell | 8e4a95a | 2007-05-24 10:41:34 +0100 | [diff] [blame] | 308 | |
Zack Rusin | 3f7a3dd | 2008-04-12 21:52:46 -0400 | [diff] [blame] | 309 | |
Brian | 279ffe3 | 2007-07-09 16:14:26 -0600 | [diff] [blame] | 310 | #endif /* DRAW_PRIVATE_H */ |