/third_party/vk-gl-cts/modules/egl/ |
D | teglResizeTests.cpp | 69 using tcu::IVec2; 93 IVec2 oldSize; 94 IVec2 newSize; 117 void resize (IVec2 size); 119 const IVec2 m_oldSize; 120 const IVec2 m_newSize; 210 void ResizeTest::resize (IVec2 size) in resize() 229 void drawRectangle (const glw::Functions& gl, IVec2 pos, IVec2 size, Vec3 color) in drawRectangle() 240 void initSurface (const glw::Functions& gl, IVec2 oldSize) in initSurface() 246 drawRectangle(gl, IVec2(0, 0), oldSize, frameColor); in initSurface() [all …]
|
D | teglSwapBuffersWithDamageTests.cpp | 55 using tcu::IVec2; 86 ColoredRect (const IVec2& bottomLeft_, const IVec2& topRight_, const Color& color_); 87 IVec2 bottomLeft; 88 IVec2 topRight; 92 ColoredRect::ColoredRect (const IVec2& bottomLeft_, const IVec2& topRight_, const Color& color_) in ColoredRect() 426 m_window->setSurfaceSize(IVec2(width*2, height/2)); in iterate() 428 m_window->setSurfaceSize(IVec2(height/2, width*2)); in iterate() 436 m_window->setSurfaceSize(IVec2(width*2, height/2)); in iterate() 438 m_window->setSurfaceSize(IVec2(height/2, width*2)); in iterate() 508 m_window->setSurfaceSize(IVec2(width*2, height/2)); in iterate() [all …]
|
D | teglBufferAgeTests.cpp | 56 using tcu::IVec2; 130 ColoredRect (const IVec2& bottomLeft_, const IVec2& topRight_, const Color& color_); 131 IVec2 bottomLeft; 132 IVec2 topRight; 136 ColoredRect::ColoredRect (const IVec2& bottomLeft_, const IVec2& topRight_, const Color& color_) in ColoredRect() 186 const ColoredRect coloredRect (IVec2(x1, y1), IVec2(x2, y2), Color(r, g, b)); in generateRandomFrame() 558 m_window->setSurfaceSize(IVec2(width*2, height/2)); in iterate() 560 m_window->setSurfaceSize(IVec2(height/2, width*2)); in iterate() 568 m_window->setSurfaceSize(IVec2(width*2, height/2)); in iterate() 570 m_window->setSurfaceSize(IVec2(height/2, width*2)); in iterate() [all …]
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fTextureCompletenessTests.cpp | 58 using tcu::IVec2; 248 …enderContext& renderCtx, const char* name, const char* description, IVec2 size, IVec2 invalidLevel… 255 IVec2 m_invalidLevelSize; 257 IVec2 m_size; 260 …enderContext& renderCtx, const char* name, const char* description, IVec2 size, IVec2 invalidLevel… in Incomplete2DSizeCase() 322 …glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, deUint32 for… 331 IVec2 m_size; 334 …glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, deUint32 for… in Incomplete2DFormatCase() 377 …glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, int missingL… 384 IVec2 m_size; [all …]
|
D | es2fBufferWriteTests.cpp | 43 using tcu::IVec2; 93 std::vector<tcu::IVec2>& list; 95 RangeVecBuilder (std::vector<tcu::IVec2>& list_) in RangeVecBuilder() 100 RangeVecBuilder& operator<< (const tcu::IVec2& vec) in operator <<() 113 tcu::IVec2 prev = *begin; in isRangeListValid() 118 tcu::IVec2 cur = *begin; in isRangeListValid() 128 inline bool rangesIntersect (const tcu::IVec2& a, const tcu::IVec2& b) in rangesIntersect() 134 inline tcu::IVec2 unionRanges (const tcu::IVec2& a, const tcu::IVec2& b) in unionRanges() 141 return tcu::IVec2(start, end-start); in unionRanges() 145 std::vector<tcu::IVec2> addRangeToList (const std::vector<tcu::IVec2>& oldList, const tcu::IVec2& n… in addRangeToList() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fBufferWriteTests.cpp | 43 using tcu::IVec2; 93 std::vector<tcu::IVec2>& list; 95 RangeVecBuilder (std::vector<tcu::IVec2>& list_) in RangeVecBuilder() 100 RangeVecBuilder& operator<< (const tcu::IVec2& vec) in operator <<() 113 tcu::IVec2 prev = *begin; in isRangeListValid() 118 tcu::IVec2 cur = *begin; in isRangeListValid() 128 inline bool rangesIntersect (const tcu::IVec2& a, const tcu::IVec2& b) in rangesIntersect() 134 inline tcu::IVec2 unionRanges (const tcu::IVec2& a, const tcu::IVec2& b) in unionRanges() 141 return tcu::IVec2(start, end-start); in unionRanges() 145 std::vector<tcu::IVec2> addRangeToList (const std::vector<tcu::IVec2>& oldList, const tcu::IVec2& n… in addRangeToList() [all …]
|
D | es3fFramebufferBlitTests.cpp | 49 using tcu::IVec2; 58 …har* name, const char* desc, deUint32 filter, const IVec2& srcSize, const IVec4& srcRect, const IV… in BlitRectCase() 94 const IVec2& size = ndx ? m_dstSize : m_srcSize; in render() 157 const IVec2 m_srcSize; 159 const IVec2 m_dstSize; 169 … context, const char* name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IV… 174 … context, const char* name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IV… in BlitNearestFilterConsistencyCase() 332 …ext, const char* name, const char* desc, deUint32 srcFormat, deUint32 dstFormat, const IVec2& size) in BlitColorConversionCase() 455 IVec2 m_size; 461 …int32 format, deUint32 srcBuffers, const IVec2& srcSize, const IVec4& srcRect, deUint32 dstBuffers… in BlitDepthStencilCase() [all …]
|
D | es3fASTCDecompressionCases.cpp | 64 using tcu::IVec2; 139 const IVec2& blockSize, in compareBlockImages() 141 IVec2& firstFailedBlockCoordDst, in compareBlockImages() 156 firstFailedBlockCoordDst = IVec2(-1, -1); in compareBlockImages() 162 const IVec2 blockCoord = IVec2(x, y) / blockSize; in compareBlockImages() 248 IVec2 getBlockSize (void) const { return m_blockSize; } in getBlockSize() 256 const IVec2 m_blockSize; 418 const IVec2 blockSize = m_renderer->getBlockSize(); in iterate() 462 IVec2 firstFailedBlockCoord; in iterate() 542 const IVec2 blockSize = m_renderer->getBlockSize(); in init() [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fTextureGatherTests.cpp | 53 using tcu::IVec2; 150 static tcu::TextureLevel getPixels (const glu::RenderContext& renderCtx, const IVec2& size, const t… in getPixels() 439 virtual void operator() (const IVec2& pixCoord, IVec2 (&dst)[4]) const = 0; 446 MultiplePixelOffsets (const IVec2& a, in MultiplePixelOffsets() 447 const IVec2& b, in MultiplePixelOffsets() 448 const IVec2& c, in MultiplePixelOffsets() 449 const IVec2& d) in MultiplePixelOffsets() 457 void operator() (const IVec2& /* pixCoord */, IVec2 (&dst)[4]) const in operator ()() argument 464 IVec2 m_offsets[4]; 470 SinglePixelOffsets (const IVec2& offset) in SinglePixelOffsets() [all …]
|
D | es31fPrimitiveBoundingBoxTests.cpp | 107 static tcu::IVec4 getViewportBoundingBoxArea (const ProjectedBBox& bbox, const tcu::IVec2& viewport… in getViewportBoundingBoxArea() 605 tcu::IVec2 viewportPos; 606 tcu::IVec2 viewportSize; 622 …virtual IterationConfig generateConfig (int iteration, const tcu::IVec2& renderTargetSize) c… 627 IterationConfig generateRandomConfig (int seed, const tcu::IVec2& renderTargetSize) const; 628 … (const tcu::Vec2& patternPos, const tcu::Vec2& patternSize, const tcu::IVec2& viewportSize, AAB… 703 const tcu::IVec2 renderTargetSize = (m_renderTarget == RENDERTARGET_DEFAULT) ? in init() 704 … (tcu::IVec2(m_context.getRenderTarget().getWidth(), m_context.getRenderTarget().getHeight())) : in init() 705 (tcu::IVec2(FBO_SIZE, FBO_SIZE)); in init() 837 BBoxRenderCase::IterationConfig BBoxRenderCase::generateRandomConfig (int seed, const tcu::IVec2& r… in generateRandomConfig() [all …]
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
D | rrRasterizer.hpp | 159 tcu::IVec2 m_bboxMin; //!< Bounding box min (inclusive). 160 tcu::IVec2 m_bboxMax; //!< Bounding box max (inclusive). 161 tcu::IVec2 m_curPos; //!< Current rasterization position. 202 tcu::IVec2 m_bboxMin; //!< Bounding box min (inclusive). 203 tcu::IVec2 m_bboxMax; //!< Bounding box max (inclusive). 204 tcu::IVec2 m_curPos; //!< Current rasterization position. 256 tcu::IVec2 position; 288 tcu::IVec2 m_bboxMin; //!< Bounding box min (inclusive). 289 tcu::IVec2 m_bboxMax; //!< Bounding box max (inclusive). 290 tcu::IVec2 m_curPos; //!< Current rasterization position.
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderTextureGatherTests.cpp | 50 using tcu::IVec2; 470 virtual void operator() (const IVec2& pixCoord, IVec2 (&dst)[4]) const = 0; 477 MultiplePixelOffsets (const IVec2& a, in MultiplePixelOffsets() 478 const IVec2& b, in MultiplePixelOffsets() 479 const IVec2& c, in MultiplePixelOffsets() 480 const IVec2& d) in MultiplePixelOffsets() 488 void operator() (const IVec2& /* pixCoord */, IVec2 (&dst)[4]) const in operator ()() argument 495 IVec2 m_offsets[4]; 501 SinglePixelOffsets (const IVec2& offset) in SinglePixelOffsets() 502 : MultiplePixelOffsets(offset + IVec2(0, 1), in SinglePixelOffsets() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifierUtil.hpp | 88 void wrapCubemapEdge (const tcu::IVec2& coord, 89 const tcu::IVec2& size, 91 tcu::IVec2& newCoord, 93 void wrapCubemapCorner (const tcu::IVec2& coord, 94 const tcu::IVec2& size, 98 tcu::IVec2& cornerCoord0, 99 tcu::IVec2& cornerCoord1, 100 tcu::IVec2& cornerCoord2);
|
D | vktSampleVerifierUtil.cpp | 472 void wrapCubemapEdge (const IVec2& coord, in wrapCubemapEdge() 473 const IVec2& size, in wrapCubemapEdge() 475 IVec2& newCoord, in wrapCubemapEdge() 498 const IVec2 edgeFactor = IVec2(edgeFactors[adjacentEdgeNdx][0], in wrapCubemapEdge() 500 const IVec2 edgeOffset = edgeFactor * (size - IVec2(1)); in wrapCubemapEdge() 518 void wrapCubemapCorner (const IVec2& coord, in wrapCubemapCorner() 519 const IVec2& size, in wrapCubemapCorner() 523 IVec2& cornerCoord0, in wrapCubemapCorner() 524 IVec2& cornerCoord1, in wrapCubemapCorner() 525 IVec2& cornerCoord2) in wrapCubemapCorner() [all …]
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuTexture.hpp | 390 …Offset (const Sampler& sampler, Sampler::FilterMode filter, float s, const IVec2& offset) const; 394 …const Sampler& sampler, Sampler::FilterMode filter, float ref, float s, const IVec2& offset) const; 479 …ferAccess* levels, int numLevels, const Sampler& sampler, float s, float lod, const IVec2& offset); 483 …levels, int numLevels, const Sampler& sampler, float ref, float s, float lod, const IVec2& offset); 486 … const Sampler& sampler, float s, float t, int depth, int componentNdx, const IVec2 (&offsets)[4]); 487 …s& src, const Sampler& sampler, float ref, float s, float t, int depth, const IVec2 (&offsets)[4]); 539 …Vec4 sampleOffset (const Sampler& sampler, float s, float t, float lod, const IVec2& offset… 541 …Offset (const Sampler& sampler, float ref, float s, float t, float lod, const IVec2& offset) const; 543 …Vec4 gatherOffsets (const Sampler& sampler, float s, float t, int componentNdx, const IVec2… 544 …Vec4 gatherOffsetsCompare(const Sampler& sampler, float ref, float s, float t, const IVec2 (… [all …]
|
D | tcuRasterizationVerifier.hpp | 146 …c4& p0, const tcu::Vec4& p1, const tcu::Vec4& p2, const tcu::IVec2& pixel, const tcu::IVec2& viewp… 152 …& p0, const tcu::Vec4& p1, const float lineWidth, const tcu::IVec2& pixel, const tcu::IVec2& viewp… 158 …onst tcu::Vec4& p1, const tcu::Vec4& p2, const tcu::IVec2& pixel, int subpixelBits, const tcu::IVe…
|
D | tcuTexLookupVerifier.hpp | 136 … const LookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], con… 137 …onst IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], con… 138 …onst IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], con… 140 … const LookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], con… 141 …onst IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], con… 142 …onst IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], con…
|
/third_party/vk-gl-cts/framework/platform/lnx/wayland/ |
D | tcuLnxWaylandEglDisplayFactory.cpp | 95 IVec2 getSurfaceSize (void) const; 96 void setSurfaceSize (IVec2 size); 97 IVec2 getScreenSize (void) const { return getSurfaceSize(); } in getScreenSize() 109 IVec2 Window::getSurfaceSize (void) const in getSurfaceSize() 111 IVec2 ret; in getSurfaceSize() 116 void Window::setSurfaceSize (IVec2 size) in setSurfaceSize()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrUtil.cpp | 53 using tcu::IVec2; 1428 tcu::IVec2 calculateNearestIJRange (const tcu::FloatFormat& coordFormat, in calculateNearestIJRange() 1433 …return tcu::IVec2(deRoundToInt32(ij.lo() - coordFormat.ulp(ij.lo(), 1)), deRoundToInt32(ij.hi() + … in calculateNearestIJRange() 1437 tcu::IVec2 calculateLinearIJRange (const tcu::FloatFormat& coordFormat, in calculateLinearIJRange() 1442 return tcu::IVec2(deFloorToInt32(ij.lo()), deFloorToInt32(ij.hi())); in calculateLinearIJRange() 1445 tcu::IVec2 calculateIJRange (vk::VkFilter filter, in calculateIJRange() 1470 const tcu::IVec2& coord) in lookupWrapped() 1520 const tcu::IVec2& coord, in linearSample() 1525 … lookupWrapped(access, conversionFormat, addressModeU, addressModeV, coord + tcu::IVec2(0, 0)), in linearSample() 1526 … lookupWrapped(access, conversionFormat, addressModeU, addressModeV, coord + tcu::IVec2(1, 0)), in linearSample() [all …]
|
/third_party/vk-gl-cts/framework/platform/ohos/display/window/ |
D | tcuOhosNativeWindow.hpp | 63 IVec2 getSurfaceSize (void) const; 64 void setSurfaceSize (IVec2 size); 65 IVec2 getScreenSize (void) const { return getSurfaceSize(); } in getScreenSize()
|
D | tcuOhosNativeWindow.cpp | 75 IVec2 OhosWindow::getSurfaceSize (void) const in getSurfaceSize() 78 IVec2 ret; in getSurfaceSize() 82 void OhosWindow::setSurfaceSize (IVec2 size) in setSurfaceSize()
|
/third_party/vk-gl-cts/modules/internal/ |
D | ditSeedBuilderTests.cpp | 30 using tcu::IVec2; 160 …addChild(new SeedBuilderTest<IVec2>(m_testCtx, IVec2(0), 1111532u, "ivec2_zero", "Seed from zero … in init() 164 …addChild(new SeedBuilderTest<IVec2>(m_testCtx, IVec2(1), 12819708u, "ivec2_one", "Seed from one v… in init()
|
/third_party/vk-gl-cts/framework/platform/lnx/X11/ |
D | tcuLnxX11EglDisplayFactory.cpp | 146 IVec2 getSurfaceSize (void) const; 147 void setSurfaceSize (IVec2 size); 148 IVec2 getScreenSize (void) const { return getSurfaceSize(); } in getScreenSize() 161 IVec2 Window::getSurfaceSize (void) const in getSurfaceSize() 163 IVec2 ret; in getSurfaceSize() 168 void Window::setSurfaceSize (IVec2 size) in setSurfaceSize()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiBufferAndImageAllocationUtil.hpp | 86 virtual void createTestImage (tcu::IVec2 size, 99 virtual void createTestImage (tcu::IVec2 size, 112 virtual void createTestImage (tcu::IVec2 size,
|
/third_party/vk-gl-cts/framework/egl/ |
D | egluNativeWindow.cpp | 56 tcu::IVec2 NativeWindow::getSurfaceSize (void) const in getSurfaceSize() 62 void NativeWindow::setSurfaceSize (tcu::IVec2 size) in setSurfaceSize() 69 tcu::IVec2 NativeWindow::getScreenSize (void) const in getScreenSize()
|