2023-01-12 06:10:47 +01:00
|
|
|
#ifndef GUARD_D3B2B8EAB7F3D9A513B3C06FAAF6357E
|
|
|
|
#define GUARD_D3B2B8EAB7F3D9A513B3C06FAAF6357E
|
|
|
|
|
2023-01-14 05:48:58 +01:00
|
|
|
#include "types.h"
|
|
|
|
#include "vec2i.h"
|
|
|
|
|
2023-01-12 06:10:47 +01:00
|
|
|
#define SW_SCALE_STRETCH 0
|
|
|
|
#define SW_SCALE_ASPECT 1
|
|
|
|
#define SW_SCALE_INTEGER 2
|
|
|
|
|
2023-01-14 05:48:58 +01:00
|
|
|
/* input texture and output framebuffer(unless screen) need to be bound */
|
|
|
|
void sw_scaler_apply(
|
|
|
|
i32 scaler, struct sw_vec2i in_size, struct sw_vec2i out_size
|
|
|
|
);
|
|
|
|
|
2023-01-12 06:10:47 +01:00
|
|
|
#endif /* GUARD_D3B2B8EAB7F3D9A513B3C06FAAF6357E */
|