mirror of https://github.com/mpv-player/mpv
11 lines
371 B
C
11 lines
371 B
C
|
#pragma once
|
||
|
|
||
|
#include "video/out/gpu/context.h"
|
||
|
#include "common.h"
|
||
|
|
||
|
// Helpers for ra_ctx based on ra_vk. These initialize ctx->ra and ctx->swchain.
|
||
|
void ra_vk_ctx_uninit(struct ra_ctx *ctx);
|
||
|
bool ra_vk_ctx_init(struct ra_ctx *ctx, struct mpvk_ctx *vk,
|
||
|
VkPresentModeKHR preferred_mode);
|
||
|
bool ra_vk_ctx_resize(struct ra_swapchain *sw, int w, int h);
|