summaryrefslogtreecommitdiffstats
path: root/meta-linaro-integration/recipes-overlayed/firefox/firefox/fixes/Allow-webGL-with-mesa-assuming-users-will-have-updat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-linaro-integration/recipes-overlayed/firefox/firefox/fixes/Allow-webGL-with-mesa-assuming-users-will-have-updat.patch')
-rw-r--r--meta-linaro-integration/recipes-overlayed/firefox/firefox/fixes/Allow-webGL-with-mesa-assuming-users-will-have-updat.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-linaro-integration/recipes-overlayed/firefox/firefox/fixes/Allow-webGL-with-mesa-assuming-users-will-have-updat.patch b/meta-linaro-integration/recipes-overlayed/firefox/firefox/fixes/Allow-webGL-with-mesa-assuming-users-will-have-updat.patch
new file mode 100644
index 0000000..54ec57d
--- /dev/null
+++ b/meta-linaro-integration/recipes-overlayed/firefox/firefox/fixes/Allow-webGL-with-mesa-assuming-users-will-have-updat.patch
@@ -0,0 +1,26 @@
1From: Mike Hommey <mh@glandium.org>
2Date: Fri, 31 Aug 2012 09:01:08 +0200
3Subject: Allow webGL with mesa, assuming users will have updated to 8.0.4-2
4 on wheezy
5
6The version in squeeze-backports is not affected by CVE-2012-2864, and the
7version in squeeze is blacklisted.
8---
9 widget/src/xpwidgets/GfxInfoX11.cpp | 4 ----
10 1 file changed, 4 deletions(-)
11
12diff --git a/widget/src/xpwidgets/GfxInfoX11.cpp b/widget/src/xpwidgets/GfxInfoX11.cpp
13index a2d5e0b..27a0fd0 100644
14--- a/widget/src/xpwidgets/GfxInfoX11.cpp
15+++ b/widget/src/xpwidgets/GfxInfoX11.cpp
16@@ -310,10 +310,6 @@ GfxInfo::GetFeatureStatusImpl(PRInt32 aFeature,
17 }
18
19 if (mIsMesa) {
20- if (aFeature == nsIGfxInfo::FEATURE_WEBGL_OPENGL) {
21- *aStatus = nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION;
22- aSuggestedDriverVersion.AssignLiteral("Not Mesa");
23- }
24 if (mIsNouveau && version(mMajorVersion, mMinorVersion) < version(8,0)) {
25 *aStatus = nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION;
26 aSuggestedDriverVersion.AssignLiteral("Mesa 8.0");