mesa.git
16 years agomesa: refactor: new _mesa_init_pixelstore() function
Brian Paul [Mon, 9 Jun 2008 20:25:23 +0000 (14:25 -0600)]
mesa: refactor: new _mesa_init_pixelstore() function

16 years agomesa: refactor: move glReadPixels code into new readpix.c file
Brian Paul [Mon, 9 Jun 2008 20:22:15 +0000 (14:22 -0600)]
mesa: refactor: move glReadPixels code into new readpix.c file

16 years agomesa: refactor: move glPixelStore function into new pixelstore.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

16 years agos/SOLO/MESA/
Brian Paul [Mon, 9 Jun 2008 20:09:28 +0000 (14:09 -0600)]
s/SOLO/MESA/

16 years agomesa: chmod a-x context.c
Brian Paul [Mon, 9 Jun 2008 20:03:01 +0000 (14:03 -0600)]
mesa: chmod a-x context.c

16 years agoMakefile clean-ups
Brian Paul [Mon, 9 Jun 2008 19:51:36 +0000 (13:51 -0600)]
Makefile clean-ups

16 years agomore old stuff, rename SOLO->MESA, etc
Brian Paul [Mon, 9 Jun 2008 19:51:21 +0000 (13:51 -0600)]
more old stuff, rename SOLO->MESA, etc

16 years agomesa: disable VF_SOURCES
Brian Paul [Mon, 9 Jun 2008 19:38:23 +0000 (13:38 -0600)]
mesa: disable VF_SOURCES

16 years agomesa: remove some obsolete gallium bits
Brian Paul [Mon, 9 Jun 2008 19:35:34 +0000 (13:35 -0600)]
mesa: remove some obsolete gallium bits

16 years agomesa: get rid of FBDEV/SVGA/etc bits
Brian Paul [Mon, 9 Jun 2008 19:33:00 +0000 (13:33 -0600)]
mesa: get rid of FBDEV/SVGA/etc bits

16 years agoegl: s/softpipe_egl.so/egl_softpipe.so/
Brian Paul [Mon, 9 Jun 2008 18:26:20 +0000 (12:26 -0600)]
egl: s/softpipe_egl.so/egl_softpipe.so/

16 years agoegl: choose between DRI and softpipe drivers
Brian Paul [Mon, 9 Jun 2008 17:47:18 +0000 (11:47 -0600)]
egl: choose between DRI and softpipe drivers

16 years agoglsl: fix array size initialiazers using const variables
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];

16 years agogallium: disable a tgsi_dump() call
Brian Paul [Mon, 9 Jun 2008 15:27:52 +0000 (09:27 -0600)]
gallium: disable a tgsi_dump() call

16 years agoi915: Disable color buffer writes if no color buffer is attached
Jakob Bornecrantz [Mon, 9 Jun 2008 14:17:35 +0000 (16:17 +0200)]
i915: Disable color buffer writes if no color buffer is attached

16 years agomesa: Most of the functions of MESA_TEXTURE_S8_Z24 are now supported
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

16 years agomesa: Do not compile the dri drivers in mesa
Jakob Bornecrantz [Sun, 8 Jun 2008 15:29:56 +0000 (17:29 +0200)]
mesa: Do not compile the dri drivers in mesa

16 years agomesa: Add MESA_FORMAT_S8_Z24 texture format
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.

16 years agodraw: fix temp vs output buffer typo in vsvg_run_elts
Keith Whitwell [Sat, 7 Jun 2008 12:27:53 +0000 (13:27 +0100)]
draw: fix temp vs output buffer typo in vsvg_run_elts

16 years agoFix CRLF line endings.
Jose Fonseca [Sat, 7 Jun 2008 03:34:45 +0000 (12:34 +0900)]
Fix CRLF line endings.

16 years agoFix CRLF line endings.
Jose Fonseca [Sat, 7 Jun 2008 03:33:47 +0000 (12:33 +0900)]
Fix CRLF line endings.

