mesa.git
16 years agoi915: DriConfigOptions started complaining on this line
Jakob Bornecrantz [Wed, 28 May 2008 12:22:50 +0000 (14:22 +0200)]
i915: DriConfigOptions started complaining on this line

16 years agoi915: Remove workaround for buggy draw module
Jakob Bornecrantz [Wed, 28 May 2008 12:22:07 +0000 (14:22 +0200)]
i915: Remove workaround for buggy draw module

16 years agoi915: Prepare for tiled private front and back buffers
Jakob Bornecrantz [Tue, 27 May 2008 19:15:36 +0000 (21:15 +0200)]
i915: Prepare for tiled private front and back buffers

16 years agoi915: Made vertex submission eaven faster
Jakob Bornecrantz [Tue, 27 May 2008 17:00:16 +0000 (19:00 +0200)]
i915: Made vertex submission eaven faster

16 years agoi915: Made vbuf work
Jakob Bornecrantz [Tue, 27 May 2008 11:18:25 +0000 (13:18 +0200)]
i915: Made vbuf work

16 years agoMerge branch 'gallium-vertex-linear' into gallium-0.1
Jakob Bornecrantz [Wed, 28 May 2008 10:42:42 +0000 (12:42 +0200)]
Merge branch 'gallium-vertex-linear' into gallium-0.1

Conflicts:

src/gallium/auxiliary/draw/draw_pt_varray.c

16 years agoi915: Don't segfault on buffer allocation error
Jakob Bornecrantz [Wed, 28 May 2008 10:27:52 +0000 (12:27 +0200)]
i915: Don't segfault on buffer allocation error

16 years agoi915: Make EGL_i915 compile
Jakob Bornecrantz [Wed, 28 May 2008 10:27:27 +0000 (12:27 +0200)]
i915: Make EGL_i915 compile

16 years agoi915: Make EGL_i915 segfault if modesetting is not working
Jakob Bornecrantz [Tue, 27 May 2008 23:18:45 +0000 (01:18 +0200)]
i915: Make EGL_i915 segfault if modesetting is not working

16 years agoegl: Temporarily disable eglx.[c|h] building
Jakob Bornecrantz [Wed, 28 May 2008 09:40:41 +0000 (11:40 +0200)]
egl: Temporarily disable eglx.[c|h] building

16 years agoegl: Make dri driver compile
Jakob Bornecrantz [Wed, 28 May 2008 09:33:52 +0000 (11:33 +0200)]
egl: Make dri driver compile

16 years agoegl: Make demo driver compile
Jakob Bornecrantz [Wed, 28 May 2008 09:32:18 +0000 (11:32 +0200)]
egl: Make demo driver compile

16 years agoegl: Fix warning in eglgears
Jakob Bornecrantz [Tue, 27 May 2008 23:17:28 +0000 (01:17 +0200)]
egl: Fix warning in eglgears

16 years agoegl: Make demo3 compile
Jakob Bornecrantz [Tue, 27 May 2008 23:16:06 +0000 (01:16 +0200)]
egl: Make demo3 compile

16 years agogallium: Windows CE portability fixes.
José Fonseca [Wed, 28 May 2008 07:12:14 +0000 (16:12 +0900)]
gallium: Windows CE portability fixes.

16 years agoinclude eglconfigutil.h
Brian Paul [Tue, 27 May 2008 22:58:23 +0000 (16:58 -0600)]
include eglconfigutil.h

16 years agoMove some config-related utility functions into new eglconfigutil.c file.
Brian Paul [Tue, 27 May 2008 22:57:49 +0000 (16:57 -0600)]
Move some config-related utility functions into new eglconfigutil.c file.

16 years agomisc updates, clean-ups, remove dependency on mtypes.h
Brian Paul [Tue, 27 May 2008 22:49:11 +0000 (16:49 -0600)]
misc updates, clean-ups, remove dependency on mtypes.h

16 years agominor overhaul/re-org of driver selection/loading code
Brian Paul [Tue, 27 May 2008 22:48:23 +0000 (16:48 -0600)]
minor overhaul/re-org of driver selection/loading code

16 years agoadded _eglGet*Handle() functions
Brian Paul [Tue, 27 May 2008 20:33:54 +0000 (14:33 -0600)]
added _eglGet*Handle() functions

These are the inverse of the _eglLookup*() functions.
Returns the public handle for a private surface/config/display/etc.
Removes glapi.c's direct access of private fields.

