Rename drm to vaapi

This commit is contained in:
Steam Deck User
2023-04-01 19:05:56 +02:00
parent 29237c7116
commit c720d38978
4 changed files with 61 additions and 61 deletions

View File

@@ -1,5 +1,5 @@
#ifndef GSR_CAPTURE_XCOMPOSITE_DRM_H
#define GSR_CAPTURE_XCOMPOSITE_DRM_H
#ifndef GSR_CAPTURE_XCOMPOSITE_VAAPI_H
#define GSR_CAPTURE_XCOMPOSITE_VAAPI_H
#include "capture.h"
#include "../vec2.h"
@@ -11,8 +11,8 @@ typedef struct {
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_drm_params;
} gsr_capture_xcomposite_vaapi_params;
gsr_capture* gsr_capture_xcomposite_drm_create(const gsr_capture_xcomposite_drm_params *params);
gsr_capture* gsr_capture_xcomposite_vaapi_create(const gsr_capture_xcomposite_vaapi_params *params);
#endif /* GSR_CAPTURE_XCOMPOSITE_DRM_H */
#endif /* GSR_CAPTURE_XCOMPOSITE_VAAPI_H */