16 years agoegl: improved Makefile
Brian Paul [Fri, 6 Jun 2008 21:59:54 +0000 (15:59 -0600)]
egl: improved Makefile

16 years agoegl: EGL->DRI adaptor/driver
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.

16 years agoegl: clean-ups
Brian Paul [Fri, 6 Jun 2008 21:42:08 +0000 (15:42 -0600)]
egl: clean-ups

16 years agomesa: disable visual warning unless LIBGL_DEBUG is defined
Brian Paul [Fri, 6 Jun 2008 21:41:41 +0000 (15:41 -0600)]
mesa: disable visual warning unless LIBGL_DEBUG is defined

16 years agoegl: make _eglChooseDRMDriver() non-static
Brian Paul [Fri, 6 Jun 2008 21:10:42 +0000 (15:10 -0600)]
egl: make _eglChooseDRMDriver() non-static

16 years agoegl: change default logging level to _EGL_WARNING
Brian Paul [Fri, 6 Jun 2008 21:10:22 +0000 (15:10 -0600)]
egl: change default logging level to _EGL_WARNING

16 years agogallium: additional comment
Brian Paul [Fri, 6 Jun 2008 18:33:53 +0000 (12:33 -0600)]
gallium: additional comment

16 years agoegl: updated EGLAPI for Windows
Jonathan White [Fri, 6 Jun 2008 21:13:59 +0000 (15:13 -0600)]
egl: updated EGLAPI for Windows

16 years agomesa: sync up with latest Makefile changes on master
Brian Paul [Fri, 6 Jun 2008 18:32:58 +0000 (12:32 -0600)]
mesa: sync up with latest Makefile changes on master

16 years agodraw: fix intermediate buffer confusion in draw_vs_varient.c
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.

16 years agoegl: open X display if needed
Brian Paul [Fri, 6 Jun 2008 16:42:13 +0000 (10:42 -0600)]
egl: open X display if needed

16 years agomesa: turn off ffvertex prog debug
Keith Whitwell [Fri, 6 Jun 2008 14:57:37 +0000 (15:57 +0100)]
mesa: turn off ffvertex prog debug

16 years agogallium: Only build intel_drm for linux-dri targets
Jakob Bornecrantz [Fri, 6 Jun 2008 14:50:52 +0000 (16:50 +0200)]
gallium: Only build intel_drm for linux-dri targets

16 years agodraw: make sure middle-end primitive is uptodate in vcache
Keith Whitwell [Fri, 6 Jun 2008 14:04:45 +0000 (15:04 +0100)]
draw: make sure middle-end primitive is uptodate in vcache

16 years agoi915: Moved EGL_i915 to the common code
Jakob Bornecrantz [Fri, 6 Jun 2008 12:51:11 +0000 (14:51 +0200)]
i915: Moved EGL_i915 to the common code

16 years agoi915: Moved pipe_buffer and i915_winsys functions to a common folder
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

16 years agoscons: Don't force MSVS 2003.
José Fonseca [Fri, 6 Jun 2008 06:20:42 +0000 (15:20 +0900)]
scons: Don't force MSVS 2003.

16 years agoscons: Put the tool logic in a frontend tool.
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.

16 years agodraw: Compile draw_vs_aos only on x86.
José Fonseca [Fri, 6 Jun 2008 04:29:59 +0000 (13:29 +0900)]
draw: Compile draw_vs_aos only on x86.

16 years agosync up with Makefile changes on master
Brian Paul [Thu, 5 Jun 2008 22:46:29 +0000 (16:46 -0600)]
sync up with Makefile changes on master

16 years agoMove construction of libOSMesa.so into src/mesa/drivers/osmesa/Makefile
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...

16 years agoinsert mesa/ before include files
Brian Paul [Thu, 5 Jun 2008 21:38:29 +0000 (15:38 -0600)]
insert mesa/ before include files

(picked from master)

16 years agoegl: assorted fixes for Windows
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

