mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Use surfman for managing GL surfaces
Co-authored-by: Alan Jeffrey <ajeffrey@mozilla.com> Co-authored-by: Zakor Gyula <gyula.zakor@h-lab.eu> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
48d918dcde
commit
a358bca766
52 changed files with 1929 additions and 2195 deletions
|
@ -694,13 +694,16 @@ class MachCommands(CommandBase):
|
|||
continue
|
||||
libs = remaining_libs
|
||||
if not libs:
|
||||
return
|
||||
return True
|
||||
for lib in libs:
|
||||
print("WARNING: could not find " + lib)
|
||||
|
||||
# UWP build has its own ANGLE library that it packages.
|
||||
if not uwp:
|
||||
package_generated_shared_libraries(["libEGL.dll", "libGLESv2.dll"], build_path, servo_exe_dir)
|
||||
print("Packaging EGL DLLs")
|
||||
egl_libs = ["libEGL.dll", "libGLESv2.dll"]
|
||||
if not package_generated_shared_libraries(egl_libs, build_path, servo_exe_dir):
|
||||
status = 1
|
||||
|
||||
# copy needed gstreamer DLLs in to servo.exe dir
|
||||
print("Packaging gstreamer DLLs")
|
||||
|
|
|
@ -890,7 +890,7 @@ install them, let us know by filing a bug!")
|
|||
features.append("native-bluetooth")
|
||||
if uwp:
|
||||
features.append("canvas2d-raqote")
|
||||
features.append("no_wgl")
|
||||
features.append("no-wgl")
|
||||
features.append("uwp")
|
||||
else:
|
||||
# Non-UWP builds provide their own libEGL via mozangle.
|
||||
|
@ -907,7 +907,7 @@ install them, let us know by filing a bug!")
|
|||
env['RUSTFLAGS'] = env.get('RUSTFLAGS', "") + " -C force-frame-pointers=yes"
|
||||
features.append("profilemozjs")
|
||||
if without_wgl:
|
||||
features.append("no_wgl")
|
||||
features.append("no-wgl")
|
||||
if self.config["build"]["webgl-backtrace"]:
|
||||
features.append("webgl-backtrace")
|
||||
if self.config["build"]["dom-backtrace"]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue