Changes from compiz core to new compiz(compiz++).
CompScreen changes
Compiz 0.8 CompScreen structure
From compiz-core.h
Structure |
Data |
New function/data |
CompScreen |
CompDisplay* display |
- |
|
CompWindow *windows |
CompWindowList windows () |
|
CompWindow *reversewindows |
- |
|
char *windowPrivateIndices |
? |
|
int windowPrivateIndices |
? |
|
Colormap colormap |
? |
|
int screenNum |
int screenNum () |
|
int width |
width () |
|
int height |
height () |
|
int x |
vp ().x () |
|
int y |
vp ().y () |
|
int hsize |
int vpSize ().width () |
|
int vsize |
int vpSize ().height () |
|
unsigned int nDesktop |
unsigned int nDesktop () |
|
unsigned int currentDesktop |
unsigned int currentDesktop () |
|
REGION region |
CompRegion region () |
|
Region damage |
??? |
|
unsigned long damageMask |
??? |
|
Window root |
Window root () |
|
Window overlay |
moved to CompositeScreen Window overlay () |
|
Window output |
moved to CompositeScreen Window output () |
|
XWindowAttributes attrib |
XWindowAttributes attrib () |
|
Window grabWindow |
??? |
|
CompFBConfig glxPixmapFBConfigs[] |
moved to GLScreen GLFBConfig * glxPixmapFBConfig (unsigned int depth) |
|
int textureRectangle |
moved to GL namespace int textureRectangle |
|
int textureNonPowerOfTwo |
moved to GL namespace int textureNonPowerOfTwo |
|
int textureEnvCombine |
moved to GL namespace int textureEnvCombine |
|
int textureEnvCrossbar |
moved to GL namespace int textureEnvCrossbar |
|
int textureBorderClamp |
moved to GL namespace int textureBorderClamp |
|
int textureCompression |
moved to GL namespace int textureCompression |
|
GLint maxTextureSize |
moved to GL namespace GLint maxTextureSize |
|
int fbo |
moved to GL namespace int fbo |
|
int fragmentProgram |
moved to GL namespace int fragmentProgram |
|
GLint mapTextureUnits |
moved to GL namespace GLint mapTextureUnits |
|
Cursor invisibleCursor |
Cursor invisibleCursor () |
|
XRectangle *exposeRects |
??? |
|
int sizeExpose |
??? |
|
int nExpose |
??? |
|
CompTexture backgroundTexture |
??? |
|
Bool backgroundLoaded |
??? |
|
unsigned int pendingDestroys |
??? |
|
int desktopWindowCount |
int desktopWindowCount () |
|
unsigned int mapNum |
??? |
|
unsigned int activeNum |
unsigned int activeNum () |
|
CompOutput *outputDev |
CompOutput::vector outputDevs () |
|
int nOutputDev |
int outputDevs.size () |
|
int currentOutputDev |
CompOutput & currentOutputDev () |
|
CompOutput fullscreenOutput |
CompOutput fullscreenOutput () |
|
Bool hasOverlappingOutputs |
bool hasOverlappingOutputs () |
|
int windowOffsetX |
??? |
|
int windowOffsetY |
??? |
|
XRectangle lastViewport |
??? |
|
CompActiveWindowHistory history[] |
CompActiveWindowHistory *currentHistory () |
|
int currentHistory |
int currentHistory ()->activeNum () |
|
int overlayWindowCount |
??? |
|
CompScreenEdge screenEdge[] |
??? |
|
SnMonitorContext snContext |
??? |
|
CompStartupSequence *startupSequences |
??? |
|
unsigned int startupSequenceTimeoutHandle |
??? |
|
int filter[3] |
moved to GLScreen GLTexture::Filter filter (int) |
|
CompGroup *groups |
??? |
|
CompIcon *defaultIcon |
CompIcon *defaultIcon () |
|
Bool canDoSaturated |
moved to GL namespace bool canDoSaturated () |
|
Bool canDoSlightlySaturated |
moved to GL namespace bool canDoSlightlySaturated () |
|
Window wmSnSelectionWindow |
??? |
|
Atom wmSnAtom |
??? |
|
Time wmSnTimestamp |
??? |
|
Cursor normalCursor |
??? |
|
Cursor busyCursor |
??? |
|
CompWindow **clientList |
??? |
|
int nClientList |
??? |
|
CompButtonGrab *buttonGrab |
??? |
|
int nButtonGrab |
??? |
|
CompKeyGrab *keyGrab |
??? |
|
int nKeyGrab |
??? |
|
CompGrab *grabs |
??? |
|
int grabSize |
??? |
|
int maxGrab |
??? |
|
int rasterX |
??? |
|
int rasterY |
??? |
|
struct timeval lastRedraw |
??? |
|
int nextRedraw |
moved to CompositeScreen int getTimeToNextRedraw (struct timeval *tv) |
|
int redrawTime |
moved to CompositeScreen int redrawTime () |
|
int optimalRedrawTime |
??? |
|
int frameStatus |
??? |
|
int timeMult |
??? |
|
Bool idle |
??? |
|
int timeLeft |
??? |
|
Bool pendingCommands |
??? |
|
int lastFunctionId |
??? |
|
CompFunction *fragmentFunctions |
??? |
|
CompProgram *fragmentPrograms |
??? |
|
int saturateFunction[][] |
??? |
|
GLfloat projection[] |
??? |
|
Bool clearBuffers |
??? |
|
Bool lighting |
??? |
|
Bool slowAnimations |
??? |
|
XRectangle workArea |
XRectangle workArea () |
|
unsigned int showingDesktopMask |
??? |
|
unsigned long *desktopHintData |
??? |
|
int desktopHintSize |
??? |
|
CompCursor *cursors |
??? |
|
CompCursorImage *cursorImages |
??? |
|
GL Stuff |
Moved to GL namespace. <opengl/opengl.h> |
|
|
??? |
CompWindow changes
Compiz 0.8 CompWindow structure
From compiz-core.h
Structure |
Data |
New function |
CompWindow |
CompDisplay* display |
- |
|
CompScreen *screen |
Static object screen |
|
CompWindow *next |
CompWindow *next |
|
CompWindow* prev |
CompWindow* prev |
|
int refcnt |
??? |
|
Window id |
Window id () |
|
Window frame |
Window frame () |
|
unsigned int mapNum |
int mapNum () |
|
unsigned int activeNum |
unsigned int activeNum () |
|
XWindowAttributes attrib |
- |
|
int serverX |
int serverX () |
|
int serverY |
int serverY () |
|
int serverWidth |
unsigned int serverWidth () |
|
int serverHeight |
unsigned int serverHeight () |
|
int serverBorderWidth |
unsigned int geometry ().border () |
|
Window transientFor |
Window transientFor () |
|
Window clientLeader |
Window clientLeader () |
|
XSizeHints sizeHints |
XSizeHints sizeHints () |
|
Pixmap pixmap |
moved to CompositeWindow Pixmap pixmap () |
|
CompTexture *texture |
moved to GLWindow GLTexture::List textures () |
|
CompMatrix matrix |
??? |
|
Damage damage |
??? |
|
Bool inputHint |
??? |
|
Bool alpha |
bool alpha() |
|
GLint width |
unsigned int width () |
|
GLint height |
unsigned int height () |
|
Region region |
CompRegion region () |
|
Region clip |
??? |
|
unsigned int wmType |
unsigned int & wmType () |
|
unsigned int type |
unsigned int type () |
|
unsigned int state |
unsigned int & state () |
|
unsigned int actions |
unsigned int actions () |
|
unsigned int protocols |
unsigned int & protocols |
|
unsigned int mwmDecor |
unsigned int mwmDecor |
|
unsigned int mwmFunc |
unsigned int mwmFunc |
|
Bool invisible |
bool invisible () |
|
Bool destroyed |
bool destroyed () |
|
Bool damaged |
moved to CompositeWindow bool damaged () |
|
Bool redirected |
bool redirected () |
|
Bool managed |
bool managed () |
|
Bool bindFailed |
??? |
|
Bool overlayWindow |
bool overlayWindow () |
|
int destroyRefCnt |
??? |
|
int unmapRefCnt |
??? |
Development/Compiz++Documentation/Compiz++CodeChanges (last edited 2009-02-12 00:44:40 by 18913077072)