mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-05-05 22:40:42 +09:00
Refactor xcomposite
Move common code between cuda/vaapi implementations into xcomposite file. This also fixes limited/full range colors on nvidia.
This commit is contained in:
@@ -2,14 +2,10 @@
|
||||
#define GSR_CAPTURE_XCOMPOSITE_CUDA_H
|
||||
|
||||
#include "capture.h"
|
||||
#include "../egl.h"
|
||||
#include "../vec2.h"
|
||||
#include "xcomposite.h"
|
||||
|
||||
typedef struct {
|
||||
gsr_egl *egl;
|
||||
Window window;
|
||||
bool follow_focused; /* If this is set then |window| is ignored */
|
||||
vec2i region_size; /* This is currently only used with |follow_focused| */
|
||||
gsr_capture_xcomposite_params base;
|
||||
bool overclock;
|
||||
} gsr_capture_xcomposite_cuda_params;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user