Commit graph

92185 commits

Author SHA1 Message Date
Zack Rusin
cf363ba307 Add debugging ifdefs to make it less verbose 2007-11-02 07:15:18 -04:00
Zack Rusin
45003b0bb9 Get fragment shaders working on top of LLVM.
Redo the entry points, get the output propagation correctly,
interpolate the inputs before feeding into llvm for now.
2007-11-02 07:15:18 -04:00
Zack Rusin
2af2f7e419 Change the fragment shader signature to better match actual
arguments that we need there.
2007-11-02 07:15:18 -04:00
Zack Rusin
25d91c23ff Add basic entry points for fragment shaders. 2007-11-02 07:15:17 -04:00
Zack Rusin
7ff0df6c2b Renaming llvmtgsi to gallivm. Taking first steps on the way to supporting
fragment shaders through llvm.
2007-11-02 07:15:17 -04:00
Brian
d8e66aca84 Start re-working SwapBuffers.
intelCopyBuffer() is now intelDisplayBuffer(): it displays the given surface
in the on-screen window.
Added a pipe_surface parameter to winsys->flush_frontbuffer().
Front buffer rendering/flushing actually works now.
But, we should only allocate the front surface on demand...
2007-11-01 18:37:00 -06:00
Brian
28bed6d355 Use new state tracker context/destroy funcs with wrap Mesa context. 2007-11-01 18:01:47 -06:00
Brian
80d2658e12 Sketch out new create/destroy context functions which create/wrap a Mesa context. 2007-11-01 18:01:47 -06:00
Brian
7cafaff0eb disable the driverContext assertions 2007-11-01 18:01:47 -06:00
Brian
64988ff7fe silence the finalize_mipmap_tree msg 2007-11-01 18:01:47 -06:00
Brian
15c565b018 don't call _mesa_init_driver_functions() 2007-11-01 18:01:47 -06:00
Brian
ca123a69fa remove _mesa_init_driver_functions() 2007-11-01 18:01:47 -06:00
Brian
f8549e8f4f plug in _mesa_test_proxy_teximage, temporarily 2007-11-01 18:01:47 -06:00
Brian
2072a9c6d0 remove dead code 2007-11-01 18:01:47 -06:00
Brian
308bc50dc2 remove unneeded tnl stuff 2007-11-01 18:01:47 -06:00
Brian
b1ed405cfc remove old comment about tnl/vf 2007-11-01 18:01:47 -06:00
José Fonseca
54be3a7add Reserve the right number of dwords for hardware state, and handle the case where it fails. 2007-11-01 22:23:46 +00:00
Brian
c4e9bfedbc Obsolete file 2007-11-01 13:06:53 -06:00
Brian
ea50025c76 remove xmesa_set_renderbuffer_funcs() 2007-11-01 13:06:29 -06:00
Brian
a00bd3fc2f disable/omit renderbuffer span code 2007-11-01 12:57:48 -06:00
Brian
6180895553 disable/omit renderbuffer span code 2007-11-01 12:57:26 -06:00
Brian
1c8d064c39 remove unused funcs, macros 2007-11-01 12:55:20 -06:00
Brian
b2fabbc197 xget_image() wrapper to catch BadMatch errors 2007-11-01 12:54:30 -06:00
Brian
ea816fd6db move dither kernels to xm_surface.c 2007-11-01 12:37:13 -06:00
Brian
ef35f664ca fix some tile clipping bugs 2007-11-01 12:36:09 -06:00
Brian
cd132354dd move CLIP_TILE, add comments 2007-11-01 12:26:37 -06:00
Brian
d0dde6e26c rewrite xmesa_get_tile_rgba() to not use span funcs 2007-11-01 12:24:36 -06:00
Brian
ba0b1bdc33 reimplement xmesa_put_tile_rgba() w/out span funcs 2007-11-01 12:08:01 -06:00
Brian
a333088986 implement get/put_tile() for xlib driver 2007-11-01 11:23:50 -06:00
Brian
0d6608ee68 Implement surface clearing w/out dependency on XMesa/Mesa stuff. 2007-11-01 10:52:31 -06:00
Brian
351a83163a remove dead code in _mesa_new_program() 2007-11-01 09:00:26 -06:00
Dan Nicholson
01b18abf93 Add -fno-strict-aliasing workaround for all GCC targets
Use a GCC option to work around aliasing bugs. See commit 013dbcd for
more details.
2007-11-01 06:03:31 -07:00
Dave Airlie
ee793281b2 nouveau: ppc, swap fragment programs on big endian systems.
Thanks to the PS3 RSX project for figuring this out.
2007-11-01 19:19:45 +11:00
Brian
b7611770ea make winsys objects singletons, comments 2007-10-31 19:00:23 -06:00
Brian
4c7be3faa3 Clean up xmesa winsys stuff
Plug xmesa_is_format_supported() into the softpipe_winsys object.
2007-10-31 18:29:00 -06:00
Brian
1103e9c3d0 update comments for pipe_context 2007-10-31 18:19:46 -06:00
Dave Airlie
1b880c7e3c i915: make i915 use the cached mappings for batch/buffer objects.
This should restore gears speed on 9xx hardware
2007-11-01 10:41:39 +11:00
Dan Nicholson
dbcd20f1c2 configs: Set -fexceptions for GLUT on linux-dri like other targets
Quite a while ago, the GCC option -fexceptions was added for building
libglut. See here:

  http://article.gmane.org/gmane.comp.video.mesa3d.devel/9499

