I have come across a problem using 2 WEBGL surfaces. When I try to drawImage from one WEBGL(GPU) and one SW(CPU), it draws as expected in both canvas.
However, when I try to drawImage from one WEBGL surface to another WEBGL surface it does not draw.
I have replicated the code below.
1 WEBGL 1 SW:
The code above are identical except for the MakeSWCanvasSurface() creation. If you cannot see the second canvas, please scroll.
Why does drawImage from one WEBGL to another WEBGL not work but WEBGL to SW work?