blob: 5626b3280dd53fc7172bebb44581fc7c61012750 [file] [log] [blame]
Test disabling and re-enabling of shader programs.
== Running test suite: Canvas.setShaderProgramDisabled
-- Running test case: Canvas.setShaderProgramDisabled.disabledDrawArrays
PASS: Disabling a shader program should prevent it from drawing.
-- Running test case: Canvas.setShaderProgramDisabled.disabledDrawElements
PASS: Disabling a shader program should prevent it from drawing.
-- Running test case: Canvas.setShaderProgramDisabled.reenabledDrawArrays
PASS: Re-enabling a shader program should allow it to draw.
-- Running test case: Canvas.setShaderProgramDisabled.reenabledDrawElements
PASS: Re-enabling a shader program should allow it to draw.
-- Running test case: Canvas.setShaderProgramDisabled.invalidProgramId
PASS: Should produce an error.
Error: No shader program for given identifier.