Brian
b755a2d9de
Minor clean-up of polygon offset logic. Properly compute _MRD field.
18 лет назад
Brian
34f6243bef
Improve this demo in a few ways.
1. Use more reasonable hither/yon clip planes to make better use of shallow
(16-bit) z buffers.
2. Use different colors on cube faces to help detect Z fighting if it occurs.
3. Report GL_DEPTH_BITS on start-up.
18 лет назад
Brian
2371ed36f7
remove unused hw_data_offset
18 лет назад
Brian
46d75518fa
disable debug printfs
18 лет назад
Brian
8db689350d
remove glDepthFunc(GL_LEQUAL) change from prev commit
18 лет назад
Brian
aac2129663
Fix broken depth offset.
The edge vectors were totally wrong.
Need to multiply bias units by the min resolvable depth delta.
18 лет назад
Roland Scheidegger
9870f7bccc
restrict blitted area to size of rendered area
18 лет назад
Tommy Schultz Lassen
ee7fece054
r300: Added support for Back Facing Color.
18 лет назад
Tommy Schultz Lassen
4bd04c9851
r300: Corrected r300UpdateCulling; would only set font face if culling was set.
18 лет назад
Brian
bc4dd63f12
Obsolete file.
18 лет назад
Brian
e89bd0fbc5
Implement polygon stipple state tracking, application.
18 лет назад
Patrice Mandin
922dadf422
nouveau: nv20 does not support hw scissors
18 лет назад
Keith Whitwell
20cf13e03b
Fix screen corruption on resize.
Move buffer resize check to immediately after swapbuffers.
Update cliprects inside the locked region of swapbuffers.
18 лет назад
Brian
300e97081e
need to clamp floats to [0,1] in write functions
18 лет назад
Brian
d6aa360edd
fix stencil logic error, use proper front/back face value
18 лет назад
Brian
0ac0fb91bd
Compute quad.facing from prim->det and polygon winding.
Updated comments/questions about area vs. prim->det.
18 лет назад
Roland Scheidegger
fb67b1609e
remove bogus assertion, change drawable updates
don't update driDrawable information until later at all
(blit needs fixing).
18 лет назад
Roland Scheidegger
eb2a896f68
drop some more code no longer needed
18 лет назад
Roland Scheidegger
43e24ff507
some fixes, fake frontbuffer
still doesn't work quite right (resize).
Fake frontbuffer doesn't copy in real frontbuffer.
Don't even think about doing rotation/page flip/triple buffering for now...
More cleanups needed (fake cliprects etc.)
18 лет назад
Brian
73daa68854
Checkpoint: stencil roughly working, some bugs to fix...
18 лет назад
Arthur Huillet
a8ec5dac3c
bumped nouveau DRM interface version number
18 лет назад
Brian
e6eca5c37e
Begin hooking up stenciling.
18 лет назад
Brian
227c95737b
clean-ups
18 лет назад
Brian
d015d2e0f4
Fill in remaining switch cases. Only call next stage if quad->mask != 0.
18 лет назад
Brian
093d1b42d0
remove debug printf
18 лет назад
Brian
a49a23efc5
Fix line clipping bug. New comments.
Need to use a new prim_header for the post-clipped line. Otherwise,
we were changing the header passed to us from the vb code. That messed
up the vertex pointers for the next line primitive.
18 лет назад
Brian
985e37eedb
clean-up, comments
18 лет назад
Brian
13aa51de41
clamp after offsetting, new comments
18 лет назад
Brian
6aa9c8ebc1
remove unneeded casts, added comments
18 лет назад
Brian
1deafdb1de
Do depth testing with integer values.
Using floats (and float->ushort->float conversion) introduces errors.
Only GLushort depth buffers work for now...
18 лет назад
Brian
f6dffd6ee7
fix problems with polygon offset
18 лет назад
Brian
5e4379b5a4
comments, clean-up
18 лет назад
Roland Scheidegger
1278514ff4
copybuffer/cliprect fixups
18 лет назад
Brian
720c0eb71d
added comments
18 лет назад
Brian
1fe4cf83cd
Fix front/back mix-up. added comments.
18 лет назад
Brian
24b68f4184
press 'f' to toggle GL_CCW/GL_CW front face
18 лет назад
Brian
9a89cc3b6b
use 'c' to cycle through polygon cull modes
18 лет назад
Brian
8733ee9dc9
use cursor keys to translate triangle
18 лет назад
Brian
17b86cfa4e
Comments, minor clean-up.
18 лет назад
Brian
e7a2085148
comments
18 лет назад
Brian
57a5385652
Added comments, assertions.
18 лет назад
Brian
8c1fa904ed
Fix EMIT_ATTR() to populate the draw->vf_attr_to_slot[] array.
Note that attribute index has to be biased by two, since vertex->data[]
starts after the header and clipcoord fields. See comments for details.
Added a bunch of comments/docs.
18 лет назад
Brian
d68ea4e23f
remove some dead/disabled stuff
18 лет назад
Roland Scheidegger
d348a48ac3
First attempt at using private back/z buffers.
Allocate and use private back and z/stencil buffers.
This is still very broken.
18 лет назад
Michel Dänzer
7c42222111
i915tex: Better procedure for dropping batchbuffer on virtual resolution change.
The previous procedure would often result in a GPU lockup.
18 лет назад
Michel Dänzer
f1e1b2ed16
i915tex: Only wait for vblank when really necessary.
This avoids superfluous waits for vblank timing out under some circumstances.
18 лет назад
Michel Dänzer
a903749b24
Clear pointers to freed cliprects.
Not doing this could lead to double frees under rare circumstances.
18 лет назад
Brian
f4053ce858
Remove softpipe includes
18 лет назад
Brian
ebafc193fa
s/G_/SP_/
18 лет назад
Brian
a380f98b6c
Rename G_NEW_* tokens to SP_NEW_*
18 лет назад