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.
17 lat temu
Brian Paul
93ff702b4f
gallium: fix logic in pb_check_usage()
17 lat temu
Brian Paul
520dbdea22
mesa: check for OpenBSD (bug 15604)
cherry-picked from master
17 lat temu
Brian Paul
57f2d071d1
mesa: fix state.clip[n].plane parsing bug (bug 16611)
cherry-picked from master
17 lat temu
Zack Rusin
48b8a32c6d
egl: plug a small memleak
17 lat temu
Zack Rusin
d25709df1d
draw: remove some debug output
17 lat temu
Brian Paul
cdc0b6e523
mesa: remove debug code
17 lat temu
Brian Paul
072c474836
mesa: implement glGetUniformiv() with new ctx->Driver function
The old implementation could overwrite the caller's param buffer.
17 lat temu
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...
17 lat temu
Brian Paul
7cbc244c52
gallium: tweak printing of generic declarations
17 lat temu
Brian Paul
fe1c0e44aa
mesa: more debug output
17 lat temu
Brian Paul
0d1f54db6b
mesa: compute global var size before doing codegen
17 lat temu
Brian Paul
2e638cfe3c
mesa: add missing VARYING case to storage_string()
17 lat temu
Jakob Bornecrantz
2e7e183751
i915: Takedown EGL screen
17 lat temu
Jakob Bornecrantz
1257bb9b13
i915: Use deviceID in EGL device create
17 lat temu
Jakob Bornecrantz
0c6efeb02b
i915: Complete the screen -> device renaming
17 lat temu
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.
17 lat temu
Jonathan White
8d2400f216
mesa: added GLAPIENTRY keywords
17 lat temu
Jonathan White
f4caddd66f
egl: updated GL_APIENTRY for Windows
17 lat temu
José Fonseca
6701ecb3ba
raw2png: More helpful messages. Handle PIPE_FORMAT_A8B8G8R8_SNORM.
17 lat temu
José Fonseca
30b6b0b9ef
raw2png: Update formats from p_formats.h
17 lat temu
Brian Paul
de71e4741d
egl: bump up MAX_ATTRIBS, added assertion
17 lat temu
Brian Paul
1828b6d031
gallium: move assertion (though not really significant)
17 lat temu
Brian Paul
b7dfabcaab
gallium: simplify/fix buffer_offset, src_offset computation for VBO arrays
Things broke when vertex position wasn't the first attribute.
17 lat temu
Jakob Bornecrantz
3596339d31
i915: Fix wrong pointer to cleanup
17 lat temu
Jakob Bornecrantz
7420bc05a8
i915: Fix EGL make current
17 lat temu
Jakob Bornecrantz
88b806a069
i915: More cleanup of display
17 lat temu
Jakob Bornecrantz
687c8d8941
i915: Fetch the real deviceID for EGL
17 lat temu
Jakob Bornecrantz
1315f720ba
i915: Destruction of surface, context and device in EGL
17 lat temu
Jakob Bornecrantz
b30fb6d540
i915: Fix EGL version and name
17 lat temu
Jakob Bornecrantz
c6d6a57424
i915: Added a intel be function to wrap a drm bo handle
17 lat temu
Jakob Bornecrantz
74db8e9b3f
i915: Fix haveDepth and haveStencil for visual in EGL
17 lat temu
José Fonseca
152ed98b84
softpipe: Prevent NULL ptr derreference on takedown.
17 lat temu
José Fonseca
c23b64f164
softpipe: Compute block size for display targets.
17 lat temu
Jakob Bornecrantz
e6c24539c3
i915: Added debug filling code of texture, not active
17 lat temu
Jakob Bornecrantz
f6e8963bb1
i915: Clean up intel_egl.c a bit
17 lat temu
Jakob Bornecrantz
52912d8616
egl: Add egltri
First tri for EGL drivers with mesa screen ext
17 lat temu
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
)
17 lat temu
Brian Paul
a3de65659c
gallium: fix st_choose_format(internalFormat=GL_RGBA16)
Need to check if we're choosing a surface or texture format.
17 lat temu
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
)
17 lat temu
Brian Paul
9ca1c62a96
gallium: replace assertion with conditional
17 lat temu
Brian Paul
ba9e633902
gallium: fix trim() function bug when count < first
If the user called glDrawArrays(GL_TRIANGLES, count=1), trim() returned a
very large integer because of the unsigned arithmetic.
17 lat temu
Brian Paul
294b061256
mesa: generate GL_INVALID_OPERATION in _mesa_get_uniform_location() if program isn't linked
17 lat temu
Brian Paul
c4b6941e62
mesa: move assertion
17 lat temu
José Fonseca
4a18324c0b
psb: Fill all texture fields when creating texture blanket.
17 lat temu
José Fonseca
1942e29bf7
softpipe: Implement texture blankets.
17 lat temu
José Fonseca
194cfc7a4e
scons: Enable gcc SSE2 intrinsics on x86.
17 lat temu
Brian Paul
dd3311aa89
mesa: added _vbo_VertexAttrib4f()
17 lat temu
Brian Paul
7366f3fc54
mesa: fix incorrect array size, added assertion
17 lat temu
Brian Paul
0ed3f6f575
mesa: fix array storage allocation bug
17 lat temu