Oliver McFadden
15f1609922
r300: More vertprog rework; give each opcode it's own function.
18 年之前
Roland Scheidegger
cc9cf90b09
fix resize bugs (fb size updated too late), fix typos, cleanups...
18 年之前
Roland Scheidegger
5fc7973d54
small cleanups
18 年之前
Oliver McFadden
39766010cd
Revert "r300: Gracefully exit after GART memory is exhausted."
This reverts commit 9457bf62bb
.
Causes the X server to die with Compiz and Beryl.
18 年之前
Oliver McFadden
cc85860ccb
r300: Reorder the vertprog code to the ARB specification.
18 年之前
Roland Scheidegger
cbfe29cdee
fix bogus fb/drawable information
the framebuffer objects attached to drawables can have invalidate state
associated with them, since for the window framebuffer this is per-context
state and not per-fbo state. Since drivers rely on that information
(otherwise would need to check if currently the window-framebuffer is
bound in a lot of places) fix it up in _mesa_make_current (ugly).
(Brought over from i915tex_privbuffers, where it fixes xdemos/wincopy
when switching to front buffer rendering.)
18 年之前
Roland Scheidegger
fb3b9060d4
fix segfault with i915 drivers in swrast drawpixels path when resizing windows
18 年之前
Oliver McFadden
d895c5a08f
r300: Use the R300_PVS_UPLOAD_* defines.
18 年之前
Roland Scheidegger
894557d625
get rid of more cliprects...
18 年之前
Oliver McFadden
4013382ea2
r300: Added the clip plane upload defines.
18 年之前
Roland Scheidegger
56cbdfd7d5
more cliprect elimination (swrast span)
18 年之前
Roland Scheidegger
6104044f6b
get rid of more fake cliprects (drawpixel), and enable blit draw with scissor
18 年之前
Oliver McFadden
81c333adbc
r300: Enable the vertprog point size again.
18 年之前
Roland Scheidegger
8b93d9238e
get rid of more cliprects (readpixel)...
18 年之前
Oliver McFadden
03105d7b3e
r300: Corrected position bug with position invariant option. Bug #11594.
18 年之前
Roland Scheidegger
d69cae95a0
allow blit path for read pixels if pack->alignment isn't 1.
pack->alignment doesn't matter usually if the image is sufficiently aligned
anyway. Speeds up some tests/readrate cases by a factor of 100 (since
the pack->alignment default which noone ever bothers to change is 4).
18 年之前
Oliver McFadden
aa9d77ca3c
r300: Removed Vim modeline I left in the file by mistake. :-)
18 年之前
Oliver McFadden
72581241a8
r300: Make sure the modified value of u_temp_i is respected.
18 年之前
Oliver McFadden
87855fb32c
r300: Added a function for vertex program default opcode translation.
18 年之前
Oliver McFadden
ddb74cb443
r300: Clean up the vertex program maximum length check.
18 年之前
Oliver McFadden
d0b3f3ce81
r300: Corrected indenting in r300_vertprog.c.
18 年之前
Oliver McFadden
79773ba13a
r300: Major vertex program code clean up and rework.
18 年之前
Oliver McFadden
b0f0b4044c
r300: Replaced the ugly VERTEX_SHADER_INSTRUCTION typedef.
18 年之前
Roland Scheidegger
99c7e38d83
change back driver change from previous commit
18 年之前
Roland Scheidegger
a1ec23a30f
fix bogus fb/drawable information (fixes xdemos/wincopy)
the framebuffer objects attached to drawables can have invalidate state
associated with them, since for the window framebuffer this is per-context
state and not per-fbo state. Since drivers may rely on that information
(otherwise would need to check if currently the window-framebuffer is
bound in a lot of places) fix it up in _mesa_make_current (ugly).
18 年之前
Roland Scheidegger
8172f50419
fix the texture copypixels path
18 年之前
Roland Scheidegger
cd3afa2a95
begin getting rid of fake clip rects (copy_pixel)
18 年之前
Oliver McFadden
9457bf62bb
r300: Gracefully exit after GART memory is exhausted.
18 年之前
Oliver McFadden
393558a933
r300: Disable vertex program point size; it's almost certainly wrong.
See the conversation between myself and Tommy Schultz Lassen on mesa3d-dev.
18 年之前
Oliver McFadden
491f646c79
r300: Clean up the vertex program output assignment.
18 年之前
Patrice Mandin
24f85f047b
nouveau: nv10 and nv11,15 are different
18 年之前
Roland Scheidegger
a04056d313
fix assertion, z/stencil swarst readback, (still looks suspicious) copyTexSubimage
18 年之前
Jan Dvorak
5a0f02a394
fix shader/info string length queries (bug 11588)
18 年之前
Brian
f0636d9653
Fix setup.light_twoside determination.
When a vertex program is used, use value of GL_VERTEX_PROGRAM_TWO_SIDE.
Otherwise, if FF lighting, use value of GL_LIGHT_MODEL_TWO_SIDE.
18 年之前
Brian
a2e471e05e
press 'f' to toggle front-face winding
18 年之前
Brian
dc313b5783
Fix more polygon winding, culling confusion.
If the determinant of the triangle is positive, its winding is CCW (right-handed coord system).
18 年之前
Roland Scheidegger
f022bff5aa
bugfixes (wrt fb updates), cleanups
move drawable validation back to where it was now that the driDrawable
information isn't used directly anymore.
Fix bogus fb updates (the context we get for SwapBuffer processing
may not have the drawable being processed attached!)
glthreads behaves a bit better but still not correct.
18 年之前
Brian
2bf4a500de
Fix for-loop in interp() so we don't go out of bounds.
Improved comments for that loop.
Added some sanity check assertions regarding vertex layout.
18 年之前
Brian
5810b40d6e
set INTERP_CONSTANT when appropriate
Not really signficant now since draw_flat stage copies the provoking
vertex color to all prim verts.
18 年之前
Brian
a47b5764c0
comments
18 年之前
Brian
a6eccf9e4f
Enable Keith's branch-less stipple code - it works.
18 年之前
Brian
80362a90d8
Add 'prim' field to quad so that stipple and aa coverage stages can do the right thing.
18 年之前
Brian
46bba80a54
Implement AA points and AA coverage application in quad pipeline.
18 年之前
Brian
5796056e28
press 's' to toggle smoothing
18 年之前
Brian
563479552e
Added basic occlusion counting
18 年之前
Brian
676fcf0de2
minor rename
18 年之前
Ben Skeggs
8fcfaa3238
Play "nuke the typedef"
18 年之前
Keith Whitwell
aa0f415c8d
Add conditional-free implementation (disabled, not tested)
18 年之前
Keith Whitwell
60a21f6c54
Simplify slightly.
Don't bother trying to save a small memcpy.
18 年之前
Oliver McFadden
5ec66cf62d
Revert "r300: Corrected off-by-one error in r300_vertprog.c."
This reverts commit 07ac2386f5
.
18 年之前