mittorn / godot-screengrab

drm screen grab and xcomposite window manager addon for godot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Godot screengrap addon

This is based on w23's OBS plugin for zero-copy screen capture, should work on drm-based single-display configurations Use update_texture method on gogot's ExternalTexture

Language: GDNative C++

Renderer: GLES 2

Dependencies:

  • You need godot-cpp, this is now a Git submodule of this repo.
  • clang, gcc, or any decent C++ compiler that's C++14 compatible.

Compiling

You can use SCons to compile the library:

scons platform=PLATFORM

Where PLATFORM is: windows, linux, or osx.

This creates the file libscreengrab in the respective subfolders in the project/gdnative directory.

About

drm screen grab and xcomposite window manager addon for godot


Languages

Language:C 55.1%Language:C++ 32.9%Language:Python 7.1%Language:Shell 3.4%Language:GDScript 1.7%