Skip to content

Commit 9a65132

Browse files
committed
Cleanup
1 parent 8ae992c commit 9a65132

File tree

8 files changed

+24
-15
lines changed

8 files changed

+24
-15
lines changed

kos/src/libvideo/gfx/swgfx/hl_blit-nowrap.c.inl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717
* misrepresented as being the original software. *
1818
* 3. This notice may not be removed or altered from any source distribution. *
1919
*/
20-
#define _KOS_SOURCE 1
21-
2220
#ifdef __INTELLISENSE__
21+
#define _KOS_SOURCE 1
2322
//#define DEFINE_libvideo_swblitter_blit
2423
//#define DEFINE_libvideo_swblitter_stretch
2524
//#define DEFINE_libvideo_swblitter_blit_imatrix

kos/src/libvideo/gfx/swgfx/hl_blit.c.inl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717
* misrepresented as being the original software. *
1818
* 3. This notice may not be removed or altered from any source distribution. *
1919
*/
20-
#define _KOS_SOURCE 1
21-
2220
#ifdef __INTELLISENSE__
21+
#define _KOS_SOURCE 1
2322
//#define DEFINE_libvideo_swblitter_blit_wrap
2423
//#define DEFINE_libvideo_swblitter_blit_wrap_imatrix
2524
#define DEFINE_libvideo_swblitter3_blit_wrap

kos/src/libvideo/gfx/swgfx/hl_generic.c.inl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717
* misrepresented as being the original software. *
1818
* 3. This notice may not be removed or altered from any source distribution. *
1919
*/
20-
#define _KOS_SOURCE 1
21-
2220
#ifdef __INTELLISENSE__
21+
#define _KOS_SOURCE 1
2322
//#define DEFINE_libvideo_swgfx_XXX
2423
#define DEFINE_libvideo_swgfx_XXX_xyswap
2524
#endif /* __INTELLISENSE__ */
@@ -39,7 +38,9 @@
3938
#include <libvideo/gfx/gfx.h>
4039
#include <libvideo/types.h>
4140

41+
#include "../gfx-debug.h"
4242
#include "../gfx-utils.h"
43+
#include "../gfx.h"
4344
#include "../swgfx.h"
4445

4546
#if (defined(DEFINE_libvideo_swgfx_XXX_xyswap) + \

kos/src/libvideo/gfx/swgfx/ll.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@
2020
#ifndef GUARD_LIBVIDEO_GFX_SWGFX_LL_H
2121
#define GUARD_LIBVIDEO_GFX_SWGFX_LL_H 1
2222

23+
#include "../api.h"
24+
/**/
25+
26+
#include <libvideo/gfx/buffer.h>
27+
#include <libvideo/gfx/gfx.h>
28+
29+
#include "../gfx-debug.h"
2330
#include "../swgfx.h"
2431

2532
/* When low-level GFX functions want to call other

kos/src/libvideo/gfx/swgfx/ll_blit.c.inl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,12 @@
2727

2828
#include <hybrid/compiler.h>
2929

30-
#include <hybrid/align.h>
31-
3230
#include <kos/types.h>
3331
#include <sys/syslog.h>
3432

3533
#include <inttypes.h>
3634
#include <malloca.h>
3735
#include <minmax.h>
38-
#include <stddef.h>
3936

4037
#include <libvideo/color.h>
4138
#include <libvideo/gfx/blend.h>

kos/src/libvideo/gfx/swgfx/ll_blit3-mask1msb.c.inl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,14 @@
3232

3333
#include <hybrid/bit.h>
3434

35+
#include <kos/types.h>
36+
37+
#include <stddef.h>
38+
3539
#include <libvideo/color.h>
40+
#include <libvideo/gfx/buffer.h>
41+
#include <libvideo/gfx/codec/codec.h>
42+
#include <libvideo/gfx/codec/converter.h>
3643
#include <libvideo/gfx/gfx.h>
3744
#include <libvideo/types.h>
3845

kos/src/libvideo/gfx/swgfx/ll_blit3.c.inl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,18 @@
2626

2727
#include <hybrid/compiler.h>
2828

29+
#include <kos/types.h>
30+
2931
#include <libvideo/color.h>
3032
#include <libvideo/gfx/blend.h>
3133
#include <libvideo/gfx/blendcolors.h>
34+
#include <libvideo/gfx/buffer.h>
35+
#include <libvideo/gfx/codec/codec.h>
3236
#include <libvideo/gfx/gfx.h>
3337
#include <libvideo/gfx/surface.h>
3438
#include <libvideo/types.h>
3539

40+
#include "../gfx-debug.h"
3641
#include "../gfx-utils.h"
3742
#include "../swgfx.h"
3843
#include "ll.h"

kos/src/libvideo/gfx/swgfx/ll_noblend.c.inl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,9 @@
2626

2727
#include <hybrid/compiler.h>
2828

29-
#include <hybrid/bit.h>
30-
#include <hybrid/typecore.h>
31-
#include <hybrid/unaligned.h>
32-
3329
#include <kos/types.h>
34-
#include <sys/param.h>
3530

3631
#include <inttypes.h>
37-
#include <stddef.h>
3832
#include <stdint.h>
3933

4034
#include <libvideo/color.h>

0 commit comments

Comments
 (0)