16 years agoadded EGL_OPENGL_API case
Brian Paul [Tue, 27 May 2008 20:23:56 +0000 (14:23 -0600)]
added EGL_OPENGL_API case

16 years agoeliminate the context hash table
Brian Paul [Tue, 27 May 2008 20:21:25 +0000 (14:21 -0600)]
eliminate the context hash table

In EGL 1.4 the opaque EGLContext type is a pointer so we can just cast
between public EGLContext handles and private _EGLContext pointers.

16 years agofix typo: s/Contexts/Surfaces/
Brian Paul [Tue, 27 May 2008 20:17:40 +0000 (14:17 -0600)]
fix typo: s/Contexts/Surfaces/

16 years agos/GLuint/unsigned/
Brian Paul [Tue, 27 May 2008 19:47:44 +0000 (13:47 -0600)]
s/GLuint/unsigned/

16 years agoinclude eglext.h, define EGL_EGLEXT_PROTOTYPES
Brian Paul [Tue, 27 May 2008 19:47:23 +0000 (13:47 -0600)]
include eglext.h, define EGL_EGLEXT_PROTOTYPES

16 years agoupdates for EGL 1.4
Brian Paul [Tue, 27 May 2008 19:47:07 +0000 (13:47 -0600)]
updates for EGL 1.4

16 years agoassorted changes to compile with new EGL 1.4 headers (untested)
Brian Paul [Tue, 27 May 2008 19:45:41 +0000 (13:45 -0600)]
assorted changes to compile with new EGL 1.4 headers (untested)

16 years agopipe stderr to /dev/null
Brian Paul [Tue, 27 May 2008 19:45:16 +0000 (13:45 -0600)]
pipe stderr to /dev/null

16 years agoobsolete with EGL 1.4
Brian Paul [Tue, 27 May 2008 19:45:01 +0000 (13:45 -0600)]
obsolete with EGL 1.4

16 years agoadded EGL_MESA_screen_surface, EGL_MESA_copy_context extensions
Brian Paul [Tue, 27 May 2008 19:43:56 +0000 (13:43 -0600)]
added EGL_MESA_screen_surface, EGL_MESA_copy_context extensions

16 years agoadded typedefs for X/Mesa
Brian Paul [Tue, 27 May 2008 19:43:34 +0000 (13:43 -0600)]
added typedefs for X/Mesa

16 years agoremove stray ! character
Brian Paul [Tue, 27 May 2008 19:43:17 +0000 (13:43 -0600)]
remove stray ! character

16 years agonew eglplatform.h from Khronos.org (replaces GLES/egltypes.h)
Brian Paul [Tue, 27 May 2008 19:43:01 +0000 (13:43 -0600)]
new eglplatform.h from Khronos.org (replaces GLES/egltypes.h)

16 years agonew eglext.h from Khronos
Brian Paul [Tue, 27 May 2008 19:42:38 +0000 (13:42 -0600)]
new eglext.h from Khronos

16 years agoEGL 1.4 header from Khronos
Brian Paul [Tue, 27 May 2008 19:42:12 +0000 (13:42 -0600)]
EGL 1.4 header from Khronos

16 years agodraw: support psize in vs_varient paths
Keith Whitwell [Tue, 27 May 2008 18:01:57 +0000 (19:01 +0100)]
draw: support psize in vs_varient paths

Preserve the vinfo "EMIT_*" format descriptors in the varient key,
and deal with PSIZE directly in each implementation.

16 years agodraw: add disabled debug code
Keith Whitwell [Tue, 27 May 2008 16:51:48 +0000 (17:51 +0100)]
draw: add disabled debug code

16 years agodraw: ensure vs outputs mapped correctly to vinfo attribs
Keith Whitwell [Tue, 27 May 2008 16:49:13 +0000 (17:49 +0100)]
draw: ensure vs outputs mapped correctly to vinfo attribs

16 years agodraw: fix ABS aliasing bug
Keith Whitwell [Tue, 27 May 2008 16:45:54 +0000 (17:45 +0100)]
draw: fix ABS aliasing bug

16 years agogallium: Autodetect WINCE.
José Fonseca [Tue, 27 May 2008 16:24:26 +0000 (01:24 +0900)]
gallium: Autodetect WINCE.

16 years agoscons: Play nice with MS Embedded Visual C++.
José Fonseca [Tue, 27 May 2008 16:24:06 +0000 (01:24 +0900)]
scons: Play nice with MS Embedded Visual C++.

