blob: 4b3414bb288349e7f3214b594ea5c55f9f0044a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include "video/out/gpu/ra.h"
#include <libplacebo/gpu.h>
struct ra *ra_create_pl(const struct pl_gpu *gpu, struct mp_log *log);
const struct pl_gpu *ra_pl_get(const struct ra *ra);
static inline const struct pl_fmt *ra_pl_fmt_get(const struct ra_format *format)
{
return format->priv;
}
// Wrap a pl_tex into a ra_tex struct, returns if successful
bool mppl_wrap_tex(struct ra *ra, const struct pl_tex *pltex,
struct ra_tex *out_tex);
|