Lines Matching defs:height

234 	void getDataSize(int& width, int& height)
237 height = std::min(getWindowHeight(), 4 * 16384 / width); // Height is 4 if width is capped
383 void ReadPixelsFloat(int x, int y, int width, int height, void* data);
419 unsigned int height = std::min(heightRef, heightTest);
421 for (unsigned int i = 0; i < height; ++i)
826 void DrawIndirectBase::ReadPixelsFloat<test_api::GL>(int x, int y, int width, int height, void* data)
828 glReadPixels(x, y, width, height, GL_RGBA, GL_FLOAT, data);
832 void DrawIndirectBase::ReadPixelsFloat<test_api::ES3>(int x, int y, int width, int height, void* data)
835 std::vector<GLuint> uData(width * height);
845 glReadPixels(x, y, width, height, GL_RGBA, type, &uData[0]);
5231 int width, height;
5233 glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_SIZE, 1, &height);
5236 height = std::min(height, getWindowHeight());
5238 glViewport(0, 0, width, height);
5240 CColorArray coords(width * height, tcu::Vec4(0));
5241 CColorArray colors(width * height, tcu::Vec4(0));
5273 CElementArray elements(width * height, 0);
5312 glUniform1ui(glGetUniformLocation(_programCompute, "height"), height);
5317 glDispatchCompute(width, height, 1);
5339 CColorArray bufferRef1(width * height / 4, tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f));
5340 CColorArray bufferRef2(width * height / 4, tcu::Vec4(0.5f, 0.0f, 0.0f, 1.0f));
5341 CColorArray bufferRef3(width * height / 4, tcu::Vec4(0.0f, 0.5f, 0.0f, 1.0f));
5342 CColorArray bufferRef4(width * height / 4, tcu::Vec4(0.5f, 0.5f, 0.0f, 1.0f));
5343 CColorArray bufferTest(width * height / 4, tcu::Vec4(0.0f));
5346 ReadPixelsFloat<api>(0, 0, width / 2, height / 2, &bufferTest[0]);
5347 result.sub_result(BuffersCompare(bufferTest, width / 2, height / 2, bufferRef1, width / 2, height / 2))
5350 ReadPixelsFloat<api>((width + 1) / 2, 0, width / 2, height / 2, &bufferTest[0]);
5351 result.sub_result(BuffersCompare(bufferTest, width / 2, height / 2, bufferRef2, width / 2, height / 2))
5354 ReadPixelsFloat<api>(0, (height + 1) / 2, width / 2, height / 2, &bufferTest[0]);
5355 result.sub_result(BuffersCompare(bufferTest, width / 2, height / 2, bufferRef3, width / 2, height / 2))
5358 ReadPixelsFloat<api>((width + 1) / 2, (height + 1) / 2, width / 2, height / 2, &bufferTest[0]);
5359 result.sub_result(BuffersCompare(bufferTest, width / 2, height / 2, bufferRef4, width / 2, height / 2))
5428 "uniform uint height; " NL
5435 " float stepY = 2.0 / float(height); " NL
5444 " if(h > (height / 2u - 1u)) { " NL
5449 " indirect[0] = width * height; " NL
5635 // height = 2 * (getWindowHeight() / 4) to avoid border pixels
5636 // in case the height is not a multiple of 4.