summaryrefslogtreecommitdiff
path: root/contrib/SDL-3.2.8/test/testautomation_images.h
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2025-12-27 12:03:39 -0800
committer3gg <3gg@shellblade.net>2025-12-27 12:03:39 -0800
commit5a079a2d114f96d4847d1ee305d5b7c16eeec50e (patch)
tree8926ab44f168acf787d8e19608857b3af0f82758 /contrib/SDL-3.2.8/test/testautomation_images.h
Initial commit
Diffstat (limited to 'contrib/SDL-3.2.8/test/testautomation_images.h')
-rw-r--r--contrib/SDL-3.2.8/test/testautomation_images.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/contrib/SDL-3.2.8/test/testautomation_images.h b/contrib/SDL-3.2.8/test/testautomation_images.h
new file mode 100644
index 0000000..f5b2c9a
--- /dev/null
+++ b/contrib/SDL-3.2.8/test/testautomation_images.h
@@ -0,0 +1,33 @@
1/*
2 Copyright (C) 1997-2025 Sam Lantinga <slouken@libsdl.org>
3
4 This software is provided 'as-is', without any express or implied
5 warranty. In no event will the authors be held liable for any damages
6 arising from the use of this software.
7
8 Permission is granted to anyone to use this software for any purpose,
9 including commercial applications, and to alter it and redistribute it
10 freely.
11*/
12
13/* Defines some images for tests */
14
15/**
16 * Type for test images.
17 */
18typedef struct SDLTest_SurfaceImage_s {
19 int width;
20 int height;
21 unsigned int bytes_per_pixel; /* 3:RGB, 4:RGBA */
22 char *pixel_data;
23} SDLTest_SurfaceImage_t;
24
25/* Test images */
26extern SDL_Surface *SDLTest_ImageBlit(void);
27extern SDL_Surface *SDLTest_ImageBlitTiled(void);
28extern SDL_Surface *SDLTest_ImageBlitColor(void);
29extern SDL_Surface *SDLTest_ImageFace(void);
30extern SDL_Surface *SDLTest_ImagePrimitives(void);
31extern SDL_Surface *SDLTest_ImageBlendingBackground(void);
32extern SDL_Surface *SDLTest_ImageBlendingSprite(void);
33extern SDL_Surface *SDLTest_ImageWrappingSprite(void);