search for: gl_color_buffer_bit

Displaying 5 results from an estimated 5 matches for "gl_color_buffer_bit".

2016 Apr 05
2
a few questions about OpenGL and nouveau
...reen_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's output file. As I can see there is 215 lines (from 66 to 280) of valgrind--mmt that I do not know...
2006 Oct 16
0
No window decorations for simple glut app on compiz/aiglx?
...ks as expected when compiz isn't the WM. Can anyone else confirm they see this too? Any suggestions on how to fix this up? Thanks much, Sean P.S. compiled with -lGL -lglut and using r300 driver. #include <GL/glut.h> void DrawScene(void) { glClearColor(0.5, 0.0, 0.0, 0.0); glClear(GL_COLOR_BUFFER_BIT); glColor3f(0.0, 0.1, 1.0); glutSolidTeapot(0.6); glFlush(); } int main(int argc, char *argv[]) { glutInit(&argc, argv); glutInitDisplayMode(GLUT_SINGLE|GLUT_RGB); glutCreateWindow(argv[0]); glutDisplayFunc(DrawScene); glutMainLoop(); return 0; }
2016 Apr 05
0
a few questions about OpenGL and nouveau
...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 > 0xcfd8c in line 281 of the valgrind-mmt's output file. > As I can see there is 215 lines (from 66 to 280) of val...
2015 Jul 01
8
[Bug 91171] New: Space Rangers 2 (in Wine) shows only black screen
https://bugs.freedesktop.org/show_bug.cgi?id=91171 Bug ID: 91171 Summary: Space Rangers 2 (in Wine) shows only black screen Product: Mesa Version: git Hardware: Other URL: http://www.fileplanet.com/162972/160000/fileinfo/Space -Rangers-2:-Rise-of-the-Dominators-Demo OS: All
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
...lViewport( 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) { glDeleteTextures(1, &texture_ref); @@ -90,27 +88,6 @@ glBindTexture(GL_TEXTURE_RECTANGLE_ARB, texture_ref); glPixelStorei(GL_UNPACK_LSB_FIRST, 1); switch (ds_get_bits_per_pixel(ds)) { - case 8: - if...