summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-11-16docs: Add 9.0.1 release notesmesa-9.0.1Ian Romanick1-3/+110
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2012-11-14build: add missing files to tarballs targetAndreas Boll1-0/+6
fixes errors ./configure and make was complaining about NOTE: This is a candidate for the 9.0 branch. Reviewed-by: Matt Turner <mattst88@gmail.com> (cherry picked from commit 8a9f0fdeabdf51fbb7db91e419827fd47910a401)
2012-11-14build: add missing Makefile.in files to tarballs targetAndreas Boll1-1/+50
fixes errors ./configure was complaining about NOTE: This is a candidate for the 9.0 branch. Reviewed-by: Matt Turner <mattst88@gmail.com> (cherry picked from commit bc08f26485c77b3ef3ee7b07d67fd43f2644f1ac)
2012-11-14build: add config.sub and config.guess to tarballs targetAndreas Boll1-0/+2
fixes errors ./configure was complaining about NOTE: This is a candidate for the 9.0 branch. Reviewed-by: Matt Turner <mattst88@gmail.com> (cherry picked from commit a0a90ea92034dc24170364d6d52df01ce623e835)
2012-11-14mesa: use .cherry-ignore in the get-pick-list.sh scriptAndreas Boll1-2/+2
NOTE: This is a candidate for the stable branches. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit ca8988673baa65107a1b8f6f59b671725d9e4814)
2012-11-14mesa: add initial .cherry-ignore file for the 9.0 branchAndreas Boll1-0/+10
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2012-11-08wayland: Destroy frame callback when destroying surfaceJonas Ådahl2-0/+6
If a frame callback is not destroyed when destroying a surface, its handler function will be invoked if the surface was destroyed after the callback was requested but before it was invoked, causing a write on free:ed memory. This can happen if eglDestroySurface() is called shortly after eglSwapBuffers(). Note: This is a candidate for stable branches. Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> (cherry picked from commit a3b6b2d3055070da9bf7054fecfd0b171c398eb7)
2012-11-08egl_dri2/x11: Fix eglPostSubBufferNV()Fredrik Höglund1-1/+1
This got broken in commit 0a523a8820e8a2549ac1c7887eb1892b228af44b. NOTE: This is a candidate for the 9.0 branch. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55856 (cherry picked from commit f42518962a08ce927e4ddd233d19d2661e135834)
2012-11-08mesa: Bump version to 9.0.1Ian Romanick4-5/+5
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2012-11-08docs: Add 9.0.1 release notesIan Romanick2-0/+51
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2012-11-02glsl: Allow ir_if in the linker's move_non_declarations function.intel-2012q4.1Kenneth Graunke1-0/+1
Global initializers using the ?: operator with at least one non-constant operand generate ir_if statements. For example, float foo = some_boolean ? 0.0 : 1.0; becomes: (declare (temporary) float conditional_tmp) (if (var_ref some_boolean) ((assign (x) (var_ref conditional_tmp) (constant float (0.0)))) ((assign (x) (var_ref conditional_tmp) (constant float (1.0))))) This pattern is necessary because the second or third arguments could be function calls, which create statements (not expressions). The linker moves these global initializers into the main() function. However, it incorrectly had an assertion that global initializer statements were only assignments, calls, or temporary variable declarations. As demonstrated above, they can be if statements too. Other than the assertion, everything works fine. So remove it. Fixes new Piglit test condition-08.vert, as well as an upcoming game that will be released on Steam. NOTE: This is a candidate for stable release branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit b45a68eebf3cf7227fc70082cb1e796041fc81ab)
2012-11-02glx: Set sRGBCapable to a default valueIan Romanick1-0/+2
Previously, if the server didn't send a GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT tag, it would still be set to GLX_DONT_CARE (which is -1). Set it to GL_FALSE instead. NOTE: This is a candidate for stable release branches. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Cc: Maciej Wieczorek <maciej.t.wieczorek@intel.com> (cherry picked from commit 7b0f912e70d79bcb863ea38f7d3910ab2be0860e)
2012-11-02ralloc: Annotate printf functions with PRINTFLIKE(...)Matt Turner3-15/+7
This is a squash of the following two commits: ralloc: Annotate printf functions with PRINTFLIKE(...) Catches problems such as (in the gles3 branch) glcpp-parse.y: In function '_glcpp_parser_handle_version_declaration': glcpp-parse.y:1990:39: warning: format '%lli' expects argument of type 'long long int', but argument 4 has type 'int' [-Wformat] As a side-effect, remove ralloc.c's likely/unlikely macros and just use the ones from main/compiler.h. NOTE: This is a candidate for the release branches. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit 41b14d125196e75cdd4599a4c1069b41e7000d48) and src/glsl/tests/Makefile.am: Specify -I... in AM_CPPFLAGS When specifying per-target CFLAGS (e.g., ralloc_test_CFLAGS) AM_CFLAGS are not used. AM_CPPFLAGS should be used for includes anyway. Fixes a build problem since 41b14d125: CC ralloc_test-ralloc.o In file included from ../../../src/glsl/ralloc.c:42:0: ../../../src/glsl/ralloc.h:57:27: fatal error: main/compiler.h: No such file or directory Acked-by: Paul Berry <stereotype441@gmail.com> (cherry picked from commit 67f1e7bf5f5d1482cb8684dd5a405b7bab5b1f34)
2012-11-02build: Ship install-sh in the tarballMatt Turner1-0/+1
Fixes the problem where configure from the tarball would report missing files: $ ./configure configure: error: cannot find install-sh, install.sh, or shtool in bin NOTE: This is a candidate for the 9.0 branch. (cherry picked from commit ec57fbbc72b552a4f894f32798a2ace16749f520)
2012-11-02Re-add HAVE_PTHREADS preprocessor macroMatt Turner1-5/+5
Broken in commit 814345f54b. NOTE: This is a candidate for the 9.0 branch. (cherry picked from commit 9a51edfb5af72a7a480f408f02d8ecd98c576b7b)
2012-11-02glx: Add GLXBadProfileARB to the error string listAdam Jackson1-0/+1
Note: This is a candidate for the stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Adam Jackson <ajax@redhat.com> (cherry picked from commit a30d14635d5d55ce0e022b0b66770da32155a3d7)
2012-11-02glx: Fix listing of INTEL_swap_event in glXQueryExtensionsString()Owen W. Taylor1-1/+1
Due to a string mismatch, INTEL_swap_event wasn't listed among GLX extensions for the connection, even when present on both client and server. That is, glXQueryServerString and glXGetClientString reported the extension, but glXQueryExtensionsString did not. Note: This is a candidate for the stable branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56057 Reviewed-by: Chad Versace <chad.versace@linux.intel.com> (cherry picked from commit 1d0c6211212a2d486c8f7f64349fd9683061342e)
2012-11-02egl: Return EGL_BAD_MATCH for invalid profile attributesMatt Turner1-10/+7
Version 12 of the EGL_KHR_create_context spec changed this behavior. NOTE: This is a candidate for the 9.0 branch Reviewed-by: Chad Versace <chad.versace@linux.intel.com> (cherry picked from commit 587d5db11d8047663201c5fb06a6b2feb5d55891)
2012-10-31wayland: Drop support for ill-defined, unused wl_egl_pixmapKristian Høgsberg5-294/+4
It doesn't provide the cross-process buffer sharing that a window system pixmap could otherwise support and we don't have anything left that uses this type of surface.
2012-10-31wayland: Remove 0.85 compatibility #ifdefsKristian Høgsberg1-26/+0
2012-10-31egl/wayland: Update to Wayland 0.99 APIKristian Høgsberg7-69/+173
The 0.99.0 Wayland release changes the event API to provide a thread-safe mechanism for receiving events specific to a subsystem (such as EGL) and we need to use it in the EGL platform. The Wayland protocol now also requires a commit request to make changes take effect, issue that from eglSwapBuffers.
2012-10-31gbm: Use the kms dumb ioctls for cursor instead of libkmsKristian Høgsberg3-50/+77
We need to create bos suitable for cursor usage that we can map and write data into. The kms dumb ioctls is all we need for this, so drop the dependency on libkms.
2012-10-31gbm: Reject buffers that are not wl_drm buffers in gbm_bo_import()Kristian Høgsberg1-0/+3
Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
2012-10-24i965: Fix regression in depth texture rendering on pre-SNBIan Romanick1-2/+4
This was introduced by commit 24db6d6 (cherry-picked from a683012). The original patch fixed potential GPU hangs on SNB, and it caused some rendering regressions there. The benefits outweigh the costs. However, the work-around is not necessary for pre-SNB chipsets. Applying the work-around there gives rendering regressions with no benefit. This patch disables the work-around on pre-SNB chipsets. Without the original patch, the piglit test depthstencil-render-miplevels would reliably hang an SNB GPU. On ILK this test would not hang, and it does not hang with this patch. NOTE: This is a candidate for the 8.0 and 9.0 branches Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
2012-10-24st/mesa: Fix assertions for copying texture image to finalized miptree.Michel Dänzer1-1/+4
The layer dimension of array textures is not subject to mipmap minification. OTOH we were missing an assertion for the depth dimension. Fixes assertion failures with piglit {f,v}s-textureSize-sampler1DArrayShadow. For some reason, they only resulted in piglit 'warn' results for me, not failures. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56211 NOTE: This is a candidate for the stable branches. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> (cherry picked from commit eee1ff423c6a0c9c776b4e76b79bb5ed5480d83c)
2012-10-23mesa: add get-pick-list.sh script into bin/Andreas Boll1-0/+29
This is a squash of: mesa: add get-pick-list.sh script into bin/ NOTE: This is a candidate for the stable branches. (cherry picked from commit 2d95db660e20787bcfe6af55569299515b434971) This is the 2nd commit message: mesa: simplify get-pick-list.sh script and add a description for the script NOTE: This is a candidate for the stable branches. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit fa27a0db43ba7ef8fdad41b5ad2bd6b45ba34b90) This is the 3rd commit message: mesa: optimize get-pick-list.sh script cuts down the while loop iterations from 4600 to 380 commits at the moment NOTE: This is a candidate for the stable branches. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit b2991526ed6faa713e3cf640fcdbbad68d991f3e) This is the 4th commit message: mesa: grep for commits with cherry picked in commit message only once and save them temporary in already_picked NOTE: This is a candidate for the stable branches. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit 135ec3a1db0de50e2bb3c57d4bf76f87ac80320f) This is the 5th commit message: mesa: fix indentation in get-pick-list.sh script NOTE: This is a candidate for the stable branches. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit 3e3ff4cd736ee881d37cfe4d40e540db503b41a5)
2012-10-21nouveau: use pre-calculated stride for resource_get_handleMarcin Slusarz2-4/+2
Fixes FDO#55294. NOTE: This is a candidate for the 9.0 branch. (cherry picked from commit 93eba269351c6e256db3a4cc7c7018f5a3fae5a1)
2012-10-19st/mesa: Fix source miptree level for copying data to finalized miptree.Michel Dänzer1-1/+5
Fixes WebGL texture mips conformance test, no piglit regressions. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44912 NOTE: This is a candidate for the stable branches. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> (cherry picked from commit c2e37b1d2e1b8014475c7d2698fba317c9082d70)
2012-10-10intel: Add missing #include <time.h>Quentin Glidic1-0/+1
Commit 006c1a3c652803e2ff8d5f7ea55c9cb5d8353279 introduced a call to clock_gettime, but failed to include <time.h>, breaking the build in some cases. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 7cb8764ca39cb7f325d6da10a8b11bf24adf2ae0)
2012-10-10glget: fix make check for glGet GL_POLYGON_OFFSET_BIASImre Deak1-1/+1
This got broken by: 22b7ddc7f glapi: rename/move GL_POLYGON_OFFSET_BIAS to its extension section Fix it by appending the _EXT suffix to the enum in the test too. Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
2012-10-10mesa: glGet: fix parameter lookup for apps using multiple APIsImre Deak3-18/+33
The glGet hash was initialized only once for a single GL API, even if the application later created a context for a different API. This resulted in glGet failing for otherwise valid parameters in a context if that parameter was invalid in another context created earlier. Fix this by using a separate hash table for each API. Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
2012-10-10glapi: rename/move GL_POLYGON_OFFSET_BIAS to its extension sectionImre Deak1-1/+2
This should be named GL_POLYGON_OFFSET_BIAS_EXT and listed under the EXT_polygon_offset section. (Solution by Ian Romanick) Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
2012-10-10mesa/es: Define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT enum for all GLsTomeu Vizoso1-5/+5
instead of just for GL and ES1. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
2012-10-10mesa: glGet: fix API check for EGL_image_external enumsImre Deak1-6/+9
These enums are valid only in ES1 and ES2. So far they were marked valid incorrectly, depending on the previous API mask in the enum list. Signed-off-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Brian Paul <brianp@vmware.com> Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
2012-10-10mesa: glGet: fix indentation of print_table_statsImre Deak1-9/+9
No functional change. Signed-off-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Brian Paul <brianp@vmware.com> Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
2012-10-10mesa: glGet: fix indentation of find_valueImre Deak1-4/+4
No functional change. Signed-off-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Brian Paul <brianp@vmware.com> Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
2012-10-10mesa: glGet: fix indentation of _mesa_init_get_hashImre Deak1-9/+9
No functional change. Signed-off-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Brian Paul <brianp@vmware.com> Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
2012-10-09docs: add news item for 9.0 releaseAndreas Boll1-0/+10
Reviewed-by: Brian Paul <brianp@vmware.com>
2012-10-09mesa: fix error check for zero-sized compressed subtextureBrian Paul1-2/+2
For glCompressedTexSubImage, width or height = 0 is legal. Fixes a failure in piglit's s3tc-errors test. This is for the 9.0 and 8.0 branches. Already fixed on master.
2012-10-09mesa: don't call TexImage driver hooks for zero-sized imagesBrian Paul1-7/+9
This simply avoids some failed assertions but there's no reason to call the driver hooks for storing a tex image if its size is zero. Note: This is a candidate for the stable branches. (cherry picked from commit 91d84096497ff538f55591f7e6bb0b563726db8d)
2012-10-08docs: Add 9.0 release md5sumsIan Romanick1-1/+3
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2012-10-08mesa: Bump version number to 9.0 (final)mesa-9.0Ian Romanick3-3/+3
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2012-10-08configure.ac: Don't link gallium drivers with libdricoreTom Stellard1-1/+0
Reviewed-by: Matt Turner <mattst88@gmail.com> (cherry picked from commit d68e337c600a1b644d84e4703c92c2087aff82a4)
2012-10-07_mesa_meta_GenerateMipmap: Support all texture targets by generating shaders ↵Anuj Phogat1-37/+169
at runtime This is a squash for the following 7 commits. The first introduces the functionality, and the remaining six fix various bugs. Patch 1: _mesa_meta_GenerateMipmap: Support all texture targets by generating shaders at runtime glsl path of _mesa_meta_GenerateMipmap() function would require different fragment shaders depending on the texture target. This patch adds the code to generate appropriate fragment shader programs at run time. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=54296 V2: Removed the code for integer textures as ARB is planning to disallow automatic mipmap generation for integer textures. Now using ralloc_asprintf in setup_glsl_generate_mipmap(). NOTE: This is a candidate for stable branches. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 299acac849eb8506de9760c94c6e8e8b1046d909) Patch 2: _mesa_meta_GenerateMipmap: Generate separate shaders for glsl 120 / 130 glsl version of _mesa_meta_GenerateMipmap() would require separate shaders for glsl 120 and 130. V2: Removed the code for integer textures as ARB is planning to disallow automatic mipmap generation for integer textures. NOTE: This is a candidate for stable branches. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 15bf3103b48a5928321fe56fbb3ed28a0f314418) Patch 3: meta: Add on demand compilation of per target shader programs A call to glGenerateMipmap() follows the generation of a relevant shader program in setup_glsl_generate_mipmap(). To support all texture targets and to avoid compiling shaders everytime, per target shader programs are compiled on demand and saved for the next call. Fixes float-texture(mipmap.manual): See Comment 6: https://bugs.freedesktop.org/show_bug.cgi?id=54296 NOTE: This is a candidate for stable branches. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> (cherry picked from commit eb1d87fb945783448cc40ad43c9cd4d98002d424) Patch 4: meta: make mem_ctx non-global. I can't see any external users, and this is a global symbol, Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit 36639ec6e9a2758e344235fbdc1450719d8851e3) Patch 5: meta: Remove unsafe global mem_ctx pointer NOTE: This is a candidate for the 9.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> (cherry picked from commit ab097dde0c958dd8b1c06a07ef8913512753760c) Patch 6: meta: Rearrange shader creation in setup_glsl_generate_mipmap The diff looks weird, but this moves the code from the first 'if (ctx->Const.GLSLVersion < 130)' block down into the second block. It also moves some variable decalarations closer to their use. NOTE: This is a candidate for the 9.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> (cherry picked from commit 3308c079bd00e9b9aa546f5214ce197a904d059b) Patch 7: meta: Don't use GLSL 1.30 shader on OpenGL ES 2 Fixes GLES2 CoverageGL conformance test. NOTE: This is a candidate for the 9.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> (cherry picked from commit 0242381f06edb09dcf0eaacd6d26ccd8584700cc)
2012-10-06r600g: fix possible issue with stencil mipmap renderingMarek Olšák1-1/+12
Somehow I only hit this issue with my latest libdrm changes. This won't be needed with DB texturing. NOTE: This is a candidate for the 9.0 branch. (cherry picked from commit 9dfca930d7fcfda6767d3be9b1690d010f08fea5)
2012-10-05mesa: remove bogus compressed texture size checksBrian Paul2-27/+0
A compressed texture image size doesn't have to be a multiple of the compressed block size (only sub-images do). Fixes issues when building compressed mipmaps because we often wind up with non-block-size images for the higher mipmap levels. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=55445 Note: This is a candidate for the stable branches. Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Sven Arvidsson <sa@whiz.se> (cherry picked from commit df4a88ac4398ec4c152eb57a7129c07bb623edd7)
2012-10-05intel/i965: Disable SampleAlphaToOne if dual source blending enabledAnuj Phogat1-2/+11
From SandyBridge PRM, volume 2 Part 1, section 12.2.3, BLEND_STATE: DWord 1, Bit 30 (AlphaToOne Enable): "If Dual Source Blending is enabled, this bit must be disabled" Note: This is a candidate for stable branches. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit ea0d08872724b5e31e9e32db2338e15fdfdcc4de)
2012-10-05mesa: Flag _NEW_VARYING_VP_INPUTS when TexEnv programs are active.Kenneth Graunke1-1/+2
The idea here is to not flag _NEW_VARYING_VP_INPUTS when shaders (either GLSL or ARB vp/fp) are in use. If either TNL or TexEnv programs are active, at least one stage is using fixed function. On Pineview, fixes 20 Piglit, 60 oglconforms, and 7 ES 1.1 conformance tests, as well as missing textures in Xonotic. These were all regressions since commit fb4a34e60eb4c1bdc7b0fdcd98d1bf3038c354e8. NOTE: This is a candidate for the 9.0 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=49127 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54807 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit 7fa0f10cd85ccb5afbc3a961164011de70970ff3)
2012-10-05mesa: don't enable glVertexPointer() when using API_OPENGLES2.Paul Berry1-2/+0
This function is only present in GLES1 and in the OpenGL compatibility profile. Fixes the following "make check" failure: [----------] 1 test from DispatchSanity_test [ RUN ] DispatchSanity_test.GLES2 Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable dispatch_sanity.cpp:122: Failure Value of: table[i] Actual: 0x4de54e Expected: (_glapi_proc) _mesa_generic_nop Which is: 0x41af72 i = 321 [ FAILED ] DispatchSanity_test.GLES2 (4 ms) [----------] 1 test from DispatchSanity_test (4 ms total) NOTE: This is a candidate for stable release branches. Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com> Tested-by: Oliver McFadden <oliver.mcfadden@linux.intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit 8f0b81bf7ddcdf5715a3e00af67395b91f27a243)
2012-10-05SwapBuffersRegionNOK: invert rectangles on y axisRobert Bragg1-2/+1
The EGL_NOK_swap_region2 spec states that the rectangles are specified with a bottom-left origin within a surface coordinate space also with a bottom left origin, so this patch ensures the rectangles are flipped before passing them on to dri2_copy_region. Fixes piglit's egl-nok-swap-region test. Tested-by: Matt Turner <mattst88@gmail.com> (cherry picked from commit 0a523a8820e8a2549ac1c7887eb1892b228af44b)