mesa.git
15 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

15 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

15 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.

15 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.

15 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).

15 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.

15 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

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

15 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.

15 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

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

15 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

15 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

15 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.

15 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.

15 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.

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

15 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

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

15 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.

15 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).

15 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

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

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

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

15 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.

15 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.

15 years agoscons: Set /W3 warning level for all MSVC based platforms.
José Fonseca [Mon, 2 Jun 2008 09:27:00 +0000 (18:27 +0900)]
scons: Set /W3 warning level for all MSVC based platforms.

15 years agodraw: Fix MSVC warnings.
José Fonseca [Thu, 29 May 2008 16:46:59 +0000 (01:46 +0900)]
draw: Fix MSVC warnings.

15 years agotgsi: Add assertions to the new rule that when an extended swizzle
Michal Krol [Mon, 2 Jun 2008 09:59:04 +0000 (11:59 +0200)]
tgsi: Add assertions to the new rule that when an extended swizzle
is used, the simple swizzle must be set to identity.

15 years agobrw: SWZ no longer aliases MOV.
Michal Krol [Mon, 2 Jun 2008 09:42:16 +0000 (11:42 +0200)]
brw: SWZ no longer aliases MOV.

15 years agoi915: SWZ no longer aliases MOV.
Michal Krol [Mon, 2 Jun 2008 09:41:17 +0000 (11:41 +0200)]
i915: SWZ no longer aliases MOV.

15 years agocell: SWZ no longer aliases MOV.
Michal Krol [Mon, 2 Jun 2008 09:40:44 +0000 (11:40 +0200)]
cell: SWZ no longer aliases MOV.

15 years agotgsi: SWZ no longer aliases to MOV.
Michal Krol [Mon, 2 Jun 2008 09:39:59 +0000 (11:39 +0200)]
tgsi: SWZ no longer aliases to MOV.

15 years agogallium: The SWZ opcode no longer aliases MOV.
Michal Krol [Mon, 2 Jun 2008 09:31:52 +0000 (11:31 +0200)]
gallium: The SWZ opcode no longer aliases MOV.

Also, when the extended swizzle token is used, the simple swizzle
and negate are set to X,Y,Z,W and FALSE, respectively.

15 years agomesa: Fix build after TGSI declaration interface changes.
Michal Krol [Sat, 31 May 2008 17:55:27 +0000 (19:55 +0200)]
mesa: Fix build after TGSI declaration interface changes.

15 years agobrw: Fix build after TGSI declaration interface changes.
Michal Krol [Sat, 31 May 2008 17:54:20 +0000 (19:54 +0200)]
brw: Fix build after TGSI declaration interface changes.

15 years agoi915: Fix build after TGSI declaration interface changes.
Michal Krol [Sat, 31 May 2008 17:52:41 +0000 (19:52 +0200)]
i915: Fix build after TGSI declaration interface changes.

15 years agocell: Fix build after TGSI declaration interface changes.
Michal Krol [Sat, 31 May 2008 17:51:50 +0000 (19:51 +0200)]
cell: Fix build after TGSI declaration interface changes.

15 years agoutil: Fix build after TGSI declaration interface changes.
Michal Krol [Sat, 31 May 2008 17:50:58 +0000 (19:50 +0200)]
util: Fix build after TGSI declaration interface changes.

15 years agotgsi: Fix build after TGSI declaration interface changes.
Michal Krol [Sat, 31 May 2008 17:48:13 +0000 (19:48 +0200)]
tgsi: Fix build after TGSI declaration interface changes.

15 years agogallivm: Fix build after TGSI declaration interface changes.
Michal Krol [Sat, 31 May 2008 17:41:29 +0000 (19:41 +0200)]
gallivm: Fix build after TGSI declaration interface changes.

15 years agodraw: Fix build after TGSI declaration interface changes.
Michal Krol [Sat, 31 May 2008 17:40:36 +0000 (19:40 +0200)]
draw: Fix build after TGSI declaration interface changes.

