libxcm
Classes | Macros | Typedefs | Functions | Variables
color.c File Reference

a compiz colour management plug-in More...

#include <assert.h>
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <X11/extensions/Xfixes.h>
#include <X11/extensions/Xrandr.h>
#include <compiz-core.h>
#include <string.h>
#include <stdarg.h>
#include <lcms.h>
#include <Xcm.h>
Include dependency graph for color.c:

Classes

struct  PrivColorProfile
 When a profile is uploaded into the root window, the plugin fetches the property and creates a lcms profile object. More...
 
struct  PrivColorRegion
 The XserverRegion is dereferenced only when the client sends a _ICC_COLOR_MANAGEMENT ClientMessage to its window. More...
 
struct  PrivColorOutput
 Output profiles are currently only fetched using XRandR. More...
 
struct  PrivCore
 
struct  PrivDisplay
 
struct  PrivScreen
 
struct  PrivWindow
 

Macros

#define GL_GLEXT_PROTOTYPES
 
#define _BSD_SOURCE
 
#define OY_COMPIZ_VERSION   (COMPIZ_VERSION_MAJOR * 10000 + COMPIZ_VERSION_MINOR * 100 + COMPIZ_VERSION_MICRO)
 
#define oyCompLogMessage(disp_, plug_in_name, debug_level, format_, ...)   compLogMessage( plug_in_name, debug_level, format_, __VA_ARGS__ )
 
#define PLUGIN_DEBUG   1
 
#define GRIDPOINTS   64
 The 3D lookup texture has 64 points in each dimension, using 16 bit integers. More...
 

Typedefs

typedef CompBool(* dispatchObjectProc) (CompPlugin *plugin, CompObject *object, void *privateData)
 

Functions

CompPluginVTable * getCompPluginInfo20070830 (void)
 

Variables

CompPluginVTable pluginVTable
 

Detailed Description

a compiz colour management plug-in

Author
Tomas Carnecky
Copyright:
2008 (C) Tomas Carnecky, 2009-2011 (C) Kai-Uwe Behrmann
License:
new BSD http://www.opensource.org/licenses/bsd-license.php
Since
2008/06/09

Macro Definition Documentation

◆ GRIDPOINTS

#define GRIDPOINTS   64

The 3D lookup texture has 64 points in each dimension, using 16 bit integers.

That means each active region will use 1.5MiB of texture memory.

Variable Documentation

◆ pluginVTable

CompPluginVTable pluginVTable
Initial value:
= {
"color",
pluginGetMetadata,
pluginInit,
pluginFini,
pluginInitObject,
pluginFiniObject,
0,
0
}