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
Brian Paul
557c8bb748
mesa: check for _NEW_BUFFERS for color read format queries
2010-04-05 08:01:05 -06:00
Brian Paul
3258058d3b
util: added util_dl_error()
2010-04-05 07:47:23 -06:00
Ian Romanick
ee30e24f5f
Merge branch '7.8'
2010-04-04 23:07:30 -07:00
Ian Romanick
42ea25cb4e
Update to final names from GLX_INTEL_swap_event spec
...
Fixes bug #27454 .
2010-04-04 23:06:01 -07:00
Marek Olšák
bba6957da3
r300g: enable OpenGL 2.1 on r3xx-r4xx chipsets
2010-04-05 07:09:46 +02:00
Marek Olšák
a955f86b31
r300g: add fallback for back stencil reference value and masks for r3xx-r4xx
...
This splits rendering into two passes when front and back stencil
reference value, value mask, or write mask don't match.
The advantages of doing it in the driver instead of in st are:
* SWTCL is executed just once and the resulting vertex buffer is reused
in the second pass.
* Lower driver overhead due to the fallback being very close to
the actual draw emission with minimum state change.
2010-04-05 07:09:46 +02:00
Marek Olšák
b71bfc4400
r300g: simplify accessing screen from context
2010-04-05 07:09:46 +02:00
Marek Olšák
32327196f7
r300g: remove some XXXs
...
We can't have more than 8 texcoord outputs in VS.
2010-04-05 07:09:45 +02:00
Marek Olšák
d2686cdb23
r300g: raise the number of texture units to 16 for all supported chipsets
...
As per Radeon 9700 Opengl Programming and Optimization Guide [1], there are
16 texture units even on the first r300 chipsets. If you think I am wrong,
feel free to propose a patch.
[1] Here's PDF: http://people.freedesktop.org/~mareko/
2010-04-05 07:09:45 +02:00
Marek Olšák
e41a64591b
r300/compiler: make the max number of fragment shader temporaries adjustable
2010-04-05 07:09:45 +02:00
Marek Olšák
4e949271c2
r300g: is_npot -> uses_pitch
2010-04-05 07:09:45 +02:00
Marek Olšák
0179c5a95b
r300g: enable conditional rendering also for SWTCL
2010-04-05 07:09:45 +02:00
Vinson Lee
5399c6dfa1
progs: Include X11 headers and libraries in SCons build.
...
Fixes Mac OS X SCons build.
2010-04-04 19:15:01 -07:00
Vinson Lee
940098e925
glut: Include X11 headers and libraries in SCons build.
...
Fixes Mac OS X SCons build.
2010-04-04 18:28:03 -07:00
Vinson Lee
efdd33985c
glew: Include X11 headers and libraries in SCons build.
...
Fixes Mac OS X SCons build.
2010-04-04 18:10:20 -07:00
Brian Paul
a437601bee
docs: update status of transform feedback and instanced drawing
2010-04-04 19:08:21 -06:00
Brian Paul
bf4c4479dd
mesa: don't turn on GL_EXT_transform_feedback yet
2010-04-04 19:05:39 -06:00
Brian Paul
528d100b80
st/mesa: call pipe_context::draw_arrays/elements_instanced()
2010-04-04 19:05:39 -06:00
Brian Paul
3b7ac45162
mesa: implement core Mesa support for GL_ARB_draw_instanced
2010-04-04 19:05:38 -06:00