Displaying 4 results from an estimated 4 matches for "windowpaintattrib".
2007 Apr 09
2
Paint chanegs block dbus and fuse plugins
...plugin is
very simple and the main part is below.
When I load this plugin it blocks dbus and fuse plugins
so that they only reply to requests when the active window
changes.
Is there anything obvious here that would cause that?
static Bool
inactivePaintWindow (CompWindow *w,
const WindowPaintAttrib *attrib,
const CompTransform *transform,
Region region,
unsigned int mask)
{
Bool status;
INACTIVE_SCREEN (w->screen);
INACTIVE_WINDOW (w);
WindowPaintAttrib fAttrib = *attrib;
if (iw->managed
&& w->mapNum...
2007 Jan 26
2
Get window textures even when they're transformed.
If I wobble a window and quickly initiate switcher or cube, this can
cause weird artifacts.
I had a look at Beryl's switcher.c
In switchPaintThumb they use this:
static void
switchPaintThumb(...)
{
DrawWindowGeometryProc oldDrawWindowGeometry;
AddWindowGeometryProc oldAddWindowGeometry;
WindowPaintAttrib sAttrib = *attrib;
int wx, wy;
float width, height;
CompIcon *icon = NULL;
/* Wrap drawWindowGeometry to make sure the general
drawWindowGeometry function is used */
oldDrawWindowGeometry = w->screen->drawWindowGeometry;
w->screen->drawWindowGeometry = getBaseDrawWindowGeome...
2007 Apr 25
0
drawing framework changes
...tial details about the changes I've got planned and
much more details will be provided once I start writing some initial
code for this.
I'd like to get the vertex generation system updated first and we need
to get rid of all the use of transformation attributes in the
ScreenPaintAttrib and WindowPaintAttrib structures.
- David
2006 Oct 12
0
Privates example? (fwd)
...s (GL_QUADS, aw->indexCount, GL_UNSIGNED_SHORT,
w->indices);
// disable all texture coordinate arrays except 0
@@ -3601,7 +3610,7 @@
if (aw->animRemainingTime > 0)
{
- w->indexCount = 0;
+ aw->indexCount = 0;
WindowPaintAttrib wAttrib = *attrib;
@@ -4480,6 +4489,8 @@
WRAP (as, s, windowUngrabNotify, animWindowUngrabNotify);
WRAP (as, s, setWindowScale, animSetWindowScale);
+ as->disablePostprocessFX = FALSE;
+
s->privates[ad->screenPrivateIndex].ptr = as;
return TRUE;
@@ -4535,7 +454...