15 years agogallium: Refactor TGSI decalaration tokens.
Michal Krol [Sat, 31 May 2008 16:56:20 +0000 (18:56 +0200)]
gallium: Refactor TGSI decalaration tokens.

* Incorporate declaration_interpolation into declaration itself.
* Remove declaration_mask -- always use declaration_range.

15 years agoi915: Comment out dead & problematic code.
Michal Krol [Sat, 31 May 2008 16:44:47 +0000 (18:44 +0200)]
i915: Comment out dead & problematic code.

15 years agoi915: Add mising include.
Michal Krol [Sat, 31 May 2008 16:42:17 +0000 (18:42 +0200)]
i915: Add mising include.

15 years agodraw: Remove const qualifier.
Michal Krol [Sat, 31 May 2008 16:40:39 +0000 (18:40 +0200)]
draw: Remove const qualifier.

15 years agogallium: Fix preprocessor logic.
Michal Krol [Sat, 31 May 2008 16:40:00 +0000 (18:40 +0200)]
gallium: Fix preprocessor logic.

15 years agodraw: Remove const qualifier.
Michal Krol [Sat, 31 May 2008 16:19:21 +0000 (18:19 +0200)]
draw: Remove const qualifier.

15 years agoscons: Enable mesa state tracker in all platforms by default.
José Fonseca [Sat, 31 May 2008 09:55:25 +0000 (18:55 +0900)]
scons: Enable mesa state tracker in all platforms by default.

But only actually build it on some. This results in a better default
scons experience.

15 years agodraw: Eliminate stdio usage.
José Fonseca [Sat, 31 May 2008 09:51:44 +0000 (18:51 +0900)]
draw: Eliminate stdio usage.

15 years agomesa: Apply MSVC portability fixes from Alan Hourihane.
José Fonseca [Sat, 31 May 2008 09:14:09 +0000 (18:14 +0900)]
mesa: Apply MSVC portability fixes from Alan Hourihane.

15 years agoi915: Eliminate void pointer arithmetic.
José Fonseca [Sat, 31 May 2008 09:08:24 +0000 (18:08 +0900)]
i915: Eliminate void pointer arithmetic.

15 years agogallium: MSVC 8.0 already defines the cosf, sinf, etc.
José Fonseca [Sat, 31 May 2008 09:07:39 +0000 (18:07 +0900)]
gallium: MSVC 8.0 already defines the cosf, sinf, etc.

15 years agogallium: Port timing functions to WinCE.
José Fonseca [Sat, 31 May 2008 06:18:55 +0000 (15:18 +0900)]
gallium: Port timing functions to WinCE.

16 years agogallium: fix some PIPE_FORMAT_Z24S8_UNORM bugs in softpipe driver
Brian Paul [Fri, 30 May 2008 21:07:58 +0000 (15:07 -0600)]
gallium: fix some PIPE_FORMAT_Z24S8_UNORM bugs in softpipe driver

16 years agoegl: eglGetProcAddress() stub
Brian Paul [Fri, 30 May 2008 20:51:40 +0000 (14:51 -0600)]
egl: eglGetProcAddress() stub

16 years agoegl: new eglGetProcAddress() code
Brian Paul [Fri, 30 May 2008 20:50:33 +0000 (14:50 -0600)]
egl: new eglGetProcAddress() code

The idea is to pass the call down to the device driver where an API-specific
query can be made.  Untested.

16 years agoegl: bind the OpenGL API
Brian Paul [Fri, 30 May 2008 19:46:50 +0000 (13:46 -0600)]
egl: bind the OpenGL API

16 years agoegl: specify client API by bit flag, not string
Brian Paul [Fri, 30 May 2008 19:46:31 +0000 (13:46 -0600)]
egl: specify client API by bit flag, not string

16 years agoegl: clean-up re-org of the client API state
Brian Paul [Fri, 30 May 2008 19:45:40 +0000 (13:45 -0600)]
egl: clean-up re-org of the client API state

