Home | History | Annotate | Download | only in functional

Lines Matching defs:region

427 static void setPixelColors (const vector<Vec4>& quadColors, const Rect& region, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst)
436 const int ix0 = deCeilFloatToInt32(ldru.x() * (float)region.w - 0.5f);
437 const int ix1 = deCeilFloatToInt32(ldru.z() * (float)region.w - 0.5f);
438 const int iy0 = deCeilFloatToInt32(ldru.y() * (float)region.h - 0.5f);
439 const int iy1 = deCeilFloatToInt32(ldru.w() * (float)region.h - 0.5f);
444 DE_ASSERT(deInBounds32(ix + region.x, 0, dst.getWidth()));
445 DE_ASSERT(deInBounds32(iy + region.y, 0, dst.getHeight()));
447 dst.setPixel(ix + region.x, iy + region.y, tcu::RGBA(color));
687 const Rect region;
691 Render (const Rect& r, int tN, const Vec2& tS, const Vec2& tO) : region(r), textureNdx(tN), texCoordScale(tS), texCoordOffset(tO) {}
703 const float lod = calculateLod(rend.texCoordScale, rend.region.size().asFloat(), rend.textureNdx);
705 const Grid grid (GRID_SIZE_2D, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]),
708 glViewport(viewportXOffset + rend.region.x, viewportYOffset + rend.region.y, rend.region.w, rend.region.h);
710 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region);
1022 const Rect region;
1026 Render (const Rect& r, int tN, const Vec2& tS, const Vec2& tO) : region(r), textureNdx(tN), texCoordScale(tS), texCoordOffset(tO) {}
1038 const float lod = calculateLod(rend.texCoordScale, rend.region.size().asFloat(), rend.textureNdx);
1040 const Grid grid (GRID_SIZE_CUBE, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]),
1043 glViewport(viewportXOffset + rend.region.x, viewportYOffset + rend.region.y, rend.region.w, rend.region.h);
1045 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region);
1363 const Rect region;
1366 Render (const Rect& r, int tN, const Mat3& tT) : region(r), textureNdx(tN), texTransform(tT) {}
1378 const float lod = calculateLod(rend.texTransform, rend.region.size().asFloat(), rend.textureNdx);
1380 const Grid grid (GRID_SIZE_2D_ARRAY, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]),
1383 glViewport(viewportXOffset + rend.region.x, viewportYOffset + rend.region.y, rend.region.w, rend.region.h);
1385 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region);
1706 const Rect region;
1709 Render (const Rect& r, int tN, const Mat3& tT) : region(r), textureNdx(tN), texTransform(tT) {}
1721 const float lod = calculateLod(rend.texTransform, rend.region.size().asFloat(), rend.textureNdx);
1723 const Grid grid (GRID_SIZE_3D, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]),
1726 glViewport(viewportXOffset + rend.region.x, viewportYOffset + rend.region.y, rend.region.w, rend.region.h);
1728 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region);