Home
last modified time | relevance | path

Searched refs:cellSize (Results 1 - 20 of 20) sorted by relevance

/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fFboColorbufferTests.cpp836 const int cellSize = 16; in render() local
837 const int fboSizes[] = { cellSize, cellSize*numRowsCols }; in render()
880 glViewport(cellX*cellSize, cellY*cellSize, cellSize, cellSize); in render()
908 const int cellSize = 16; in render() local
909 const int fboSizes[] = { cellSize, cellSize*numRowsCol in render()
974 const int cellSize = 16; render() local
[all...]
H A Des3fTextureSpecificationTests.cpp990 int cellSize = de::max(1, de::min(levelW >> 2, levelH >> 2)); in createTexture() local
993 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); in createTexture() local
1046 int cellSize = de::max(1, levelSize >> 2); in createTexture() local
1049 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, levelSize, levelSize, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); in createTexture() local
1251 int cellSize = rnd.getInt(2, 16); in createTexture() local
1254 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture()
1330 int cellSize = rnd.getInt(2, 16); in createTexture() local
1333 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture()
1479 int cellSize = rnd.getInt(2, 16); in createTexture() local
1482 tcu::fillWithGrid(data.getAccess(), cellSize, color in createTexture()
2002 int cellSize = rnd.getInt(2, 16); createTexture() local
2079 int cellSize = rnd.getInt(2, 16); createTexture() local
3279 const int cellSize = rnd.getInt(2, 16); createTexture() local
3351 const int cellSize = rnd.getInt(2, 16); createTexture() local
[all...]
H A Des3fFramebufferBlitTests.cpp59 BlitRectCase (Context& context, const char* name, const char* desc, deUint32 filter, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect, int cellSize = 8) in BlitRectCase()
66 , m_cellSize (cellSize) in BlitRectCase()
/third_party/skia/samplecode/
H A DSampleAtlas.cpp44 static sk_sp<SkImage> make_atlas(int atlasSize, int cellSize) { in make_atlas() argument
52 const SkScalar half = cellSize * SK_ScalarHalf; in make_atlas()
57 for (int y = 0; y < atlasSize; y += cellSize) { in make_atlas()
58 for (int x = 0; x < atlasSize; x += cellSize) { in make_atlas()
/third_party/vk-gl-cts/framework/common/
H A DtcuTextureUtil.cpp993 static void fillWithGrid1D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB)
997 int mx = (x / cellSize) % 2;
1006 static void fillWithGrid2D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB)
1012 int mx = (x / cellSize) % 2;
1013 int my = (y / cellSize) % 2;
1023 static void fillWithGrid3D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB)
1031 int mx = (x / cellSize) % 2;
1032 int my = (y / cellSize) % 2;
1033 int mz = (z / cellSize) % 2;
1044 void fillWithGrid (const PixelBufferAccess& access, int cellSize, cons
[all...]
H A DtcuTextureUtil.hpp123 void fillWithGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB);
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fTextureSpecificationTests.cpp863 int cellSize = de::max(1, de::min(levelW >> 2, levelH >> 2)); in createTexture() local
866 tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); in createTexture() local
913 int cellSize = de::max(1, de::min(levelW >> 2, levelH >> 2)); in createTexture() local
916 tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); in createTexture() local
982 int cellSize = rnd.getInt(2, 16); in createTexture() local
985 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture()
1057 int cellSize = rnd.getInt(2, 16); in createTexture() local
1060 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture()
1452 int cellSize = rnd.getInt(2, 16); in createTexture() local
1455 tcu::fillWithGrid(data.getAccess(), cellSize, color in createTexture()
1535 int cellSize = rnd.getInt(2, 16); createTexture() local
[all...]
H A Des2fFboRenderTest.cpp2019 const int cellSize = 16; in render() local
2020 const int fboSizes[] = { cellSize, cellSize*numRowsCols }; in render()
2072 ctx.viewport(cellX*cellSize, cellY*cellSize, cellSize, cellSize); in render()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/
H A DvktVideoDecodeTests.cpp734 const uint32_t cellSize = 16 * k;
737 const tcu::UVec2 imageSize = { cellSize * cellCountX, cellSize * cellCountV };
777 const uint32_t cellOfs = firstHalf ? 0 : 6 * cellSize;
778 const uint32_t cellX0 = cellSize * (cellNdx % 5);
779 const uint32_t cellV0 = cellSize * (cellNdx / 5) + cellOfs;
780 const uint32_t cellX1 = cellX0 + cellSize;
781 const uint32_t cellV1 = cellV0 + cellSize;
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fCopyImageTests.cpp263 RandomizedRenderGrid (const IVec2& targetSize, const IVec2& cellSize, int maxCellCount, deUint32 seed);
272 static IVec2 getRandomOffset (deUint32 seed, IVec2 targetSize, IVec2 cellSize, IVec2 grid, int cellCount);
282 RandomizedRenderGrid::RandomizedRenderGrid (const IVec2& targetSize, const IVec2& cellSize, int maxCellCount, deUint32 seed) in RandomizedRenderGrid() argument
284 , m_cellSize (cellSize) in RandomizedRenderGrid()
285 , m_grid (targetSize / cellSize) in RandomizedRenderGrid()
288 , m_cellCount (deMin32(maxCellCount, ((targetSize.y() % cellSize.y()) == 0) && m_grid.y() > 1 ? m_grid.x() * (m_grid.y() - 1) : m_grid.x() * m_grid.y())) in RandomizedRenderGrid()
289 , m_baseRandomOffset (getRandomOffset(seed, targetSize, cellSize, m_grid, m_cellCount)) in RandomizedRenderGrid()
293 IVec2 RandomizedRenderGrid::getRandomOffset (deUint32 seed, IVec2 targetSize, IVec2 cellSize, IVec2 grid, int cellCount) in getRandomOffset() argument
297 IVec2 extraSpace = targetSize - (cellSize * grid); in getRandomOffset()
302 extraSpace.y() += (grid.y() - deDivRoundUp32(cellCount, grid.x())) * cellSize in getRandomOffset()
[all...]
H A Des31fStencilTexturingTests.cpp819 const int cellSize = 8; in iterate() local
841 for (int y = 0; y < height; y += cellSize) in iterate()
843 for (int x = 0; x < width; x += cellSize) in iterate()
845 const int clearW = de::min(cellSize, width-x); in iterate()
846 const int clearH = de::min(cellSize, height-y); in iterate()
H A Des31fDrawTests.cpp1420 const float cellSize = 2.0f / (float)m_gridSize;
1424 buffer[((y * m_gridSize + x) * 6 + 1) * 2 + 0] = tcu::Vec4(posX + cellSize, posY, 0.0f, 1.0f);
1425 buffer[((y * m_gridSize + x) * 6 + 2) * 2 + 0] = tcu::Vec4(posX + cellSize, posY + cellSize, 0.0f, 1.0f);
1427 buffer[((y * m_gridSize + x) * 6 + 4) * 2 + 0] = tcu::Vec4(posX + cellSize, posY + cellSize, 0.0f, 1.0f);
1428 buffer[((y * m_gridSize + x) * 6 + 5) * 2 + 0] = tcu::Vec4(posX, posY + cellSize, 0.0f, 1.0f);
H A Des31fTextureSpecificationTests.cpp692 const int cellSize = rnd.getInt(2, 16); in createTexture() local
695 tcu::fillWithGrid(levelData.getAccess(), cellSize, colorA, colorB); in createTexture()
/third_party/vk-gl-cts/modules/gles2/accuracy/
H A Des2aTextureFilteringTests.cpp521 const int cellSize = 28; in iterate() local
522 const int defViewportWidth = cellSize*6; in iterate()
523 const int defViewportHeight = cellSize*4; in iterate()
524 RandomViewport viewport (m_renderCtx.getRenderTarget(), cellSize*6, cellSize*4, deStringHash(getName())); in iterate()
/third_party/vk-gl-cts/modules/gles3/accuracy/
H A Des3aTextureFilteringTests.cpp530 const int cellSize = 28; in iterate() local
531 const int defViewportWidth = cellSize*6; in iterate()
532 const int defViewportHeight = cellSize*4; in iterate()
533 RandomViewport viewport (m_renderCtx.getRenderTarget(), cellSize*6, cellSize*4, deStringHash(getName())); in iterate()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DClearTest.cpp1492 const int cellSize = 32; in TEST_P() local
1493 const int fboSize = cellSize; in TEST_P()
1494 const int backFBOSize = cellSize * numRowsCols; in TEST_P()
1537 glViewport(cellX * cellSize, cellY * cellSize, cellSize, cellSize); in TEST_P()
1556 int testN = cellX * cellSize + cellY * backFBOSize * cellSize + backFBOSize + 1; in TEST_P()
H A DStateChangeTest.cpp3338 const int cellSize = getWindowWidth() / 2; in TEST_P() local
3354 glViewport(cellX * cellSize, cellY * cellSize, cellSize, cellSize); in TEST_P()
3376 cellX * cellSize + cellY * getWindowWidth() * cellSize + getWindowWidth() + 1; in TEST_P()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktTextureShadowTests.cpp1470 const int cellSize = 4 + layer; in TextureCubeArrayShadowTestInstance() local
1479 tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, layerFace), cellSize, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in TextureCubeArrayShadowTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktTextureShadowTests.cpp1468 const int cellSize = 4 + layer; in TextureCubeArrayShadowTestInstance() local
1477 tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, layerFace), cellSize, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in TextureCubeArrayShadowTestInstance()
/third_party/sqlite/src/
H A Dsqlite3.c70070 static u16 cellSize(MemPage *pPage, int iCell){ global() function
[all...]

Completed in 233 milliseconds