Home
last modified time | relevance | path

Searched refs:g_height (Results 1 – 19 of 19) sorted by relevance

/external/autotest/client/deps/glbench/src/
Dcleartest.cc38 RunTest(this, "clear_color", g_width * g_height, g_width, g_height, true); in Run()
41 RunTest(this, "clear_depth", g_width * g_height, g_width, g_height, true); in Run()
44 RunTest(this, "clear_colordepth", g_width * g_height, g_width, g_height, in Run()
48 RunTest(this, "clear_depthstencil", g_width * g_height, g_width, g_height, in Run()
52 RunTest(this, "clear_colordepthstencil", g_width * g_height, g_width, in Run()
53 g_height, true); in Run()
Dvaryingsandddxytest.cc161 glViewport(0, 0, g_width, g_height); in Run()
178 RunTest(this, "varyings_shader_1", g_width * g_height, g_width, g_height, in Run()
183 RunTest(this, "varyings_shader_2", g_width * g_height, g_width, g_height, in Run()
188 RunTest(this, "varyings_shader_4", g_width * g_height, g_width, g_height, in Run()
193 RunTest(this, "varyings_shader_8", g_width * g_height, g_width, g_height, in Run()
199 RunTest(this, "ddx_shader", g_width * g_height, g_width, g_height, true); in Run()
203 RunTest(this, "ddy_shader", g_width * g_height, g_width, g_height, true); in Run()
Dreadpixeltest.cc29 glReadPixels(0, 0, g_width, g_height, GL_RGBA, GL_UNSIGNED_BYTE, pixels_); in TestFunc()
32 glReadPixels(0, 0, g_width, g_height, GL_RGBA, GL_UNSIGNED_BYTE, pixels_); in TestFunc()
42 std::unique_ptr<char[]> buf(new char[((row_size + 3) & ~3) * g_height + 1]); in Run()
44 RunTest(this, "pixel_read", g_width * g_height, g_width, g_height, true); in Run()
49 RunTest(this, "pixel_read_2", g_width * g_height, g_width, g_height, true); in Run()
52 RunTest(this, "pixel_read_3", g_width * g_height, g_width, g_height, true); in Run()
Dxlib_window.cc16 GLint g_height = WINDOW_HEIGHT; variable
39 g_height = g_height == -1 ? attributes.height : g_height; in XlibInit()
52 g_height, 0, xlib_visinfo->depth, InputOutput, in XlibInit()
60 g_height = attributes.height; in XlibInit()
Dattributefetchtest.cc101 glViewport(0, 0, g_width, g_height); in Run()
105 CreateLattice(&vertices, &vertex_buffer_size, 1.f / g_width, 1.f / g_height, in Run()
126 RunTest(this, "attribute_fetch_shader", count_, g_width, g_height, true); in Run()
130 RunTest(this, "attribute_fetch_shader_2_attr", count_, g_width, g_height, in Run()
135 RunTest(this, "attribute_fetch_shader_4_attr", count_, g_width, g_height, in Run()
140 RunTest(this, "attribute_fetch_shader_8_attr", count_, g_width, g_height, in Run()
Dtrianglesetuptest.cc37 glViewport(0, 0, g_width, g_height); in Run()
47 CreateLattice(&vertices, &vertex_buffer_size, 1.f / g_width, 1.f / g_height, in Run()
71 RunTest(this, "triangle_setup", count_ / 3, g_width, g_height, true); in Run()
73 RunTest(this, "triangle_setup_all_culled", count_ / 3, g_width, g_height, in Run()
91 RunTest(this, "triangle_setup_half_culled", count_ / 3, g_width, g_height, in Run()
Dtestbase.cc185 FillRateTestNormalSubWindow(name, g_width, g_height); in FillRateTestNormal()
201 RunTest(this, buffer, g_width * g_height, g_width, g_height, true); in FillRateTestBlendDepth()
209 RunTest(this, buffer, g_width * g_height, g_width, g_height, true); in FillRateTestBlendDepth()
216 RunTest(this, buffer, g_width * g_height, g_width, g_height, true); in FillRateTestBlendDepth()
Dwindowmanagertest.cc83 g_height = -1; in main()
96 if (viewport[0] < g_width || viewport[1] < g_height) { in main()
100 glViewport(0, 0, g_width, g_height); in main()
102 unsigned char* bitmap = CreateBitmap(g_height, g_width); in main()
104 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, g_height, g_width, 0, GL_RGBA, in main()
Ddrawsizetest.cc41 glViewport(0, 0, g_width, g_height); in Run()
52 CreateLattice(&vertices, &vertex_buffer_size, 1.f / g_width, 1.f / g_height, in Run()
77 RunTest(this, name.c_str(), count_ / 3, g_width, g_height, true); in Run()
Dwaffle_stuff.cc15 GLint g_height = WINDOW_HEIGHT; variable
129 if (g_width == -1 && g_height == -1) { in InitOnce()
132 GetSurfaceSize(&g_width, &g_height); in InitOnce()
134 surface_ = waffle_window_create(config_, g_width, g_height); in InitOnce()
Dfillratetest.cc134 g_height); in Run()
142 g_height); in Run()
150 g_height); in Run()
239 glViewport(0, 0, g_width, g_height); in Run()
Dtexturetest.cc55 0.f, 2.f / g_height, in Run()
56 2.f / g_width, 2.f / g_height, in Run()
139 RunTest(this, name.c_str(), buffer_size, g_width, g_height, true); in Run()
Dglinterfacetest.cc68 RunTest(this, (test_name_base + "nogl").c_str(), 1.0, g_width, g_height, in Run()
74 RunTest(this, (test_name_base + "glsimple").c_str(), 1.0, g_width, g_height, in Run()
Dmain.cc91 if (size[0] < g_width || size[1] < g_height) { in PassesSanityCheck()
98 if (size[0] < g_width || size[0] < g_height) { in PassesSanityCheck()
Dbufferuploadtest.cc76 RunTest(this, name.c_str(), sizes[sidx], g_width, g_height, true); in Run()
Dbufferuploadsubtest.cc71 RunTest(this, name.c_str(), sizes[sidx], g_width, g_height, true); in Run()
Dmain.h84 extern GLint g_height;
Degl_stuff.cc33 eglQuerySurface(display_, surface_, EGL_HEIGHT, &g_height); in Init()
Dyuvtest.cc234 std::min(YUV2RGB_PIXEL_HEIGHT, g_height)); in Run()