16 years agoegl: added eglDestroySurface function
Brian Paul [Fri, 30 May 2008 18:06:06 +0000 (12:06 -0600)]
egl: added eglDestroySurface function

16 years agoegl: fix-up window resizes
Brian Paul [Fri, 30 May 2008 17:51:50 +0000 (11:51 -0600)]
egl: fix-up window resizes

16 years agoegl: check for EGL_DRIVER env var to override normal driver selection process
Brian Paul [Fri, 30 May 2008 17:46:43 +0000 (11:46 -0600)]
egl: check for EGL_DRIVER env var to override normal driver selection process

16 years agoegl: new version of gears demo that uses Xlib+EGL (and full OpenGL for now)
Brian Paul [Fri, 30 May 2008 17:43:35 +0000 (11:43 -0600)]
egl: new version of gears demo that uses Xlib+EGL (and full OpenGL for now)

16 years agoegl: assorted fixes. The code works now.
Brian Paul [Fri, 30 May 2008 17:42:08 +0000 (11:42 -0600)]
egl: assorted fixes.  The code works now.

16 years agoegl: added surface_alloc_storage()
Brian Paul [Fri, 30 May 2008 17:41:18 +0000 (11:41 -0600)]
egl: added surface_alloc_storage()

16 years agoegl: fix width/height tests
Brian Paul [Fri, 30 May 2008 17:40:48 +0000 (11:40 -0600)]
egl: fix width/height tests

16 years agolink libEGL with Xlib
Brian Paul [Fri, 30 May 2008 17:40:23 +0000 (11:40 -0600)]
link libEGL with Xlib

16 years agodraw: trim incoming primitives
Keith Whitwell [Fri, 30 May 2008 13:51:09 +0000 (14:51 +0100)]
draw: trim incoming primitives

16 years agomesa: undo accidental setting of _ForceEyeCoords
Keith Whitwell [Fri, 30 May 2008 13:47:38 +0000 (14:47 +0100)]
mesa: undo accidental setting of _ForceEyeCoords

16 years agoFix segfault in _save_OBE_DrawElements() when using VBO and display list (bug 16156)
Brian Paul [Fri, 30 May 2008 14:53:42 +0000 (08:53 -0600)]
Fix segfault in _save_OBE_DrawElements() when using VBO and display list (bug 16156)

This was previously fixed in master by commit 982dcb74fd19b88208d127b8019e2a2af979cac2 by Haihao Xiang.

16 years agoi915: Now using draw_elements_range
Jakob Bornecrantz [Thu, 29 May 2008 14:57:34 +0000 (16:57 +0200)]
i915: Now using draw_elements_range

16 years agoi915: Made batch buffer size much larger
Jakob Bornecrantz [Thu, 29 May 2008 14:56:42 +0000 (16:56 +0200)]
i915: Made batch buffer size much larger

16 years agoMerge branch 'gallium-tex-surfaces' into gallium-0.1
Jakob Bornecrantz [Fri, 30 May 2008 11:46:18 +0000 (13:46 +0200)]
Merge branch 'gallium-tex-surfaces' into gallium-0.1

Conflicts:

src/gallium/drivers/i915simple/i915_context.h

16 years agoi915: Remade texture allocation code again
Jakob Bornecrantz [Fri, 30 May 2008 11:31:42 +0000 (13:31 +0200)]
i915: Remade texture allocation code again

16 years agoi915: Fix extentions not being set
Jakob Bornecrantz [Fri, 30 May 2008 11:30:51 +0000 (13:30 +0200)]
i915: Fix extentions not being set

16 years agosis: Removed useless comment
Jakob Bornecrantz [Fri, 30 May 2008 11:36:52 +0000 (13:36 +0200)]
sis: Removed useless comment

