Commit graph

12688 commits

Author SHA1 Message Date
Brian
dfc21b2efb Some tile cache improvements, clean-ups.
Code for optimized clears (per-tile flag indicating clear status) in place
but not enabled yet.
2007-12-09 12:05:27 +11:00
Brian
f36258d7e1 don't dereference pt after realloc - fixes valgrind error 2007-12-09 12:05:27 +11:00
Brian
1eb78225c4 add some whitespace 2007-12-09 12:05:26 +11:00
Brian
0d74d51790 Move struct softpipe_texture definition into sp_texture.h
Also, added softpipe_texture() cast wrapper.
2007-12-09 12:05:26 +11:00
Brian
99823680a5 minor code movement 2007-12-09 12:05:26 +11:00
Brian
03dcde4caa Add PIPE_FORMAT_U_B8_G8_R8_A8 in default_rgba_format().
Also, rewrite/simplify default_rgba_format() and default_depth_format().
2007-12-09 12:05:26 +11:00
Brian
f1285f238a byteswapping fixes in choose_pixel_format() 2007-12-09 12:05:26 +11:00
Brian
5002d1eb88 remove stray ; 2007-12-09 12:05:26 +11:00
Brian
5f512d9423 Remove obsolete xlib driver files 2007-12-09 12:05:26 +11:00
Brian
2a9c33f9fe Overhaul the Xlib winsys layer.
Front/back color buffers are now allocated with ordinary malloc() via the
winsys buffer functions.
To display surfaces in SwapBuffers() or flush_frontbuffer() we create an
XImage that wraps the surface, then use XPutImage to copy to the window.
Shared memory transport disabled for now.
2007-12-09 12:05:26 +11:00
Brian
6397bef076 added ST_SURFACE_DEPTH 2007-12-09 12:05:26 +11:00
Brian
a09224258a move surface pitch calculation so it always gets updated 2007-12-09 12:05:26 +11:00
Brian
6cb181dc15 fix void pointer arithmetic warnings 2007-12-09 12:05:26 +11:00
Brian
a775689036 silence void ptr arithmetic warning 2007-12-09 12:05:26 +11:00
Michel Dänzer
0a44a3fa2f Eliminate struct pipe_region.
Directly use struct pipe_buffer_handle for storage and struct pipe_surface for
(un)mapping.
2007-12-09 12:05:26 +11:00
Michel Dänzer
7f984e1d2a Remove remnants of 'intel' from active state tracker code. 2007-12-09 12:05:26 +11:00
Michel Dänzer
b57632f04e st_mesa_format_to_pipe_format: Handle MESA_FORMAT_ARGB4444. 2007-12-09 12:05:25 +11:00
Michel Dänzer
274603c5c9 Hide texture layout details from the state tracker.
pipe->get_tex_surface() has to be used for access to texture image data.
2007-12-09 12:05:25 +11:00
Brian
6f44a21348 Add dependency checking for Cell driver sources. 2007-12-09 12:05:25 +11:00
Brian
5cb7186730 silence warning 2007-12-09 12:05:25 +11:00
Brian
dc76fe436c added PIPE_FORMAT_U_B8_G8_R8_A8 case in color_value() 2007-12-09 12:05:25 +11:00
Brian
64a1d5cbd1 Fix endianness bug in _mesa_texstore_argb8888()
On big-endian, storing in _mesa_texformat_argb8888 format produced wrong results.
Also, clean-up nearby code to match.
2007-12-09 12:05:25 +11:00
Brian
ecd0853a09 added B8G8R8A8 support and improved pixel format selection when doing remote display to X server of different endianness. 2007-12-09 12:05:25 +11:00
Brian
4f25c76735 added tile funcs for B8G8R8A8 format 2007-12-09 12:05:25 +11:00
Brian
7f9a64e247 added B8G8R8A8 format 2007-12-09 12:05:25 +11:00
Brian
264f64fd89 added -fPIC 2007-12-09 12:05:24 +11:00
Brian
0d2ba87b54 don't build libglw 2007-12-09 12:05:24 +11:00
Brian
1698cbde30 Initial Cell driver infrastructure.
No real code yet.  Just stand-ins and make/build infrastructure.
2007-12-09 12:05:24 +11:00
Brian
e5d8ee205a glut doesn't need -lXt 2007-12-09 12:04:36 +11:00
José Fonseca
c989209b6a Cover state tracker and winsys driver. Tweak parameters. 2007-12-09 12:04:36 +11:00
Michel Dänzer
72513ae3a7 Move dimensions from struct pipe_region to struct pipe_surface. 2007-12-09 12:04:36 +11:00
Ben Skeggs
47b418b8fa nv50: 3d driver skeleton 2007-12-05 14:01:01 +11:00
Ben Skeggs
97f8c39d91 nouveau: g8x winsys support, yay softpipe! 2007-12-05 11:57:50 +11:00
Ben Skeggs
042b7dfd0e nv40: fix build after gallium changes 2007-11-25 13:05:56 +11:00
Ben Skeggs
2bd97ca942 Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1 2007-11-25 13:00:15 +11:00
Ben Skeggs
2a2756a019 nv40: be more flexible with render target setup 2007-11-25 12:39:32 +11:00
Ben Skeggs
b8c5419faf nv40: remove unused stuff 2007-11-25 12:06:42 +11:00
Ben Skeggs
25acd4eba0 nv40: point sprites 2007-11-25 12:02:12 +11:00
Ben Skeggs
8b1c8f5e75 nv40: fp arbitrary swizzling/negation
Pretty bad implementation, goal was to get glBitmap working.
2007-11-25 11:25:32 +11:00
Michal Krol
7043db677f Cleanup PIPE_FORMAT names.
Add a function that builds a display name of a given format token.
2007-11-24 16:02:31 +00:00
Michal Krol
b3dee0185e gallium: remove sp_headers.h references. 2007-11-23 13:48:12 +00:00
Michal Krol
abd5e8e41d gallium: reorg tgsi directories. 2007-11-23 13:28:16 +00:00
Michal Krol
44519be0f5 gallium: back out winsys interface changes 2007-11-23 13:27:20 +00:00
Ben Skeggs
558f3abb49 nv40: support for keeping multiple vtxprogs on the hw at the same time. 2007-11-23 18:54:19 +11:00
José Fonseca
9924f208cf Use the new vertex buffer draw stage. 2007-11-22 11:57:31 +00:00
José Fonseca
1a8daf0627 New vertex buffer stage. 2007-11-22 11:46:32 +00:00
José Fonseca
45f658f172 Fix build. 2007-11-22 11:44:13 +00:00
José Fonseca
369ff9786d The right include was mtypes.h. 2007-11-22 11:44:00 +00:00
José Fonseca
c584142543 Fix build errors. 2007-11-22 11:43:58 +00:00
Michal
0e31e24659 Fix compatibility issues between gcc and msvc. 2007-11-22 11:43:04 +00:00