@@ -40,64 +40,84 @@ _pg_HasSSE_NEON();
4040
4141// AVX2 functions
4242int
43- surface_fill_blend_add_avx2 (SDL_Surface * surface , SDL_Rect * rect ,
43+ surface_fill_blend_add_avx2 (SDL_Surface * surface ,
44+ PG_PixelFormat * surface_format , SDL_Rect * rect ,
4445 Uint32 color );
4546int
46- surface_fill_blend_rgba_add_avx2 (SDL_Surface * surface , SDL_Rect * rect ,
47- Uint32 color );
47+ surface_fill_blend_rgba_add_avx2 (SDL_Surface * surface ,
48+ PG_PixelFormat * surface_format ,
49+ SDL_Rect * rect , Uint32 color );
4850
4951int
50- surface_fill_blend_sub_avx2 (SDL_Surface * surface , SDL_Rect * rect ,
52+ surface_fill_blend_sub_avx2 (SDL_Surface * surface ,
53+ PG_PixelFormat * surface_format , SDL_Rect * rect ,
5154 Uint32 color );
5255int
53- surface_fill_blend_rgba_sub_avx2 (SDL_Surface * surface , SDL_Rect * rect ,
54- Uint32 color );
56+ surface_fill_blend_rgba_sub_avx2 (SDL_Surface * surface ,
57+ PG_PixelFormat * surface_format ,
58+ SDL_Rect * rect , Uint32 color );
5559int
56- surface_fill_blend_mult_avx2 (SDL_Surface * surface , SDL_Rect * rect ,
60+ surface_fill_blend_mult_avx2 (SDL_Surface * surface ,
61+ PG_PixelFormat * surface_format , SDL_Rect * rect ,
5762 Uint32 color );
5863int
59- surface_fill_blend_rgba_mult_avx2 (SDL_Surface * surface , SDL_Rect * rect ,
60- Uint32 color );
64+ surface_fill_blend_rgba_mult_avx2 (SDL_Surface * surface ,
65+ PG_PixelFormat * surface_format ,
66+ SDL_Rect * rect , Uint32 color );
6167int
62- surface_fill_blend_min_avx2 (SDL_Surface * surface , SDL_Rect * rect ,
68+ surface_fill_blend_min_avx2 (SDL_Surface * surface ,
69+ PG_PixelFormat * surface_format , SDL_Rect * rect ,
6370 Uint32 color );
6471int
65- surface_fill_blend_rgba_min_avx2 (SDL_Surface * surface , SDL_Rect * rect ,
66- Uint32 color );
72+ surface_fill_blend_rgba_min_avx2 (SDL_Surface * surface ,
73+ PG_PixelFormat * surface_format ,
74+ SDL_Rect * rect , Uint32 color );
6775int
68- surface_fill_blend_max_avx2 (SDL_Surface * surface , SDL_Rect * rect ,
76+ surface_fill_blend_max_avx2 (SDL_Surface * surface ,
77+ PG_PixelFormat * surface_format , SDL_Rect * rect ,
6978 Uint32 color );
7079int
71- surface_fill_blend_rgba_max_avx2 (SDL_Surface * surface , SDL_Rect * rect ,
72- Uint32 color );
80+ surface_fill_blend_rgba_max_avx2 (SDL_Surface * surface ,
81+ PG_PixelFormat * surface_format ,
82+ SDL_Rect * rect , Uint32 color );
7383// SSE2 functions
7484int
75- surface_fill_blend_add_sse2 (SDL_Surface * surface , SDL_Rect * rect ,
85+ surface_fill_blend_add_sse2 (SDL_Surface * surface ,
86+ PG_PixelFormat * surface_format , SDL_Rect * rect ,
7687 Uint32 color );
7788int
78- surface_fill_blend_rgba_add_sse2 (SDL_Surface * surface , SDL_Rect * rect ,
79- Uint32 color );
89+ surface_fill_blend_rgba_add_sse2 (SDL_Surface * surface ,
90+ PG_PixelFormat * surface_format ,
91+ SDL_Rect * rect , Uint32 color );
8092int
81- surface_fill_blend_sub_sse2 (SDL_Surface * surface , SDL_Rect * rect ,
93+ surface_fill_blend_sub_sse2 (SDL_Surface * surface ,
94+ PG_PixelFormat * surface_format , SDL_Rect * rect ,
8295 Uint32 color );
8396int
84- surface_fill_blend_rgba_sub_sse2 (SDL_Surface * surface , SDL_Rect * rect ,
85- Uint32 color );
97+ surface_fill_blend_rgba_sub_sse2 (SDL_Surface * surface ,
98+ PG_PixelFormat * surface_format ,
99+ SDL_Rect * rect , Uint32 color );
86100int
87- surface_fill_blend_mult_sse2 (SDL_Surface * surface , SDL_Rect * rect ,
101+ surface_fill_blend_mult_sse2 (SDL_Surface * surface ,
102+ PG_PixelFormat * surface_format , SDL_Rect * rect ,
88103 Uint32 color );
89104int
90- surface_fill_blend_rgba_mult_sse2 (SDL_Surface * surface , SDL_Rect * rect ,
91- Uint32 color );
105+ surface_fill_blend_rgba_mult_sse2 (SDL_Surface * surface ,
106+ PG_PixelFormat * surface_format ,
107+ SDL_Rect * rect , Uint32 color );
92108int
93- surface_fill_blend_min_sse2 (SDL_Surface * surface , SDL_Rect * rect ,
109+ surface_fill_blend_min_sse2 (SDL_Surface * surface ,
110+ PG_PixelFormat * surface_format , SDL_Rect * rect ,
94111 Uint32 color );
95112int
96- surface_fill_blend_rgba_min_sse2 (SDL_Surface * surface , SDL_Rect * rect ,
97- Uint32 color );
113+ surface_fill_blend_rgba_min_sse2 (SDL_Surface * surface ,
114+ PG_PixelFormat * surface_format ,
115+ SDL_Rect * rect , Uint32 color );
98116int
99- surface_fill_blend_max_sse2 (SDL_Surface * surface , SDL_Rect * rect ,
117+ surface_fill_blend_max_sse2 (SDL_Surface * surface ,
118+ PG_PixelFormat * surface_format , SDL_Rect * rect ,
100119 Uint32 color );
101120int
102- surface_fill_blend_rgba_max_sse2 (SDL_Surface * surface , SDL_Rect * rect ,
103- Uint32 color );
121+ surface_fill_blend_rgba_max_sse2 (SDL_Surface * surface ,
122+ PG_PixelFormat * surface_format ,
123+ SDL_Rect * rect , Uint32 color );
0 commit comments