forked from upstream/UXP-mirror
Review of the T-511/T-517 work. With the daemon's window move (flag 8) the kept rects were copied one at a time, each saved and written before the next was read: a rect's old rows can be another's new ones (two stacked sticky bars), which then got the other bar's pixels. All are saved first now, then all written, as the in-place shift does. jihad_offscreen_gpu_given_up() (the daemon calls it when it gives the GPU path up) and jihad_gpu_compositor_on(), which WebGL's EGL choice and the headless GfxInfo now ask: a daemon that fell back to the software path after a GPU stall made new WebGL contexts on the abandoned GPU. The environment is left as it is (other threads read it).