#include "shadow.h"
#include "core/graphicsbuffer.h"
#include "display.h"
#include "surface_p.h"
#include <qwayland-server-shadow.h>
#include "wayland/moc_shadow.cpp"
Go to the source code of this file.
◆ BUFFER [1/2]
#define BUFFER |
( |
| __FLAG__, |
|
|
| __PART__ ) |
Value: if (pending.flags & State::Flags::__FLAG__##Buffer) { \
if (current.__PART__) { \
current.__PART__->unref(); \
} \
if (pending.__PART__) { \
pending.__PART__->ref(); \
} \
current.__PART__ = pending.__PART__; \
}
Definition at line 312 of file shadow.cpp.
◆ BUFFER [2/2]
#define BUFFER |
( |
| __PART__ | ) |
|
Value: GraphicsBuffer *ShadowInterface::__PART__() const \
{ \
return d->current.__PART__; \
}
Definition at line 312 of file shadow.cpp.
◆ CURRENT
#define CURRENT |
( |
| __PART__ | ) |
|
Value: if (current.__PART__) { \
current.__PART__->unref(); \
}