diff options
Diffstat (limited to 'recipes-qt/qt5/qtwebengine')
-rw-r--r-- | recipes-qt/qt5/qtwebengine/0001-Disable-angle-for-embedded-linux.patch | 26 | ||||
-rw-r--r-- | recipes-qt/qt5/qtwebengine/0001-Fix-slow-video-with-webengine-on-nitrogen6x.patch | 8 |
2 files changed, 31 insertions, 3 deletions
diff --git a/recipes-qt/qt5/qtwebengine/0001-Disable-angle-for-embedded-linux.patch b/recipes-qt/qt5/qtwebengine/0001-Disable-angle-for-embedded-linux.patch new file mode 100644 index 0000000..5ea44c0 --- /dev/null +++ b/recipes-qt/qt5/qtwebengine/0001-Disable-angle-for-embedded-linux.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 9081e0d5e9432fcb0f1526ecb3788c64d6c731cb Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
3 | Date: Tue, 27 Sep 2016 14:13:07 +0300 | ||
4 | Subject: [PATCH] Disable angle for embedded linux | ||
5 | |||
6 | Angle has now hard dependency to mesa (libdrm/gbm). | ||
7 | |||
8 | Change-Id: Ie1e2ef56692f5e311bb2011a15dba9de1bb8de2f | ||
9 | --- | ||
10 | src/core/config/embedded_linux.pri | 1 + | ||
11 | 1 file changed, 1 insertion(+) | ||
12 | |||
13 | diff --git a/src/core/config/embedded_linux.pri b/src/core/config/embedded_linux.pri | ||
14 | index 844877e..7a909f1 100644 | ||
15 | --- a/src/core/config/embedded_linux.pri | ||
16 | +++ b/src/core/config/embedded_linux.pri | ||
17 | @@ -39,5 +39,6 @@ GYP_CONFIG += \ | ||
18 | use_x11=0 \ | ||
19 | v8_use_snapshot=false \ | ||
20 | want_separate_host_toolset=1 \ | ||
21 | + angle_enable_gl=0 \ | ||
22 | |||
23 | WEBENGINE_CONFIG *= reduce_binary_size | ||
24 | -- | ||
25 | 1.9.1 | ||
26 | |||
diff --git a/recipes-qt/qt5/qtwebengine/0001-Fix-slow-video-with-webengine-on-nitrogen6x.patch b/recipes-qt/qt5/qtwebengine/0001-Fix-slow-video-with-webengine-on-nitrogen6x.patch index c6380f9..2af19e8 100644 --- a/recipes-qt/qt5/qtwebengine/0001-Fix-slow-video-with-webengine-on-nitrogen6x.patch +++ b/recipes-qt/qt5/qtwebengine/0001-Fix-slow-video-with-webengine-on-nitrogen6x.patch | |||
@@ -12,10 +12,10 @@ work properly. | |||
12 | 1 file changed, 18 deletions(-) | 12 | 1 file changed, 18 deletions(-) |
13 | 13 | ||
14 | diff --git a/src/3rdparty/chromium/gpu/command_buffer/service/feature_info.cc b/src/3rdparty/chromium/gpu/command_buffer/service/feature_info.cc | 14 | diff --git a/src/3rdparty/chromium/gpu/command_buffer/service/feature_info.cc b/src/3rdparty/chromium/gpu/command_buffer/service/feature_info.cc |
15 | index 0ce9980..8963d11 100644 | 15 | index 58aa147..4ab682a 100644 |
16 | --- a/src/3rdparty/chromium/gpu/command_buffer/service/feature_info.cc | 16 | --- a/src/3rdparty/chromium/gpu/command_buffer/service/feature_info.cc |
17 | +++ b/src/3rdparty/chromium/gpu/command_buffer/service/feature_info.cc | 17 | +++ b/src/3rdparty/chromium/gpu/command_buffer/service/feature_info.cc |
18 | @@ -1014,24 +1014,6 @@ void FeatureInfo::InitializeFeatures() { | 18 | @@ -1258,26 +1258,6 @@ void FeatureInfo::InitializeFeatures() { |
19 | } | 19 | } |
20 | } | 20 | } |
21 | 21 | ||
@@ -36,10 +36,12 @@ index 0ce9980..8963d11 100644 | |||
36 | - validators_.read_pixel_format.AddValue(GL_RG_EXT); | 36 | - validators_.read_pixel_format.AddValue(GL_RG_EXT); |
37 | - validators_.render_buffer_format.AddValue(GL_R8_EXT); | 37 | - validators_.render_buffer_format.AddValue(GL_R8_EXT); |
38 | - validators_.render_buffer_format.AddValue(GL_RG8_EXT); | 38 | - validators_.render_buffer_format.AddValue(GL_RG8_EXT); |
39 | - validators_.texture_unsized_internal_format.AddValue(GL_RED_EXT); | ||
40 | - validators_.texture_unsized_internal_format.AddValue(GL_RG_EXT); | ||
39 | - } | 41 | - } |
40 | UMA_HISTOGRAM_BOOLEAN("GPU.TextureRG", feature_flags_.ext_texture_rg); | 42 | UMA_HISTOGRAM_BOOLEAN("GPU.TextureRG", feature_flags_.ext_texture_rg); |
41 | 43 | ||
42 | #if !defined(OS_MACOSX) | 44 | bool has_opengl_dual_source_blending = |
43 | -- | 45 | -- |
44 | 1.9.1 | 46 | 1.9.1 |
45 | 47 | ||