search for: glviewport

Displaying 7 results from an estimated 7 matches for "glviewport".

2016 Apr 05
2
a few questions about OpenGL and nouveau
....) { X and glX stuff... /* at this moment I think what was sent to the card was the nv30_screen_create(...) that valgrind--mmt outputs 0x4e000 in the first line of valgrind--mmt hex until PUSH_DATA (push, NV05_SIFM_COLOR_CONVERSION_TRUNCATE); which happens to be line 65 of valgrind--mmt output */ glViewport(...); void mydrawline(void) { glClearColor(0.0, 0.0, 0.0, 1.0); glClear(GL_COLOR_BUFFER_BIT); /* at this point I guess it ends up calling nv30_clear(...) which calls BEGIN_NV04(push, NV30_3D(CLEAR_DEPTH_VALUE), 3); and the valgrind--mmt output is 0xcfd8c in line 281 of the valgrind-mmt...
2006 Nov 01
4
Minor fix to multi-head changes for mixed resolutions
...1200 & 1280x1024). The viewport was getting set partially off screen. The following tweak fixed it for me: --- plugins/display.c +++ plugins/display.c @@ -2069,7 +2069,7 @@ eventLoop (void) { if (s->nOutputDev > 1) glViewport (s->outputDev[i].region.extents.x1, - s->outputDev[i].region.extents.y1, + s->height - s->outputDev[i].region.extents.y2, s->outputDev[i].width,...
2007 Jun 02
1
Bigscreen multihead issues [URGENT]
At the moment, Compiz draws each head at a time, shifting the glViewport() for every head in a xinerama-like setup. However, the projection matrix is NOT adjusted. This means any translation along the z-axis will cause problems and any rotation along the x/y axis, because the projection matrix is centered around the viewport, not the actual X screen as it has to be to k...
2016 Apr 05
0
a few questions about OpenGL and nouveau
...f valgrind--mmt hex > until You'll want to use demmt, part of envytools. It should auto-decode stuff. If it doesn't, let me know (and send me the mmt). > PUSH_DATA (push, NV05_SIFM_COLOR_CONVERSION_TRUNCATE); which happens to be > line 65 > of valgrind--mmt output */ > > glViewport(...); > > void mydrawline(void) > { > glClearColor(0.0, 0.0, 0.0, 1.0); > glClear(GL_COLOR_BUFFER_BIT); > > /* at this point I guess it ends up calling nv30_clear(...) which calls > BEGIN_NV04(push, NV30_3D(CLEAR_DEPTH_VALUE), 3); and the valgrind--mmt > output is...
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
...isplayState *ds, void *pixels) +static void opengl_setdata(DisplayState *ds) { glEnable(GL_TEXTURE_RECTANGLE_ARB); glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE); @@ -72,14 +71,13 @@ glDisable(GL_DEPTH_TEST); glDepthMask(GL_FALSE); glDisable(GL_CULL_FACE); - glViewport( 0, 0, screen->w, screen->h); + glViewport( 0, 0, real_screen->w, real_screen->h); glMatrixMode(GL_PROJECTION); glLoadIdentity(); - glOrtho(0, screen->w, screen->h, 0, -1,1); + glOrtho(0, real_screen->w, real_screen->h, 0, -1,1); glMatrixMode(GL_MODEL...
2007 Aug 03
4
[ANNOUNCE] compiz-0.5.2
...screenshot and switcher. Applied lastest core changes to blur. Use new paintScreen function in screenshot. Applied temporary changes to clone to make it work with lastest core changes. Applied temporary changes to cube to make it work with lastest core changes. Handle glViewport change correctly. Added a fullscreenOutput variable to CompScreen. Do not UNWRAP a not wrapped function. Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/app/compiz Added "after decoration" rule to blur metadata to make decoration blur work c...
2007 Oct 01
4
[ANNOUNCE] compiz-0.6.0
...screenshot and switcher. Applied lastest core changes to blur. Use new paintScreen function in screenshot. Applied temporary changes to clone to make it work with lastest core changes. Applied temporary changes to cube to make it work with lastest core changes. Handle glViewport change correctly. Added a fullscreenOutput variable to CompScreen. Do not UNWRAP a not wrapped function. Added "after decoration" rule to blur metadata to make decoration blur work correctly Use output->id. Indention fix. Fixed float rounding errors...