16 years agobuild egl_xlib/ too (softpipe_egl.so library)
Brian Paul [Thu, 5 Jun 2008 20:41:28 +0000 (14:41 -0600)]
build egl_xlib/ too (softpipe_egl.so library)

16 years agomesa: always build libglapi.a, updated subdir, gl.pc rule code from master
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

16 years agoegl: build libEGL and softpipe_egl.so by default
Brian Paul [Thu, 5 Jun 2008 20:12:27 +0000 (14:12 -0600)]
egl: build libEGL and softpipe_egl.so by default

16 years agoegl: updated SUBDIRS
Brian Paul [Thu, 5 Jun 2008 20:11:54 +0000 (14:11 -0600)]
egl: updated SUBDIRS

16 years agoegl: new src/egl/drivers/Makefile
Brian Paul [Thu, 5 Jun 2008 20:11:39 +0000 (14:11 -0600)]
egl: new src/egl/drivers/Makefile

16 years agomesa: Makefile comment
Brian Paul [Thu, 5 Jun 2008 20:10:42 +0000 (14:10 -0600)]
mesa: Makefile comment

16 years agomesa: remove EXT/NV suffixes from _mesa_PointParameter functions
Brian Paul [Thu, 5 Jun 2008 18:08:19 +0000 (12:08 -0600)]
mesa: remove EXT/NV suffixes from _mesa_PointParameter functions

16 years agomesa: added _mesa_DrawArrays, DrawElements, DrawRangeElements() wrappers for VBO...
Brian Paul [Thu, 5 Jun 2008 18:01:00 +0000 (12:01 -0600)]
mesa: added _mesa_DrawArrays, DrawElements, DrawRangeElements() wrappers for VBO funcs

16 years agoegl: minor tweaks
Brian Paul [Wed, 4 Jun 2008 17:50:18 +0000 (11:50 -0600)]
egl: minor tweaks

16 years agopull in minor mklib change to fix debugging
Keith Whitwell [Wed, 4 Jun 2008 19:48:04 +0000 (20:48 +0100)]
pull in minor mklib change to fix debugging

16 years agosync up with glxgears.c from master
Brian Paul [Wed, 4 Jun 2008 22:54:26 +0000 (16:54 -0600)]
sync up with glxgears.c from master

16 years agoSet the attribute as used.
Alan Hourihane [Wed, 4 Jun 2008 20:25:08 +0000 (21:25 +0100)]
Set the attribute as used.

16 years agoegl: single triangle test
Brian Paul [Wed, 4 Jun 2008 17:41:37 +0000 (11:41 -0600)]
egl: single triangle test

16 years agoegl: fix X visual selection
Brian Paul [Wed, 4 Jun 2008 17:40:25 +0000 (11:40 -0600)]
egl: fix X visual selection

16 years agoegl: query/print EGL_NATIVE_VISUAL_ID
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.

16 years agoegl: do proper setup/init of EGL configs
Brian Paul [Wed, 4 Jun 2008 17:35:41 +0000 (11:35 -0600)]
egl: do proper setup/init of EGL configs

16 years agoegl: in _eglAddConfig() just save a pointer to the config; don't copy the config
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.

16 years agoegl: Added peglgears, gears that uses pbuffers
Jakob Bornecrantz [Wed, 4 Jun 2008 16:58:22 +0000 (18:58 +0200)]
egl: Added peglgears, gears that uses pbuffers

16 years agoegl: new GLES/glplatform.h header
Brian Paul [Wed, 4 Jun 2008 16:27:22 +0000 (10:27 -0600)]
egl: new GLES/glplatform.h header

16 years agoegl: updated GLES/gl.h and GLES/glext.h headers from Khronos.org
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

16 years agoegl: updated egl.h include paths
Brian Paul [Wed, 4 Jun 2008 16:11:25 +0000 (10:11 -0600)]
egl: updated egl.h include paths

