Lines Matching defs:height

67 static void genTestRects (vector<IVec4>& rects, int width, int height)
70 int curHeight = height;
75 rects.push_back(IVec4(width-curWidth, height-curHeight, curWidth, curHeight));
89 static void rectsToTriangles (const vector<IVec4>& rects, int width, int height, vector<Vec2>& positions, vector<deUint16>& indices)
92 const float h = float(height);
123 static void drawTestPattern (const glu::RenderContext& renderCtx, int width, int height)
146 gl.viewport (0, 0, width, height);
153 genTestRects (rects, width, height);
154 rectsToTriangles(rects, width, height, positions, indices);
199 static void blitStencilToColor2D (const glu::RenderContext& renderCtx, deUint32 srcTex, int width, int height)
259 gl.viewport(0, 0, width, height);
264 static void blitStencilToColor2DArray (const glu::RenderContext& renderCtx, deUint32 srcTex, int width, int height, int level)
324 gl.viewport(0, 0, width, height);
329 static void blitStencilToColorCube (const glu::RenderContext& renderCtx, deUint32 srcTex, const float* texCoord, int width, int height)
383 gl.viewport(0, 0, width, height);
531 const int height = 113;
535 TextureLevel uploadLevel (glu::mapGLInternalFormat(m_format), width, height);
536 TextureLevel readLevel (TextureFormat(TextureFormat::RGBA, TextureFormat::UNSIGNED_INT32), width, height);
537 TextureLevel stencilOnlyLevel (TextureFormat(TextureFormat::S, TextureFormat::UNSIGNED_INT8), width, height);
545 gl.texStorage2D(GL_TEXTURE_2D, 1, m_format, width, height);
550 gl.renderbufferStorage(GL_RENDERBUFFER, GL_R32UI, width, height);
556 blitStencilToColor2D(renderCtx, *depthStencilTex, width, height);
586 const int height = 13;
592 TextureLevel uploadLevel (glu::mapGLInternalFormat(m_format), width, height, levels);
598 const tcu::PixelBufferAccess levelAccess = tcu::getSubregion(uploadLevel.getAccess(), 0, 0, levelNdx, width, height, 1);
607 gl.texStorage3D(GL_TEXTURE_2D_ARRAY, 1, m_format, width, height, levels);
612 gl.renderbufferStorage(GL_RENDERBUFFER, GL_R32UI, width, height);
619 TextureLevel readLevel (TextureFormat(TextureFormat::RGBA, TextureFormat::UNSIGNED_INT32), width, height);
627 blitStencilToColor2DArray(renderCtx, *depthStencilTex, width, height, levelNdx);
632 TextureLevel reference(TextureFormat(TextureFormat::S, TextureFormat::UNSIGNED_INT8), width, height);
761 const int height = 193;
765 TextureLevel result (TextureFormat(TextureFormat::RGBA, TextureFormat::UNSIGNED_INT32), width, height);
766 TextureLevel reference (TextureFormat(TextureFormat::S, TextureFormat::UNSIGNED_INT8), width, height);
771 gl.renderbufferStorage(GL_RENDERBUFFER, GL_R32UI, width, height);
774 gl.texStorage2D(GL_TEXTURE_2D, 1, m_format, width, height);
781 drawTestPattern(renderCtx, width, height);
786 blitStencilToColor2D(renderCtx, *depthStencilTex, width, height);
818 const int height = 117;
823 TextureLevel result (TextureFormat(TextureFormat::RGBA, TextureFormat::UNSIGNED_INT32), width, height);
824 TextureLevel reference (TextureFormat(TextureFormat::S, TextureFormat::UNSIGNED_INT8), width, height);
829 gl.renderbufferStorage(GL_RENDERBUFFER, GL_R32UI, width, height);
832 gl.texStorage2D(GL_TEXTURE_2D, 1, m_format, width, height);
841 for (int y = 0; y < height; y += cellSize)
846 const int clearH = de::min(cellSize, height-y);
862 blitStencilToColor2D(renderCtx, *depthStencilTex, width, height);
892 const int height = 64;
896 TextureLevel uploadLevel (glu::mapGLInternalFormat(m_format), width, height);
897 TextureLevel readLevel (TextureFormat(TextureFormat::RGBA, TextureFormat::UNSIGNED_INT32), width, height);
898 TextureLevel stencilOnlyLevel (TextureFormat(TextureFormat::S, TextureFormat::UNSIGNED_INT8), width, height);
908 gl.texStorage2D(GL_TEXTURE_2D, 1, m_format, width, height);
915 gl.renderbufferStorage(GL_RENDERBUFFER, GL_R32UI, width, height);
921 blitStencilToColor2D(renderCtx, *depthStencilTex, width, height);
951 const int height = 128;
954 const int levelHeight = height>>levelNdx;
970 gl.texStorage2D(GL_TEXTURE_2D, deLog2Floor32(de::max(width, height))+1, m_format, width, height);