Chia-I Wu
aaa1253b09
egl: Update comments about eglapi.c.
...
Mention that opaque handles are looked up and checked.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-15 12:53:57 -06:00
Chia-I Wu
6190663120
egl: Rework error checking in eglGetCurrentSurface.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-15 12:53:57 -06:00
Chia-I Wu
8bb2485ed0
egl: Include GL header in eglconfigutil.h.
...
This is just a cosmetic change.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-15 12:53:56 -06:00
Chia-I Wu
29d115092e
egl: Fix GLX_USE_TLS build.
...
Remove an extraneous semicolon.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-15 12:53:56 -06:00
Chia-I Wu
2fc1614e7a
egl: Fix eglCheckConfigHandle.
...
A stupid bug by me made the check void.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-15 12:53:55 -06:00
Jakob Bornecrantz
72fd1cf292
trace: Handle transfer returning null
2009-10-14 11:44:09 +02:00
Zack Rusin
074e069910
st/xorg: fix most of the composition modes
2009-10-15 00:06:43 -04:00
Corbin Simpson
a82fc97c64
r300g: Move ZTOP to its own state atom.
...
It may seem pointless, but this avoids a fair amount of predicted CSO pain.
2009-10-14 20:06:38 -07:00
Brian Paul
2fd5cb7133
mesa: added VERBOSE_SWAPBUFFERS
2009-10-14 19:08:39 -06:00
Brian Paul
f9784072fe
vbo: clean-ups, reformatting
2009-10-14 19:08:38 -06:00
Brian Paul
ade1cc9924
mesa: added MESA_VERBOSE option 'draw' to debug glDrawArrays/Elements, etc.
2009-10-14 19:08:38 -06:00
Brian Paul
d9099f8602
mesa: rename VERBOSE_IMMEDIATE->VERBOSE_MATERIAL to reflect what it does
2009-10-14 19:08:38 -06:00
Brian Paul
73fc0ca4c3
mesa: remove unused ctx->Driver.PrioritizeTextures() hook
2009-10-14 19:08:38 -06:00
Brian Paul
0187e042b6
mesa: remove unused ctx->Driver.TextureMatrix() hook
2009-10-14 19:08:38 -06:00
Jakob Bornecrantz
ef067b5f01
st/xorg: Fix dpms include problems
2009-10-13 19:16:21 +02:00
Zack Rusin
59cf40059a
st/xorg: get transparency on fills working (fixes Qt/KDE apps)
2009-10-14 19:04:29 -04:00
Jakob Bornecrantz
96c9b39a6a
i915g: Fix warnings
2009-10-14 23:05:55 +01:00
Alex Deucher
f22c427bd6
r600: enable EXT_vertex_array_bgra extensions
2009-10-14 14:19:12 -04:00
José Fonseca
3ce3c03257
util: Fix cpu detection on Windows. Cleanup.
2009-10-14 17:27:06 +01:00
José Fonseca
4046c3bab4
llvmpipe: Use ALIGN_STACK.
2009-10-14 17:24:22 +01:00
José Fonseca
68edb4eac5
gallium: New ALIGN_STACK macro to tell gcc to align stack pointer.
2009-10-14 17:24:22 +01:00
Brian Paul
ce3801ab87
Merge branch 'mesa_7_6_branch'
2009-10-14 09:22:30 -06:00
Brian Paul
98eb7a14a4
mesa: remove left-over debug printf
2009-10-14 07:52:39 -06:00
Corbin Simpson
fd63f89e95
r300g: Move ztop to derived state.
...
Need to get it into its own atom instead of piggybacking on DSA.
2009-10-14 03:09:41 -07:00
Corbin Simpson
f13e507798
r300g: Compiler warning cleanup.
2009-10-14 01:58:18 -07:00
Dave Airlie
88b697fb0a
r300g: remove buffer add that should be unnecessary.
...
This should be handled in the emit fine
2009-10-14 18:24:34 +10:00
Dave Airlie
fa581580b1
r300g: add QUERY to KITCHEN_SINK
...
I missed this, thanks to Corbin for pointing it out.
2009-10-14 18:24:05 +10:00
Dave Airlie
ce5cba040c
r300g: add one more ZTOP disable bit.
...
Still missing the frag uses kill support, hopefully nha can point that out.
2009-10-14 18:05:14 +10:00
Dave Airlie
51d1cf55da
r300g: port over last parts of oq support.
...
Add support for begin/end in each CS so we don't get any other
processes rendering in between.
TODO:
blame other parts of driver for this not working like Z.
2009-10-14 17:44:19 +10:00
Dave Airlie
47791697ab
r300g: convert query to a state for emitting.
...
This means we don't emit in the begin query but when we have
to flush. Similiar to classic.
TODO:
make query object actually work.
2009-10-14 17:14:43 +10:00
Dave Airlie
c1bee7bdea
r300g: fixup arb occulsion query support.
...
1: add rv530 support
- num z pipes cap
- add proper start/finish query options for rv530
2: convert to use linked list properly.
3: add flushing required check.
4: initial Z top disabling support.
TODO:
make it actually work on my rv530.
2009-10-14 16:53:12 +10:00
Dave Airlie
210481ae16
r300g: attempt to make bo space check sane.
...
This attempts to make r300g do proper bo space checking as opposed
to whatever it was doing now.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-10-14 15:13:25 +10:00
Dave Airlie
23c0c820e2
r300g: fix case where texture unit 0 is disabled but unit 1 is enabled.
...
to reproduce, start texrect, disable 0 texture in menu.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-10-14 11:42:05 +10:00
Brian Paul
220f72a8d0
mesa: minor tweak to printf string
2009-10-13 16:33:36 -06:00
Brian Paul
435623b3f0
mesa: rework _mesa_read_shader() debug hook
...
Look for shaders named "newshader_<CHECKSUM>" to replace the incoming
shader text. For debug purposes.
2009-10-13 16:33:36 -06:00
Brian Paul
dfefde38c7
mesa: don't print pointer in _mesa_fprint_parameter_list()
2009-10-13 16:33:36 -06:00
Ian Romanick
f058b25881
Store clipping distance for user clip planes as part of vertex processing
...
Once the clipping distance is calculated and stored per vertex, the
distances can be re-used when clipping is actually performed. This
doesn't have any immediate benefit, but it paves the way for
implementing gl_ClipDistance in vertex shaders and result.clip[] in
vertex programs.
This has not produces any oglconform regressions on my G31 system
which uses software TNL.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
2009-10-13 15:15:20 -07:00
Patrice Mandin
cf33aaf8fe
nouveau: nv30: use texture width,height for render target dimensions
2009-10-13 22:53:32 +02:00
Chia-I Wu
f1c5cab552
egl: Improve logging facility.
...
Add _eglSetLogger and _eglSetLogLevel to allow drivers to change the
message logger or report level.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-13 12:00:37 -06:00
Chia-I Wu
310c76812e
egl: Allow binding to any client API.
...
As a result, EGL_NONE is no longer a valid client API. And it is
possible that no config supports the current bound API.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-13 12:00:36 -06:00
Chia-I Wu
e787ffcd02
egl: Preload a driver if eglGetProcAddress is called early.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-13 12:00:36 -06:00
Chia-I Wu
9061d733d3
egl: Remove core functions from eglGetProcAddress.
...
eglGetProcAddress may not be used to query core (non-extension)
functions.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-13 12:00:36 -06:00
Chia-I Wu
5541988578
egl: Add support for driver built-in.
...
This allows an EGL driver to be compiled together with libEGL.so. It
eliminates the need to specify a driver, or support module loading on
new platforms.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-13 12:00:36 -06:00
Zack Rusin
1cc1c3a033
st/xorg: solid fills with masks are supported
...
gradients are supported, but not enabled by default due to little
testing they got
2009-10-13 13:04:00 -04:00
Brian Paul
83f4e72009
intel: fix broken sw generate mipmap path
...
Need to restore code that fixed up the intel_texture_image state.
2009-10-13 10:38:34 -06:00
Zack Rusin
89bb33fb20
st/xorg: fix and enable by default xrender acceleration
...
src in mask was broken
2009-10-13 12:25:13 -04:00
Brian Paul
eefecf5d2a
mesa: whitespace fixes
2009-10-13 09:05:02 -06:00
Brian Paul
c8413351c3
mesa: do RTT check in _mesa_meta_check_generate_mipmap_fallback()
...
We need to check that we can actually render to the texture's format
before doing mipmap generation.
This may fix bug 24219.
2009-10-13 09:05:02 -06:00
Corbin Simpson
ca8cafda0b
r300g: More debug flags.
2009-10-12 21:48:08 -07:00
Corbin Simpson
a4a4f7abc2
r300g: Surface debug.
...
It gets really annoying watching r300g tell me how it's filling surfaces.
Or falling back during filling surfaces.
2009-10-12 21:48:08 -07:00