Brian Paul
ea5918be0e
glapi: fix int->pointer conversions warnings in no-op functions
2010-01-22 08:15:14 -07:00
Brian Paul
5023a7f53f
gallium/draw: fix-up comments, whitespace
2010-01-22 08:08:45 -07:00
Brian Paul
3c31b1b6d1
gallium/draw: replace int with boolean
2010-01-22 08:08:45 -07:00
Andre Maasikas
69e26a08c6
r600: enable sampler lod* bits
...
bits, settings derived from testing, might contain some errors...
2010-01-22 16:57:47 +02:00
Andre Maasikas
70ccca4251
r600: update vport z & clipping when depth_clamp is changed
...
fixes piglit depth_clamp
2010-01-22 14:14:01 +02:00
Andre Maasikas
9bf40cea00
r600: fix brownbag, only align if we are dealing with cubemap
2010-01-22 13:49:12 +02:00
Andre Maasikas
714d9c21ec
r600: cubemap levels seem to be aligned to 8 images
2010-01-22 13:33:15 +02:00
Andre Maasikas
278ad74fe0
radeon/fbo: flush rendering before generating mipmaps
...
or maybe should flush(also) in finish_render_texture...
2010-01-22 12:58:27 +02:00
Andre Maasikas
7c6f51cdcc
radeon/fbo: use correct depth texture offset for depth textures
2010-01-22 12:38:34 +02:00
Andre Maasikas
defd45e95e
r600: enable draw_offset
...
fixes some fbo cases (mipmaps, cube textures ..)
2010-01-22 12:38:19 +02:00
Chia-I Wu
3c967a9207
st/egl_g3d: Rename to st/egl.
...
Simply the name to egl.
2010-01-22 16:45:28 +08:00
Chia-I Wu
3a4b7d3071
winsys/drm: Update the options of mklib in Makefile.egl_g3d.
...
Pass -linker, -ldflags, and $(MKLIB_OPTIONS) to mklib.
2010-01-22 16:44:13 +08:00
Chia-I Wu
3b0ffd5a36
egl: Remove egl_softpipe.
...
With the addition egl_x11_swrast, egl_softpipe is sort of deprecated.
The new driver serves the same purpose as egl_softpipe does. It is
based on egl_g3d and provides more features.
2010-01-22 16:44:13 +08:00
Chia-I Wu
a1306f4ef6
winsys/drm: Add swrast.
...
The swrast winsys always returns NULL when drm_api_create is called.
2010-01-22 16:44:09 +08:00
Chia-I Wu
52d7b2cede
st/egl: Remove the egl state tracker.
...
The egl_g3d state tracker has support for KMS, and the support is based
on the egl state tracker. As egl_g3d provides more features, it should
be better to keep only egl_g3d to unify the efforts.
2010-01-22 15:37:56 +08:00
Chia-I Wu
2a928899e3
egl: Remove USING_EGL and the related drivers.
...
They do not build for a long while and there seems to be no active
users. It might be better for them to live in the git histroy.
2010-01-22 15:16:31 +08:00
Chia-I Wu
324fdf7364
egl: Remove the demo driver.
...
The demo driver has outdated. It is suggested to look at any of the
drivers that is functioning.
2010-01-22 15:10:09 +08:00
Chia-I Wu
cfb1ed3977
st/egl_g3d: Use glxinit.c from egl_xdri.
...
It is used to fetch the GLX visuals/fbconfigs. Use egl_xdri's version
to avoid duplication. It might be better to rewrite that part though.
2010-01-22 15:06:06 +08:00
Chia-I Wu
18b63b55d5
egl_xdri: Add support for DRISW.
...
Try DRISW if both DRI2 and DRI fail. It can also be forced by setting
EGL_SOFTWARE. When DRISW is used, single-buffered modes are ignored.
2010-01-22 15:03:45 +08:00
Chia-I Wu
caa75a7ce0
egl_xdri: Flush commands on context switch and buffer swap.
...
The corresponding DRI functions does not flush for us.
2010-01-22 14:54:41 +08:00
Chia-I Wu
3c9bf648ac
egl_xdri: Report only OpenGL support.
...
It reported OpenGL ES support because some demos did not set
EGL_RENDERABLE_TYPE correctly. The demos are fixed.
2010-01-22 14:54:40 +08:00
Chia-I Wu
fe0e35aba8
egl_xdri: Do not reinitialize in __glXInitialize.
...
__glXInitialize should return the same GLX display for the same X
display. This issue is triggered by
a35f6bb207 .
2010-01-22 14:54:40 +08:00
Chia-I Wu
0e54f9c529
egl_glx: Report only OpenGL support.
...
It reported OpenGL ES support because some demos did not set
EGL_RENDERABLE_TYPE correctly. The demos are fixed.
2010-01-22 14:24:46 +08:00
Chia-I Wu
2279fa3c06
egl: Update driver Makefiles.
...
Update to use the new Makefile.template.
2010-01-22 13:29:23 +08:00
Chia-I Wu
e63272050f
egl: Add Makefile.template for EGL drivers.
2010-01-22 12:02:00 +08:00
Chia-I Wu
883b57e66c
winsys/drm: Update Makefile.template.
...
Mainly to respect LDFLAGS and remove unused target $(LIBNAME_EGL). This
is based on the patch by Tomáš Chvátal <scarabeus@gentoo.org>.
2010-01-22 11:28:48 +08:00
Brian Paul
d65d5d2993
gallium: fix conditional rendering comment
2010-01-21 11:52:54 -07:00
Brian Paul
6c1549a77d
gallium/docs: document conditional rendering
2010-01-21 11:52:36 -07:00
Brian Paul
6d4805b363
gallium: updated comments, whitespace fixes
2010-01-21 11:35:33 -07:00
Brian Paul
dc2914ab26
mesa: minor whitespace fix
2010-01-21 09:44:42 -07:00
Luca Barbieri
e59353f592
mesa: support for GL_ARB_fragment_coord_conventions
...
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-21 09:41:28 -07:00
Brian Paul
074abd889f
softpipe: added region assertions in softpipe_get_tex_transfer()
2010-01-21 08:04:15 -07:00
Chia-I Wu
4736e1cbbd
dri: Remove unnecessary glapi headers.
...
They are not used at all.
2010-01-21 17:49:59 +08:00
Chia-I Wu
bdd2500805
Do not include glapi/dispatch.h outside Mesa core.
...
Include the glapi*.h directly instead. glapi/dispatch.h became a Mesa
core header since 22884db174 .
2010-01-21 17:48:38 +08:00
Alan Coopersmith
208e815c88
gallium/i965: Make brw_batchbuffer prototypes match in source & header
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-20 18:06:34 -08:00
Corbin Simpson
c1334ce235
radeong: Fix EGL driver names.
...
Using "radeon" instead of "radeong" because we don't have classic EGL.
2010-01-20 12:22:05 -08:00
Tomas Chvatal
1ffb72a6bf
Fix touching live system during install.
2010-01-20 12:22:05 -08:00
Alex Deucher
156c90e5c3
r200: re-adding missing pitch alignment check in blit code
...
lost after switch to common code
2010-01-20 11:19:06 -05:00
Brian Paul
05208b298d
mesa: replace questionable CPU_TO_LE32 macro with function
2010-01-20 08:18:33 -07:00
Alan Coopersmith
506e27b972
Copy __FUNCTION__ portability #defines from mesa/compiler.h to eglcompiler.h
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-20 23:18:07 +08:00
Alex Deucher
67aa704112
r200: fix some breakage after move to common blit code
2010-01-20 10:00:50 -05:00
Alex Deucher
5a99ca490f
r200: fix typo in 76cf261832
...
noticed by Maciej on IRC.
2010-01-20 09:06:49 -05:00
Chia-I Wu
c8b694b2c2
st/egl_g3d: Add support for driver probe.
...
Hook the drv->Probe callback to allow the drivers to probe displays.
The loading of state trackers is delayed to avoid unnecessary loading.
2010-01-20 18:15:30 +08:00
Chia-I Wu
11f4360f2e
st/egl_g3d: Add support for probe to native displays.
...
The functions can be used to check if a display is supported without
creating a struct native_display. It uses a probe object that can be
shared across drivers.
2010-01-20 18:15:26 +08:00
Chia-I Wu
c5766c4ae3
egl: Add a simple cache for driver probe.
...
In current design, multiple drivers will probe the same display and the
best driver is determined. The cache can be used by the drivers to
store and share the probed data.
2010-01-20 17:44:12 +08:00
Chia-I Wu
cf22fd5e5b
egl: Improve driver matching.
...
Make drv->Probe return a score so that the matching can be done by
finding the driver with the highest score.
2010-01-20 17:44:11 +08:00
Chia-I Wu
925f8113be
egl: Rename _EGL_PLATFORM_X to _EGL_PLATFORM_POSIX.
...
The macro is used to determine if dlfcn.h or dirent.h is available.
POSIX is a better name than X in such case.
2010-01-20 17:44:11 +08:00
Chia-I Wu
f0c2871bf4
egl: Remove unused driver and display functions.
...
Remove _eglPreloadDriver, _eglLookupDriver, and _eglSplitDisplayString.
2010-01-20 17:40:07 +08:00
Chia-I Wu
57929eda3e
egl: Use _eglPreloadDrivers.
...
Replace the use of _eglPreloadDriver by _eglPreloadDrivers. The latter
supports EGL_DISPLAY which have a better chance to "just work".
2010-01-20 17:40:07 +08:00
Chia-I Wu
b3bcd33f7a
egl: Add _eglPreloadDrivers.
...
It can be used to load the user driver specified by EGL_DRIVER, or a set
of drivers specified by EGL_DISPLAY, or the default driver, and in that
order.
2010-01-20 17:40:00 +08:00