Skip to content

jhollingworth/swiftshader-transparent-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swiftshader Image transparency bug

This issue demonstrates a bug I'm seeing when rendering WebGL with Swiftshader in headless mode.

Demo

Steps to reproduce

On Linux (Tested on Cent OS 7) run these two commands

  • node screenshot.js --headless=true
  • xvfb-run --server-args='-screen 0 1500x1500x16' node screenshot.js --headless=false

When Chrome is run in headless mode (headless.png) the transparent regions of the overlayed image are visible.

current-behavior

When using XVFB to run Chrome (xvfb.png) you will see the underlying color in the transparent regions.

expected-behavior

About

Demonstrates potential bug in Swiftshader when overlaying images with transparency

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages