search for: glfloat

Displaying 9 results from an estimated 9 matches for "glfloat".

Did you mean: gfloat
2006 Dec 15
1
[PATCH] cube unfold distance
I have gone ahead and implemented the unfold distance option as mentioned in the source. the patch is here http://home.comcast.net/~moppsy/compiz/cube-unfold-distance.patch
2016 Apr 19
2
more one question regarding gl and nouveau
...ertex3f(0.75, 0.75, 1.0) how the video card processes these three floats? Does the card work with floats? Does (mesa? gallium? driver?) process these three input floats before it is sent to the card? Where is the code for it? If you say the floats are memory mapped as in exec->vtx.buffer_map = (GLfloat *)ctx->Driver.MapBufferRange(...) I would say from what I learned that it has to pass through gallium and that means: st_draw_vbo(...) ending up in nv30_draw_vbo(..) but these functions don't make any reference to those (memory mapped) input floats. So where is the piece of code that instruc...
2007 Jun 12
0
[PATCH] Added rotation state.
...al +} RotationState; + typedef struct _CubeScreen { PreparePaintScreenProc preparePaintScreen; DonePaintScreenProc donePaintScreen; @@ -98,6 +105,8 @@ typedef struct _CubeScreen { int xRotations; PaintOrder paintOrder; + RotationState rotationState; + GLfloat distance; GLushort color[3]; GLfloat tc[12]; diff --git a/plugins/cube.c b/plugins/cube.c index 7c4df03..0162e0d 100644 --- a/plugins/cube.c +++ b/plugins/cube.c @@ -1859,6 +1859,8 @@ cubeInitScreen (CompPlugin *p, cs->bg = NULL; cs->nBg = 0; + cs->rotationState...
2006 Oct 12
0
Privates example? (fwd)
...t = nIndices; + aw->indexCount = nIndices; } else { @@ -3542,7 +3551,7 @@ { int texUnit = w->texUnits; int currentTexUnit = 0; - int stride = 2 + texUnit * w->texCoordSize; + int stride = 2 + texUnit * aw->texCoordSize; GLfloat *vertices = w->vertices + (stride - 2); stride *= sizeof (GLfloat); @@ -3559,11 +3568,11 @@ glEnableClientState (GL_TEXTURE_COORD_ARRAY); currentTexUnit = texUnit; } - vertices -= w->texCoordSize; - glTexCoordPoin...
2016 Apr 19
0
more one question regarding gl and nouveau
...he driver then points the hardware at the vbo and tells it to read from there. (Under some circumstances, the vbo data might have to be transformed on the cpu as well if the driver can't handle the format.) > > If you say the floats are memory mapped as in > exec->vtx.buffer_map = (GLfloat *)ctx->Driver.MapBufferRange(...) I would > say > from what I learned that it has to pass through gallium and that means: > st_draw_vbo(...) ending up in nv30_draw_vbo(..) but these functions don't > make > any reference to those (memory mapped) input floats. So where is the p...
2005 Jul 19
0
Problems in rgl on MacOS X
...ate in gl.h there is: ...... typedef short GLshort; typedef long GLint; typedef long GLsizei; ........ extern void glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params); extern void glGetIntegerv (GLenum pname, GLint *params); extern void glGetLightfv (GLenum light, GLenum pname, GLfloat *params); ............. and in scene.cpp the relevant lines read: .......... unsigned int maxSize; glGetIntegerv(GL_MAX_TEXTURE_SIZE, (int*) &maxSize); ....... which seems to give the compiler due cause to barf given the header. I got it to build by changing the code to: GLint...
2016 Apr 19
2
more one question regarding gl and nouveau
...dware at the vbo and tells it to read from there. (Under some > circumstances, the vbo data might have to be transformed on the cpu as > well if the driver can't handle the format.) > > > > > If you say the floats are memory mapped as in > > exec->vtx.buffer_map = (GLfloat *)ctx->Driver.MapBufferRange(...) I would > > say > > from what I learned that it has to pass through gallium and that means: > > st_draw_vbo(...) ending up in nv30_draw_vbo(..) but these functions don't > > make > > any reference to those (memory mapped) input...
2006 Oct 25
2
[PATCH] Edge buttons
...ay, s->screenEdge[i].id, - geometry[i].xw * s->width + geometry[i].x0, - geometry[i].yh * s->height + geometry[i].y0, - geometry[i].ww * s->width + geometry[i].w0, - geometry[i].hh * s->height + geometry[i].h0); - } -} static void frustum (GLfloat left, -------------- next part -------------- diff --git a/plugins/switcher.c b/plugins/switcher.c index 998310f..2d02a9b 100644 --- a/plugins/switcher.c +++ b/plugins/switcher.c @@ -931,11 +931,14 @@ switchNext (CompDisplay *d, { switchInitiate (s, FALSE); - if (state & CompA...
2006 Nov 08
2
bug in today's git snapshot with maximizing windows
...+ geometry[i].x0, > - geometry[i].yh * s->height + geometry[i].y0, > - geometry[i].ww * s->width + geometry[i].w0, > - geometry[i].hh * s->height + geometry[i].h0); > - } > -} > > static void > frustum (GLfloat left, > plain text document attachment (edgebutton-switcher.c.diff) > diff --git a/plugins/switcher.c b/plugins/switcher.c > index 998310f..2d02a9b 100644 > --- a/plugins/switcher.c > +++ b/plugins/switcher.c > @@ -931,11 +931,14 @@ switchNext (CompDisplay *d, > { >...