Index: tests/html/webgl_1_test.dart |
diff --git a/tests/html/webgl_1_test.dart b/tests/html/webgl_1_test.dart |
index 80b70eaad6903fb56881bf117ffeb24ab380521b..098df0674a6cb813b72f7b9d5b8eece2a7fadd56 100644 |
--- a/tests/html/webgl_1_test.dart |
+++ b/tests/html/webgl_1_test.dart |
@@ -6,7 +6,6 @@ library web_gl_test; |
import '../../pkg/unittest/lib/unittest.dart'; |
import '../../pkg/unittest/lib/html_individual_config.dart'; |
import 'dart:html'; |
-import 'dart:typed_data'; |
import 'dart:web_gl'; |
import 'dart:web_gl' as gl; |
@@ -54,40 +53,6 @@ main() { |
expect(context, isNotNull); |
expect(context, new isInstanceOf<RenderingContext>()); |
}); |
- |
- test('texImage2D', () { |
- var canvas = new CanvasElement(); |
- var context = canvas.getContext3d(); |
- var pixels = new Uint8List.fromList([0,0,3,255,0,0,0,0,0,0]); |
- context.texImage2D(1, 1, 1, 1, 10, 10, 1, 1, pixels); |
- |
- canvas = new CanvasElement(); |
- document.body.children.add(canvas); |
- var context2 = canvas.getContext('2d'); |
- context.texImage2DData(1, 1, 1, 1, 10, |
- context2.getImageData(10, 10, 10, 10)); |
- |
- context.texImage2DImage(1, 1, 1, 1, 10, new ImageElement()); |
- context.texImage2DCanvas(1, 1, 1, 1, 10, new CanvasElement()); |
- context.texImage2DVideo(1, 1, 1, 1, 10, new VideoElement()); |
- }); |
- |
- test('texSubImage2D', () { |
- var canvas = new CanvasElement(); |
- var context = canvas.getContext3d(); |
- var pixels = new Uint8List.fromList([0,0,3,255,0,0,0,0,0,0]); |
- context.texSubImage2D(1, 1, 1, 1, 10, 10, 1, 1, pixels); |
- |
- canvas = new CanvasElement(); |
- document.body.children.add(canvas); |
- var context2 = canvas.getContext('2d'); |
- context.texSubImage2DData(1, 1, 1, 1, 1, 10, |
- context2.getImageData(10, 10, 10, 10)); |
- |
- context.texSubImage2DImage(1, 1, 1, 1, 1, 10, new ImageElement()); |
- context.texSubImage2DCanvas(1, 1, 1, 1, 1, 10, new CanvasElement()); |
- context.texSubImage2DVideo(1, 1, 1, 1, 1, 10, new VideoElement()); |
- }); |
} |
}); |
} |