mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
Refactor xcomposite into abstract capture api
Refactor c++ files into c files, more usable
This commit is contained in:
16
include/capture/xcomposite.h
Normal file
16
include/capture/xcomposite.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef GSR_CAPTURE_XCOMPOSITE_H
|
||||
#define GSR_CAPTURE_XCOMPOSITE_H
|
||||
|
||||
#include "capture.h"
|
||||
#include "../vec2.h"
|
||||
#include <X11/X.h>
|
||||
|
||||
typedef struct _XDisplay Display;
|
||||
|
||||
typedef struct {
|
||||
Window window;
|
||||
} gsr_capture_xcomposite_params;
|
||||
|
||||
gsr_capture* gsr_capture_xcomposite_create(const gsr_capture_xcomposite_params *params);
|
||||
|
||||
#endif /* GSR_CAPTURE_XCOMPOSITE_H */
|
||||
Reference in New Issue
Block a user