To enable OMTC on Linux:
- apply attachment 618255 [details] [diff] [review] from bug 722012 (not landed yet)
- set the environment variable MOZ_USE_OMTC
- set the pref layers.acceleration.force-enabled to true
When trying to see WebGL content with OMTC + layers acceleration on linux, the WebGL does not display, and I see this appearing continuously in my terminal:
###!!! ASSERTION: Destination surface must be ImageSurface type: 'aDestSurface->GetType() == gfxASurface::SurfaceTypeImage', file /home/nico/Dev/mozilla/mozilla-central/gfx/layers/basic/BasicLayers.cpp, line 1058
This may be solved along with bug 728524.
Fixed by attachment 621094 [details] [diff] [review] in Bug 751176.