]> git.cworth.org Git - apitrace-tests/blob - traces/callset-default.script
Add a shader d3d9 tri test.
[apitrace-tests] / traces / callset-default.script
1 dump --verbose tri.trace
2 0 glXQueryExtension(dpy = 0xfc52b0, errorb = NULL, event = NULL) = True
3 1 glXChooseFBConfig(dpy = 0xfc52b0, screen = 0, attribList = {GLX_RED_SIZE, 1, GLX_GREEN_SIZE, 1, GLX_BLUE_SIZE, 1, GLX_ALPHA_SIZE, 1, GLX_DOUBLEBUFFER, 1, 0}, nitems = &12) = {0xfe3620, 0xfe3710, 0xfe53e0, 0xfe54d0, 0xfe38f0, 0xfe39e0, 0xfe3e90, 0xfe56b0, 0xfe57a0, 0xfe5c50, 0xfe3f80, 0xfe5d40}
4 2 glXGetVisualFromFBConfig(dpy = 0xfc52b0, config = 0xfe3620) = &{visual = 0xfd00e8, visualid = 154, screen = 0, depth = 24, c_class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8}
5 3 glXCreateNewContext(dpy = 0xfc52b0, config = 0xfe3620, renderType = GLX_RGBA_TYPE, shareList = NULL, direct = True) = 0xfdd650
6 4 glXIsDirect(dpy = 0xfc52b0, ctx = 0xfdd650) = True
7 5 glXMakeContextCurrent(dpy = 0xfc52b0, draw = 44040194, read = 44040194, ctx = 0xfdd650) = True
8 6 glXMakeContextCurrent(dpy = 0xfc52b0, draw = 44040194, read = 44040194, ctx = 0xfdd650) = True
9 7 glGetString(name = GL_RENDERER) = "Mesa DRI Mobile Intel\2\556 GM45 Express Chipset "
10 8 glGetString(name = GL_VERSION) = "2.1 Mesa 7.11.2"
11 9 glGetString(name = GL_VENDOR) = "Tungsten Graphics, Inc"
12 10 glClearColor(red = 0.3, green = 0.1, blue = 0.3, alpha = 0)
13 11 glXMakeContextCurrent(dpy = 0xfc52b0, draw = 44040194, read = 44040194, ctx = 0xfdd650) = True
14 12 glViewport(x = 0, y = 0, width = 250, height = 250)
15 13 glMatrixMode(mode = GL_PROJECTION)
16 14 glLoadIdentity()
17 15 glOrtho(left = -1, right = 1, bottom = -1, top = 1, zNear = -0.5, zFar = 1000)
18 16 glMatrixMode(mode = GL_MODELVIEW)
19 17 glXMakeContextCurrent(dpy = 0xfc52b0, draw = 44040194, read = 44040194, ctx = 0xfdd650) = True
20 18 glXMakeContextCurrent(dpy = 0xfc52b0, draw = 44040194, read = 44040194, ctx = 0xfdd650) = True
21 19 glClear(mask = GL_COLOR_BUFFER_BIT)
22 20 glBegin(mode = GL_TRIANGLES)
23 21 glColor3f(red = 0.8, green = 0, blue = 0)
24 22 glVertex3f(x = -0.9, y = -0.9, z = -30)
25 23 glColor3f(red = 0, green = 0.9, blue = 0)
26 24 glVertex3f(x = 0.9, y = -0.9, z = -30)
27 25 glColor3f(red = 0, green = 0, blue = 0.7)
28 26 glVertex3f(x = 0, y = 0.9, z = -30)
29 27 glEnd()
30 28 glFlush()
31 29 glFlush()
32 30 glXSwapBuffers(dpy = 0xfc52b0, drawable = 44040194)
33
34 31 glXMakeContextCurrent(dpy = 0xfc52b0, draw = 44040194, read = 44040194, ctx = 0xfdd650) = True
35 32 glXMakeContextCurrent(dpy = 0xfc52b0, draw = 44040194, read = 44040194, ctx = 0xfdd650) = True