Lines Matching defs:width
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);
148 int width = deMin32(renderTarget.getWidth(), VIEWPORT_WIDTH);
150 int x = rnd.getInt(0, renderTarget.getWidth() - width);
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)
191 float w = (float)width / (float)targetW;
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());