summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-11-03r300g: force buffer placements to GTT on big endian machinesHEADmasterMarek Olšák1-0/+6
2011-11-03state_trackers/vdpau: Add support for VC-1 decodingMaarten Lankhorst3-2/+109
Add a struct with all the fields. Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
2011-11-03state_trackers/vdpau: Add mpeg4 part2 to PipeToProfile and ProfileToPipeMaarten Lankhorst1-0/+8
So it can actually be used when someone implements it. :) Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
2011-11-03state_trackers/vdpau: Add support for MPEG4 Part 2Maarten Lankhorst2-20/+105
Just the support patch, no decoder implements it currently. Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
2011-11-03state_trackers/vdpau: Test if profile is supported first before trying to ↵Maarten Lankhorst1-0/+12
create decoder So a nicer error message is returned. Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
2011-11-03state_trackers/vdpau: Add num_slices to mpeg12 picture structureMaarten Lankhorst2-0/+2
Bitstream parsers might need that field. Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
2011-11-03state_trackers/vdpau: Implement VdpGenerateCSCMatrixMaarten Lankhorst3-2/+40
With the smpte240 profile, which was missing. Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
2011-11-03g3dvl: remove some stale variable incrementChristian König1-1/+1
Incrementing "td" before initializing it is pointless and just leads to an uninitialized variable warning with MSVC. Signed-off-by: Christian König <deathsimple@vodafone.de>
2011-11-03r600g: more integer supportDave Airlie2-23/+37
just some more trivial integer changes for r600/r700. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-11-03radeon: fix some regressions in texturing code.Dave Airlie1-6/+4
On a piglit run vs 7.11 this fixes 23 tests. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-11-03scons: Use -static-libstdc++ on 32bits builds w/ Mingw-w64 too.José Fonseca1-1/+1
2011-11-03libgl-gdi: Mingw-w64 in 32bit mode matches the Mingw32's .DEF semantics.José Fonseca1-1/+1
2011-11-03docs: list GL_OES_EGL_image_external in 7.12 release notesChia-I Wu1-0/+1
2011-11-03st/mesa: add support for GL_OES_EGL_image_externalChia-I Wu5-0/+9
To pipe drivers, external textures are just 2D textures. Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
2011-11-03mesa: add support for GL_OES_EGL_image_externalChia-I Wu16-17/+106
This is an OpenGL ES specific extension. External textures are textures that may be sampled from, but not be updated (no glTexSubImage* and etc.). The image data are taken from an EGLImage. Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
2011-11-03mesa: clean up validate_texture_wrap_modeChia-I Wu1-15/+27
GL_TEXTURE_RECTANGLE_NV (and soon GL_TEXTURE_EXTERNAL_OES) is special. Handle it in its own if-block. There should be no functional change. Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
2011-11-03mesa: fix a logic error in glFramebufferTexture2DChia-I Wu1-1/+1
Unrecognized texture target should give an error. Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
2011-11-03glsl: add support for GL_OES_EGL_image_externalChia-I Wu15-1/+70
This extension introduces a new sampler type: samplerExternalOES. texture2D (and texture2DProj) can be used to do a texture look up in an external texture. Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2011-11-03mesa: add GL_OES_EGL_image_external to the extension listChia-I Wu2-0/+2
Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
2011-11-03mesa: add missing defines for GL_OES_EGL_image_externalChia-I Wu1-0/+8
Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
2011-11-03mesa, i965: prepare for more than 8 texture targetsChia-I Wu4-4/+4
3-bit fields are used store texture target in several places. That will fail when TEXTURE_EXTERNAL_INDEX, which happends to be the 9th texture target, is added. Make them 4-bit fields. Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
2011-11-03glapi: regenerate filesChia-I Wu1-1178/+1190
2011-11-03glapi: add entry points for OES_EGL_image_externalChia-I Wu1-0/+8
Only enums actually. Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
2011-11-03GLES: upgrade glext.h to revision 13240Chia-I Wu1-2/+74
Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
2011-11-03swrast: simplify the condition test for _swrast_choose_texture_sample_funcYuanhan Liu1-13/+9
remove another long if condition test. I don't feel a strong need of this patch. But for it make the code a little simpler(I do think so), I send it out. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2011-11-03mesa: fix the low limit of width and height for glRenderbufferStorageYuanhan Liu1-2/+2
glRenderbufferStorage man page says: GL_INVALID_VALUE is generated if either of width or height is negative, or greater than the value of GL_MAX_RENDERBUFFER_SIZE. NOTE: this is a candidate for the 7.11 branch Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2011-11-03mesa: fix inital value for new renderbufferYuanhan Liu1-1/+1
EXT_framebuffer_object bspec says: Get Value Type Get Command Initial Value ------------------------------- ------ ----------- ----------- RENDERBUFFER_INTERNAL_FORMAT_EXT Z+ GetRenderbufferParameterivEXT RGBA NOTE: this is a candidate for the 7.11 branch Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2011-11-03mesa: complete the GL_TEXTURE_SWIZZLE* setupYuanhan Liu1-0/+27
The ARB_texture_swizzle spec says: The error INVALID_OPERATION is generated if TexParameteri, TexParameterf, TexParameteriv, or TexParameterfv, parameter <pname> is TEXTURE_SWIZZLE_R, TEXTURE_SWIZZLE_G, TEXTURE_SWIZZLE_B, or TEXTURE_SWIZZLE_A, and <param> is not RED, GREEN, BLUE, ALPHA, ZERO, or ONE. The error INVALID_OPERATION is generated if TexParameteriv, or TexParameterfv, parameter <pname> TEXTURE_SWIZZLE_RGBA, and the four consecutive values pointed to by <param> are not all RED, GREEN, BLUE, ALPHA, ZERO, or ONE. So, the GL_TEXTURE_SWIZZLE* pname is legal for glTexParameterf(v) NOTE: this is a candidate for the 7.11 branch Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2011-11-03mesa: remove the redundant checkYuanhan Liu1-6/+5
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2011-11-02driconf: updated german translationCarl-Philip Haensch1-8/+11
2011-11-02driconf: updated de.poCarl-Philip Haensch1-50/+88
2011-11-02wglSetPixelFormat should ignore the ppfd parameter.Morgan Armand2-5/+11
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2011-11-02r300g: Fix queries on big endian hosts.Michel Dänzer1-1/+2
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2011-11-02gallium/util: Add macros for converting from little endian to CPU byte order.Michel Dänzer1-0/+13
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2011-11-02i965: Add support for integral vertex attributes.Paul Berry3-4/+67
When a vertex shader input attribute is declared with an integral type (e.g. ivec4), we need to ensure that the generated vertex shader code addresses the vertex attribute register using the proper register type. (Previously, we assumed all vertex shader input attributes were floating-point). In addition, when uploading vertex data that was specified with VertexAttribIPointer, we need to instruct the vertex fetch unit to convert the data to signed or unsigned int, rather than float. And when filling in the implied w=1 on a vector with less than 4 components, we need to fill it in with the integer representation of 1 rather than the floating-point representation of 1. Fixes piglit tests vs-attrib-{ivec4,uvec4}-precision. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2011-11-02mesa: Set the "Integer" field of gl_client_array properly.Paul Berry3-0/+3
This patch ensures that gl_client_array::Integer is properly set to GL_TRUE for vertex attributes specified using glVertexAttribIPointer, and to GL_FALSE for vertex attributes specified using glVertexAttribPointer, so that the vertex attributes can be interpreted properly by driver back-ends. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
2011-11-02glsl: Fix type mismatch when incrementing or decrementing uint.Paul Berry1-8/+24
When converting an expression like "++x" to GLSL IR we were failing to account for the possibility that x might be an unsigned integral type. As a result the user would receive a bogus error message "Could not implicitly convert operands to arithmetic operator". Fixes piglit tests {vs,fs}-{increment,decrement}-uint. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2011-11-02gallium/dri: Remove references to vblank.José Fonseca2-7/+0
2011-11-02Fix gallium dri compile and a merge conflictKristian Høgsberg3-9/+1
2011-11-02svga: Tag cursors with the scanout hintJakob Bornecrantz1-2/+3
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
2011-11-02dri: Remove unused memops.hKristian Høgsberg2-42/+0
2011-11-02dri: Remove a few unused dri helper functionsKristian Høgsberg1-118/+0
2011-11-02dri: Remove unused dri texmem.cKristian Høgsberg10-1681/+3
2011-11-02dri: Move _dri_texformat_* to radeon_texture.cKristian Høgsberg3-27/+65
They are only used by the r200 driver now.
2011-11-02r200: Don't use driIsTextureResident helperKristian Høgsberg1-1/+0
With DRI2, textures are always resident and using the DRI texmem helper here is broken anyway, since nothing else uses it.
2011-11-02dri: Drop unused dri renderbuffer helper functionsKristian Høgsberg7-259/+3
2011-11-02dri: Move driUpdateFramebufferSize to dri_util.cKristian Høgsberg3-21/+21
drirenderbuffer.[ch] is going bye-bye.
2011-11-02dri: Remove unnecessary #defines and #includesKristian Høgsberg1-8/+0
2011-11-02dri: Remove unnecessary timestamp pointer indirectionKristian Høgsberg6-19/+13
2011-11-02dri: Remove unused fields from __DriverAPIRecKristian Høgsberg1-34/+0