Displaying 4 results from an estimated 4 matches for "glmatrixmode".
2016 Apr 05
2
a few questions about OpenGL and nouveau
...e.
As I can see there is 215 lines (from 66 to 280) of valgrind--mmt that I do
not know
from where is it coming. I could dig in nv30_state_validate(...) but at
this moment I
think nv30->dirty is 0 so validate->func(nv30) is not called. Help,
please.*/
/* This I guess is mesa stuff... */
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glOrtho(0, 300, 0, 300, -1, 1);
glMatrixMode(GL_MODELVIEW);
/*Here another question. Does glBegin end up calling a driver code like
BEGIN_NV04(...) that instructs the card to get the next 3 floats for color
more 3 for the first vertex and another 3 for...
2016 Apr 05
0
a few questions about OpenGL and nouveau
...I could dig in nv30_state_validate(...) but at this
> moment I
> think nv30->dirty is 0 so validate->func(nv30) is not called. Help,
> please.*/
dirty definitely shouldn't be 0... it has to bind a framebuffer at least.
>
>
> /* This I guess is mesa stuff... */
> glMatrixMode(GL_PROJECTION);
> glLoadIdentity();
> glOrtho(0, 300, 0, 300, -1, 1);
> glMatrixMode(GL_MODELVIEW);
>
> /*Here another question. Does glBegin end up calling a driver code like
> BEGIN_NV04(...) that instructs the card to get the next 3 floats for color
> more 3 for...
2015 Jun 05
60
[Bug 90871] New: NV30: Xfwm4 use_compositing - garbled display
https://bugs.freedesktop.org/show_bug.cgi?id=90871
Bug ID: 90871
Summary: NV30: Xfwm4 use_compositing - garbled display
Product: xorg
Version: unspecified
Hardware: x86 (IA32)
OS: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: Driver/nouveau
Assignee:
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
..._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_MODELVIEW);
glLoadIdentity();
glClear(GL_COLOR_BUFFER_BIT);
- ds->data = pixels;
if (texture_ref)...