Brian Paul
77ca2044a0
st/mesa: add format selection for signed/unsigned integer formats
2010-10-23 10:19:30 -06:00
Brian Paul
d72bf5e79d
mesa: added cases for GL_EXT_texture_integer
2010-10-23 10:19:30 -06:00
Brian Paul
7a60512f84
mesa: added cases for GL_EXT_texture_integer formats
2010-10-23 10:19:30 -06:00
Brian Paul
c7d18374dd
mesa: compute _IntegerColor field in _mesa_test_framebuffer_completeness()
2010-10-23 10:19:30 -06:00
Brian Paul
9968a3960f
mesa: added glGet query for GL_RGBA_INTEGER_MODE_EXT
2010-10-23 10:19:30 -06:00
Brian Paul
f681ea4741
mesa: added new gl_framebuffer::_IntegerColor field
2010-10-23 10:19:30 -06:00
Brian Paul
9ee07a0a27
mesa: added new gl_extensions::EXT_gpu_shader4 field
2010-10-23 10:19:30 -06:00
Brian Paul
4250882ccf
softpipe: added some texture sample debug code (disabled)
2010-10-23 10:19:30 -06:00
Brian Paul
2502ee6738
mesa: new glDrawPixels error check for integer formats
2010-10-23 10:19:30 -06:00
Brian Paul
013d5ffeec
mesa: added _mesa_is_fragment_shader_active() helper
2010-10-23 10:19:30 -06:00
Brian Paul
f1e97dc264
mesa: minor reformatting, clean-ups
2010-10-23 10:19:30 -06:00
Brian Paul
f5ed39e7e6
mesa: _mesa_is_format_integer() function
2010-10-23 10:19:29 -06:00
Brian Paul
a0bc8eeb32
mesa: _mesa_ClearColorIuiEXT() and _mesa_ClearColorIiEXT()
...
For GL_EXT_texture_integer.
2010-10-23 10:19:29 -06:00
Brian Paul
f6dbb693d2
mesa: add pixel packing for unscaled integer types
...
And add some missing GL_RG cases.
2010-10-23 10:19:29 -06:00
Brian Paul
1c131752c3
mesa: split up the image.c file
...
New files:
pack.c - image/row packing/unpacking functions
pixeltransfer.c - pixel scale/bias/lookup functions
2010-10-23 10:19:29 -06:00
Brian Paul
e67f6ee96e
mesa: simplify fbo format checking code
2010-10-23 10:19:29 -06:00
Brian Paul
f9288540ec
mesa: 80-column wrapping
2010-10-23 10:19:29 -06:00
Brian Paul
b4c013307b
docs: updated GL3 status for primitive restart
2010-10-23 10:19:29 -06:00
Chia-I Wu
6c13fdf60e
st/egl: Use resource reference count for egl_g3d_sync.
2010-10-23 17:28:56 +08:00
Chia-I Wu
0d43cbed2f
egl: Fix a false negative check in _eglCheckMakeCurrent.
...
This call sequence
eglMakeCurrent(dpy, surf, surf, ctx1);
eglMakeCurrent(dpy, surf, surf, ctx2);
should be valid if ctx1 and ctx2 have the same client API and are not
current in another thread.
2010-10-23 16:58:38 +08:00
Chia-I Wu
d19afc57fe
egl: Use reference counting to replace IsLinked or IsBound.
...
Remove all _egl<Res>IsLinked and _egl<Res>IsBound. Update
_eglBindContext and drivers to do reference counting.
2010-10-23 15:26:28 +08:00
Chia-I Wu
dc4f845c37
egl: Add reference count for resources.
...
This is a really simple mechanism. There is no atomicity and the caller
is expected to hold the display lock.
2010-10-23 15:19:34 +08:00
Chia-I Wu
662e098b56
st/egl: Fix native_mode refresh mode.
...
Define the unit to match _EGLMode's.
2010-10-23 11:32:06 +08:00
Chia-I Wu
e32ac5b8a9
egl: Fix _eglModeLookup.
...
Internally a mode belongs to a screen. But functions like
eglGetModeAttribMESA treat a mode as a display resource: a mode can be
looked up without a screen. Considering how KMS works, it is better to
stick to the current implementation.
To properly support looking up a mode without a screen, this commit
assigns each mode (of all screens) a unique ID.
2010-10-23 11:20:41 +08:00
Chia-I Wu
37213ceacc
egl: Minor changes to the _EGLScreen interface.
...
Make _eglInitScreen take a display and rename _eglAddScreen to
_eglLinkScreen. Remove unused functions.
2010-10-23 11:20:41 +08:00
Chia-I Wu
8a6bdf3979
egl: Minor changes to the _EGLConfig interface.
...
Mainly to rename _eglAddConfig to _eglLinkConfig, along with a few clean
ups.
2010-10-23 11:20:40 +08:00
Chia-I Wu
4ce33ec606
egl: Drop dpy argument from the link functions.
...
All display resources are already initialized with a display. Linking
simply links a resource to its display.
2010-10-23 11:20:40 +08:00
Eric Anholt
07cd8f46ac
i965: Add support for pull constants to the new FS backend.
...
Fixes glsl-fs-uniform-array-5, but not 6 which fails in ir_to_mesa.
2010-10-22 14:53:21 -07:00
Eric Anholt
ff622d5528
i965: Move the FS disasm/annotation printout to codegen time.
...
This makes it a lot easier to track down where we failed when some
code emit triggers an assert. Plus, less memory allocation for
codegen.
2010-10-22 14:53:21 -07:00
Dave Airlie
39c742fe2a
r600g: not fatal if we can't get tiling info from kernel
2010-10-23 07:45:59 +10:00
Marek Olšák
469907d597
r300g: say no to PIPE_CAP_STREAM_OUTPUT and PIPE_CAP_PRIMITIVE_RESTART
2010-10-22 20:34:28 +02:00
Marek Olšák
1d96ad67bc
r300g: do not print get_param errors in non-debug build
2010-10-22 20:34:27 +02:00
Brian Paul
dd2499b484
mesa: move declaration before code
2010-10-22 08:59:06 -06:00
Brian Paul
67f6a4a8c4
galahad: silence warnings
2010-10-22 08:58:35 -06:00
Francisco Jerez
a00eec5295
dri/nouveau: Force a "slow" Z clear if we're getting a new depth buffer.
2010-10-22 13:43:57 +02:00
Chia-I Wu
25328509c9
egl: Move fallback routines to eglfallbacks.c.
...
We do not want them to be all over the places.
2010-10-22 18:38:30 +08:00
Chia-I Wu
5664a98386
egl: Parse image attributes with _eglParseImageAttribList.
...
Avoid code duplications.
2010-10-22 18:35:09 +08:00
Chia-I Wu
713c8734f4
egl: Move attributes in _EGLImage to _EGLImageAttribs.
...
The opaque nature of EGLImage implies that extensions almost always
define their own attributes. Move attributes in _EGLImage to
_EGLImageAttribs and add a helper function to parse attribute lists.
2010-10-22 17:15:45 +08:00
Chia-I Wu
ecca5571b6
egl_glx: Fix borken driver.
...
The driver was broken since 6eda3f311b .
All configs fail to pass _eglValidateConfig.
2010-10-22 16:26:25 +08:00
Chia-I Wu
0ed96efc1b
egl_glx: Drop the use of [SG]ET_CONFIG_ATTRIB.
...
_EGLConfig can be directly dereferenced now. Since egl_glx is the last
user of the macros, drop the macros too.
2010-10-22 16:26:25 +08:00
Chia-I Wu
b67f7295b7
egl_dri2: Drop the use of _egl[SG]etConfigKey.
...
_EGLConfig can be directly dereferenced now.
2010-10-22 16:26:25 +08:00
Brian Paul
aa86c7657c
winsys/xlib: rename xm->xlib
...
Move away from the old Mesa-oriented names.
2010-10-21 19:55:03 -06:00
Brian Paul
3bc6fe371c
winsys/xlib: fix up allocation/dealloction of XImage
...
Fixes a crash upon exit when using remote display.
2010-10-21 19:49:34 -06:00
Brian Paul
4d24f01cb3
winsys/xlib: use Bool type for shm field
2010-10-21 19:37:11 -06:00
Brian Paul
e3298eaf52
winsys/xlib: formatting fixes
2010-10-21 19:17:44 -06:00
Brian Paul
69a07be3e5
Merge branch 'primitive-restart-cleanup'
...
Conflicts:
docs/relnotes-7.10.html
This branch is a re-do of the primitive-restart branch with all
the intermediate/temporary stuff cleaned out.
2010-10-21 19:05:47 -06:00
Brian Paul
b2d4dfe5cc
docs: added GL_NV_primitive_restart extension
2010-10-21 19:03:39 -06:00
Brian Paul
6692ed6f03
llvmpipe: enable primitive restart
2010-10-21 19:03:38 -06:00
Brian Paul
27d3bab055
softpipe: enable primitive restart
2010-10-21 19:03:38 -06:00
Brian Paul
0eaaceb218
draw: implement primitive splitting for primitive restart
2010-10-21 19:03:38 -06:00