diff options
author | stelar7 <dudedbz@gmail.com> | 2021-05-15 17:02:40 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-18 08:45:53 +0100 |
commit | 24c5b0e81c6902907d708f862e54d40f5248973e (patch) | |
tree | 9db626adda893f052e3d35417f5a5b45b55b597c /Base | |
parent | 9f42ccd6399d604a49a36cdf91a4221b85f0d138 (diff) | |
download | serenity-24c5b0e81c6902907d708f862e54d40f5248973e.zip |
LibGfx: Add support for DDS images
Diffstat (limited to 'Base')
-rw-r--r-- | Base/home/anon/.config/LaunchServer.ini | 1 | ||||
-rw-r--r-- | Base/res/apps/ImageViewer.af | 2 | ||||
-rw-r--r-- | Base/res/html/misc/ddssuite.html | 35 | ||||
-rw-r--r-- | Base/res/html/misc/ddssuite_files/DXT1-mipmap.dds | bin | 0 -> 11064 bytes | |||
-rw-r--r-- | Base/res/html/misc/ddssuite_files/DXT1.dds | bin | 0 -> 2176 bytes | |||
-rw-r--r-- | Base/res/html/misc/ddssuite_files/DXT3-alpha.dds | bin | 0 -> 4224 bytes | |||
-rw-r--r-- | Base/res/html/misc/ddssuite_files/DXT3.dds | bin | 0 -> 4224 bytes | |||
-rw-r--r-- | Base/res/html/misc/ddssuite_files/DXT5-alpha.dds | bin | 0 -> 4224 bytes | |||
-rw-r--r-- | Base/res/html/misc/ddssuite_files/DXT5.dds | bin | 0 -> 4224 bytes | |||
-rw-r--r-- | Base/res/html/misc/welcome.html | 1 |
10 files changed, 38 insertions, 1 deletions
diff --git a/Base/home/anon/.config/LaunchServer.ini b/Base/home/anon/.config/LaunchServer.ini index 9d9d0adc7e..87acdb03ac 100644 --- a/Base/home/anon/.config/LaunchServer.ini +++ b/Base/home/anon/.config/LaunchServer.ini @@ -1,4 +1,5 @@ [FileType] +dds=/bin/ImageViewer pbm=/bin/ImageViewer pgm=/bin/ImageViewer png=/bin/ImageViewer diff --git a/Base/res/apps/ImageViewer.af b/Base/res/apps/ImageViewer.af index d86708d1b2..8d9750c08f 100644 --- a/Base/res/apps/ImageViewer.af +++ b/Base/res/apps/ImageViewer.af @@ -4,4 +4,4 @@ Executable=/bin/ImageViewer Category=Graphics [Launcher] -FileTypes=pbm,pgm,png,ppm,gif,jpg,jpeg +FileTypes=pbm,pgm,png,ppm,gif,jpg,jpeg,dds diff --git a/Base/res/html/misc/ddssuite.html b/Base/res/html/misc/ddssuite.html new file mode 100644 index 0000000000..f8d50e7947 --- /dev/null +++ b/Base/res/html/misc/ddssuite.html @@ -0,0 +1,35 @@ +<html> + <head><title>DDS test suite</title></head> + <body> + <table border="1" width="100%"> + <tr> + <th>Type</th> + <th>Image</th> + </tr> + <tr> + <td align="center">DXT1</td> + <td align="center"><img src="ddssuite_files/DXT1.dds"></td> + </tr> + <tr> + <td align="center">DXT3</td> + <td align="center"><img src="ddssuite_files/DXT3.dds"></td> + </tr> + <tr> + <td align="center">DXT5</td> + <td align="center"><img src="ddssuite_files/DXT5.dds"></td> + </tr> + <tr> + <td align="center">DXT3 - alpha</td> + <td align="center"><img src="ddssuite_files/DXT3-alpha.dds"></td> + </tr> + <tr> + <td align="center">DXT5 - alpha</td> + <td align="center"><img src="ddssuite_files/DXT5-alpha.dds"></td> + </tr> + <tr> + <td align="center">DXT1 - mipmap</td> + <td align="center"><img src="ddssuite_files/DXT1-mipmap.dds"></td> + </tr> + </table> + </body> +</html> diff --git a/Base/res/html/misc/ddssuite_files/DXT1-mipmap.dds b/Base/res/html/misc/ddssuite_files/DXT1-mipmap.dds Binary files differnew file mode 100644 index 0000000000..581fc44f5d --- /dev/null +++ b/Base/res/html/misc/ddssuite_files/DXT1-mipmap.dds diff --git a/Base/res/html/misc/ddssuite_files/DXT1.dds b/Base/res/html/misc/ddssuite_files/DXT1.dds Binary files differnew file mode 100644 index 0000000000..46c5cb57b5 --- /dev/null +++ b/Base/res/html/misc/ddssuite_files/DXT1.dds diff --git a/Base/res/html/misc/ddssuite_files/DXT3-alpha.dds b/Base/res/html/misc/ddssuite_files/DXT3-alpha.dds Binary files differnew file mode 100644 index 0000000000..4b1159e77c --- /dev/null +++ b/Base/res/html/misc/ddssuite_files/DXT3-alpha.dds diff --git a/Base/res/html/misc/ddssuite_files/DXT3.dds b/Base/res/html/misc/ddssuite_files/DXT3.dds Binary files differnew file mode 100644 index 0000000000..a5003f5417 --- /dev/null +++ b/Base/res/html/misc/ddssuite_files/DXT3.dds diff --git a/Base/res/html/misc/ddssuite_files/DXT5-alpha.dds b/Base/res/html/misc/ddssuite_files/DXT5-alpha.dds Binary files differnew file mode 100644 index 0000000000..c5e2be7555 --- /dev/null +++ b/Base/res/html/misc/ddssuite_files/DXT5-alpha.dds diff --git a/Base/res/html/misc/ddssuite_files/DXT5.dds b/Base/res/html/misc/ddssuite_files/DXT5.dds Binary files differnew file mode 100644 index 0000000000..14f4bcb387 --- /dev/null +++ b/Base/res/html/misc/ddssuite_files/DXT5.dds diff --git a/Base/res/html/misc/welcome.html b/Base/res/html/misc/welcome.html index af2469f9cc..60d3fea30d 100644 --- a/Base/res/html/misc/welcome.html +++ b/Base/res/html/misc/welcome.html @@ -38,6 +38,7 @@ span#loadtime { <p>This page loaded in <b><span id="loadtime"></span></b> ms</p> <p>Some small test pages:</p> <ul> + <li><a href="ddssuite.html">DDS test suite</a></li> <li><a href="websocket.html">WebSocket API Test</a></li> <li><a href="cookie.html">document.cookie</a></li> <li><a href="last-of-type.html">CSS :last-of-type selector</a></li> |