Changeset 227901 in webkit
- Timestamp:
- Jan 31, 2018, 8:11:57 AM (9 years ago)
- Location:
- trunk/Tools
- Files:
-
- 5 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/webkitpy/port/gtk.py (modified) (2 diffs)
-
gstreamer/jhbuild.modules (modified) (2 diffs)
-
gtk/install-dependencies (modified) (3 diffs)
-
wpe/install-dependencies (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r227900 r227901 1 2018-01-31 Philippe Normand <pnormand@igalia.com> 2 3 [JHBuild] Add gstreamer-vaapi in moduleset 4 https://bugs.webkit.org/show_bug.cgi?id=182283 5 6 Reviewed by Carlos Alberto Lopez Perez. 7 8 GStreamer-VAAPI is required for hardware-accelerated video 9 playback support on Intel and AMD (using radeosi driver) 10 platforms. 11 12 * gstreamer/jhbuild.modules: Add gstreamer-vaapi. 13 * gtk/install-dependencies: Install libva. 14 * wpe/install-dependencies: Ditto. 15 * Scripts/webkitpy/port/gtk.py: 16 (GtkPort.setup_environ_for_server): Disable va-api support when 17 testing because it's incompatible with Mesa's softGL driver. 18 1 19 2018-01-31 Charlie Turner <cturner@igalia.com> 2 20 -
trunk/Tools/Scripts/webkitpy/port/gtk.py
r227427 r227901 122 122 environment['TEST_RUNNER_INJECTED_BUNDLE_FILENAME'] = self._build_path('lib', 'libTestRunnerInjectedBundle.so') 123 123 environment['TEST_RUNNER_TEST_PLUGIN_PATH'] = self._build_path('lib', 'plugins') 124 environment['OWR_USE_TEST_SOURCES'] = '1'125 124 self._copy_value_from_environ_if_set(environment, 'WEBKIT_OUTPUTDIR') 126 125 … … 131 130 dri_libgl_path = os.path.join(llvmpipe_libgl_path, "dri") 132 131 if os.path.exists(os.path.join(llvmpipe_libgl_path, "libGL.so")) and os.path.exists(os.path.join(dri_libgl_path, "swrast_dri.so")): 133 # Force the Gallium llvmpipe software rasterizer 134 environment['LIBGL_ALWAYS_SOFTWARE'] = "1" 135 environment['LIBGL_DRIVERS_PATH'] = dri_libgl_path 136 environment['LD_LIBRARY_PATH'] = llvmpipe_libgl_path 137 if os.environ.get('LD_LIBRARY_PATH'): 138 environment['LD_LIBRARY_PATH'] += ':%s' % os.environ.get('LD_LIBRARY_PATH') 132 # Make sure va-api support gets disabled because it's incompatible with Mesa's softGL driver. 133 environment['LIBVA_DRIVER_NAME'] = "null" 134 # Force the Gallium llvmpipe software rasterizer 135 environment['LIBGL_ALWAYS_SOFTWARE'] = "1" 136 environment['LIBGL_DRIVERS_PATH'] = dri_libgl_path 137 environment['LD_LIBRARY_PATH'] = llvmpipe_libgl_path 138 if os.environ.get('LD_LIBRARY_PATH'): 139 environment['LD_LIBRARY_PATH'] += ':%s' % os.environ.get('LD_LIBRARY_PATH') 139 140 else: 140 _log.warning("Can't find Gallium llvmpipe driver. Try to run update-webkitgtk-libs")141 _log.warning("Can't find Gallium llvmpipe driver. Try to run update-webkitgtk-libs") 141 142 if self.get_option("leaks"): 142 143 # Turn off GLib memory optimisations https://wiki.gnome.org/Valgrind. -
trunk/Tools/gstreamer/jhbuild.modules
r225780 r227901 11 11 <dep package="gst-plugins-bad"/> 12 12 <dep package="gst-libav"/> 13 <dep package="gstreamer-vaapi"/> 13 14 </dependencies> 14 15 </metamodule> … … 104 105 </autotools> 105 106 107 <autotools id="gstreamer-vaapi"> 108 <branch module="gstreamer-vaapi/gstreamer-vaapi-${version}.tar.xz" version="1.12.4" 109 repo="gstreamer" 110 hash="sha256:1c2d77242e1f30c4d1394636cae9f6877228a017960fca96881e0080d8b6e9c9"/> 111 <dependencies> 112 <dep package="gstreamer"/> 113 <dep package="gst-plugins-base"/> 114 <dep package="gst-plugins-bad"/> 115 </dependencies> 116 </autotools> 117 106 118 </moduleset> -
trunk/Tools/gtk/install-dependencies
r226950 r227901 197 197 libssl-dev \ 198 198 libtiff5-dev \ 199 libva-dev \ 199 200 libv4l-dev \ 200 201 libxcb-composite0-dev \ … … 347 348 libproxy \ 348 349 libtiff \ 350 libva \ 349 351 libxfixes \ 350 352 libxfont \ … … 509 511 libproxy-devel \ 510 512 libtiff-devel \ 513 libva-devel \ 511 514 libxcb-devel \ 512 515 libxkbfile-devel \ -
trunk/Tools/wpe/install-dependencies
r226395 r227901 119 119 libtheora-dev \ 120 120 libtool-bin \ 121 libva-dev \ 121 122 libvorbis-dev \ 122 123 libvpx-dev \ … … 204 205 libtheora \ 205 206 libv4l-dev \ 207 libva \ 206 208 libvorbis \ 207 209 libvpx \ … … 285 287 libtheora-devel \ 286 288 libv4l-devel \ 289 libva-devel \ 287 290 libvorbis-devel \ 288 291 libvpx-devel \
Note:
See TracChangeset
for help on using the changeset viewer.