| <script src="../../http/tests/inspector/resources/inspector-test.js"></script> |
| <script src="resources/recording-utilities.js"></script> |
| <script src="resources/shaderProgram-utilities-webgl.js"></script> |
| <script id="vertex-shader" type="x-shader/x-vertex"> |
| uniform vec4 testUniform; |
| gl_Position = test + testUniform; |
| <script id="fragment-shader" type="x-shader/x-fragment"> |
| gl_FragColor = vec4(1.0, 1.0, 1.0, 1.0); |
| <script src="resources/recording-webgl2.js"></script> |
| let suite = InspectorTest.createAsyncSuite("Canvas.recordingWebGL2"); |
| name: "Canvas.recordingWebGL2.multipleFrames", |
| description: "Check that recording data is serialized correctly for multiple frames.", |
| startRecording(WI.Canvas.ContextType.WebGL2, resolve, reject); |
| suite.runTestCasesAndFinish(); |
| <p>Test that CanvasManager is able to record actions made to WebGL2 canvas contexts.</p> |