Marek Olšák
93c997a914
r300g: do not abort if a constant buffer is too large
...
What else can we do with misbehaving apps?
2010-05-14 19:00:55 +02:00
Marek Olšák
fc11653c2b
r300g: add framebuffer state debug logging
2010-05-14 19:00:55 +02:00
Marek Olšák
5a397d8e9f
r300g: sort out debug flags
2010-05-14 19:00:55 +02:00
Brian Paul
e6a7ee7fbb
egl: remove duplicate ARRAY_SIZE() macro declaration
2010-05-14 10:55:19 -06:00
Brian Paul
ffae54ec15
glxinfo: add queries and reporting for float and sRGB buffer types
...
Check for the GLX_ARB_fbconfig_float and GLX_NV_float_buffer extensions
to determine if color bufs are floating point.
Check for the GLX_EXT_framebuffer_sRGB extension to determine if the
framebuffer is sRGB capable.
Increase field size for some attribs (visual ID and buffer size) to
accomodate today's larger values.
Also print missing caveats info in verbose mode.
2010-05-14 10:55:19 -06:00
Patrice Mandin
33c08202a1
nouveau/nvfx: Define some capabilities for shaders
...
Signed-off-by: Patrice Mandin <patmandin@gmail.com>
2010-05-14 18:53:05 +02:00
Vinson Lee
12297f1f98
egl: Silence uninitialized variable warnings.
2010-05-14 08:59:42 -07:00
Brian Paul
1fbb50b740
mesa: print enum name instead of hexadecimal value in glGet errors
2010-05-14 08:25:25 -06:00
Brian Paul
39c13a115e
mesa: another transform feedback error check, 80-col wrapping
2010-05-14 08:17:02 -06:00
Alex Kozlov
34c20fd4f5
mesa: fpclassify dummy definition is not needed on FreeBSD.
2010-05-14 06:16:14 -07:00
Keith Whitwell
c7ac03d396
graw: add quad-tex graw test for basic texturing
2010-05-14 12:19:57 +01:00
Keith Whitwell
15321a55e5
graw: combine graw_init and graw_create_window functions
...
Different environments seem to want to create these in different
orders. Abstract over this by combining the calls.
2010-05-14 12:19:57 +01:00
Keith Whitwell
c267514470
graw: split util code into new file
2010-05-14 12:19:57 +01:00
Keith Whitwell
7375d7a5c9
graw: move towards glut-like interface, add tri.c
2010-05-14 12:19:57 +01:00
Keith Whitwell
39087f636a
scons: add 'targets' variable, for specifying ... targets
...
Ideally scons should be able to work backwards from the list of
targets to figure out which drivers, state trackers and other
convenience libraries need to be built.
2010-05-14 12:19:57 +01:00
Keith Whitwell
fc4d1b9ba9
util: fix copy_rect stride in default transfer_inline_write
2010-05-14 12:19:28 +01:00
Kristian Høgsberg
52c554a79d
egl: Implement EGL_NOK_swap_region
...
This extension adds a new function which provides an alternative to
eglSwapBuffers. eglSwapBuffersRegionNOK accepts two new parameters in
addition to those in eglSwapBuffers. The new parameters consist of a
pointer to a list of 4-integer blocks defining rectangles (x, y,
width, height) and an integer specifying the number of rectangles in
the list.
2010-05-13 20:30:45 -04:00
Marek Olšák
13ef7a4be8
r300g: fix for piglit/fp-indirections2
2010-05-14 00:27:52 +02:00
Brian Paul
f667526016
rtasm: fix void * / func * casting warnings
2010-05-13 14:15:44 -06:00
Brian Paul
56da0cb7ac
draw: silence casting warnings
2010-05-13 14:15:44 -06:00
Brian Paul
415c40735d
gallivm: silence uninitialized var warning
2010-05-13 14:15:44 -06:00
Brian Paul
d9096926f8
llvmpipe: silence casting warnings
2010-05-13 14:15:44 -06:00
Brian Paul
17542c1e3e
gallivm: silence casting warning
2010-05-13 14:15:44 -06:00
Brian Paul
c91d9cb563
gallivm: silence uninitialized var warning
2010-05-13 14:15:44 -06:00
Brian Paul
77ee438e61
llvmpipe: silence uninitialized var warnings
2010-05-13 14:15:44 -06:00
Brian Paul
966d28cb2e
llvmpipe: silence cast warnings in test programs
2010-05-13 14:15:44 -06:00
Brian Paul
45d6289fab
gallivm: added lp_dump_llvmtype() debug helper
2010-05-13 14:15:44 -06:00
Brian Paul
adc6e73538
llvmpipe: additional comments
2010-05-13 14:15:44 -06:00
Brian Paul
5b5ce16da5
gallivm: rename a var
2010-05-13 14:15:44 -06:00
Kristian Høgsberg
681fd73f1e
egl: Allow a prioritized list of default drivers
...
When there is no user driver or any matching display drivers we fall
back to the default driver. This patch lets us have a list of default
drivers instead of just one. The drivers are loaded in turn and we
attempt to initialize the display. If it fails we unload the driver
and move on to the next one.
Compared to the display driver mechanism, this avoids loading a number
of drivers and then only using one. Also, we call Initialize to see
if the driver will work instead of relying on Probe. To know for sure
that a driver will work, Probe really have to do a full Initialize, so
we will just use Initialize directly.
2010-05-13 16:14:07 -04:00
Kristian Høgsberg
7413d9ae9f
egl_dri2: Downgrade initialization errors to warnings
...
Don't want to shutdown everything if egl_dri2 fails to initialize.
2010-05-13 16:14:07 -04:00
José Fonseca
f19b202556
util: Fix ptr -> int conversion.
2010-05-13 21:14:39 +01:00
José Fonseca
c5c0e0172f
Conditionally revert "gallivm: Use a more compact approach for lp_build_broadcast_scalar()."
...
This reverts commit a09e46c724 .
2010-05-13 21:14:39 +01:00
Eric Anholt
c67d9d84f5
i965: Reduce a single GL_QUADS to GL_TRIANGLE_FAN.
...
This is similar to the GL_QUAD_STRIP -> TRIANGLE_STRIP optimization --
the GS usage to split the quads into tris is a huge bottleneck, so a
quick check improves glean blendFunc time massively (width * height of
the window of single-pixel GL_QUADS, many many times). This may also
end up helping with cairo performance, which sometimes ends up drawing
a single quad.
2010-05-13 13:02:09 -07:00
Eric Anholt
61aa9c86c2
intel: Don't update window system renderbuffers on TexImage.
...
While sometimes rendering occurs in the form of blits for TexImage, it
doesn't interact with the window system renderbuffers, so skip it.
2010-05-13 13:02:09 -07:00
Eric Anholt
165694ad65
mesa: Remove no-op wrappers around trig functions.
2010-05-13 13:02:09 -07:00
Eric Anholt
fef303bc94
mesa: Remove _mesa_pow(), which is always just pow().
2010-05-13 13:02:09 -07:00
Marek Olšák
60a0535101
r300g: fix texture transfers
...
The regression has first shown up after this state tracker change:
b0427bedde .
FDO bug #28082 .
2010-05-13 21:11:20 +02:00
Alan Hourihane
8b3bf9c299
mesa: silence compiler warning
2010-05-13 18:49:02 +01:00
José Fonseca
f379e7df4b
llvmpipe: Update instructions for MSVC builds.
2010-05-13 16:18:05 +01:00
Kristian Høgsberg
021a68b7e8
egl: Drop broken _EGL_PLATFORM_NO_OS code
...
It would do strlen(library_suffix()) in _eglLoaderFile(), with
library_suffix() returning NULL. So obviuosly not used or tested.
2010-05-13 08:59:56 -04:00
Kristian Høgsberg
41797e1659
egl: Don't try to load driver basename if the platform needs a suffix
...
That is, don't dlopen(egl_glx) when we know we need to append .so.
2010-05-13 08:28:45 -04:00
Vinson Lee
8230ead0cf
trace: Add missing header.
...
Fixes GCC implicit function declaration warning.
2010-05-13 01:47:31 -07:00
Vinson Lee
3f168eef09
st/mesa: Remove unnecessary header.
2010-05-13 01:37:44 -07:00
Vinson Lee
1775829f8c
gallium: Add tokens for Cygwin.
2010-05-13 01:25:07 -07:00
Vinson Lee
65e82f0404
trace: Remove unnecessary headers.
2010-05-13 01:18:35 -07:00
Marek Olšák
0ccc1367d7
r300g: re-order caps
2010-05-13 02:37:56 +02:00
Marek Olšák
dca2a9fcd4
r300g: fill out the shader limits
2010-05-13 02:37:56 +02:00
Jakob Bornecrantz
617c51daf2
trace: Update README
2010-05-12 23:07:17 +01:00
Jakob Bornecrantz
5d2e24fe18
rbug: Update and add READMEs
2010-05-12 23:06:54 +01:00