16 years agodraw: explicitly list nr_inputs, outputs in varient key
Keith Whitwell [Tue, 27 May 2008 13:42:15 +0000 (14:42 +0100)]
draw: explicitly list nr_inputs, outputs in varient key

16 years agodraw: remove dead file
Keith Whitwell [Tue, 27 May 2008 13:17:57 +0000 (14:17 +0100)]
draw: remove dead file

16 years agodraw: Fixed typo in draw_pt_varray and added comments
Jakob Bornecrantz [Tue, 27 May 2008 11:15:52 +0000 (13:15 +0200)]
draw: Fixed typo in draw_pt_varray and added comments

16 years agodraw: Fix for EMIT_4UB case
Jakob Bornecrantz [Tue, 27 May 2008 10:59:46 +0000 (12:59 +0200)]
draw: Fix for EMIT_4UB case

16 years agodraw: hook up viewport / rhw emit to varient key state
Keith Whitwell [Tue, 27 May 2008 11:26:23 +0000 (12:26 +0100)]
draw: hook up viewport / rhw emit to varient key state

16 years agodraw: restore extras path in draw_pt_vcache.c, keep pipeline flags out of non-pipelin...
Keith Whitwell [Tue, 27 May 2008 10:58:55 +0000 (11:58 +0100)]
draw: restore extras path in draw_pt_vcache.c, keep pipeline flags out of non-pipeline elts

16 years agodraw: dump individual instructions as they are processed
Keith Whitwell [Tue, 27 May 2008 10:15:31 +0000 (11:15 +0100)]
draw: dump individual instructions as they are processed

16 years agotgsi: export utils for dumping individual instructions
Keith Whitwell [Tue, 27 May 2008 10:12:42 +0000 (11:12 +0100)]
tgsi: export utils for dumping individual instructions

16 years agodraw: fix writemask/shufps confusion
Keith Whitwell [Tue, 27 May 2008 10:10:50 +0000 (11:10 +0100)]
draw: fix writemask/shufps confusion

16 years agodraw: some possible fixes for spilling
Keith Whitwell [Tue, 27 May 2008 09:42:58 +0000 (10:42 +0100)]
draw: some possible fixes for spilling

16 years agoffvertex: emit full LIT when attenuating (needs the 1 in X position)
Keith Whitwell [Tue, 27 May 2008 09:35:33 +0000 (10:35 +0100)]
ffvertex: emit full LIT when attenuating (needs the 1 in X position)

16 years agoffvertex: don't compute whole eye vector if only eye.z is required
Keith Whitwell [Tue, 27 May 2008 08:48:32 +0000 (09:48 +0100)]
ffvertex: don't compute whole eye vector if only eye.z is required

16 years agogallium: free renderbuffer's old texture in st_renderbuffer_alloc_storage()
Brian Paul [Mon, 26 May 2008 19:30:10 +0000 (13:30 -0600)]
gallium: free renderbuffer's old texture in st_renderbuffer_alloc_storage()

16 years agodraw: defensively flush pipeline backend when setting primitive
Keith Whitwell [Mon, 26 May 2008 18:10:44 +0000 (19:10 +0100)]
draw: defensively flush pipeline backend when setting primitive

16 years agodraw: defensively reset render primitive some more
Keith Whitwell [Mon, 26 May 2008 17:54:35 +0000 (18:54 +0100)]
draw: defensively reset render primitive some more

16 years agodraw: defensively reset render primitive, which can get clobbered by clipping
Keith Whitwell [Mon, 26 May 2008 17:37:34 +0000 (18:37 +0100)]
draw: defensively reset render primitive, which can get clobbered by clipping

16 years agodraw: add missing break
Keith Whitwell [Mon, 26 May 2008 17:29:47 +0000 (18:29 +0100)]
draw: add missing break

16 years agoRevert DOS line endings.
José Fonseca [Mon, 26 May 2008 14:29:38 +0000 (23:29 +0900)]
Revert DOS line endings.

16 years agoRemove CVS keywords.
José Fonseca [Mon, 26 May 2008 11:14:40 +0000 (20:14 +0900)]
Remove CVS keywords.

16 years agoi915: Removed screen sufixes on texture functions
Jakob Bornecrantz [Mon, 26 May 2008 09:20:51 +0000 (11:20 +0200)]
i915: Removed screen sufixes on texture functions

