Displaying 5 results from an estimated 5 matches for "glclearcolor".
2016 Apr 05
2
a few questions about OpenGL and nouveau
...hink 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's output file.
As I can see there is 215 lines...
2006 Oct 16
0
No window decorations for simple glut app on compiz/aiglx?
...direct or -indirect on command line.
It works 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();
r...
2009 Apr 10
0
[PATCH/Gallium] nv50_clear again (might work better)
...ith a little test:
Setup 2 texture render targets (and a depth target) and glClear them to a color
changing with time, then render a triangle textured with the texture bound to
GL_COLOR_ATTACHMENT0/1. It turns out that with my version it works as I expected it
(both textures are the color set with glClearColor), and with the one currently in GIT
the second texture first was just random noise and after I tested my patch and switched
back the color didn't change anymore and stayed the last value my version cleared it to
(probably occupies the same memory area).
My test's here should you want to tr...
2016 Apr 05
0
a few questions about OpenGL and nouveau
...t 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
> 0xcfd8c in line 281 of the valgrind-mmt's output file.
&g...
2010 Jul 30
0
Wine release 1.3.0
...Use a int for the mantissa in float_24_to_32.
wined3d: Fix an msvc anachronism warning.
wined3d: Add casts for int to float conversions.
wined3d: The ARB loop unroller's iteration is unsigned.
wined3d: The flag parameter in shader_hw_sample is a WORD.
wined3d: Make glClearColor parameters floats.
wined3d: Use the correct type in device_unit_free_for_vs.
Sven Baars (3):
kernel32: Update the Dutch translation.
user32: Fix the Dutch translation.
shdocvw: Add the Dutch translation.
Thomas Mullaly (33):
urlmon: Implemented functionality for retr...