16 years agoegl: new EGL/gallium/softpipe/xlib winsys
Brian Paul [Thu, 29 May 2008 23:02:55 +0000 (17:02 -0600)]
egl: new EGL/gallium/softpipe/xlib winsys

Checkpoint commit.  Most required code is in place, and compiles, but
totally untested.

16 years agoegl: added Name field to _EGLDriver so a driver name string can propogate up through...
Brian Paul [Thu, 29 May 2008 23:02:31 +0000 (17:02 -0600)]
egl: added Name field to _EGLDriver so a driver name string can propogate up through EGL_VERSION string

16 years agoegl: use softpipe_egl driver by default
Brian Paul [Thu, 29 May 2008 23:01:19 +0000 (17:01 -0600)]
egl: use softpipe_egl driver by default

16 years agocomments in _eglMain()
Brian Paul [Wed, 28 May 2008 16:40:25 +0000 (10:40 -0600)]
comments in _eglMain()

16 years agogallium: Provide the INT64_C/UINT64_C macros.
José Fonseca [Thu, 29 May 2008 12:09:06 +0000 (21:09 +0900)]
gallium: Provide the INT64_C/UINT64_C macros.

"long long" types and 1234LL constants are not supported by eVC.

16 years agogallium: Replace getenv by placeholder code on WinCE.
José Fonseca [Thu, 29 May 2008 10:24:53 +0000 (19:24 +0900)]
gallium: Replace getenv by placeholder code on WinCE.

WinCE processes supposedly have environment, but it is not clear which API to use.

16 years agodraw: quieten some debug
Keith Whitwell [Thu, 29 May 2008 17:18:56 +0000 (18:18 +0100)]
draw: quieten some debug

16 years agoi915: Fix GPU lockup on resize
Jakob Bornecrantz [Thu, 29 May 2008 17:07:40 +0000 (19:07 +0200)]
i915: Fix GPU lockup on resize

16 years agoi915: Cleaned up intel_winsys_pipe.c
Jakob Bornecrantz [Thu, 29 May 2008 14:03:21 +0000 (16:03 +0200)]
i915: Cleaned up intel_winsys_pipe.c

16 years agoi915: Deprecated pipe_winsys buffer functions
Jakob Bornecrantz [Thu, 29 May 2008 13:49:23 +0000 (15:49 +0200)]
i915: Deprecated pipe_winsys buffer functions

16 years agodraw: add more switches to turn FSE on/off
Keith Whitwell [Thu, 29 May 2008 13:35:30 +0000 (14:35 +0100)]
draw: add more switches to turn FSE on/off

16 years agogallium: MSVC warning fixes.
José Fonseca [Thu, 29 May 2008 13:26:56 +0000 (22:26 +0900)]
gallium: MSVC warning fixes.

Conflicts:

src/gallium/auxiliary/draw/draw_pt_varray.c
src/gallium/auxiliary/draw/draw_pt_varray_tmp.h
src/gallium/auxiliary/draw/draw_pt_vcache.c

16 years agopsb: Make msvc happy.
José Fonseca [Thu, 29 May 2008 13:20:51 +0000 (22:20 +0900)]
psb: Make msvc happy.

Conflicts:

src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c

16 years agodraw: michal's patch for calling powf... teapot still not quite right
Keith Whitwell [Thu, 29 May 2008 12:26:01 +0000 (13:26 +0100)]
draw: michal's patch for calling powf...  teapot still not quite right

16 years agodraw: better calculation of fetch_count
Keith Whitwell [Thu, 29 May 2008 12:08:15 +0000 (13:08 +0100)]
draw: better calculation of fetch_count

16 years agodraw: remove printf
Keith Whitwell [Thu, 29 May 2008 11:42:39 +0000 (12:42 +0100)]
draw: remove printf

16 years agodraw: make sure constant buffer data is aligned before passing to aos.c
Keith Whitwell [Thu, 29 May 2008 11:38:49 +0000 (12:38 +0100)]
draw: make sure constant buffer data is aligned before passing to aos.c