16 years agoegl: updated include paths (s/GLES/EGL/)
Brian Paul [Wed, 4 Jun 2008 16:09:49 +0000 (10:09 -0600)]
egl: updated include paths (s/GLES/EGL/)

16 years agoegl: added OpenGL ES 2.0 header files in new GLES2 directory
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

16 years agoegl: created GLES/egl.h backward-compatibility header (see comments inside)
Brian Paul [Wed, 4 Jun 2008 16:03:39 +0000 (10:03 -0600)]
egl: created GLES/egl.h backward-compatibility header (see comments inside)

16 years agoegl: moved egl.h into EGL/ directory
Brian Paul [Wed, 4 Jun 2008 16:01:16 +0000 (10:01 -0600)]
egl: moved egl.h into EGL/ directory

16 years agoegl: moved eglext.h into EGL/ directory
Brian Paul [Wed, 4 Jun 2008 16:00:32 +0000 (10:00 -0600)]
egl: moved eglext.h into EGL/ directory

16 years agoscons: Some provisions to cross-compile x86 on x86_64 machines and vice-versa.
José Fonseca [Wed, 4 Jun 2008 14:57:55 +0000 (23:57 +0900)]
scons: Some provisions to cross-compile x86 on x86_64 machines and vice-versa.

16 years agoscons: Generate matypes.h at build time.
José Fonseca [Wed, 4 Jun 2008 14:56:57 +0000 (23:56 +0900)]
scons: Generate matypes.h at build time.

Also cleanup mesa SConscript.

16 years agomesa: Remove assyntax.h include from generated matypes.h.
José Fonseca [Wed, 4 Jun 2008 14:55:55 +0000 (23:55 +0900)]
mesa: Remove assyntax.h include from generated matypes.h.

matypes.h doesn't really depend on assyntax.h; assyntax.h is only present
on x86; and this way we remove the need of grep being available (which is
relevant for scons and non-unix platforms).

16 years agogallium: added tgsi_is_passthrough_shader() function
Brian Paul [Wed, 4 Jun 2008 14:56:06 +0000 (08:56 -0600)]
gallium: added tgsi_is_passthrough_shader() function

Checks if all instructions are of the form MOV OUT[n], IN[n]
Untested at this time.

16 years agoegl: prototype some multi-API code
Brian Paul [Fri, 30 May 2008 21:23:03 +0000 (15:23 -0600)]
egl: prototype some multi-API code

16 years agodraw: init vsvg draw pointer
Keith Whitwell [Wed, 4 Jun 2008 14:49:18 +0000 (15:49 +0100)]
draw: init vsvg draw pointer

16 years agogallium: Define PIPE_CAP_GUARD_BAND_* capabilities.
Michal Krol [Fri, 30 May 2008 16:36:16 +0000 (18:36 +0200)]
gallium: Define PIPE_CAP_GUARD_BAND_* capabilities.

16 years agodraw: respect driver's max vertex buffer size
Keith Whitwell [Mon, 2 Jun 2008 11:59:16 +0000 (12:59 +0100)]
draw: respect driver's max vertex buffer size

16 years agoBuild with -O2
Alan Hourihane [Wed, 4 Jun 2008 08:56:00 +0000 (09:56 +0100)]
Build with -O2

16 years agoMerge branch 'gallium-tex-surfaces' into gallium-0.1
Keith Whitwell [Tue, 3 Jun 2008 14:32:45 +0000 (15:32 +0100)]
Merge branch 'gallium-tex-surfaces' into gallium-0.1

16 years agoi915: Fix compile on linux-dri-debug
Jakob Bornecrantz [Tue, 3 Jun 2008 10:35:01 +0000 (12:35 +0200)]
i915: Fix compile on linux-dri-debug

16 years agodraw: Use register names more consistently.
Michal Krol [Tue, 3 Jun 2008 09:22:00 +0000 (11:22 +0200)]
draw: Use register names more consistently.

