Brian Paul
f5cdc657b2
egl: added EGL_OPENVG_API case (allow all APIs)
2008-07-10 13:30:52 -06:00
Brian Paul
b101890c15
egl: add all EGL_*_BITs to ClientAPIsMask
2008-07-10 13:29:42 -06:00
Brian Paul
a452e0cbde
gallium: re-order the GALLIUM_AUXILIARY_DIRS to satisfy .a interdependencies
...
libutil.a and libtranslate.a depend on libcso_cache.a so put them in that order.
2008-07-10 13:28:22 -06:00
Brian Paul
fb3867aec0
egl: implement xdri_eglGetProcAddress() for gallium
...
Plus comments, clean-ups.
2008-07-10 10:48:28 -06:00
Brian Paul
64f92e00c8
mesa: check for null shader->Source
2008-07-09 15:54:21 -06:00
Brian Paul
811a183a27
mesa: return -1, not GL_FALSE if _glapi_add_dispatch() fails name sanity check
2008-07-09 15:54:06 -06:00
Brian Paul
547e487df2
mesa: call glutDestroyWindow() on exit
2008-07-09 15:52:04 -06:00
Brian Paul
eb9efc6ad5
mesa: disable fprintf() error
2008-07-09 15:51:18 -06:00
Brian Paul
e3b13dba4d
egl: link libEGL w/ additional libs
2008-07-09 15:49:59 -06:00
Brian Paul
70b0a949b0
egl: misc updates/fixes
...
Set surface size when created.
Implement dri_find_dri_screen().
Look for "egl_xxx_dri.so" library before regular DRI driver.
2008-07-09 15:47:27 -06:00
Brian Paul
93ff702b4f
gallium: fix logic in pb_check_usage()
2008-07-09 11:46:16 -06:00
Brian Paul
520dbdea22
mesa: check for OpenBSD (bug 15604)
...
cherry-picked from master
2008-07-09 08:48:41 -06:00
Brian Paul
57f2d071d1
mesa: fix state.clip[n].plane parsing bug (bug 16611)
...
cherry-picked from master
2008-07-09 08:47:23 -06:00
Zack Rusin
48b8a32c6d
egl: plug a small memleak
2008-07-09 10:20:28 -04:00
Zack Rusin
d25709df1d
draw: remove some debug output
2008-07-09 09:54:57 -04:00
Brian Paul
cdc0b6e523
mesa: remove debug code
2008-07-08 16:58:50 -06:00
Brian Paul
072c474836
mesa: implement glGetUniformiv() with new ctx->Driver function
...
The old implementation could overwrite the caller's param buffer.
2008-07-08 16:12:01 -06:00
Brian Paul
3bdf50bab0
mesa: fix bug/failure in recursive function inlining
...
Fixes a failure for cases such as y = f(a, f(a, b))
All the usual tests still pass but regressions are possible...
2008-07-08 15:07:28 -06:00
Brian Paul
7cbc244c52
gallium: tweak printing of generic declarations
2008-07-08 15:07:28 -06:00
Brian Paul
fe1c0e44aa
mesa: more debug output
2008-07-08 15:07:28 -06:00
Brian Paul
0d1f54db6b
mesa: compute global var size before doing codegen
2008-07-08 15:07:28 -06:00
Brian Paul
2e638cfe3c
mesa: add missing VARYING case to storage_string()
2008-07-08 15:07:28 -06:00
Jakob Bornecrantz
2e7e183751
i915: Takedown EGL screen
2008-07-08 16:54:22 +02:00
Jakob Bornecrantz
1257bb9b13
i915: Use deviceID in EGL device create
2008-07-08 14:44:23 +02:00
Jakob Bornecrantz
0c6efeb02b
i915: Complete the screen -> device renaming
2008-07-08 14:41:17 +02:00
Jakob Bornecrantz
b13b1210c0
i915: Renamed intel_screen to intel_device
...
The renameing makes more sense, why because:
In egl you have a display/driver/device as the
basis, and you have screens as outputs.
2008-07-08 14:16:15 +02:00
Jonathan White
8d2400f216
mesa: added GLAPIENTRY keywords
2008-07-07 17:57:02 -06:00
Jonathan White
f4caddd66f
egl: updated GL_APIENTRY for Windows
2008-07-07 17:57:02 -06:00
José Fonseca
6701ecb3ba
raw2png: More helpful messages. Handle PIPE_FORMAT_A8B8G8R8_SNORM.
2008-07-08 07:29:18 +09:00
José Fonseca
30b6b0b9ef
raw2png: Update formats from p_formats.h
2008-07-08 07:29:18 +09:00
Brian Paul
de71e4741d
egl: bump up MAX_ATTRIBS, added assertion
2008-07-07 14:34:30 -06:00
Brian Paul
1828b6d031
gallium: move assertion (though not really significant)
2008-07-07 10:12:55 -06:00
Brian Paul
b7dfabcaab
gallium: simplify/fix buffer_offset, src_offset computation for VBO arrays
...
Things broke when vertex position wasn't the first attribute.
2008-07-07 10:10:20 -06:00
Jakob Bornecrantz
3596339d31
i915: Fix wrong pointer to cleanup
2008-07-07 15:56:19 +02:00
Jakob Bornecrantz
7420bc05a8
i915: Fix EGL make current
2008-07-07 15:49:09 +02:00
Jakob Bornecrantz
88b806a069
i915: More cleanup of display
2008-07-07 15:26:47 +02:00
Jakob Bornecrantz
687c8d8941
i915: Fetch the real deviceID for EGL
2008-07-07 14:29:11 +02:00
Jakob Bornecrantz
1315f720ba
i915: Destruction of surface, context and device in EGL
2008-07-07 13:24:09 +02:00
Jakob Bornecrantz
b30fb6d540
i915: Fix EGL version and name
2008-07-05 16:53:29 +02:00
Jakob Bornecrantz
c6d6a57424
i915: Added a intel be function to wrap a drm bo handle
2008-07-05 15:58:42 +02:00
Jakob Bornecrantz
74db8e9b3f
i915: Fix haveDepth and haveStencil for visual in EGL
2008-07-05 14:04:02 +02:00
José Fonseca
152ed98b84
softpipe: Prevent NULL ptr derreference on takedown.
2008-07-05 03:51:26 +09:00
José Fonseca
c23b64f164
softpipe: Compute block size for display targets.
2008-07-05 03:51:25 +09:00
Jakob Bornecrantz
e6c24539c3
i915: Added debug filling code of texture, not active
2008-07-04 19:33:40 +02:00
Jakob Bornecrantz
f6e8963bb1
i915: Clean up intel_egl.c a bit
2008-07-04 19:33:34 +02:00
Jakob Bornecrantz
52912d8616
egl: Add egltri
...
First tri for EGL drivers with mesa screen ext
2008-07-04 19:33:09 +02:00
Brian Paul
0bc2409e38
mesa: Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX.
...
Simplification in colortab.c too.
cherry-picked from master (fe46900703 )
2008-07-04 10:37:07 -06:00
Brian Paul
a3de65659c
gallium: fix st_choose_format(internalFormat=GL_RGBA16)
...
Need to check if we're choosing a surface or texture format.
2008-07-04 10:35:32 -06:00
Brian Paul
2fa7b3f786
mesa: Implement mutex/locking around texture object reference counting.
...
Use new _mesa_reference_texobj() function for referencing/unreferencing
textures. Add new assertions/tests to try to detect invalid usage of
deleted textures.
cherry-picked from master (9e01b915f1 )
2008-07-04 10:29:15 -06:00
Brian Paul
9ca1c62a96
gallium: replace assertion with conditional
2008-07-04 10:02:44 -06:00