Ben Skeggs
2d606c13ff
nouveau: allow multiple simultaneous maps of a pipe_transfer
...
I'm not entirely convinced we want this behaviour (the underlying nouveau_bo
doesn't support it either), but since certain parts of the mesa state
tracker appear to require it lets make it work for now.
2010-04-07 15:51:13 +10:00
Ben Skeggs
841b327a51
nv50: fix assertion that caused piglit texturing/texrect-many to fail
2010-04-07 15:06:59 +10:00
Zack Rusin
c60a161cc5
scons: define DRAW_LLVM if we're building it
2010-04-06 22:41:11 -04:00
Zack Rusin
1570760a97
draw llvm: disable printing of the LLVM ir
2010-04-06 22:30:22 -04:00
Marc Dietrich
0963099d5e
cell: fix build
...
compile fix for cell driver.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-06 20:23:21 -06:00
Brian Paul
45c8909148
gallium/draw: add additional DRAW_LLVM check
...
Fixes build breakage.
2010-04-06 20:20:17 -06:00
Zack Rusin
ae69f9fbf0
Merge branch 'gallium_draw_llvm'
2010-04-06 20:09:08 -04:00
José Fonseca
fe130a7e5e
llvmpipe: Support S3TC when util_format_s3tc_enabled is set.
2010-04-06 22:52:33 +01:00
José Fonseca
728741a3bd
gallivm: Fallback to calling util_format_description::fetch_float for any format we can't code LLVM IR directly.
2010-04-06 22:52:33 +01:00
José Fonseca
306835cc0f
gallivm: Move the global LLVM objects (module, engine, provider, target) into here.
2010-04-06 22:52:33 +01:00
Zack Rusin
695a029e9b
llvmpipe: use a define to decide whether to use draw llvm paths
...
right now disabled by default
2010-04-06 17:15:03 -04:00
Zack Rusin
06bda76c08
draw llvm: disable debugging output
2010-04-06 17:14:13 -04:00
Zack Rusin
323fdd8ae5
draw llvm: implement simple pipeline caching using variants
2010-04-06 16:28:48 -04:00
Zack Rusin
1e0bf24139
draw llvm: fix iteration for larger vertex arrays
...
we were trying to store the outputs starting at the same offset we
were using for the input arrays, which was writing beyond the end of
the output array.
2010-04-06 12:37:31 -04:00
Zack Rusin
de0647dbad
draw llvm: iterate with the correct stop over the outputs
...
it's whatever the var step is (4 usually) not an unconditional 1
2010-04-06 12:07:33 -04:00
Michal Krol
859642c655
util: Respect destination stride in pipe_get_tile_swizzle().
2010-04-06 17:20:09 +02:00
Zack Rusin
aeaf2cf18f
draw llvm: fix draw arrays
...
we don't index within the outputs but only within the inputs
2010-04-06 11:00:35 -04:00
José Fonseca
04ea6f5dd8
util: Make half float lookup tables constant.
2010-04-06 15:38:21 +01:00
José Fonseca
05b494c101
util: Remove the hand written SRGB format support code.
2010-04-06 15:38:21 +01:00
José Fonseca
10dd0cad67
util: Support all SRGB formats.
...
Based on code from Brian Paul and Michal Krol.
2010-04-06 15:38:21 +01:00
Chia-I Wu
d18d0fdcd8
egl_dri2: Flush before context switch and swap buffers.
...
DRI does not define any callback to flush the current context. GLX
loader simply calls glFlush. Follow the GLX loader here.
2010-04-06 19:54:06 +08:00
Chia-I Wu
7915151f2d
st/dri: Implement DRI image extension.
2010-04-06 19:32:27 +08:00
Chia-I Wu
216c76c820
progs/egl: Correctly check GL_OES_EGL_image.
...
The hack was added because GL_OES_EGL_image was not exported in the
extension string.
2010-04-06 18:54:23 +08:00
Chia-I Wu
2002e4d06e
mesa: Add OES_EGL_image to extension list.
2010-04-06 18:01:41 +08:00
Chia-I Wu
0942ed45b3
progs/egl: Fix the blank window in pbuffer demo.
...
EGL requires eglSwapBuffers to be called on the current surface.
2010-04-06 13:48:59 +08:00
Chia-I Wu
f51f62e8ed
progs/egl: Port drawtex and torus to eglut.
...
This brings the demos also to KMS and removes about 400 duplicated lines
of code.
2010-04-06 13:48:59 +08:00
Brian Paul
7d2db19fe5
st/mesa: reformatting
2010-04-05 22:19:11 -06:00
Brian Paul
489eced800
st/mesa: put fragment wpos code into separate function
2010-04-05 22:19:11 -06:00
Zack Rusin
9dd70e7b85
draw llvm: fix loop iteration and vertex header offsets
...
the loop was doing a NE comparison which we could have skipped if the prim
was triangles (3 verts) and our step was 4 verts. also fix offsets in conversion
to aos.
2010-04-06 00:13:20 -04:00
Chia-I Wu
848945e5d6
egl: Unbind the old context in _eglBindContext.
...
The last commit incorrectly moved the code under an "else".
2010-04-06 11:55:40 +08:00
Chia-I Wu
bbe459b14d
egl: Fix eglMakeCurrent with different surfaces.
...
0a82fadcdd seems to trigger a bug in
_eglBindContext. Rework the logics yet again. It is simpler, and
hopefully correct this time.
2010-04-06 11:37:58 +08:00
Chia-I Wu
ffb6a8f552
st/es: Remove unnedded --whole-archive.
...
All public functions in the archives are either directly referenced or
indirectly referenced by _glapi_get_proc_address. There is no need for
--whole-archive.
2010-04-06 11:19:49 +08:00
Vinson Lee
4b5d488bc2
scons: Link expat in dri builds.
...
Fixes this i915g error.
i915_dri.so: undefined symbol: XML_ParserCreate
2010-04-05 18:13:09 -07:00
Brian Paul
1fdedf067d
mesa: added Makefile.egl to GALLIUM_FILES
2010-04-05 17:33:12 -06:00
Thierry Vignaud
7fc3a766c0
mesa: add missing file to GALLIUM_FILES
...
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-05 17:31:28 -06:00
Zack Rusin
1b0bab167c
draw llvm: when generating the vertex_header struct adjust its name
...
change the name to not clash and accuretly represent the number of inputs
we store in the data member
2010-04-05 16:43:53 -04:00
Ian Romanick
582e292a88
docs: Update 7.8.1 release MD5 sums
2010-04-05 12:45:20 -07:00
Marek Olšák
50074ecd3a
st/mesa: trivially enable GL_EXT_gpu_program_parameters
2010-04-05 19:52:16 +02:00
Marek Olšák
b05ada76a5
r300g: enforce microtiled zbuffer from X server
...
This should be relatively safe, I think.
2010-04-05 19:51:11 +02:00
Brian Paul
5683d77b22
mesa: bump MESA_TINY version
2010-04-05 11:22:32 -06:00
Marek Olšák
a1f85cf689
r300g: typecast using the r300_texture function
2010-04-05 19:21:09 +02:00
Brian Paul
0e0de77f0e
docs: added news item for 7.8.1 release
2010-04-05 11:12:59 -06:00
Brian Paul
659669d74c
docs: add link to 7.8.1 release notes
2010-04-05 11:10:51 -06:00
Brian Paul
0eea33b069
softpipe: index the correct blend/mask state index
...
Need to check pipe_blend_state::independent_blend_enable to determine
which render target/index to use when checking blend enable and colormask
state.
This is part of the fix for piglit/fbo-drawbuffers
2010-04-05 11:00:54 -06:00
Ian Romanick
1ad1a51f14
docs: Add 7.8.1 release MD5 sums
2010-04-05 09:51:18 -07:00
Ian Romanick
88b7329cdd
mesa: set version string to 7.8.1
2010-04-05 09:49:08 -07:00
Ian Romanick
dcaa2c6e76
Initial 7.8.1 release notes
2010-04-05 09:12:33 -07:00
Henri Verbeet
f820b263db
mesa: update_arrays() depends on program state.
...
It uses ctx->VertexProgram._Current.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-05 09:34:31 -06:00
Brian Paul
df65e64c29
mesa: remove unused var
...
Fixes a coverity warnings.
2010-04-05 08:10:01 -06:00
Brian Paul
51e6c57054
i965g: change value of VERT_RESULT_PSIZ hack to avoid warnings
2010-04-05 08:01:29 -06:00