This was missing in the linux-dri targets.
2007-10-31 16:18:29 -07:00
Brian
1e3651569b remove some extension #defines 2007-10-31 16:01:18 -06:00
Brian
3feca9b5fc Obsolete 2007-10-31 16:00:14 -06:00
Brian
b60f88aec6 remove xm_dd.c from build 2007-10-31 15:59:47 -06:00
Brian
869318db64 move few remaining bits of xm_dd.c into xm_api.c 2007-10-31 15:59:24 -06:00
Dan Nicholson
d7eb97bbc3 confdiff.sh: A testing script for comparing configs settings
This is a simple script that compares the make variables set by two
different configs stubs. The purpose is to highlight differences so
that any unnecessary duplication or divergence can be removed.

For example, on Linux x86:
    $ ./bin/confdiff.sh linux linux-x86

The output isn't very clean, but it should highlight that the only
difference is that the x86 target uses x86 assembler sources.

The script uses bash, mktemp, make, sed and diff. It is probably not
very portable and might only work on GNU make.
2007-10-31 14:59:13 -07:00
Brian
3023756684 move dither kernels/tables to xm_span.c 2007-10-31 15:57:57 -06:00
Brian
a778d60076 Remove xmesa_update_state(), which was called by ctx->Driver.UpdateState() 2007-10-31 15:32:16 -06:00
Brian
8d0d6f04a1 move surface clear functions to xm_buffer.c 2007-10-31 15:27:09 -06:00
Dan Nicholson
c3b5adaa9a configs: Always use -fPIC for shared libraries, never for static
Mesa currently disables -fPIC for DRI on x86, but most Linux distros are
re-enabling -fPIC for all DRI arches. Let's just do that here since
that's normally what's wanted for shared libraries. Some justification:

http://bugs.gentoo.org/show_bug.cgi?id=110840#c9

On the other hand, position-independent code is only necessary when
building shared libraries, so disable it for the static cases.
2007-10-31 14:19:20 -07:00
Brian
30fb4c43b0 clean-up includes 2007-10-31 15:16:22 -06:00
Brian
e5ff772523 remove HPCR support 2007-10-31 15:13:29 -06:00
Brian
017d08a5e0 get rid of xmesa_clear_buffers() 2007-10-31 15:08:19 -06:00