Commit Graph

34535 Commits

Author SHA1 Message Date
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
Jakob Bornecrantz
2ebe0277d4 scons: Add -fvisibility=hidden to CFLAGS for gcc builds 2010-05-12 22:49:32 +01:00
Jakob Bornecrantz
0f9b496916 graw: Make functions public 2010-05-12 22:47:15 +01:00
Jakob Bornecrantz
9f7f711020 rbug: No need to have rbug as a input 2010-05-12 21:12:31 +01:00
José Fonseca
07d741926b gallivm: Ensure PIPE_OS_xxx are defined. 2010-05-12 20:48:27 +01:00
José Fonseca
a09e46c724 gallivm: Use a more compact approach for lp_build_broadcast_scalar().
It produces exactly the same machine code, but it cuts 5% of the
number of instructions generated for a typical shader.

Also, preserve the scalar when length is 1.
2010-05-12 20:40:31 +01:00
José Fonseca
648c9d5247 llvmpipe: Dump fs key's stencil state. 2010-05-12 20:40:14 +01:00
José Fonseca
994e45de49 util: Add function to dump PIPE_STENCIL_OP_xxx 2010-05-12 20:40:07 +01:00
José Fonseca
5326e1846d llvmpipe: Enable mem2reg pass even with LP_DEBUG=nopt.
Otherwise things start crashing.
2010-05-12 20:18:32 +01:00
Jakob Bornecrantz
53cbb81576 rbug: Add to all targets that link against trace
Also added calls to the create function in target helpers and in
tr_drm.c the latter being a hack and should be replaced with the
wrap screen target helper. But at least this way we don't regress.
2010-05-12 20:15:23 +01:00
Jakob Bornecrantz
5494332128 trace: Remove rbug from trace 2010-05-12 20:15:23 +01:00
Jakob Bornecrantz
395e9449ca rbug: Use container of macro 2010-05-12 20:15:23 +01:00
Jakob Bornecrantz
f6946c9214 rbug: Fix draw blocking 2010-05-12 20:15:23 +01:00
Jakob Bornecrantz
73684216ba rbug: Fix sampler views and surfaces in context info 2010-05-12 20:15:23 +01:00
Jakob Bornecrantz
21b668e11e rbug: Fix shaders 2010-05-12 20:15:23 +01:00
Jakob Bornecrantz
2c3fb4ecce rbug: Break out of trace 2010-05-12 20:15:23 +01:00
Brian Paul
92b1908db8 gallivm: additional comments 2010-05-12 12:43:09 -06:00
Brian Paul
c722029f3a llvmpipe: s/bool/boolean/ in test progs 2010-05-12 12:43:09 -06:00
Brian Paul
f81ec062c2 gallivm: s/bool/boolean 2010-05-12 12:43:09 -06:00
Brian Paul
5b876241a0 gallivm: rename vars, update comments, etc 2010-05-12 12:43:09 -06:00
Kristian Høgsberg
880acbe177 egl_dri2: Zero out driver struct
Otherwise testing ->Probe for non-NULL and calling it goes boom.
2010-05-12 14:34:55 -04:00
Corbin Simpson
5f161261c7 r300g: Correct viewport setup for SW TCL.
glxgears now renders in the right place on-screen, although it is still
rather...psychedelic.
2010-05-12 10:16:19 -07:00
Corbin Simpson
3bb1724f37 r300g: Add VBO dumper for SW TCL.
Commented out, not easily enabled. *Very* noisy.
2010-05-12 10:16:19 -07:00
Corbin Simpson
505bea8355 r300g: Immediate mode won't work with SW TCL right now.
This could be done later of course. SW TCL should have a much different
threshold because it's much more worth it.
2010-05-12 10:16:19 -07:00
Corbin Simpson
c037c376fb r300g: Fix indentation. 2010-05-12 10:16:19 -07:00
Brian Paul
fcf532ce6f gallivm: comment out LLVMUnionTypeKind case 2010-05-12 10:54:45 -06:00
Brian Paul
1cd31459af gallivm: rename texel result param
Be clear that this parameter returns four texel channel results.
2010-05-12 10:38:00 -06:00
Brian Paul
0a0d176163 gallivm: add a few comments 2010-05-12 10:38:00 -06:00
Brian Paul
3f6dc8e79d gallivm/llvmpipe: add const qualifiers 2010-05-12 10:38:00 -06:00
Brian Paul
3dcb25364f gallivm: added lp_typekind_name() util function 2010-05-12 10:37:59 -06:00
Brian Paul
6080e567f0 tgsi: also count instructions in tgsi_scan_shader() 2010-05-12 10:37:59 -06:00
José Fonseca
cf9baf68cb llvmpipe: Handle PIPE_CAP_GUARD_*.
Without asserting.
2010-05-12 17:25:17 +01:00