Michel Dänzer
e922adbe1d
gallium: pipe->surface_copy can flip the contents vertically when necessary.
...
Fixes gears being upside down on the box in demos/gearbox.
2008-02-13 11:39:58 +00:00
Brian
2ed6604f50
gallium: #include p_debug.h since we use assert
2008-02-06 09:48:37 -07:00
Brian
c8af89cf72
gallium: added mem_dup()
2008-02-06 09:35:39 -07:00
José Fonseca
9791d7f64c
gallium: Use p_debug.h instead of non-portable stdio.h/assert.h functions.
2008-02-06 14:37:49 +09:00
José Fonseca
7411a84c2b
gallium: Define MALLOC_STRUCT.
2008-01-26 10:35:09 +09:00
Michel Dänzer
e44bdcf978
Unify copy_rect helpers.
...
Some of the copies were buggy.
2008-01-18 19:11:30 +01:00
José Fonseca
271f9dac79
Back-port miscellaneous fixes from internal branch (mostly portability fixes).
...
These are changes that are in our internal branch, but somehow were skipped
so far. It was done using visual comparison of the branches --
it is likely that changes are being carried on the wrong way
2008-01-17 13:39:14 +09:00
Brian
587e2becc2
typedef uintptr_t for non-HAVE_POSIX_MEMALIGN build
2008-01-15 18:32:51 -07:00
Brian
62ef6376be
Don't include stdint.h or inttypes. Use the uint64 typedef instead of uint64_t.
2008-01-15 18:27:14 -07:00
Keith Whitwell
568fcf64c7
965: get fragment shader compiler compiling
...
Don't think that it will run though.
2007-12-13 20:39:31 +00:00
Brian
4a4543f536
Fix align16() function to work with 32/64-bit pointers on big-endian.
2007-12-11 09:13:12 -07:00
Brian
23ca30e24b
change align_malloc() alignment to uint
2007-12-11 09:09:06 -07:00
Brian
5b8b542cb2
Move align_malloc(), align_free() to p_util.h
2007-12-11 09:00:01 -07:00
Keith Whitwell
708582f6d5
gallium: fix ordering of arguments to pack_ui32_float4
2007-12-09 14:05:12 +00:00
keithw
6e876d1d32
temporary _mesa_printf symbol
2007-12-09 14:03:34 +00:00
keithw
e87efe7407
[pipe]: add Offset() util macro
2007-12-09 14:03:33 +00:00
Michal Krol
ee295fccdd
Make gallium compile in win32.
...
Use FREE, MALLOC, CALLOC, GETENV wrappers.
Silence compiler warnings.
Add proper copyrights.
2007-10-29 17:05:38 +00:00
Michal Krol
b85cd7b700
Use FREE and MALLOC instead of free and malloc.
2007-10-28 17:34:36 +00:00
michal
f93b9dc09a
Use FREE instead of free. Fix newlines.
2007-10-27 19:04:20 +01:00
Oliver McFadden
a22fafbb4b
Corrected the file permissions in src/mesa/pipe.
2007-10-18 16:36:04 +00:00
michal
5c337508fe
Fix ffs().
2007-08-29 22:35:28 +01:00
Brian
cd3162f578
added align16() function
2007-08-17 11:40:06 -06:00
michal
546f1fa019
Define ffs() for __WIN32__ & __MSC__.
...
Break mesa dependencies.
2007-08-16 19:44:53 +01:00
Brian
3fc926f374
Remove many dependencies on mesa headers.
...
To build with mesa, need -DMESA in makefile/config file.
2007-08-16 18:11:55 -06:00
michal
9982044a8d
Use 'f' for float suffix.
2007-08-16 12:12:14 +01:00
Keith Whitwell
70af238b49
Continue reducing dependencies on core mesa include files.
...
Mainly down to the support for legacy TNL processing now.
2007-08-14 15:57:30 +01:00
Keith Whitwell
76818b6709
Missing files
2007-08-13 16:24:24 +01:00