KWin
Loading...
Searching...
No Matches
Namespaces | Macros
screencaststream.cpp File Reference
#include "screencaststream.h"
#include "compositor.h"
#include "core/graphicsbufferallocator.h"
#include "core/outputbackend.h"
#include "core/renderbackend.h"
#include "cursor.h"
#include "kwinscreencast_logging.h"
#include "main.h"
#include "opengl/eglnativefence.h"
#include "opengl/gltexture.h"
#include "opengl/glutils.h"
#include "pipewirecore.h"
#include "platformsupport/scenes/opengl/abstract_egl_backend.h"
#include "platformsupport/scenes/opengl/openglbackend.h"
#include "scene/workspacescene.h"
#include "screencastdmabuftexture.h"
#include "screencastsource.h"
#include <KLocalizedString>
#include <QLoggingCategory>
#include <QPainter>
#include <spa/buffer/meta.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <unistd.h>
#include <libdrm/drm_fourcc.h>
#include "moc_screencaststream.cpp"

Go to the source code of this file.

Namespaces

namespace  KWin
 

Macros

#define CURSOR_BPP   4
 
#define CURSOR_META_SIZE(w, h)   (sizeof(struct spa_meta_cursor) + sizeof(struct spa_meta_bitmap) + w * h * CURSOR_BPP)
 

Macro Definition Documentation

◆ CURSOR_BPP

#define CURSOR_BPP   4

Definition at line 107 of file screencaststream.cpp.

◆ CURSOR_META_SIZE

#define CURSOR_META_SIZE ( w,
h )   (sizeof(struct spa_meta_cursor) + sizeof(struct spa_meta_bitmap) + w * h * CURSOR_BPP)

Definition at line 108 of file screencaststream.cpp.