Eric Anholt
92d7ed8a20
mesa: Add support for ARB_draw_elements_base_vertex.
16 years ago
Eric Anholt
ec9e729580
glapi: Add ARB_draw_elements_base_vertex
16 years ago
Eric Anholt
b11a8ea863
mesa: Expose NV_depth_clamp if ARB_depth_clamp is supported.
The wording of these two is exactly the same, except for the issue
"Can fragments with wc<=0 be generated when this extension is supported?",
which idr thinks is a non-issue for us.
16 years ago
Eric Anholt
0310aafd9e
i965: Add support for ARB_depth_clamp.
16 years ago
Eric Anholt
0e5c2598ec
Regenerate files for GL_ARB_depth_clamp.
16 years ago
Eric Anholt
b4922b5331
mesa: Add support for ARB_depth_clamp.
This currently doesn't include fixing up the cliptests in the assembly
paths to support ARB_depth_clamp, so enabling depth_clamp forces the C path.
16 years ago
Eric Anholt
3e4539a471
i965: Respect spec requirement for pixel shader computed depth with no zbuffer.
16 years ago
Eric Anholt
15c0cc5cf4
i965: Set NULL WM surfaces as tiled according to requirement by specs.
16 years ago
Eric Anholt
ea6dab2537
i965: Use the renderbuffer surface size instead of region size for WM surfaces.
For drawing to lower mipmap levels, the region size makes the renderbuffer
be the size of the lowest level, instead of the current level. On DRI1,
Brian previously found that the RB size was incorrect, so leave this broken
there.
16 years ago
Eric Anholt
58a57e3fc4
Revert "intel: helper to debug bufmgr (disabled)"
This reverts commit e0ec405a9f
.
This is already available in INTEL_DEBUG=bufmgr in the environment.
16 years ago
Brian Paul
b2de028523
i965: #include clean-ups
16 years ago
Brian Paul
e61215242b
intel: #include clean-ups
16 years ago
Brian Paul
8e8d3470be
i965: use _mesa_is_bufferobj()
Also, remove unneeded call to _mesa_validate_pbo_access(). It's done by
core Mesa as the comment suggested.
16 years ago
Brian Paul
ced699b37a
i965: use _mesa_is_bufferobj()
16 years ago
Brian Paul
abdf2e14bc
i965: use _mesa_is_bufferobj()
16 years ago
Brian Paul
00aac1d29a
i965: use _mesa_is_bufferobj()
16 years ago
Alex Deucher
e6ad286a80
r600: fix dri2 clipping
16 years ago
Michel Dänzer
e34ea368d9
st/xorg: Add support for EXA_MIXED_PIXMAPS and EXA_SUPPORTS_PREPARE_AUX.
Also make sure not to leak malloced memory when switching pixmaps to texture
based.
16 years ago
Vinson Lee
2c307c7750
scons: Add Mac OS to target platform list.
16 years ago
Michal Krol
fcb94f6e3e
gdi: Fix prototype of gdi_softpipe_surface_buffer_create().
16 years ago
Vinson Lee
79f48c9f9e
scons: Don't set LLVM_VERSION if one of the llvm-config calls fails.
Ubuntu 8.10 has llvm-config version 2.2, which doesn't have
nativecodegen. This triggers an exception.
16 years ago
José Fonseca
b481fb2c6d
llvmpipe: Silent debug statement.
16 years ago
José Fonseca
1127201088
llvmpipe: Better abs for floating points.
16 years ago
José Fonseca
e4c76c02f7
llvmpipe: Code generate the texture sampling inside the shader.
Finally a substantial performance improvement: framerates of apps using
texturing tripled, and furthermore, enabling/disabling texturing only
affects around 15% of the framerate, which means the bottleneck is now
somewhere else.
Generated texture sampling code is not complete though -- we always
sample from the base level -- so final figures will be different.
16 years ago
José Fonseca
de8376e2f2
llvmpipe: Texture sampling code generation primitives.
Only supports single level 2d textures, with neareast and bilinear
filtering for now.
16 years ago
José Fonseca
0c2ea24338
llvmpipe: Convenience function to obtain the integer type with same bitdepth of an arbitrary type.
16 years ago
José Fonseca
fa0f4b35be
llvmpipe: Utility functions for linear and bilinear interpolation.
16 years ago
José Fonseca
4da20234f3
llvmpipe: Correct implementation of floor.
16 years ago
José Fonseca
b1eff018c7
llvmpipe: Utility function to get the pointer to a structure member.
16 years ago
José Fonseca
866fbacf2b
llvmpipe: SoA pixel unpacking specialization.
16 years ago
José Fonseca
6b129a8222
util: Utility function to check if a number is a power of two.
16 years ago
José Fonseca
8be72bb764
llvmpipe: Further abstract the texture sampling generation from TGSI translation.
16 years ago
Michal Krol
970823978c
mesa: Include <unistd.h> only when one is available.
16 years ago
Michal Krol
826d441cdf
mesa: Fix calling conventions of sync object api callbacks.
16 years ago
Michel Dänzer
617202b578
r300g: Fix some issues pointed out by compiler warnings.
16 years ago
Michel Dänzer
7b8ec0d8e7
r300g: Handle PIPE_BUFFER_USAGE_DONTBLOCK as intended.
Return NULL if the BO is busy, otherwise just map it.
16 years ago
Brian Paul
23663ae914
mesa: initial version of _mesa_meta_generate_mipmap()
Incomplete and totally untested. Based on intel_generate_mipmap().
16 years ago
Brian Paul
4d63c626d0
xlib: test _mesa_meta_bitmap()
16 years ago
Brian Paul
886e7b318d
mesa: use separate temp texture for bitmaps
16 years ago
Brian Paul
b2951ffe96
mesa: temp_texture changes
16 years ago
Brian Paul
f477fa7a85
mesa: free meta bitmap buffers
16 years ago
Brian Paul
0e5293a240
mesa: use _mesa_set_enable()
16 years ago
Brian Paul
bcb62ae78a
mesa: _mesa_meta_bitmap() function
16 years ago
Brian Paul
4fdc96db1d
xlib: move misplaced brace
16 years ago
Nicolai Hähnle
1ddb22675c
r300g: Fix a number of warnings
Seriously guys....
16 years ago
Nicolai Hähnle
4b01e6f614
r300g: Debug flags infrastructure
So that debugging is no longer a full-spam-or-nothing approach, you are now
supposed to set the RADEON_DEBUG environment flag just like for classic Mesa.
The available debug flags are different, however. Just running an OpenGL
application with RADEON_DEBUG set to an arbitrary string will print out
helpful information.
Everything must be compiled with -DDEBUG for any of this to work
16 years ago
Cooper Yuan
9778731732
r300g: update the value of register VAP_VF_MAX_VTX_INDX
according to actual vertex index count.
16 years ago
Cooper Yuan
80ea03bd17
r300g: update rs_block state after changing rasterizer
16 years ago
Cooper Yuan
8f990f928b
r300g: need to validate scissor and viewport state if bind new rasterizer
16 years ago
Alex Deucher
9ab19a3900
r600: add support for EXT_texture_sRGB
16 years ago