1 ! Copyright (C) 2009 Slava Pestov.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: tools.test opengl.textures opengl.textures.private
4 images kernel namespaces ;
5 IN: opengl.textures.tests
12 10 11 12 13 14 15 16 17 18
13 19 20 21 22 23 24 25 26 27
14 28 29 30 31 32 33 34 35 36
15 37 38 39 40 41 42 43 44 45
16 } image boa "image" set
22 { component-order RGB }
25 1 2 3 4 5 6 7 8 9 7 8 9
26 10 11 12 13 14 15 16 17 18 16 17 18
27 19 20 21 22 23 24 25 26 27 25 26 27
28 28 29 30 31 32 33 34 35 36 34 35 36
29 37 38 39 40 41 42 43 44 45 43 44 45
30 37 38 39 40 41 42 43 44 45 43 44 45
31 37 38 39 40 41 42 43 44 45 43 44 45
32 37 38 39 40 41 42 43 44 45 43 44 45
37 "image" get power-of-2-image
43 { component-order R32G32B32 }
48 { component-order R32G32B32 }