16 years agoi915: Fix for tex-surface merge
Jakob Bornecrantz [Sun, 25 May 2008 15:26:07 +0000 (17:26 +0200)]
i915: Fix for tex-surface merge

16 years agoMerge branch 'gallium-tex-surface' into gallium-0.1
Jakob Bornecrantz [Mon, 26 May 2008 11:04:25 +0000 (13:04 +0200)]
Merge branch 'gallium-tex-surface' into gallium-0.1

Conflicts:

src/gallium/include/pipe/p_util.h

16 years agodraw: extend precision in RSQ opcode
Keith Whitwell [Mon, 26 May 2008 10:03:00 +0000 (11:03 +0100)]
draw: extend precision in RSQ opcode

16 years agodraw: more aos tweaks
Keith Whitwell [Sun, 25 May 2008 23:09:02 +0000 (00:09 +0100)]
draw: more aos tweaks

16 years agocso: use memcpy rather than structure asignment for copying
Keith Whitwell [Sun, 25 May 2008 14:28:30 +0000 (15:28 +0100)]
cso: use memcpy rather than structure asignment for copying

Apparently gcc will omit to copy hidden padding bytes under some circumstances,
which means later on memcmp() will indicate a difference between structs
even though all the visible members are identical.

16 years agodraw: slight tweak for XPD opcode
Keith Whitwell [Sun, 25 May 2008 14:47:04 +0000 (15:47 +0100)]
draw: slight tweak for XPD opcode

16 years agodraw: remove EXP & LOG from vs_aos.c
Keith Whitwell [Sun, 25 May 2008 14:45:27 +0000 (15:45 +0100)]
draw: remove EXP & LOG from vs_aos.c

These don't get hit & look like bug magnets to me...

16 years agodraw: special case for writing out scalar results
Keith Whitwell [Sun, 25 May 2008 14:44:17 +0000 (15:44 +0100)]
draw: special case for writing out scalar results

16 years agodraw: clean up some of the xmm register manipulation function names
Keith Whitwell [Sun, 25 May 2008 14:37:47 +0000 (15:37 +0100)]
draw: clean up some of the xmm register manipulation function names

16 years agocso: use memcpy rather than structure asignment for copying
Keith Whitwell [Sun, 25 May 2008 14:28:30 +0000 (15:28 +0100)]
cso: use memcpy rather than structure asignment for copying

Apparently gcc will omit to copy hidden padding bytes under some circumstances,
which means later on memcmp() will indicate a difference between structs
even though all the visible members are identical.

16 years agodraw: add viewport support to generic vs varient code
Keith Whitwell [Sun, 25 May 2008 10:25:09 +0000 (11:25 +0100)]
draw: add viewport support to generic vs varient code

16 years agodraw: fix input vs output typo in emit
Keith Whitwell [Sun, 25 May 2008 10:20:38 +0000 (11:20 +0100)]
draw: fix input vs output typo in emit

16 years agoDemangle C++ symbols.
José Fonseca [Sat, 24 May 2008 16:35:53 +0000 (01:35 +0900)]
Demangle C++ symbols.

16 years agoRevert "mesa: save a temp on normalizes"
Keith Whitwell [Sat, 24 May 2008 15:32:08 +0000 (16:32 +0100)]
Revert "mesa: save a temp on normalizes"

This reverts commit feceb43948f76cc4d4c8ecbb86b1b1f438c6daee.

16 years agodraw: use lookup tables to avoid calling pow() in LIT opcode
Keith Whitwell [Sat, 24 May 2008 15:31:11 +0000 (16:31 +0100)]
draw: use lookup tables to avoid calling pow() in LIT opcode

16 years agomesa: pre-swizzle normal scale state value
Keith Whitwell [Sat, 24 May 2008 12:23:06 +0000 (13:23 +0100)]
mesa: pre-swizzle normal scale state value

16 years agomesa: evaluate _NeedEyeCoords prior to generating internal vertex shader
Keith Whitwell [Sat, 24 May 2008 12:22:39 +0000 (13:22 +0100)]
mesa: evaluate _NeedEyeCoords prior to generating internal vertex shader

16 years agodraw: add a debug-print which can be called from inside generated shaders
Keith Whitwell [Sat, 24 May 2008 12:22:29 +0000 (13:22 +0100)]
draw: add a debug-print which can be called from inside generated shaders

16 years agortasm: add some helpers for calling out from generated code
Keith Whitwell [Sat, 24 May 2008 12:22:15 +0000 (13:22 +0100)]
rtasm: add some helpers for calling out from generated code

