/dports/games/taisei/taisei-1.3.2/src/util/ |
H A D | fbmgr.c | 34 static inline void fbmgr_framebuffer_get_metrics(ManagedFramebuffer *mfb, IntExtent *fb_size, Float… in fbmgr_framebuffer_get_metrics() argument 36 mfb_data->resize_strategy.resize_func(mfb_data->resize_strategy.userdata, fb_size, fb_viewport); in fbmgr_framebuffer_get_metrics() 40 IntExtent fb_size; in fbmgr_framebuffer_update() local 44 fbmgr_framebuffer_get_metrics(mfb, &fb_size, &fb_viewport); in fbmgr_framebuffer_update() 47 fbutil_resize_attachment(fb, i, fb_size.w, fb_size.h); in fbmgr_framebuffer_update() 73 IntExtent fb_size; in fbmgr_framebuffer_create() local 75 fbmgr_framebuffer_get_metrics(mfb, &fb_size, &fb_viewport); in fbmgr_framebuffer_create() 78 ac[i].tex_params.width = fb_size.w; in fbmgr_framebuffer_create() 79 ac[i].tex_params.height = fb_size.h; in fbmgr_framebuffer_create()
|
/dports/games/taisei/taisei-1.3.2/src/renderer/gl33/ |
H A D | framebuffer.c | 164 IntExtent fb_size = { 0, 0 }; in gl33_framebuffer_get_effective_size() local 175 if(fb_size.w == 0 && fb_size.h == 0) { in gl33_framebuffer_get_effective_size() 176 fb_size = tex_size; in gl33_framebuffer_get_effective_size() 177 } else if(tex_size.w < fb_size.w) { in gl33_framebuffer_get_effective_size() 178 fb_size.w = tex_size.w; in gl33_framebuffer_get_effective_size() 179 } else if(tex_size.h < fb_size.h) { in gl33_framebuffer_get_effective_size() 180 fb_size.h = tex_size.h; in gl33_framebuffer_get_effective_size() 185 return fb_size; in gl33_framebuffer_get_effective_size()
|
/dports/sysutils/u-boot-nanopi-neo2/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-chip/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-firefly-rk3399/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-sinovoip-bpi-m3/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-a64-olinuxino/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-sopine/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-rpi/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-qemu-arm64/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-olimex-a20-som-evb/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-nanopi-m1plus/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-nanopi-r4s/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-beaglebone/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-clearfog/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-cubieboard/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-orangepi-zero-plus/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-orangepi-r1/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-orangepi-zero/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
/dports/sysutils/u-boot-pandaboard/u-boot-2021.07/drivers/video/ |
H A D | video-uclass.c | 124 u16 *end = priv->fb + priv->fb_size; in video_clear() 133 u32 *end = priv->fb + priv->fb_size; in video_clear() 140 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 143 ret = video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_clear() 198 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 264 if (offset < -priv->fb_size || offset > 2 * priv->fb_size) { in video_sync_copy() 282 if (offset + size > priv->fb_size) { in video_sync_copy() 283 size = priv->fb_size - offset; in video_sync_copy() 299 video_sync_copy(dev, priv->fb, priv->fb + priv->fb_size); in video_sync_copy_all() 342 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|