mirror of https://github.com/mpv-player/mpv
11 lines
312 B
C
11 lines
312 B
C
|
#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);
|
||
|
|
||
|
// 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);
|