1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-12-02 14:15:41 -05:00
picom/src/compton.modulemap
Yuxuan Shui 8922312e42
Refactor FBConfig lookup
Background: To bind a Xorg window content to a OpenGL FBConfig, which
has to match the color format the Xorg window is using.

Previously, compton just find a FBConfig that has the same depth. This
led to chjj/compton#477, which has been fixed by a ugly hack.

The commit refactor the lookup mechanism to take as much into
consideration as we reasonably can. Hopefully preventing similar
breakages in the future.

Also, some code sharing between the old and new glx backend.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2019-02-03 18:41:47 +00:00

206 lines
3.6 KiB
Text

// modulemap
// Generated by: modularize -module-map-path=modulemap list -I. -I/usr/include/pixman-1 -x c -I/usr/include/dbus-1.0 -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_OPENGL -DCONFIG_DBUS -DGL_GLEXT_PROTOTYPES -I/usr/lib/dbus-1.0/include
module compiler {
header "compiler.h"
}
module string_utils {
header "string_utils.h"
}
module dbus {
header "dbus.h"
}
module kernel {
header "kernel.h"
}
module utils {
// Has macros expands to calloc/malloc
header "utils.h"
export libc.stdlib
}
module region {
header "region.h"
}
module compton {
header "compton.h"
}
module types {
header "types.h"
}
module c2 {
header "c2.h"
}
module render {
header "render.h"
}
module options {
header "options.h"
}
module opengl {
header "opengl.h"
}
module diagnostic {
header "diagnostic.h"
}
module win {
header "win.h"
}
module log {
header "log.h"
}
module x {
header "x.h"
}
module vsync {
header "vsync.h"
}
module common {
header "common.h"
}
module config {
header "config.h"
}
module xrescheck {
header "xrescheck.h"
}
module backend {
module gl {
module gl_common {
header "backend/gl/gl_common.h"
}
module glx {
header "backend/gl/glx.h"
}
}
module backend {
header "backend/backend.h"
}
module backend_common {
header "backend/backend_common.h"
}
}
module xcb [system] {
module xcb {
header "/usr/include/xcb/xcb.h"
export *
}
module randr {
header "/usr/include/xcb/randr.h"
export *
}
module render {
header "/usr/include/xcb/render.h"
export *
}
module sync {
header "/usr/include/xcb/sync.h"
export *
}
module composite {
header "/usr/include/xcb/composite.h"
export *
}
module xfixes {
header "/usr/include/xcb/xfixes.h"
export *
}
module damage {
header "/usr/include/xcb/damage.h"
export *
}
module xproto {
header "/usr/include/xcb/xproto.h"
export *
}
module present {
header "/usr/include/xcb/present.h"
}
module util {
module render {
header "/usr/include/xcb/xcb_renderutil.h"
export *
}
}
}
module X11 [system] {
module Xlib {
header "/usr/include/X11/Xlib.h"
export *
}
module Xutil {
header "/usr/include/X11/Xutil.h"
export *
}
}
module GL [system] {
module glx {
header "/usr/include/GL/glx.h"
export *
}
module gl {
header "/usr/include/GL/gl.h"
export *
}
}
module libc [system] {
export *
module assert {
export *
textual header "/usr/include/assert.h"
}
module string {
export *
header "/usr/include/string.h"
}
module ctype {
export *
header "/usr/include/ctype.h"
}
module errno {
export *
header "/usr/include/errno.h"
}
module fenv {
export *
header "/usr/include/fenv.h"
}
module inttypes {
export *
header "/usr/include/inttypes.h"
}
module math {
export *
header "/usr/include/math.h"
}
module setjmp {
export *
header "/usr/include/setjmp.h"
}
module stdio {
export *
header "/usr/include/stdio.h"
}
module stdlib [system] {
export *
header "/usr/include/stdlib.h"
}
}
// glib specific header. In it's own module because it
// doesn't exist on some systems with unpatched glib 2.26+
module "xlocale.h" [system] {
export *
header "/usr/include/xlocale.h"
}
// System header that we have difficult with merging.
module "sys_types.h" [system] {
export *
header "/usr/include/sys/types.h"
}
module "signal.h" [system] {
export *
header "/usr/include/signal.h"
}