Home
last modified time | relevance | path

Searched refs:g_width (Results 1 – 16 of 16) sorted by relevance

/external/autotest/client/deps/glbench/src/
Dcleartest.cc41 RunTest(this, "clear_color", g_width * g_height, g_width, g_height, true); in Run()
44 RunTest(this, "clear_depth", g_width * g_height, g_width, g_height, true); in Run()
48 g_width * g_height, g_width, g_height, true); in Run()
52 g_width * g_height, g_width, g_height, true); in Run()
56 g_width * g_height, g_width, g_height, true); in Run()
Dvaryingsandddxytest.cc166 glViewport(0, 0, g_width, g_height); in Run()
185 "varyings_shader_1", g_width * g_height, g_width, g_height, true); in Run()
190 "varyings_shader_2", g_width * g_height, g_width, g_height, true); in Run()
195 "varyings_shader_4", g_width * g_height, g_width, g_height, true); in Run()
200 "varyings_shader_8", g_width * g_height, g_width, g_height, true); in Run()
205 RunTest(this, "ddx_shader", g_width * g_height, g_width, g_height, true); in Run()
209 RunTest(this, "ddy_shader", g_width * g_height, g_width, g_height, true); in Run()
Dreadpixeltest.cc32 glReadPixels(0, 0, g_width, g_height, GL_RGBA, GL_UNSIGNED_BYTE, pixels_); in TestFunc()
35 glReadPixels(0, 0, g_width, g_height, GL_RGBA, GL_UNSIGNED_BYTE, pixels_); in TestFunc()
42 const int row_size = g_width * 4; in Run()
48 RunTest(this, "pixel_read", g_width * g_height, g_width, g_height, true); in Run()
53 RunTest(this, "pixel_read_2", g_width * g_height, g_width, g_height, true); in Run()
56 RunTest(this, "pixel_read_3", g_width * g_height, g_width, g_height, true); in Run()
Dxlib_window.cc18 GLint g_width = WINDOW_WIDTH; variable
41 g_width = g_width == -1 ? attributes.width : g_width; in XlibInit()
55 0, 0, g_width, g_height, 0, in XlibInit()
63 g_width = attributes.width; in XlibInit()
Dattributefetchtest.cc95 glViewport(0, 0, g_width, g_height); in Run()
99 CreateLattice(&vertices, &vertex_buffer_size, 1.f / g_width, 1.f / g_height, in Run()
120 RunTest(this, "attribute_fetch_shader", count_, g_width, g_height, true); in Run()
125 "attribute_fetch_shader_2_attr", count_, g_width, g_height, true); in Run()
130 "attribute_fetch_shader_4_attr", count_, g_width, g_height, true); in Run()
135 "attribute_fetch_shader_8_attr", count_, g_width, g_height, true); in Run()
Dtrianglesetuptest.cc39 glViewport(0, 0, g_width, g_height); in Run()
49 CreateLattice(&vertices, &vertex_buffer_size, 1.f / g_width, 1.f / g_height, in Run()
74 RunTest(this, "triangle_setup", count_ / 3, g_width, g_height, true); in Run()
76 RunTest(this, "triangle_setup_all_culled", count_ / 3, g_width, g_height, true); in Run()
93 RunTest(this, "triangle_setup_half_culled", count_ / 3, g_width, g_height, true); in Run()
Dtestbase.cc181 FillRateTestNormalSubWindow(name, g_width, g_height); in FillRateTestNormal()
200 RunTest(this, buffer, g_width * g_height, g_width, g_height, true); in FillRateTestBlendDepth()
208 RunTest(this, buffer, g_width * g_height, g_width, g_height, true); in FillRateTestBlendDepth()
215 RunTest(this, buffer, g_width * g_height, g_width, g_height, true); in FillRateTestBlendDepth()
Dwindowmanagertest.cc84 g_width = -1; in main()
98 if (viewport[0] < g_width || viewport[1] < g_height) { in main()
102 glViewport(0, 0, g_width, g_height); in main()
104 unsigned char* bitmap = CreateBitmap(g_height, g_width); in main()
106 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, g_height, g_width, 0, in main()
Dwaffle_stuff.cc12 GLint g_width = WINDOW_WIDTH; variable
130 if (g_width == -1 && g_height == -1) { in InitOnce()
136 GetSurfaceSize(&g_width, &g_height); in InitOnce()
138 surface_ = waffle_window_create(config_, g_width, g_height); in InitOnce()
Dfillratetest.cc139 g_width, g_height); in Run()
147 g_width, g_height); in Run()
155 g_width, g_height); in Run()
244 glViewport(0, 0, g_width, g_height); in Run()
Dtexturetest.cc38 2.f / g_width, 0.f, in Run()
40 2.f / g_width, 2.f / g_height, in Run()
114 RunTest(this, name.c_str(), buffer_size, g_width, g_height, true); in Run()
Dglinterfacetest.cc67 RunTest(this, (test_name_base + "nogl").c_str(), 1.0, g_width, g_height, false); in Run()
73 RunTest(this, (test_name_base + "glsimple").c_str(), 1.0, g_width, g_height, false); in Run()
Dmain.cc89 if (size[0] < g_width || size[1] < g_height) { in PassesSanityCheck()
96 if (size[0] < g_width || size[0] < g_height) { in PassesSanityCheck()
Degl_stuff.cc29 eglQuerySurface(display_, surface_, EGL_WIDTH, &g_width); in Init()
Dmain.h113 extern GLint g_width;
Dyuvtest.cc244 std::min(YUV2RGB_WIDTH, g_width), in Run()