16 years agogallium: Pre-processor for win32 kernel profile output.
José Fonseca [Sat, 24 May 2008 10:26:14 +0000 (19:26 +0900)]
gallium: Pre-processor for win32 kernel profile output.

16 years agogallium: Poor-man profiler for win32 kernel.
José Fonseca [Sat, 24 May 2008 10:25:33 +0000 (19:25 +0900)]
gallium: Poor-man profiler for win32 kernel.

16 years agoscons: New profile build.
José Fonseca [Sat, 24 May 2008 10:25:02 +0000 (19:25 +0900)]
scons: New profile build.

16 years agomesa: save a temp on normalizes
Keith Whitwell [Fri, 23 May 2008 19:37:50 +0000 (20:37 +0100)]
mesa: save a temp on normalizes

16 years agomesa: further degenerate the special case lit substitute
Keith Whitwell [Fri, 23 May 2008 19:05:36 +0000 (20:05 +0100)]
mesa: further degenerate the special case lit substitute

16 years agoglapi: fix include path & make build work
Keith Whitwell [Fri, 23 May 2008 18:17:57 +0000 (19:17 +0100)]
glapi: fix include path & make build work

16 years agomesa: don't emit LIT instruction when mat shininess known to be zero
Keith Whitwell [Fri, 23 May 2008 18:17:02 +0000 (19:17 +0100)]
mesa: don't emit LIT instruction when mat shininess known to be zero

Use a faster path in that case & make gears go faster.

16 years agoi915: Revert accidental change
Jakob Bornecrantz [Fri, 23 May 2008 14:55:30 +0000 (16:55 +0200)]
i915: Revert accidental change

16 years agoi915: Improved vertex buffer performance
Jakob Bornecrantz [Fri, 23 May 2008 14:11:38 +0000 (16:11 +0200)]
i915: Improved vertex buffer performance

16 years agoi915: Fix for edgeflags
Jakob Bornecrantz [Thu, 22 May 2008 13:02:54 +0000 (15:02 +0200)]
i915: Fix for edgeflags

16 years agoMerge branch 'gallium-i915-current' into gallium-0.1
Jakob Bornecrantz [Fri, 23 May 2008 14:26:14 +0000 (16:26 +0200)]
Merge branch 'gallium-i915-current' into gallium-0.1

16 years agoegl: Don't build EGL programs either
Jakob Bornecrantz [Fri, 23 May 2008 14:25:51 +0000 (16:25 +0200)]
egl: Don't build EGL programs either

16 years agoegl: Stoped compiling EGL completely
Jakob Bornecrantz [Fri, 23 May 2008 14:18:42 +0000 (16:18 +0200)]
egl: Stoped compiling EGL completely

16 years agoi915: Made EGL report the actual modes on the screen/output pair
Jakob Bornecrantz [Fri, 23 May 2008 09:24:33 +0000 (11:24 +0200)]
i915: Made EGL report the actual modes on the screen/output pair

16 years agoi915: Make batchbuffers larger.
Thomas Hellstrom [Fri, 23 May 2008 09:14:12 +0000 (11:14 +0200)]
i915: Make batchbuffers larger.

16 years agoi915: Use the malloc pool for constant buffers since they don't go to the GPU directly.
Thomas Hellstrom [Thu, 22 May 2008 14:42:53 +0000 (16:42 +0200)]
i915: Use the malloc pool for constant buffers since they don't go to the GPU directly.

16 years agomesa: Added linux-egl target, that only builds the i915simple driver and egl drivers
Jakob Bornecrantz [Thu, 22 May 2008 14:24:51 +0000 (16:24 +0200)]
mesa: Added linux-egl target, that only builds the i915simple driver and egl drivers

16 years agomesa: On second thought lets not build the driver
Jakob Bornecrantz [Thu, 22 May 2008 14:24:10 +0000 (16:24 +0200)]
mesa: On second thought lets not build the driver

16 years agodraw: faster LIT(), incorrect though
Keith Whitwell [Fri, 23 May 2008 08:14:17 +0000 (09:14 +0100)]
draw: faster LIT(), incorrect though

16 years agomesa: do object-space lighting in ffvertex_prog.c
Keith Whitwell [Fri, 23 May 2008 08:10:59 +0000 (09:10 +0100)]
mesa: do object-space lighting in ffvertex_prog.c

Start pulling over some of the optimizations from the fixed function
paths.