Commit graph

13336 commits

Author SHA1 Message Date
José Fonseca
5fa6ea6858 Do something sensible when failed to reserve space in the batch buffer. 2007-11-03 02:01:32 +00:00
José Fonseca
5c1606a2b3 Detail i915 winsys interface comments. 2007-11-03 02:01:32 +00:00
José Fonseca
3c393b8df3 Render primitives using indirect vertices in a vertex buffer. 2007-11-03 02:01:31 +00:00
Zack Rusin
16fe6a0f2d Cleanups.
Remove some debugging output and try to make sure that
Mesa compiles when configured without LLVM
2007-11-02 12:18:02 -04:00
Zack Rusin
a2debc2704 Implement sin opcode.
Seems to have similar rounding border problems as cos.
2007-11-02 12:09:23 -04:00
Zack Rusin
e0e91e7ceb Implement scs opcode 2007-11-02 12:05:00 -04:00
Zack Rusin
5c7bfb06e0 Implement COS and CMP opcode.
There's some weird rounding issue with COS that I can't figure
out.
2007-11-02 11:47:09 -04:00
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
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
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
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
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