Commit Graph

92185 Commits

Author SHA1 Message Date
Ben Skeggs 868048fcc7 nv40: Do all fp setup in nv40_fragprog.c 2007-12-14 01:51:43 +11:00
Ben Skeggs 00f0f0d0a4 nouveau: mass renaming for consistency, no functional changes 2007-12-14 01:14:23 +11:00
Dan Nicholson f116634933 Merge branch 'master' into autoconf2 2007-12-12 21:24:06 -08:00
Dan Nicholson c79c93c0ac autoconf: Improve help text for demos and DRI drivers
Changed the text for the default demos to be "auto" instead of "yes"
since that didn't make much sense in this context. Added an example
value for the --with-dri-drivers option as suggested by Brian.
2007-12-12 18:13:04 -08:00
Dan Nicholson f64d6fe0d3 autoconf: Update bug address and fix some autoconf warnings
Point bug reports to Bugzilla like bugs.html. Also, a warning from
autoconf w.r.t. AC_OUTPUT was cleaned up.
2007-12-12 17:57:45 -08:00
Dan Nicholson a130718f44 autoconf: Consistently use xlib for the driver name
Brian suggested that there should be more consistency using xlib vs. x11
in the configure script. Changed the options and variables to suit.
2007-12-12 17:49:49 -08:00
Dan Nicholson 3e288627cb autoconf: Optional assembly usage with --disable-asm
Allow the user to disable use of assembly code through the --disable-asm
option. This is only relevant on the platforms where assembly is
normally enabled such as Linux and FreeBSD.
2007-12-12 17:39:21 -08:00
Ben Skeggs 72d47f1949 nouveau: more adaption.. 2007-12-13 11:55:35 +11:00
Ben Skeggs f1c5415675 Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1 2007-12-13 10:41:43 +11:00
Brian 417c295333 added r5g5b5_put_tile_rgba() 2007-12-12 16:30:49 -07:00
Brian 4416514aa8 Remove get/put_tile_rgba() functions.
Temporarily, use the functions from sp_rgba_tile.c
2007-12-12 16:05:38 -07:00
Brian 034476fc78 remove #include 2007-12-12 16:04:52 -07:00
Eric Anholt 37406c2038 [intel] Assert against conflicting relocation emits in bufmgr_fake.c 2007-12-12 15:03:15 -08:00
Brian a4ca2591f6 Move float/rgba tile get/put functions into new file.
This should be moved into a gallium util lib (location tbd) so it can also
be used by the state tracker.
Then, remove the pipe->get/put_tile_rgba() functions.
2007-12-12 16:00:11 -07:00
Brian 708251558c PIPE_SCREEN_SURFACE no longer needed 2007-12-12 15:24:01 -07:00
Brian 20eae595fa Re-org of st_create_framebuffer() and renderbuffer format selection.
st_create_framebuffer() now takes pipe_formats for the color, depth, stencil
buffers.
This avoids a round-about chain of calls to pipe->is_format_supported() for
window renderbuffers (their format never changes).
Renderbuffer format selection code in st_format.c is simpler now too.
2007-12-12 14:55:57 -07:00
Brian a51d0e419a move some code to avoid deref of NULL ptr 2007-12-12 14:45:22 -07:00
Eric Anholt 5ad260246b [965] Bug #13600: Fix assertion failure with SRGB textures.
I broke this with cherry-pick resolving on
93c98a4669.
2007-12-12 12:09:07 -08:00
Keith Whitwell 06036bc8c4 965: remove complex compiler for simple fragment programs.
Keep the simple compiler for complex fragment programs...
2007-12-12 20:09:04 +00:00
Keith Whitwell ea7c533d40 965: sketch changes to brw_wm_surface_state.c 2007-12-12 20:09:04 +00:00
Keith Whitwell 216de6ab5b 965: delete dead files 2007-12-12 20:09:04 +00:00
Keith Whitwell 5978289df1 965: delete dead files 2007-12-12 20:09:03 +00:00
Keith Whitwell 20e6a9b86d 965: delete dead files 2007-12-12 20:09:03 +00:00
Brian 69292a0067 remove old assertion 2007-12-12 13:08:00 -07:00
Brian 829099210b add PIPE_FORMAT_R5G6B5_UNORM to list of supported screen surface types 2007-12-12 12:59:45 -07:00
Brian b22287d097 update format param type 2007-12-12 12:59:19 -07:00
Brian d7aa446369 Try PIPE_FORMAT_R5G6B5_UNORM for GL_RGB5 request. 2007-12-12 12:58:59 -07:00
Brian 77baacbab1 fix some mistakes in the _PIPE_FORMAT_x #defines 2007-12-12 12:58:04 -07:00
Eric Anholt 7c71ef3a3d [intel] Move bufmgr back to context instead of screen, fixing glthreads.
Putting the bufmgr in the screen is not thread-safe since the emit_reloc
changes.  It also led to a significant performance hit from pthread usage
for the attempted thread-safety (up to 12% of a cpu spent on refcounting
protection in single-threaded 965).  The motivation had been to allow
multi-context bufmgr sharing in classic mode, but it wasn't worth the cost.
2007-12-12 11:52:10 -08:00
Zack Rusin a308a3e3f8 i965: compile vertex shaders and emit hardware instructions
impossible to test because fragment shaders haven't been done yet
and it crahses in the fragment shading code. but given that i'm
infallible (and highly dillusional) i'm sure it's correct.
2007-12-12 12:26:33 -05:00
Dan Nicholson 16a07fb556 autoconf: Report the compiler options in the summary
Report the compiler flags and macros that will be used in the build.
This just provides a quick way to see what configure has silently been
doing.
2007-12-12 09:12:15 -08:00
Dan Nicholson 23656c47c9 autoconf: Optional debug build with --enable-debug
Allow the user to set the compiler debug flags and macros through the
option --enable-debug. This addes -DDEBUG to the macros and -g to the
CFLAGS and CXXFLAGS if gcc and g++ are in use.
2007-12-12 09:02:31 -08:00
Dan Nicholson 41b00707e2 autoconf: More informative errors when pkg-config macros undefined
Added a check that PKG_PROG_PKG_CONFIG is defined before calling it so
the user can see a proper error. Without it, the generated configure
script will just pass on to the next statement and bomb with a strange
shell syntax error.
2007-12-12 08:48:30 -08:00
José Fonseca eaa82d33bf Add src/mesa to include path. 2007-12-12 16:04:58 +00:00
Ben Skeggs 1fb9736898 nouveau: take jumps into account properly when debugging pushbuf 2007-12-13 01:04:12 +11:00
Ben Skeggs 805c5993a3 nv40: Fix bug in vtxprog + a few tweaks 2007-12-12 23:37:52 +11:00
Ben Skeggs 9114324b0b nv40: small bug 2007-12-12 23:31:16 +11:00
Zack Rusin 94e19777c9 i915tex: remove. it's deprecated and causes merge problems
we did some small changes in the beginning of the gallium3d
lifecycle in i915tex which is not in master anymore and just
causes problems when doing merges. getting rid of the headache
by just nuking it here
2007-12-12 05:48:10 -05:00
Keith Packard 00e10a1385 Block in kernel waiting for fence 2007-12-11 20:27:42 -08:00
Keith Packard aeca22f97c Use previous buffer offsets to compute proposed relocations
This takes advantage of the DRM_BO_HINT_PRESUMED_OFFSET change and allows
the kernel to avoid mapping and re-writing buffers when relocations occur.
2007-12-11 20:27:42 -08:00
Ben Skeggs 79bca7dd88 nouveau: adapt
Some things that worked before are now broken, there's an "XXX:" around one
of the culprits in the GL state tracker so hopefully it'll get fixed soon!
2007-12-12 14:20:58 +11:00
Brian 1029c00a26 remove more -I paths 2007-12-11 19:17:31 -07:00
Brian 5dcc894ea2 prefix some #includes 2007-12-11 19:16:46 -07:00
Brian 6f467e5737 trim down #includes 2007-12-11 19:16:26 -07:00
Ben Skeggs 5891598012 Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
Conflicts:

	src/mesa/pipe/Makefile
2007-12-12 13:11:19 +11:00
Brian 68caa076a9 trim down -I options 2007-12-11 18:58:48 -07:00
Brian 3d9bdaa80b include pipe/tgsi/exec/tgsi_sse2.h if needed. Silences warning. 2007-12-11 18:58:32 -07:00
Brian b2ad30d571 Cell: draw smooth-shaded triangle 2007-12-11 18:26:52 -07:00
Brian 9828310a1b Collect some global vars in a single struct. 2007-12-11 15:29:05 -07:00
Brian fda387988c Remove temporary cell_create_surface() 2007-12-11 13:55:37 -07:00