Lines Matching defs:height
117 void renderTex (tcu::Surface& dst, deUint32 program, int width, int height);
118 void readPixels (tcu::Surface& dst, int x, int y, int width, int height);
149 int height = deMin32(renderTarget.getHeight(), VIEWPORT_HEIGHT);
151 int y = rnd.getInt(0, renderTarget.getHeight() - height);
154 sglr::GLContext gles31Context (renderCtx, log, sglr::GLCONTEXT_LOG_CALLS, tcu::IVec4(x, y, width, height));
155 sglr::ReferenceContextBuffers refBuffers (tcu::PixelFormat(8,8,8,renderTarget.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, width, height);
186 void TextureSpecCase::renderTex (tcu::Surface& dst, deUint32 program, int width, int height)
192 float h = (float)height / (float)targetH;
197 readPixels(dst, 0, 0, width, height);
200 void TextureSpecCase::readPixels (tcu::Surface& dst, int x, int y, int width, int height)
202 dst.setSize(width, height);
203 glReadPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, dst.getAccess().getDataPtr());
993 0, // Image height