José Fonseca [Sat, 31 May 2008 09:07:39 +0000 (18:07 +0900)]
gallium: MSVC 8.0 already defines the cosf, sinf, etc.
José Fonseca [Sat, 31 May 2008 06:18:55 +0000 (15:18 +0900)]
gallium: Port timing functions to WinCE.
Brian Paul [Fri, 30 May 2008 21:07:58 +0000 (15:07 -0600)]
gallium: fix some PIPE_FORMAT_Z24S8_UNORM bugs in softpipe driver
Brian Paul [Fri, 30 May 2008 20:51:40 +0000 (14:51 -0600)]
egl: eglGetProcAddress() stub
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.
Brian Paul [Fri, 30 May 2008 19:46:50 +0000 (13:46 -0600)]
egl: bind the OpenGL API
Brian Paul [Fri, 30 May 2008 19:46:31 +0000 (13:46 -0600)]
egl: specify client API by bit flag, not string
Brian Paul [Fri, 30 May 2008 19:45:40 +0000 (13:45 -0600)]
egl: clean-up re-org of the client API state
Brian Paul [Fri, 30 May 2008 18:06:06 +0000 (12:06 -0600)]
egl: added eglDestroySurface function
Brian Paul [Fri, 30 May 2008 17:51:50 +0000 (11:51 -0600)]
egl: fix-up window resizes
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
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)
Brian Paul [Fri, 30 May 2008 17:42:08 +0000 (11:42 -0600)]
egl: assorted fixes. The code works now.
Brian Paul [Fri, 30 May 2008 17:41:18 +0000 (11:41 -0600)]
egl: added surface_alloc_storage()
Brian Paul [Fri, 30 May 2008 17:40:48 +0000 (11:40 -0600)]
egl: fix width/height tests
Brian Paul [Fri, 30 May 2008 17:40:23 +0000 (11:40 -0600)]
link libEGL with Xlib
Keith Whitwell [Fri, 30 May 2008 13:51:09 +0000 (14:51 +0100)]
draw: trim incoming primitives
Keith Whitwell [Fri, 30 May 2008 13:47:38 +0000 (14:47 +0100)]
mesa: undo accidental setting of _ForceEyeCoords
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.
Jakob Bornecrantz [Thu, 29 May 2008 14:57:34 +0000 (16:57 +0200)]
i915: Now using draw_elements_range
Jakob Bornecrantz [Thu, 29 May 2008 14:56:42 +0000 (16:56 +0200)]
i915: Made batch buffer size much larger
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
Jakob Bornecrantz [Fri, 30 May 2008 11:31:42 +0000 (13:31 +0200)]
i915: Remade texture allocation code again
Jakob Bornecrantz [Fri, 30 May 2008 11:30:51 +0000 (13:30 +0200)]
i915: Fix extentions not being set
Jakob Bornecrantz [Fri, 30 May 2008 11:36:52 +0000 (13:36 +0200)]
sis: Removed useless comment
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.
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
Brian Paul [Thu, 29 May 2008 23:01:19 +0000 (17:01 -0600)]
egl: use softpipe_egl driver by default
Brian Paul [Wed, 28 May 2008 16:40:25 +0000 (10:40 -0600)]
comments in _eglMain()
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.
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.
Keith Whitwell [Thu, 29 May 2008 17:18:56 +0000 (18:18 +0100)]
draw: quieten some debug
Jakob Bornecrantz [Thu, 29 May 2008 17:07:40 +0000 (19:07 +0200)]
i915: Fix GPU lockup on resize
Jakob Bornecrantz [Thu, 29 May 2008 14:03:21 +0000 (16:03 +0200)]
i915: Cleaned up intel_winsys_pipe.c
Jakob Bornecrantz [Thu, 29 May 2008 13:49:23 +0000 (15:49 +0200)]
i915: Deprecated pipe_winsys buffer functions
Keith Whitwell [Thu, 29 May 2008 13:35:30 +0000 (14:35 +0100)]
draw: add more switches to turn FSE on/off
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
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
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
Keith Whitwell [Thu, 29 May 2008 12:08:15 +0000 (13:08 +0100)]
draw: better calculation of fetch_count
Keith Whitwell [Thu, 29 May 2008 11:42:39 +0000 (12:42 +0100)]
draw: remove printf
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
Jakob Bornecrantz [Thu, 29 May 2008 10:44:53 +0000 (12:44 +0200)]
i915: Remove last usage of surface_alloc_storage
Jakob Bornecrantz [Thu, 29 May 2008 10:43:09 +0000 (12:43 +0200)]
i915: Ops how did that get there
Jakob Bornecrantz [Thu, 29 May 2008 10:54:01 +0000 (12:54 +0200)]
i915: Get up to date with the latest EGL changes
Keith Whitwell [Thu, 29 May 2008 10:46:43 +0000 (11:46 +0100)]
draw: draw_range_elements trial
Michal Krol [Thu, 29 May 2008 10:11:37 +0000 (12:11 +0200)]
scons: Remove duplicate entry.
José Fonseca [Thu, 29 May 2008 09:28:02 +0000 (18:28 +0900)]
draw: Put PIPE_CDECL in the right places.
MSVC seems picky about this.
Keith Whitwell [Wed, 28 May 2008 23:17:53 +0000 (00:17 +0100)]
draw: share machine
Keith Whitwell [Wed, 28 May 2008 22:54:18 +0000 (23:54 +0100)]
draw: enable FSE by default
Brian Paul [Wed, 28 May 2008 22:48:35 +0000 (16:48 -0600)]
egl: re-enable LOCAL_CFLAGS
Brian Paul [Wed, 28 May 2008 22:08:50 +0000 (16:08 -0600)]
egl: remove unused Display field
Brian Paul [Wed, 28 May 2008 21:50:58 +0000 (15:50 -0600)]
egl: move a few small functions into new eglmisc.[ch] files
Brian Paul [Wed, 28 May 2008 21:43:41 +0000 (15:43 -0600)]
egl: make sure EGL_VERSION_STRING query returns same version as eglInitialize()
Brian Paul [Wed, 28 May 2008 21:25:01 +0000 (15:25 -0600)]
egl: query/print EGL_CLIENT_APIS
Brian Paul [Wed, 28 May 2008 21:22:17 +0000 (15:22 -0600)]
egl: include egldefines.h
Brian Paul [Wed, 28 May 2008 21:21:52 +0000 (15:21 -0600)]
egl: added egldefines.h
Brian Paul [Wed, 28 May 2008 20:51:40 +0000 (14:51 -0600)]
egl: bring card->driver lookup code into egldriver.c
Brian Paul [Wed, 28 May 2008 19:03:59 +0000 (13:03 -0600)]
egl: pass args to _eglOpenDriver()
Brian Paul [Wed, 28 May 2008 18:56:36 +0000 (12:56 -0600)]
egl: added args string to _eglMain()
Brian Paul [Wed, 28 May 2008 18:54:33 +0000 (12:54 -0600)]
egl: added eglstring.[ch]
Brian Paul [Wed, 28 May 2008 17:45:50 +0000 (11:45 -0600)]
prototype new code to map card number to driver name
Brian Paul [Wed, 28 May 2008 17:44:47 +0000 (11:44 -0600)]
link libEGLdri.so with libdrm
Keith Whitwell [Wed, 28 May 2008 15:36:45 +0000 (16:36 +0100)]
rtasm: special case for [ebp]
Brian Paul [Wed, 28 May 2008 14:42:13 +0000 (08:42 -0600)]
x-related EGL code (stub)
José Fonseca [Wed, 28 May 2008 13:19:58 +0000 (22:19 +0900)]
draw: Use PIPE_CDECL.
José Fonseca [Wed, 28 May 2008 13:19:26 +0000 (22:19 +0900)]
scons: Add new files.
Michal Krol [Wed, 28 May 2008 13:10:39 +0000 (15:10 +0200)]
scons: List missing files for draw module.
Michal Krol [Wed, 28 May 2008 13:10:19 +0000 (15:10 +0200)]
draw: Decorate callbacks with PIPE_CDECL.
Jakob Bornecrantz [Wed, 28 May 2008 12:52:10 +0000 (14:52 +0200)]
i915: Add draw_flush to state changes
José Fonseca [Wed, 28 May 2008 12:48:30 +0000 (21:48 +0900)]
tgsi: Observe constness.
José Fonseca [Wed, 28 May 2008 12:47:25 +0000 (21:47 +0900)]
translate: Mark functions as PIPE_CDECL.
Keith Whitwell [Wed, 28 May 2008 12:33:09 +0000 (13:33 +0100)]
Merge branch 'gallium-vertex-linear' into gallium-tex-surfaces
Jakob Bornecrantz [Wed, 28 May 2008 12:22:50 +0000 (14:22 +0200)]
i915: DriConfigOptions started complaining on this line
Jakob Bornecrantz [Wed, 28 May 2008 12:22:07 +0000 (14:22 +0200)]
i915: Remove workaround for buggy draw module
Jakob Bornecrantz [Tue, 27 May 2008 19:15:36 +0000 (21:15 +0200)]
i915: Prepare for tiled private front and back buffers
Jakob Bornecrantz [Tue, 27 May 2008 17:00:16 +0000 (19:00 +0200)]
i915: Made vertex submission eaven faster
Jakob Bornecrantz [Tue, 27 May 2008 11:18:25 +0000 (13:18 +0200)]
i915: Made vbuf work
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
Jakob Bornecrantz [Wed, 28 May 2008 10:27:52 +0000 (12:27 +0200)]
i915: Don't segfault on buffer allocation error
Jakob Bornecrantz [Wed, 28 May 2008 10:27:27 +0000 (12:27 +0200)]
i915: Make EGL_i915 compile
Jakob Bornecrantz [Tue, 27 May 2008 23:18:45 +0000 (01:18 +0200)]
i915: Make EGL_i915 segfault if modesetting is not working
Jakob Bornecrantz [Wed, 28 May 2008 09:40:41 +0000 (11:40 +0200)]
egl: Temporarily disable eglx.[c|h] building
Jakob Bornecrantz [Wed, 28 May 2008 09:33:52 +0000 (11:33 +0200)]
egl: Make dri driver compile
Jakob Bornecrantz [Wed, 28 May 2008 09:32:18 +0000 (11:32 +0200)]
egl: Make demo driver compile
Jakob Bornecrantz [Tue, 27 May 2008 23:17:28 +0000 (01:17 +0200)]
egl: Fix warning in eglgears
Jakob Bornecrantz [Tue, 27 May 2008 23:16:06 +0000 (01:16 +0200)]
egl: Make demo3 compile
José Fonseca [Wed, 28 May 2008 07:12:14 +0000 (16:12 +0900)]
gallium: Windows CE portability fixes.
Brian Paul [Tue, 27 May 2008 22:58:23 +0000 (16:58 -0600)]
include eglconfigutil.h
Brian Paul [Tue, 27 May 2008 22:57:49 +0000 (16:57 -0600)]
Move some config-related utility functions into new eglconfigutil.c file.
Brian Paul [Tue, 27 May 2008 22:49:11 +0000 (16:49 -0600)]
misc updates, clean-ups, remove dependency on mtypes.h
Brian Paul [Tue, 27 May 2008 22:48:23 +0000 (16:48 -0600)]
minor overhaul/re-org of driver selection/loading code
Keith Whitwell [Tue, 27 May 2008 22:23:37 +0000 (23:23 +0100)]
softpipe: enable vbuf by default
The non-vbuf option is going away...
Keith Whitwell [Tue, 27 May 2008 22:21:50 +0000 (23:21 +0100)]
draw: reset stipple counter whenever non-line prim encountered
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.
Brian Paul [Tue, 27 May 2008 20:23:56 +0000 (14:23 -0600)]
added EGL_OPENGL_API case
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.
Brian Paul [Tue, 27 May 2008 20:17:40 +0000 (14:17 -0600)]
fix typo: s/Contexts/Surfaces/
Brian Paul [Tue, 27 May 2008 19:47:44 +0000 (13:47 -0600)]
s/GLuint/unsigned/
Brian Paul [Tue, 27 May 2008 19:47:23 +0000 (13:47 -0600)]
include eglext.h, define EGL_EGLEXT_PROTOTYPES