search for: glenableclientstate

Displaying 4 results from an estimated 4 matches for "glenableclientstate".

2014 Aug 10
2
Coordinate systems on on nv10-era cards
Hello, I'm trying to debug why fbo-copyteximage-simple is failing, and I'm... failing. It's an extremely simple test. I'm pretty sure that the copyteximage part of it has nothing to do with the failure, at least it behaves identically when I just return tex instead of copiex_tex. Without any modifications, the test just renders one big red square. I think there's something
2014 Aug 15
0
Coordinate systems on on nv10-era cards
...well. However if I do: float verts[3][6] = { { -0.6*128 + 128, -0.75*128 + 128, 0.5, 1, 0, 0 }, { 0.6*128 + 128, -0.75*128 + 128, 0, 0, 1, 0 }, { 128, 0.75*128 + 128, 0, 0, 0, 1 }, }; glVertexPointer(3, GL_FLOAT, 24, verts); glColorPointer(3, GL_FLOAT, 24, &verts[0][3]); glEnableClientState(GL_VERTEX_ARRAY); glEnableClientState(GL_COLOR_ARRAY); glDrawArrays(GL_TRIANGLES, 0, 3); glDisableClientState(GL_VERTEX_ARRAY); glDisableClientState(GL_COLOR_ARRAY); Then I see the failure. Looking at the pushbuf for where the blit happens (after the draw), for the working case, I'm...
2006 Oct 12
0
Privates example? (fwd)
...>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; - glTexCoordPointer (w->texCoordSize, GL_FLOAT, stride, vertices); + vertices -= aw->texCoordSize; + glTexCoordPointer (aw->texC...
2014 Nov 24
1
Contributor Contributions
I have made claims that I have not left the compiz project and that I have been maintaining it over the past 4 years, despite the lack of releases by not fault but my own. At the request of some of the original compiz developers, I am now posting a compilation of some of the contributions I've made over time, since the beginning. Since the most important contributions are code and easiest to