wcap: Move wcap structs and constants to a shader header
This commit is contained in:
+2
-6
@@ -31,6 +31,8 @@
|
||||
#include "compositor.h"
|
||||
#include "screenshooter-server-protocol.h"
|
||||
|
||||
#include "../wcap-decode/wcap-decode.h"
|
||||
|
||||
struct screenshooter {
|
||||
struct wl_object base;
|
||||
struct weston_compositor *ec;
|
||||
@@ -324,12 +326,6 @@ weston_recorder_frame_notify(struct wl_listener *listener, void *data)
|
||||
pixman_region32_fini(&damage);
|
||||
}
|
||||
|
||||
#define WCAP_HEADER_MAGIC 0x57434150
|
||||
#define WCAP_FORMAT_XRGB8888 0x34325258
|
||||
#define WCAP_FORMAT_XBGR8888 0x34324258
|
||||
#define WCAP_FORMAT_RGBX8888 0x34325852
|
||||
#define WCAP_FORMAT_BGRX8888 0x34325842
|
||||
|
||||
static void
|
||||
weston_recorder_create(struct weston_output *output, const char *filename)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user