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.
2009-09-08 14:28:23 -07:00
Brian Paul
42943a4cf9
mesa: bump version to 7.5.2
...
I'm not 100% sure there'll be a 7.5.2 release, but just in case.
2009-09-08 14:45:27 -06:00
Brian Paul
b2de028523
i965: #include clean-ups
2009-09-08 14:33:47 -06:00
Brian Paul
e61215242b
intel: #include clean-ups
2009-09-08 14:33:47 -06:00
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.
2009-09-08 14:33:47 -06:00
Brian Paul
ced699b37a
i965: use _mesa_is_bufferobj()
2009-09-08 14:33:47 -06:00
Brian Paul
abdf2e14bc
i965: use _mesa_is_bufferobj()
2009-09-08 14:33:47 -06:00
Brian Paul
00aac1d29a
i965: use _mesa_is_bufferobj()
2009-09-08 14:33:47 -06:00
Alex Deucher
e6ad286a80
r600: fix dri2 clipping
2009-09-08 16:03:25 -04:00
Brian Paul
8de625c7cf
i965: fix incorrect test for vertex position attribute
2009-09-08 12:21:42 -06:00
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.
2009-09-08 18:08:24 +02:00
Brian Paul
18bdb6e712
egl: also use X types for building on Apple/MacOS X
...
See bug 20413.
2009-09-08 09:20:43 -06:00
Vinson Lee
2c307c7750
scons: Add Mac OS to target platform list.
2009-09-08 12:32:37 +01:00
Michal Krol
fcb94f6e3e
gdi: Fix prototype of gdi_softpipe_surface_buffer_create().
2009-09-08 10:22:07 +02:00
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.
2009-09-07 15:16:25 +01:00
José Fonseca
b481fb2c6d
llvmpipe: Silent debug statement.
2009-09-07 15:02:08 +01:00
José Fonseca
1127201088
llvmpipe: Better abs for floating points.
2009-09-07 15:02:08 +01:00
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.
2009-09-07 15:02:08 +01:00
José Fonseca
de8376e2f2
llvmpipe: Texture sampling code generation primitives.
...
Only supports single level 2d textures, with neareast and bilinear
filtering for now.
2009-09-07 15:02:07 +01:00
José Fonseca
0c2ea24338
llvmpipe: Convenience function to obtain the integer type with same bitdepth of an arbitrary type.
2009-09-07 15:02:07 +01:00
José Fonseca
fa0f4b35be
llvmpipe: Utility functions for linear and bilinear interpolation.
2009-09-07 15:02:07 +01:00
José Fonseca
4da20234f3
llvmpipe: Correct implementation of floor.
2009-09-07 15:02:07 +01:00
José Fonseca
b1eff018c7
llvmpipe: Utility function to get the pointer to a structure member.
2009-09-07 15:02:07 +01:00
José Fonseca
866fbacf2b
llvmpipe: SoA pixel unpacking specialization.
2009-09-07 15:02:06 +01:00
José Fonseca
6b129a8222
util: Utility function to check if a number is a power of two.
2009-09-07 15:02:06 +01:00
José Fonseca
8be72bb764
llvmpipe: Further abstract the texture sampling generation from TGSI translation.
2009-09-07 15:02:06 +01:00
Michal Krol
970823978c
mesa: Include <unistd.h> only when one is available.
2009-09-07 09:31:17 +02:00
Michal Krol
826d441cdf
mesa: Fix calling conventions of sync object api callbacks.
2009-09-07 09:16:35 +02:00
Peter Hutterer
bf19638a00
prog/glsl: fix Makefile for samplers_array.
...
The rule added in 488b3c4d1b does not use the
right INCDIR, breaking the build when GL isn't installed in the default include
paths.
7.5 branch only fix, already fixed in master by rewriting the Makefile
(ceb9459ed5 )
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-07 12:37:54 +10:00
Michel Dänzer
617202b578
r300g: Fix some issues pointed out by compiler warnings.
2009-09-06 18:12:14 +02:00
Michel Dänzer
7b8ec0d8e7
r300g: Handle PIPE_BUFFER_USAGE_DONTBLOCK as intended.
...
Return NULL if the BO is busy, otherwise just map it.
2009-09-06 18:12:14 +02:00
Brian Paul
23663ae914
mesa: initial version of _mesa_meta_generate_mipmap()
...
Incomplete and totally untested. Based on intel_generate_mipmap().
2009-09-06 09:39:50 -06:00
Brian Paul
4d63c626d0
xlib: test _mesa_meta_bitmap()
2009-09-06 09:37:30 -06:00
Brian Paul
886e7b318d
mesa: use separate temp texture for bitmaps
2009-09-06 09:37:30 -06:00
Brian Paul
b2951ffe96
mesa: temp_texture changes
2009-09-06 09:37:30 -06:00
Brian Paul
f477fa7a85
mesa: free meta bitmap buffers
2009-09-06 09:37:29 -06:00
Brian Paul
0e5293a240
mesa: use _mesa_set_enable()
2009-09-06 09:37:29 -06:00
Brian Paul
bcb62ae78a
mesa: _mesa_meta_bitmap() function
2009-09-06 09:37:29 -06:00
Brian Paul
4fdc96db1d
xlib: move misplaced brace
2009-09-06 09:37:29 -06:00
Nicolai Hähnle
1ddb22675c
r300g: Fix a number of warnings
...
Seriously guys....
2009-09-06 15:14:22 +02:00
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
2009-09-06 15:03:52 +02:00
Cooper Yuan
9778731732
r300g: update the value of register VAP_VF_MAX_VTX_INDX
...
according to actual vertex index count.
2009-09-05 20:58:32 +08:00
Cooper Yuan
80ea03bd17
r300g: update rs_block state after changing rasterizer
2009-09-05 14:26:39 +08:00
Cooper Yuan
8f990f928b
r300g: need to validate scissor and viewport state if bind new rasterizer
2009-09-05 10:26:39 +08:00
Alex Deucher
9ab19a3900
r600: add support for EXT_texture_sRGB
2009-09-04 18:46:16 -04:00
Alex Deucher
60ca65c016
r300: Add support for GL_EXT_provoking_vertex
2009-09-04 18:46:15 -04:00
Alex Deucher
8fd7586bcc
r600: Add support for GL_EXT_provoking_vertex
2009-09-04 18:46:15 -04:00
Eric Anholt
b2cba25f9e
i965: Fix warnings in intel_pixel_read.c.
...
(cherry picked from commit c80ce5ac90 )
2009-09-04 14:41:33 -07:00
Eric Anholt
cf820a045f
intel: Also get the DRI2 front buffer when doing front buffer reading.
...
(cherry picked from commit df70d3049a )
2009-09-04 14:40:21 -07:00
Eric Anholt
2855ee82c6
intel: Update Mesa state before span setup in glReadPixels.
...
We could have mapped the wrong set of draw buffers. Noticed while looking
into a DRI2 glean ReadPixels issue.
(cherry picked from commit afc981ee46 )
2009-09-04 14:40:15 -07:00