Lines Matching defs:height
304 bool ValidateReadBufferCenteredQuad(int width, int height, const vec3& expected)
307 std::vector<vec3> fb(width * height);
308 glReadPixels(0, 0, width, height, GL_RGB, GL_FLOAT, &fb[0]);
311 int starty = int(((float)height * 0.1f) + 1);
313 int endy = int((float)height - 2 * (((float)height * 0.1f) + 1) - 1);
335 if (!ColorEqual(fb[(height - 3) * width + (width - 3)], vec3(0), g_color_eps))
339 if (!ColorEqual(fb[(height - 3) * width + 2], vec3(0), g_color_eps))
360 int height = 100;
361 std::vector<vec3> fb(width * height);
362 glReadPixels(0, 0, width, height, GL_RGB, GL_FLOAT, &fb[0]);
367 for (int y = 10; y < height / 2 - 10; ++y)
382 for (int y = 10; y < height / 2 - 10; ++y)
397 for (int y = height / 2 + 10; y < height - 10; ++y)
412 for (int y = height / 2 + 10; y < height - 10; ++y)
427 for (int y = height / 2 - 2; y < height / 2 + 2; ++y)
442 for (int y = 0; y < height; ++y)