Brian Paul
862bb1b0ff
mesa: additional switch cases for GL_EXT_texture_integer
před 15 roky
Brian Paul
751e10fc01
mesa: additional glReadPixels error checks for GL_EXT_texture_integer
před 15 roky
Dave Airlie
2d2bafdb30
r600g: fix magic 0x1 ->flat shade ena
před 15 roky
Kenneth Graunke
ba2382f50d
glsl: Fix constant component count in vector constructor emitting.
Fixes freedesktop.org bug #31101 as well as piglit test cases
assignment-type-mismatch.vert and constructor-28.vert.
před 15 roky
Chad Versace
6e00627384
glsl: Fix ast-to-hir for ARB_fragment_coord_conventions
Function ast_declarator_list::hir(), when processing keywords added by
extension ARB_fragment_coord_conventions, made the mistake of checking only if
the extension was __supported by the driver__. The correct behavior is to check
if the extensi0n is __enabled in the parse state__.
NOTE: this is a candidate for the 7.9 branch.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
před 15 roky
Brian Paul
af03c14d4c
translate: remove unused prototypes
před 15 roky
Brian Paul
81d5afbbec
translate: use function typedefs, casts to silence warnings
před 15 roky
Marek Olšák
64276cffcb
st/mesa: support RGBA16 and use it for RGBA12 as well
Tested with r300g.
Signed-off-by: Marek Olšák <maraeo@gmail.com>
před 15 roky
Brian Paul
1686db70d6
rtasm: use pointer_to_func() to silence warning
před 15 roky
Brian Paul
e1e7843d03
util: use pointer_to_func() to silence warning
před 15 roky
Brian Paul
da580dbbe8
xlib: silence unused var warning
před 15 roky
Brian Paul
2701eb342b
mesa: fix uninitialized var warning
http://bugs.freedesktop.org/show_bug.cgi?id=31067
před 15 roky
Brian Paul
f72e4b306b
mesa: silence enum comparison warning
http://bugs.freedesktop.org/show_bug.cgi?id=31069
před 15 roky
Marek Olšák
8449a4772a
r300g: fix texture border for 16-bits-per-channel formats
This is kinda hacky, but it's hard to come up with a generic solution for
all formats when only a few are used in practice (I mostly get B8G8R8*8).
před 15 roky
Marek Olšák
6e61853590
mesa: allow FBO attachments of formats LUMINANCE, LUMINANCE_ALPHA, and INTENSITY
As per the GL_ARB_framebuffer_object specification.
Signed-off-by: Marek Olšák <maraeo@gmail.com>
před 15 roky
Jon TURNEY
70f60c9c89
Ensure -L$(TOP)/$(LIB_DIR) appears in link line before any -L in $LDFLAGS
Ensure -L$(TOP)/$(LIB_DIR) (the staging dir for build products), appears
in the link line before any -L in $LDFLAGS, so that we link driver we are
building with libEGL we have just built, and not an installed version
[olv: make a similar change to targets/egl]
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
před 15 roky
Dave Airlie
a20c2347a0
r600g: drop more common state handling code
před 15 roky
Tilman Sauerbeck
f4a2c62af5
r600g: Also clear bc data when we're destroying a shader.
[airlied: remove unused vars]
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
před 15 roky
Tilman Sauerbeck
ccb9be1056
r600g: Added r600_pipe_shader_destroy().
Not yet complete.
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
před 15 roky
Dave Airlie
9612b482e2
r600g: merge more of the common r600/evergreen state handling
před 15 roky
Tilman Sauerbeck
9f9d24c89a
r600g: Fixed r600_vertex_element leak.
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
před 15 roky
Brian Paul
d8740b77ac
softpipe: remove >32bpp color restriction
The comment was out of date. The tile cache does handle >32-bit colors.
před 15 roky
Brian Paul
e6ac8d5353
st/mesa: be smarter choosing texture format for glDrawPixels()
This lets us get an integer texture format for integer pixel formats.
před 15 roky
Brian Paul
efd9e24312
mesa: display list support for GL_EXT_texture_integer
před 15 roky
Brian Paul
98bb70ac84
mesa: plug in GL_EXT_texture_integer functions
před 15 roky
Brian Paul
01e13a7d75
mesa: regenerated API files for GL_EXT_texture_integer
před 15 roky
Brian Paul
fd6f17c21a
glapi: include/build EXT_texture_integer.xml
před 15 roky
Brian Paul
9d73c4a9d5
glapi: GL_EXT_texture_integer API
před 15 roky
Brian Paul
646afcc340
mesa: simplify target_can_be_compressed() function
před 15 roky
Brian Paul
77ca2044a0
st/mesa: add format selection for signed/unsigned integer formats
před 15 roky
Brian Paul
d72bf5e79d
mesa: added cases for GL_EXT_texture_integer
před 15 roky
Brian Paul
7a60512f84
mesa: added cases for GL_EXT_texture_integer formats
před 15 roky
Brian Paul
c7d18374dd
mesa: compute _IntegerColor field in _mesa_test_framebuffer_completeness()
před 15 roky
Brian Paul
9968a3960f
mesa: added glGet query for GL_RGBA_INTEGER_MODE_EXT
před 15 roky
Brian Paul
f681ea4741
mesa: added new gl_framebuffer::_IntegerColor field
před 15 roky
Brian Paul
9ee07a0a27
mesa: added new gl_extensions::EXT_gpu_shader4 field
před 15 roky
Brian Paul
4250882ccf
softpipe: added some texture sample debug code (disabled)
před 15 roky
Brian Paul
2502ee6738
mesa: new glDrawPixels error check for integer formats
před 15 roky
Brian Paul
013d5ffeec
mesa: added _mesa_is_fragment_shader_active() helper
před 15 roky
Brian Paul
f1e97dc264
mesa: minor reformatting, clean-ups
před 15 roky
Brian Paul
f5ed39e7e6
mesa: _mesa_is_format_integer() function
před 15 roky
Brian Paul
a0bc8eeb32
mesa: _mesa_ClearColorIuiEXT() and _mesa_ClearColorIiEXT()
For GL_EXT_texture_integer.
před 15 roky
Brian Paul
f6dbb693d2
mesa: add pixel packing for unscaled integer types
And add some missing GL_RG cases.
před 15 roky
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
před 15 roky
Brian Paul
e67f6ee96e
mesa: simplify fbo format checking code
před 15 roky
Brian Paul
f9288540ec
mesa: 80-column wrapping
před 15 roky
Brian Paul
b4c013307b
docs: updated GL3 status for primitive restart
před 15 roky
Chia-I Wu
6c13fdf60e
st/egl: Use resource reference count for egl_g3d_sync.
před 15 roky
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.
před 15 roky
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.
před 15 roky