Brian Paul [Tue, 10 Jun 2008 22:26:23 +0000 (16:26 -0600)]
gallium: work-around glapi.c build problem for dri configs
Brian Paul [Tue, 10 Jun 2008 22:14:35 +0000 (16:14 -0600)]
egl: only windows are renderable at this time
Brian Paul [Tue, 10 Jun 2008 22:14:09 +0000 (16:14 -0600)]
egl: some prototype API detection code
Brian Paul [Tue, 10 Jun 2008 22:13:42 +0000 (16:13 -0600)]
mesa: refactor: move #define FEATURE flags into new mfeatures.h file
Also, check the FEATURE flags in many places.
Brian Paul [Tue, 10 Jun 2008 21:23:51 +0000 (15:23 -0600)]
mesa: include mtypes.h
Brian Paul [Tue, 10 Jun 2008 18:08:40 +0000 (12:08 -0600)]
mesa: remove unnecessary swrast, tnl includes
Brian Paul [Tue, 10 Jun 2008 18:07:38 +0000 (12:07 -0600)]
gallium: remove stray include of st_context.h
Brian Paul [Tue, 10 Jun 2008 16:09:14 +0000 (10:09 -0600)]
add some missing rule dependencies
Keith Whitwell [Tue, 10 Jun 2008 15:56:32 +0000 (16:56 +0100)]
Revert "draw: no need to rearrange most primitives in vcache for flatshade-first"
This reverts commit
ad44e68706877ab06929747e7a82c718c1c27e02.
Keith Whitwell [Tue, 10 Jun 2008 13:46:25 +0000 (14:46 +0100)]
draw: no need to rearrange most primitives in vcache for flatshade-first
The driver/pipeline will still be applying flatshade-first state to the
triangles emitted from vcache, so there's no need to rotate the vertices
of most primitives. The only exception is POLYGON, as explained in the
code.
Keith Whitwell [Tue, 10 Jun 2008 13:45:34 +0000 (14:45 +0100)]
draw: fix edgeflags on clipped poly emit
Keith Whitwell [Tue, 10 Jun 2008 13:23:49 +0000 (14:23 +0100)]
trivial: add trifan tests
Keith Whitwell [Tue, 10 Jun 2008 13:09:45 +0000 (14:09 +0100)]
trivial: add poly-flat-clip tests
Keith Whitwell [Tue, 10 Jun 2008 11:58:13 +0000 (12:58 +0100)]
trivial: add tristrip-flat to makefile
Roland Scheidegger [Tue, 10 Jun 2008 13:43:33 +0000 (15:43 +0200)]
copy msaa visuals capability
Keith Whitwell [Tue, 10 Jun 2008 08:16:34 +0000 (09:16 +0100)]
draw: rework splitting of fan/loop prims in varray.c, fix flatshade issues
José Fonseca [Mon, 9 Jun 2008 23:52:10 +0000 (08:52 +0900)]
softpipe: Replace GETENV by debug_get_bool_option.
José Fonseca [Mon, 9 Jun 2008 10:56:52 +0000 (19:56 +0900)]
gallium: Detect buffer overflows in the homegrown memory debugger.
José Fonseca [Mon, 9 Jun 2008 23:38:24 +0000 (08:38 +0900)]
pipebuffer: Alternative buffer manager.
For situations where one has a reserve memory pool, or
a faster/slower pool.
José Fonseca [Mon, 9 Jun 2008 09:49:13 +0000 (18:49 +0900)]
pipebuffer: Be more lenient when matching cached buffer sizes.
Reuse cached buffers up to twice as big a requested.
José Fonseca [Mon, 9 Jun 2008 23:32:52 +0000 (08:32 +0900)]
gallium: Deprecate GETENV. Replace by debug_get_bool_option.
debug_get_bool_option will interpret "n", "no", "0", "f", or
"false" as FALSE; and everything else as TRUE. The default value
(used when the variable is not set) is received as a parameter.
Brian Paul [Mon, 9 Jun 2008 22:18:41 +0000 (16:18 -0600)]
mesa: Xlib libGL.so fixes from master
Brian Paul [Mon, 9 Jun 2008 21:19:08 +0000 (15:19 -0600)]
mesa: remove unused api_eval.h header file
Brian Paul [Mon, 9 Jun 2008 21:14:02 +0000 (15:14 -0600)]
mesa: refactor: move _mesa_update_minmax/histogram() into image.c
Brian Paul [Mon, 9 Jun 2008 21:09:21 +0000 (15:09 -0600)]
mesa: refactor: move multisample-related functions into new multisample.c file
Brian Paul [Mon, 9 Jun 2008 21:04:31 +0000 (15:04 -0600)]
mesa: refactor: move _mesa_resizebuffers(), _mesa_ResizeBuffersMESA() to framebuffer.c
Brian Paul [Mon, 9 Jun 2008 21:01:02 +0000 (15:01 -0600)]
mesa: refactor: move glClear, glClearColor into new clear.c file.
Brian Paul [Mon, 9 Jun 2008 20:56:29 +0000 (14:56 -0600)]
gallium: include scissor.h
Brian Paul [Mon, 9 Jun 2008 20:55:24 +0000 (14:55 -0600)]
mesa: refactor: move scissor functions into new scissor.c file
Brian Paul [Mon, 9 Jun 2008 20:49:04 +0000 (14:49 -0600)]
mesa: refactor: move _mesa_init_exec_table() into new api_exec.c file
Brian Paul [Mon, 9 Jun 2008 20:32:27 +0000 (14:32 -0600)]
mesa: refactor: move pixel map/scale/bias code into image.c
pixel.c is just the API-related code now.
Brian Paul [Mon, 9 Jun 2008 20:25:23 +0000 (14:25 -0600)]
mesa: refactor: new _mesa_init_pixelstore() function
Brian Paul [Mon, 9 Jun 2008 20:22:15 +0000 (14:22 -0600)]
mesa: refactor: move glReadPixels code into new readpix.c file
Brian Paul [Mon, 9 Jun 2008 20:14:34 +0000 (14:14 -0600)]
mesa: refactor: move glPixelStore function into new pixelstore.c file
Brian Paul [Mon, 9 Jun 2008 20:09:28 +0000 (14:09 -0600)]
s/SOLO/MESA/
Brian Paul [Mon, 9 Jun 2008 20:03:01 +0000 (14:03 -0600)]
mesa: chmod a-x context.c
Brian Paul [Mon, 9 Jun 2008 19:51:36 +0000 (13:51 -0600)]
Makefile clean-ups
Brian Paul [Mon, 9 Jun 2008 19:51:21 +0000 (13:51 -0600)]
more old stuff, rename SOLO->MESA, etc
Brian Paul [Mon, 9 Jun 2008 19:38:23 +0000 (13:38 -0600)]
mesa: disable VF_SOURCES
Brian Paul [Mon, 9 Jun 2008 19:35:34 +0000 (13:35 -0600)]
mesa: remove some obsolete gallium bits
Brian Paul [Mon, 9 Jun 2008 19:33:00 +0000 (13:33 -0600)]
mesa: get rid of FBDEV/SVGA/etc bits
Brian Paul [Mon, 9 Jun 2008 18:26:20 +0000 (12:26 -0600)]
egl: s/softpipe_egl.so/egl_softpipe.so/
Brian Paul [Mon, 9 Jun 2008 17:47:18 +0000 (11:47 -0600)]
egl: choose between DRI and softpipe drivers
Zack Rusin [Mon, 9 Jun 2008 03:05:15 +0000 (23:05 -0400)]
glsl: fix array size initialiazers using const variables
e.g.
const int kernelSize = 9;
uniform vec2 kernel[kernelSize];
Brian Paul [Mon, 9 Jun 2008 15:27:52 +0000 (09:27 -0600)]
gallium: disable a tgsi_dump() call
Jakob Bornecrantz [Mon, 9 Jun 2008 14:17:35 +0000 (16:17 +0200)]
i915: Disable color buffer writes if no color buffer is attached
Jakob Bornecrantz [Mon, 9 Jun 2008 14:29:57 +0000 (16:29 +0200)]
mesa: Most of the functions of MESA_TEXTURE_S8_Z24 are now supported
Jakob Bornecrantz [Sun, 8 Jun 2008 15:29:56 +0000 (17:29 +0200)]
mesa: Do not compile the dri drivers in mesa
Jakob Bornecrantz [Fri, 6 Jun 2008 14:12:55 +0000 (16:12 +0200)]
mesa: Add MESA_FORMAT_S8_Z24 texture format
None of the fetch and store functions implemented.
This atleast stops shadowtex from locking the GPU on
i915 with the linux-dri-x86 target. It most of it looks
okay, with the exception of actually displaying the texture.
Keith Whitwell [Sat, 7 Jun 2008 12:27:53 +0000 (13:27 +0100)]
draw: fix temp vs output buffer typo in vsvg_run_elts
Jose Fonseca [Sat, 7 Jun 2008 03:34:45 +0000 (12:34 +0900)]
Fix CRLF line endings.
Jose Fonseca [Sat, 7 Jun 2008 03:33:47 +0000 (12:33 +0900)]
Fix CRLF line endings.
Brian Paul [Fri, 6 Jun 2008 21:59:54 +0000 (15:59 -0600)]
egl: improved Makefile
Brian Paul [Fri, 6 Jun 2008 21:52:33 +0000 (15:52 -0600)]
egl: EGL->DRI adaptor/driver
Allows regular DRI drivers to work with libEGL.
Brian Paul [Fri, 6 Jun 2008 21:42:08 +0000 (15:42 -0600)]
egl: clean-ups
Brian Paul [Fri, 6 Jun 2008 21:41:41 +0000 (15:41 -0600)]
mesa: disable visual warning unless LIBGL_DEBUG is defined
Brian Paul [Fri, 6 Jun 2008 21:10:42 +0000 (15:10 -0600)]
egl: make _eglChooseDRMDriver() non-static
Brian Paul [Fri, 6 Jun 2008 21:10:22 +0000 (15:10 -0600)]
egl: change default logging level to _EGL_WARNING
Brian Paul [Fri, 6 Jun 2008 18:33:53 +0000 (12:33 -0600)]
gallium: additional comment
Jonathan White [Fri, 6 Jun 2008 21:13:59 +0000 (15:13 -0600)]
egl: updated EGLAPI for Windows
Brian Paul [Fri, 6 Jun 2008 18:32:58 +0000 (12:32 -0600)]
mesa: sync up with latest Makefile changes on master
Keith Whitwell [Fri, 6 Jun 2008 17:09:32 +0000 (18:09 +0100)]
draw: fix intermediate buffer confusion in draw_vs_varient.c
The final output buffer can't be used to hold intermediate results
as the intermediate vertex size may be greater than the final vertex
size, and in any case the output buffer may be uncached in hw drivers.
Brian Paul [Fri, 6 Jun 2008 16:42:13 +0000 (10:42 -0600)]
egl: open X display if needed
Keith Whitwell [Fri, 6 Jun 2008 14:57:37 +0000 (15:57 +0100)]
mesa: turn off ffvertex prog debug
Jakob Bornecrantz [Fri, 6 Jun 2008 14:50:52 +0000 (16:50 +0200)]
gallium: Only build intel_drm for linux-dri targets
Keith Whitwell [Fri, 6 Jun 2008 14:04:45 +0000 (15:04 +0100)]
draw: make sure middle-end primitive is uptodate in vcache
Jakob Bornecrantz [Fri, 6 Jun 2008 12:51:11 +0000 (14:51 +0200)]
i915: Moved EGL_i915 to the common code
Jakob Bornecrantz [Fri, 6 Jun 2008 12:49:02 +0000 (14:49 +0200)]
i915: Moved pipe_buffer and i915_winsys functions to a common folder
José Fonseca [Fri, 6 Jun 2008 06:20:42 +0000 (15:20 +0900)]
scons: Don't force MSVS 2003.
José Fonseca [Fri, 6 Jun 2008 05:48:57 +0000 (14:48 +0900)]
scons: Put the tool logic in a frontend tool.
More logic can be shared between public and private branches this way.
José Fonseca [Fri, 6 Jun 2008 04:29:59 +0000 (13:29 +0900)]
draw: Compile draw_vs_aos only on x86.
Brian Paul [Thu, 5 Jun 2008 22:46:29 +0000 (16:46 -0600)]
sync up with Makefile changes on master
Brian Paul [Thu, 5 Jun 2008 21:42:25 +0000 (15:42 -0600)]
Move construction of libOSMesa.so into src/mesa/drivers/osmesa/Makefile
This removes some cruft from src/mesa/Makefile.
Something similar could be done for stand-alone / Xlib-Mesa libGL...
Brian Paul [Thu, 5 Jun 2008 21:38:29 +0000 (15:38 -0600)]
insert mesa/ before include files
(picked from master)
Jonathan White [Thu, 5 Jun 2008 21:07:03 +0000 (15:07 -0600)]
egl: assorted fixes for Windows
Note that int32_t is typedef'd both in p_compiler.h and eglplatform.h
Brian Paul [Thu, 5 Jun 2008 20:41:28 +0000 (14:41 -0600)]
build egl_xlib/ too (softpipe_egl.so library)
Brian Paul [Thu, 5 Jun 2008 20:40:27 +0000 (14:40 -0600)]
mesa: always build libglapi.a, updated subdir, gl.pc rule code from master
Brian Paul [Thu, 5 Jun 2008 20:12:27 +0000 (14:12 -0600)]
egl: build libEGL and softpipe_egl.so by default
Brian Paul [Thu, 5 Jun 2008 20:11:54 +0000 (14:11 -0600)]
egl: updated SUBDIRS
Brian Paul [Thu, 5 Jun 2008 20:11:39 +0000 (14:11 -0600)]
egl: new src/egl/drivers/Makefile
Brian Paul [Thu, 5 Jun 2008 20:10:42 +0000 (14:10 -0600)]
mesa: Makefile comment
Brian Paul [Thu, 5 Jun 2008 18:08:19 +0000 (12:08 -0600)]
mesa: remove EXT/NV suffixes from _mesa_PointParameter functions
Brian Paul [Thu, 5 Jun 2008 18:01:00 +0000 (12:01 -0600)]
mesa: added _mesa_DrawArrays, DrawElements, DrawRangeElements() wrappers for VBO funcs
Brian Paul [Wed, 4 Jun 2008 17:50:18 +0000 (11:50 -0600)]
egl: minor tweaks
Keith Whitwell [Wed, 4 Jun 2008 19:48:04 +0000 (20:48 +0100)]
pull in minor mklib change to fix debugging
Brian Paul [Wed, 4 Jun 2008 22:54:26 +0000 (16:54 -0600)]
sync up with glxgears.c from master
Alan Hourihane [Wed, 4 Jun 2008 20:25:08 +0000 (21:25 +0100)]
Set the attribute as used.
Brian Paul [Wed, 4 Jun 2008 17:41:37 +0000 (11:41 -0600)]
egl: single triangle test
Brian Paul [Wed, 4 Jun 2008 17:40:25 +0000 (11:40 -0600)]
egl: fix X visual selection
Brian Paul [Wed, 4 Jun 2008 17:36:01 +0000 (11:36 -0600)]
egl: query/print EGL_NATIVE_VISUAL_ID
Other whitespace/etc clean-ups.
Brian Paul [Wed, 4 Jun 2008 17:35:41 +0000 (11:35 -0600)]
egl: do proper setup/init of EGL configs
Brian Paul [Wed, 4 Jun 2008 17:34:10 +0000 (11:34 -0600)]
egl: in _eglAddConfig() just save a pointer to the config; don't copy the config
This allows subclassing by drivers.
Jakob Bornecrantz [Wed, 4 Jun 2008 16:58:22 +0000 (18:58 +0200)]
egl: Added peglgears, gears that uses pbuffers
Brian Paul [Wed, 4 Jun 2008 16:27:22 +0000 (10:27 -0600)]
egl: new GLES/glplatform.h header
Brian Paul [Wed, 4 Jun 2008 16:17:56 +0000 (10:17 -0600)]
egl: updated GLES/gl.h and GLES/glext.h headers from Khronos.org
Brian Paul [Wed, 4 Jun 2008 16:11:25 +0000 (10:11 -0600)]
egl: updated egl.h include paths
Brian Paul [Wed, 4 Jun 2008 16:09:49 +0000 (10:09 -0600)]
egl: updated include paths (s/GLES/EGL/)
Brian Paul [Wed, 4 Jun 2008 16:04:31 +0000 (10:04 -0600)]
egl: added OpenGL ES 2.0 header files in new GLES2 directory
Brian Paul [Wed, 4 Jun 2008 16:03:39 +0000 (10:03 -0600)]
egl: created GLES/egl.h backward-compatibility header (see comments inside)
Brian Paul [Wed, 4 Jun 2008 16:01:16 +0000 (10:01 -0600)]
egl: moved egl.h into EGL/ directory