b8068afafacc3071cacfbaf71f176a2943341382 |
|
21-Jun-2012 |
Olivier Galibert <galibert@pobox.com> |
draw: Handle the case when there isn't a fragment shader. Signed-off-by: Olivier Galibert <galibert@pobox.com> Signed-off-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
4625a9b1adf7a30c56e2bbeb41573fbba4465851 |
|
19-Jun-2012 |
Olivier Galibert <galibert@pobox.com> |
draw: fix flat shading and screen-space linear interpolation in clipper This includes: - picking up correctly which attributes are flatshaded and which are noperspective - copying the flatshaded attributes when needed, including the non-built-in ones - correctly interpolating the noperspective attributes in screen-space instead than in a 3d-correct fashion. Signed-off-by: Olivier Galibert <galibert@pobox.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
743432039ccd4c4af03aa4ef274a7922f871bc38 |
|
15-Jan-2012 |
Vinson Lee <vlee@freedesktop.org> |
draw: Remove unused variables. Fix this GCC warning. draw_pipe_clip.c: In function ‘interp’: draw_pipe_clip.c:122:13: warning: variable ‘clip_dist’ set but not used [-Wunused-but-set-variable] Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
1865f341d8f45b389061fc08d2da90b7aa8a6099 |
|
06-Jan-2012 |
Dave Airlie <airlied@redhat.com> |
draw: clipdistance support (v2) Add support for using the clipdistance instead of clip plane. Passes all piglit clipdistance tests. v2: fixup some comments from Brian in review. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
40c5987ed84f9f0b8bb1f707bb13c1aafc39330a |
|
04-Jan-2012 |
Dave Airlie <airlied@redhat.com> |
draw/softpipe: add clip vertex support. (v2) softpipe always clipped using the position vector, however for unclipped vertices it stored the position in window coordinates, however when position and clipping are separated, we need to store the clip-space position and the clip-space vertex clip, so we can interpolate both separately. This means we have to take the clip space position and store it to use later. This allows softpipe to pass all the clip-vertex piglit tests. v2: fix llvm draw regression, the structure being passed into llvm needed updating, remove some hardcoded ints that should have been enums while there. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
bc0037083235ea149d8a2708bd1a5d2559f07dc7 |
|
08-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
Gallium: remove unnecessary ifdef for MAX_CLIPPED_VERTICES. draw_pipe_clip.c contained an ifdef to ensure that its local definition of MAX_CLIPPED_VERTICES would not take effect if the global MAX_CLIPPED_VERTICES (defined in src/mesa/main/config.h) was already defined. This was unnecessary because draw_pipe_clip.c doesn't directly or indirectly include src/mesa/main/config.h. Removed the ifdef to reduce confusion. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
f6572017b94a137a4102342ebf6cd20dedc90271 |
|
08-Jun-2011 |
Brian Paul <brianp@vmware.com> |
draw: fix edge flag handling in clipper (for unfilled tris/quads/polygons) Previously, we were errantly drawing some interior edges of clipped polygons and quads. Also, we were introducing extra edges where polygons intersected the view frustum clip planes. The main problem was that we were ignoring the edgeflags encoded in the primitive header's 'flags' field which are set during polygon/quad ->tri decomposition. We need to observe those during clipping. Since we can't modify the existing vert's edgeflag fields, we need to store them in a parallel array. Edge flags also need to be handled differently for view frustum planes vs. user-defined clip planes. In the former case we don't want to draw new clip edges but in the later case we do. This matches NVIDIA's behaviour and it just looks right. Finally, note that the LLVM draw code does not properly set vertex edge flags. It's OK on the regular software path though.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
440129521c36bc2c2e59c462a94394b2f42a847e |
|
26-Aug-2010 |
José Fonseca <jfonseca@vmware.com> |
draw: Prevent clipped vertices overflow. Some pathological triangles cause a theoritically impossible number of clipped vertices. The clipper will still assert, but at least release builds will not crash, while this problem is further investigated.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
8b597b4ea4290301bd97587db5389f151cb5f25f |
|
23-Sep-2010 |
Keith Whitwell <keithw@vmware.com> |
draw: don't apply flatshading to clipped tris with <3 verts If a triangle was completely culled by clipping, we would still try to fix up its provoking vertex.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
d88b6e19c14900f4cad94cf7a28d159369463108 |
|
29-Jul-2010 |
Brian Paul <brianp@vmware.com> |
draw: assorted clean-ups in clipper code
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
ca3238f3fce89b4641833d1722d03c5d23b3e081 |
|
22-Jul-2010 |
Brian Paul <brianp@vmware.com> |
draw: added new assertions to clipping code
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
1c377cea1094c0b5414c663adf2fd393bf41ddfb |
|
16-Jun-2010 |
Alan Hourihane <alanh@vmware.com> |
draw: handle some out of memory conditions
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
74fb08018ac740e8189cee5f9aa8e429d50496e4 |
|
08-May-2010 |
Brian Paul <brianp@vmware.com> |
gallium/draw: additional comments in the clipping code
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
cb136a93aba4dc64db7e446b0fbc36c9172e4017 |
|
06-May-2010 |
Brian Paul <brianp@vmware.com> |
gallium: rework provoking vertex code Builds on commit ddb0e18f6c5582d4d2cc59ffd16ad9c4639ed059 and fixes regressions in glean clipFlat test. We assume that Gallium drivers observe flatshade_first for all triangles and that all the assorted per-triangle calls in the 'draw' module also follow flatshade_first. Everything else builds on those rules. Gallium does not use follow flatshade_first for GL quads, quad strips and polygons; the "last" vertex is always the provoking vertex for those prims. So now there are separate QUAD_FIRST_PV and QUAD_LAST_PV macros in the draw primitive decomposition code instead of one QUAD macro.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
ddb0e18f6c5582d4d2cc59ffd16ad9c4639ed059 |
|
05-May-2010 |
José Fonseca <jfonseca@vmware.com> |
draw: Preserve the provoking vertex both when decomposing and clipping. Based on John Lawless' feedback.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
bc1b38af71c312d4d109090c51c3fd507b115d81 |
|
14-Jan-2010 |
Brian Paul <brianp@vmware.com> |
gallium/draw: s/clipper/clip_stage/ to be consistant with other stages
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
c87361340352850ba793a481c969081b6ecfc0c6 |
|
14-Jan-2010 |
Brian Paul <brianp@vmware.com> |
gallium/draw: whitespace and comments
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
ee343feba126c0915983699f729c77891082df6a |
|
14-Jan-2010 |
Brian Paul <brianp@vmware.com> |
gallium/draw: remove always-true conditional
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
89d8577fb3036547ef0b47498cc8dc5c77f886e0 |
|
14-Dec-2009 |
Zack Rusin <zackr@vmware.com> |
gallium: add geometry shader support to gallium
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
eb979cef8535914f428d2462e78f713da558fc18 |
|
28-Apr-2009 |
Keith Whitwell <keithw@vmware.com> |
gallium/draw: add ability to print out active pipeline stages
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
4f25420bdd834e81a3e22733304efc5261c2998a |
|
25-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h Also, rename p_tile.[ch] to u_tile.[ch]
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
2161b0fafcdc16703162dd489d2ec1e7114cce4c |
|
12-Jun-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: don't assume vertex position is in data[0]
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
14a13e3767f080a48a4ae01f803dd0bc8754f441 |
|
10-Jun-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: fix edgeflags on clipped poly emit
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
2f0d1396e4c1626b3b1ac799bd29e86a9530369e |
|
13-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: move some state into a new 'vs' area
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
f93332da5655a31b6c44a1079629a15360ff999b |
|
24-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: handle edgeflags and reset-line-stipple again
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
0d4ece4c5a243dc4b684331bad49f220311e5520 |
|
21-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: propogate lots of errors
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
507fbe2d327efb8d608ce8e07436b97321560808 |
|
19-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: move some pipeline-specific code & state to draw_pipe.[ch]
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|
26831bdac594a11e51b6c4b09df78bb11444f5dd |
|
19-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: rename pipeline files to draw_pipe_*
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_clip.c
|