/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fFboColorbufferTests.cpp | 836 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 D | es3fTextureSpecificationTests.cpp | 990 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 D | es3fFramebufferBlitTests.cpp | 59 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 D | SampleAtlas.cpp | 44 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 D | tcuTextureUtil.cpp | 993 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 D | tcuTextureUtil.hpp | 123 void fillWithGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB);
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fTextureSpecificationTests.cpp | 863 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 D | es2fFboRenderTest.cpp | 2019 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 D | vktVideoDecodeTests.cpp | 734 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 D | es31fCopyImageTests.cpp | 263 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 D | es31fStencilTexturingTests.cpp | 819 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 D | es31fDrawTests.cpp | 1420 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 D | es31fTextureSpecificationTests.cpp | 692 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 D | es2aTextureFilteringTests.cpp | 521 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 D | es3aTextureFilteringTests.cpp | 530 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 D | ClearTest.cpp | 1492 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 D | StateChangeTest.cpp | 3338 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 D | vktTextureShadowTests.cpp | 1470 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 D | vktTextureShadowTests.cpp | 1468 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 D | sqlite3.c | 70070 static u16 cellSize(MemPage *pPage, int iCell){ global() function [all...] |