Brian
ba16243884
Fix parsing of gl_FrontLightModelProduct.sceneColor, don't segfault on variable array indexes.
18 years ago
Brian
c14d969a69
need to check border width in sample_linear_2d() - fixes failed assertion in texwrap.c test
18 years ago
Brian
0fd679a190
Consolidate point size computation, clamping in get_size().
Also, apply user-defined clamp limits to point size even when not using
attentuation or program-computed size.
18 years ago
Brian
ccb1c9df00
Print point/line size range limits
18 years ago
Roland Scheidegger
3d51c79001
fix z buffer read/write issue with rv100-like chips and old ddx
18 years ago
Eric Anholt
93c98a4669
[965] Replace 965 texture format code with common code.
The only functional difference should be that 965 now gets the optimization
where textures default to 16bpp when the screen is 16bpp.
18 years ago
Eric Anholt
e962997429
[965] Remove dead exec vfmt code which was replaced by generic vbo code.
18 years ago
Brian
827e72de75
clamp lambda to Min/MaxLod
18 years ago
Eric Anholt
3821d15e06
[965] Add INTEL_DEBUG=fall debugging output.
18 years ago
Eric Anholt
27674c4135
[965] Convert DBG macro to use FILE_DEBUG_FLAG like i915.
18 years ago
Brian
87373e3072
fix some texture format assertions, etc
18 years ago
Brian
22a374fc3f
fix out-of-bounds array index (ix=-1)
18 years ago
Eric Anholt
f00a64999c
[intel] Add 965 support to shared intel_blit.c
This requires that regions grow a marker of whether they are tiled or not,
because fence (surface) registers are ignored by the 965 2D engine.
18 years ago
Eric Anholt
9b461d4d02
[i915] Pass static region names in so debugging says more than "static region".
18 years ago
Eric Anholt
5ef6803b7a
[intel] Move additional code to be shared from intel_context.h to intel/.
18 years ago
Eric Anholt
5cdf3972de
[intel] Move intel_tex.h into place, forgotten in the previous commit.
18 years ago
Eric Anholt
8775bf475b
[965] Add batchbuffer decode for several more packets.
18 years ago
Eric Anholt
a66413874d
[intel] Fix typos in intel_chipset.h macros.
18 years ago
Eric Anholt
3bd07ba0d4
[i915] Add INTEL_DEBUG=sync debug flag to wait for fences after making them.
18 years ago
Eric Anholt
f7e0513d70
[i915] Reenable batchbuffer debug under INTEL_DEBUG=bat.
18 years ago
Eric Anholt
152aa6350d
[intel] Add some doxygen notes on what the bufmgr_fake block members mean.
18 years ago
Eric Anholt
c29e9e534e
[intel] Add a simple relocation cache to the fake buffer manager.
This is required for 965 performance, as it avoids a lot of repeated data
uploads of the state caches due to surface offsets in them.
18 years ago
Eric Anholt
4bc625e378
[intel] Assert against 0-sized buffers in dri_bufmgr_fake.c.
They shouldn't be created, and this often helps catch stupid issues.
18 years ago
Eric Anholt
00eb5635c6
[intel] Add support for multiple levels of relocation in bufmgr_fake.
This is required for 965 support, which has relocations in other places than
just the batchbuffer.
18 years ago
Eric Anholt
df3c530bed
[i915] Push locking in intelClearWithTris down inside meta_draw_poly.
The lock coverage and checks for cliprects were unneeded since the batchbuffer
will have INTEL_BATCH_CLIPRECTS anyway. It appeared to be a leftover from
intelClearWithBlit.
This makes the locking requirements of i915 meta_draw_quad match i965
meta_draw_quad.
18 years ago
Brian
8211b20026
added z/s keys to reset/step rotation
18 years ago
Brian
fb69fe58a0
Only emit texcoords for enabled units. Enable/disable units with 0..7 keys.
Also, asst. clean-ups.
18 years ago
Roland Scheidegger
96ba38a450
fix bogus assumption if ddx has set up surface reg for z buffer
this is wrong since even if ddx has not set up a surface reg to cover the z
buffer we should pretend it has on those rv100 chips since they presumably do
not do z buffer tiling if not using hyperz, so we can use linear addressing
just the same. Doesn't seem to fix #13080, but it's wrong anyway and the bug
almost certainly broke newer non-tcl chips.
18 years ago
Roland Scheidegger
dab7c810e9
fix position invariant vertex programs for sw-tnl
do the same math as for fixed function pipe, including
user clip planes.
(mostly resurrected from the dead t_vb_arbprogram.c code)
18 years ago
Brian
f6ab1347d6
remove dependency on libGLU
18 years ago
Brian
b87ce5be82
add glw.pc.in to tarball list, remove from DEPEND_FILES
18 years ago
Xiang, Haihao
9bf5da906f
i965: correct the opcode of XY_SETUP_BLT_CMD. fix bug #12730
18 years ago
Brian
578641941f
test that point/line/quad rendering hits the right pixels
18 years ago
Eric Anholt
9724dc1ac7
[i915] Remove old frontbuffer rotation hack.
This was replaced in previous releases of xserver/dri/libGL by reporting the
damage to the frontbuffer so that the server and driver could handle it
appropriately.
18 years ago
Eric Anholt
7d4b89a2b3
[intel] By default, output batchbuffer decode to stderr like other debug info.
18 years ago
Eric Anholt
38c616260a
[intel] Initialize a depth buffer if the visual has depth 24 but no stencil.
18 years ago
Eric Anholt
77a5bcaff4
[intel] Move over files that will be shared with 965-fbo work.
18 years ago
Brian
8b36166d29
check for texture and renderbuffer in check_end_texture_render()
18 years ago
Benno Schulenberg
4e91ad8c0e
code clean-ups, reformatting
18 years ago
Benno Schulenberg
d540e8e9df
remove commented-out code
18 years ago
Roland Scheidegger
7b3ab451a8
recreate from changed gl_API.xml
18 years ago
Roland Scheidegger
86a4810b09
alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)
these should be the same functions (as per spec).
18 years ago
Ian Romanick
d34caddb4e
Prevent loss of vectorequiv information when an alias follows the function being aliased.
18 years ago
Benno Schulenberg
1dfec88e72
fix Unichrome/Blender crash, bug 13142
18 years ago
Kristian Høgsberg
286ce27193
Fix compilation for !GLX_DIRECT_RENDERING.
18 years ago
Kristian Høgsberg
001de0ac4e
Remove a couple of "deprecated" fields from __GLXcontextRec.
The __GLXcontextRec struct is internal to the libGL implementation. No point
in "deprecating", just get rid of it.
18 years ago
Kristian Høgsberg
866d271aa8
Don't return 0 in a void function.
18 years ago
Michel Dänzer
badc061a65
r200: Re-expose SetTexOffset functionality.
This seems to have been mismerged with the DRI interface changes.
18 years ago
Michel Dänzer
5a322bc1b4
r200: Fix SetTexOffset format for 16 bit pixmaps/textures.
Use symbolic array indices to clarify.
18 years ago
Kristian Høgsberg
559ae0ab1b
Pass the visual id to XF86DRICreateContextWithConfig(), not fbconfig id.
18 years ago