16 years agodraw: Fix fetch_src(). Resurrect SSE version of DP3.
Michal Krol [Tue, 3 Jun 2008 08:59:46 +0000 (10:59 +0200)]
draw: Fix fetch_src(). Resurrect SSE version of DP3.

16 years agodraw: Fix DP3 implementation by replacing SSE with x87 version.
Michal Krol [Mon, 2 Jun 2008 19:51:31 +0000 (21:51 +0200)]
draw: Fix DP3 implementation by replacing SSE with x87 version.

16 years agoi915: Removed useless defines
Jakob Bornecrantz [Mon, 2 Jun 2008 15:23:30 +0000 (17:23 +0200)]
i915: Removed useless defines

16 years agoi915: Implement and use the reworked batchbuffer code
Jakob Bornecrantz [Mon, 2 Jun 2008 15:22:45 +0000 (17:22 +0200)]
i915: Implement and use the reworked batchbuffer code

16 years agoi915: Rework of batchbuffer code
Jakob Bornecrantz [Mon, 2 Jun 2008 12:55:06 +0000 (14:55 +0200)]
i915: Rework of batchbuffer code

16 years agoscons: Integrate gdi winsys.
José Fonseca [Mon, 2 Jun 2008 15:04:19 +0000 (00:04 +0900)]
scons: Integrate gdi winsys.

Conditional build of the winsys based on the platform.

16 years agogdi: Port of the gdi mesa driver to gallium (Alan Hourihane).
José Fonseca [Mon, 2 Jun 2008 15:03:17 +0000 (00:03 +0900)]
gdi: Port of the gdi mesa driver to gallium (Alan Hourihane).

16 years agodraw: fast element translate path without delta
Keith Whitwell [Mon, 2 Jun 2008 13:36:27 +0000 (14:36 +0100)]
draw: fast element translate path without delta

16 years agogallium: Replace XSTDCALL by PIPE_CDECL.
José Fonseca [Mon, 2 Jun 2008 13:31:02 +0000 (22:31 +0900)]
gallium: Replace XSTDCALL by PIPE_CDECL.

16 years agogallium: Port util_time functions to windows userspace.
José Fonseca [Mon, 2 Jun 2008 12:45:25 +0000 (21:45 +0900)]
gallium: Port util_time functions to windows userspace.

16 years agogallium: More tweaks for the cosf/sinf logic.
José Fonseca [Mon, 2 Jun 2008 12:43:31 +0000 (21:43 +0900)]
gallium: More tweaks for the cosf/sinf logic.

16 years agortasm: Use enum sse_cc in sse_cmpps.
José Fonseca [Mon, 2 Jun 2008 11:46:05 +0000 (20:46 +0900)]
rtasm: Use enum sse_cc in sse_cmpps.

16 years agogallium: Fix log<->cos typo in logf.
José Fonseca [Mon, 2 Jun 2008 11:16:49 +0000 (20:16 +0900)]
gallium: Fix log<->cos typo in logf.

16 years agogallium: Fix log<->cos typo in logf.
José Fonseca [Mon, 2 Jun 2008 11:16:49 +0000 (20:16 +0900)]
gallium: Fix log<->cos typo in logf.

16 years agoi915: Fixed some warnings
Jakob Bornecrantz [Mon, 2 Jun 2008 10:55:35 +0000 (12:55 +0200)]
i915: Fixed some warnings

16 years agoi915: Fixed initialization of surface
Jakob Bornecrantz [Fri, 30 May 2008 16:46:40 +0000 (18:46 +0200)]
i915: Fixed initialization of surface

16 years agogallium: Hopefully fix the cosf/sinf/etc. conditional compolation logic for good.
José Fonseca [Mon, 2 Jun 2008 10:46:05 +0000 (19:46 +0900)]
gallium: Hopefully fix the cosf/sinf/etc. conditional compolation logic for good.

16 years agogallium: Identify each Windows platform individually from scons.
José Fonseca [Mon, 2 Jun 2008 10:36:53 +0000 (19:36 +0900)]
gallium: Identify each Windows platform individually from scons.