Xiang, Haihao
bad6e175cf
i965: store read drawable info in intel_context. Some OpenGL
...
operations are based on read drawable. fix bug#10136.
2007-08-29 15:11:10 -04:00
Xiang, Haihao
f6a89e1884
i965: check NULL pointer. fix bug#12193
2007-08-29 13:03:34 -04:00
Xiang, Haihao
410d8f7cdb
i965: samplers group in fours in WM_STATE. fix bug#9415
2007-08-29 10:13:10 -04:00
Keith Packard
500193dca8
Add register defines for hw binning
2007-08-28 12:27:51 -07:00
Xiang, Haihao
c235cc71a2
i965: flush batch buffer when getting the maximum. This makes
...
some 3D programs such as pymol work well.
2007-08-28 11:35:52 -04:00
Brian
3a484cd794
added --noclear option to demonstrate rendering without glClear
2007-08-27 12:00:19 -06:00
Colin McDonald
d62be3d4ca
fixed problem with big glDrawArrays (see bug 12141)
2007-08-27 10:47:32 -06:00
Brian
f0a036bad9
new __gluInvertMatrix() function (Mesa bug 6748)
2007-08-27 10:36:11 -06:00
Patrice Mandin
c28ea5573d
nouveau: nv10: set total stride of vertex array for POS attribute
2007-08-27 11:45:30 +02:00
Patrice Mandin
24967c8646
nouveau: nv10: also set modelview0 matrix to identity
2007-08-25 17:46:53 +02:00
Patrice Mandin
40ecc4a359
nouveau: nv10: add a scissor func, do not cache viewport settings
2007-08-25 12:36:03 +02:00
Patrice Mandin
1a911aad0a
nouveau: nv10: properly set viewport and projection
2007-08-25 11:39:04 +02:00
Brian
f8e4cf716a
remove CallDepth++/-- accidentally removed in prev commit
2007-08-24 08:45:37 +01:00
Adam Jackson
1f8616e622
Unbreak Linux builds with -fvisibility=hidden.
2007-08-23 18:38:02 -04:00
Brian
4b654d41da
For _mesa_share_state(), update the context's references to the new share group's objects (Shane Blackett)
2007-08-23 08:53:43 +01:00
Brian
dbef6158c6
remove unneeded CallStack array
2007-08-23 08:19:31 +01:00
Patrice Mandin
a3750c989b
nouveau: nv10: set projection matrix from viewport size
2007-08-22 11:01:59 +02:00
Patrice Mandin
24746d0e32
nouveau: nv10: initialize more of nv10 tcl engine
2007-08-22 10:28:13 +02:00
Patrice Mandin
3d508a5d7b
nouveau: nv10: Move some initialization stuff
2007-08-21 16:55:42 +02:00
Patrice Mandin
a6d35694c4
nouveau: Use proper notifier object
2007-08-21 16:53:13 +02:00
Patrice Mandin
c6e729377c
nouveau: nv10: Remove commented, unsupported by hw command
2007-08-21 16:52:10 +02:00
Patrice Mandin
07b7e97fb4
Use correct object for GART
2007-08-20 19:36:52 +02:00
Brian
d8c6719f95
refactor bounds checking code
2007-08-20 13:12:20 +01:00
Brian
a3c3bc9ece
don't map buffer in _mesa_validate_DrawElements() unless needed
2007-08-20 12:56:34 +01:00
Patrice Mandin
ef71a0fd45
nouveau: nv10: only one color buffer atm
2007-08-19 20:12:26 +02:00
Brian
53cf87be1b
some fixes for compressed cube maps (bug 11986)
2007-08-18 16:25:16 +01:00
Brian
95e84a09ce
remove dead code left over after fixing GL_READ/DRAW_BUFFER state issues
2007-08-18 16:11:31 +01:00
Xiang, Haihao
dcfdb63b9f
Brian's fix for bug9829
2007-08-17 13:36:13 -04:00
Xiang, Haihao
00b86ecf6f
i965: align width/height for volume texture
2007-08-17 12:42:52 -04:00
Eric Anholt
3e168a0ec8
Convert TTM code to require the server provide buffers for front/back/depth.
...
This removes the use of fake buffers from the driver, such that it could
probably be removed from the interface. It also should assist in proper
synchronization of access.
2007-08-16 14:38:33 -07:00
Eric Anholt
b6ad5e7de8
Move i915_disasm to later so we can use the hardware offset.
2007-08-16 14:37:26 -07:00
Eric Anholt
64297acf9e
Fix bad printf on TTM fence_wait failure.
2007-08-16 14:35:06 -07:00
Eric Anholt
2b77a8696b
Don't forget to update buffer offset after validation.
2007-08-16 14:34:24 -07:00
Eric Anholt
327e655119
Add decode for XY_COLOR_BLT and XY_SRC_COPY_BLT.
2007-08-16 14:28:12 -07:00
Patrice Mandin
b902a223c4
nouveau: nv10: clear a buffer
2007-08-16 21:50:34 +02:00
Patrice Mandin
a60695ebaf
nouveau: nv10: add function to clear a buffer
2007-08-16 21:31:30 +02:00
Patrice Mandin
fe78980580
nouveau: store render buffer pointers in context, to access them when clearing buffer
2007-08-16 21:28:40 +02:00
Patrice Mandin
f5ed049655
nouveau: nv10: create objects needed to clear buffer
2007-08-16 20:53:29 +02:00
Brian
32d86eb28a
Rework the GL_READ_BUFFER, GL_DRAW_BUFFER state repairs that Roland previously did.
...
Basically, in update_framebuffer() (which should be called after an FBO is bound
with MakeCurrent or BindFramebuffer) we check if the FBO is a window-system FBO.
If it is, update the FBO's GL_READ/DRAW_BUFFER state according to the context state.
Old code still in place but disabled with #if 0 / #endif.
2007-08-16 18:52:48 +01:00
Brian
c033ccc36d
update comments, etc related to Read/DrawBuffer state
2007-08-16 16:49:35 +01:00
Brian
c5a5d12743
remove reference to ctx->Color.DrawBuffer
2007-08-16 16:43:31 +01:00
Brian
09867b53a9
replace Proxy1D/2D/etc fields with ProxyTex[] array
2007-08-16 11:06:39 +01:00
Brian
fe46900703
Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX.
...
Simplification in colortab.c too.
2007-08-16 11:06:13 +01:00
Brian
0135ff512d
replace separate 1D/2D/etc fields with an array indexed by texture target
2007-08-16 10:28:23 +01:00
Brian
b3e3e72e25
remove old Saved1D/2D/etc fields
2007-08-16 10:27:24 +01:00
Brian
145d762044
Bring over the texobj refcounting changes from mesa_7_0_branch
2007-08-16 10:05:00 +01:00
Michel Dänzer
2193c4de83
i915tex: Unreference texture buffers on context destruction.
...
Not doing this could cause the buffers to leak under some circumstances.
2007-08-16 08:46:55 +02:00
Roland Scheidegger
a6d4dddb38
suppress warning about ncon visuals (bug #6689 )
2007-08-16 02:41:03 +02:00
Xiang, Haihao
ab99960858
i965: use BRW_TEXCOORDMODE_CLAMP instead of BRW_TEXCOORDMODE_CLAMP_BORDER
...
to implement GL_CLAMP
2007-08-15 13:28:00 +08:00
Ben Skeggs
c2ac825e67
nouveau: Use half the notifier block for query objects.
2007-08-15 14:31:26 +10:00