Lines Matching defs:region

334 static void setPixelColors (const vector<Vec4>& quadColors, const Rect& region, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst)
343 const int ix0 = deCeilFloatToInt32(ldru.x() * (float)region.w - 0.5f);
344 const int ix1 = deCeilFloatToInt32(ldru.z() * (float)region.w - 0.5f);
345 const int iy0 = deCeilFloatToInt32(ldru.y() * (float)region.h - 0.5f);
346 const int iy1 = deCeilFloatToInt32(ldru.w() * (float)region.h - 0.5f);
351 DE_ASSERT(deInBounds32(ix + region.x, 0, dst.getWidth()));
352 DE_ASSERT(deInBounds32(iy + region.y, 0, dst.getHeight()));
354 dst.setPixel(ix + region.x, iy + region.y, tcu::RGBA(color));
589 const Rect region;
593 Render (const Rect& r, int tN, const Vec2& tS, const Vec2& tO) : region(r), textureNdx(tN), texCoordScale(tS), texCoordOffset(tO) {}
605 const float lod = calculateLod(rend.texCoordScale, rend.region.size().asFloat(), rend.textureNdx);
607 const Grid grid (GRID_SIZE_2D, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]),
610 glViewport(viewportXOffset + rend.region.x, viewportYOffset + rend.region.y, rend.region.w, rend.region.h);
612 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region);
926 const Rect region;
930 Render (const Rect& r, int tN, const Vec2& tS, const Vec2& tO) : region(r), textureNdx(tN), texCoordScale(tS), texCoordOffset(tO) {}
942 const float lod = calculateLod(rend.texCoordScale, rend.region.size().asFloat(), rend.textureNdx);
944 const Grid grid (GRID_SIZE_CUBE, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]),
947 glViewport(viewportXOffset + rend.region.x, viewportYOffset + rend.region.y, rend.region.w, rend.region.h);
949 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region);