Home
last modified time | relevance | path

Searched refs:IVec2 (Results 1 – 25 of 197) sorted by relevance

12345678

/external/deqp/modules/egl/
DteglResizeTests.cpp69 using tcu::IVec2;
93 IVec2 oldSize;
94 IVec2 newSize;
117 void resize (IVec2 size);
119 const IVec2 m_oldSize;
120 const IVec2 m_newSize;
208 void ResizeTest::resize (IVec2 size) in resize()
227 void drawRectangle (const glw::Functions& gl, IVec2 pos, IVec2 size, Vec3 color) in drawRectangle()
238 void initSurface (const glw::Functions& gl, IVec2 oldSize) in initSurface()
244 drawRectangle(gl, IVec2(0, 0), oldSize, frameColor); in initSurface()
[all …]
DteglSwapBuffersWithDamageTests.cpp55 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 …]
DteglBufferAgeTests.cpp56 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()
553 m_window->setSurfaceSize(IVec2(width*2, height/2)); in iterate()
555 m_window->setSurfaceSize(IVec2(height/2, width*2)); in iterate()
563 m_window->setSurfaceSize(IVec2(width*2, height/2)); in iterate()
565 m_window->setSurfaceSize(IVec2(height/2, width*2)); in iterate()
[all …]
/external/deqp/modules/gles2/functional/
Des2fTextureCompletenessTests.cpp58 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 …]
Des2fBufferWriteTests.cpp43 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 …]
/external/deqp/modules/gles3/functional/
Des3fBufferWriteTests.cpp43 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 …]
Des3fFramebufferBlitTests.cpp49 using tcu::IVec2;
58 …har* name, const char* desc, deUint32 filter, const IVec2& srcSize, const IVec4& srcRect, const IV… in BlitRectCase()
92 const IVec2& size = ndx ? m_dstSize : m_srcSize; in render()
155 const IVec2 m_srcSize;
157 const IVec2 m_dstSize;
167 … context, const char* name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IV…
172 … context, const char* name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IV… in BlitNearestFilterConsistencyCase()
330 …ext, const char* name, const char* desc, deUint32 srcFormat, deUint32 dstFormat, const IVec2& size) in BlitColorConversionCase()
453 IVec2 m_size;
459 …int32 format, deUint32 srcBuffers, const IVec2& srcSize, const IVec4& srcRect, deUint32 dstBuffers… in BlitDepthStencilCase()
[all …]
Des3fASTCDecompressionCases.cpp64 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 …]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureGatherTests.cpp46 using tcu::IVec2;
467 virtual void operator() (const IVec2& pixCoord, IVec2 (&dst)[4]) const = 0;
474 MultiplePixelOffsets (const IVec2& a, in MultiplePixelOffsets()
475 const IVec2& b, in MultiplePixelOffsets()
476 const IVec2& c, in MultiplePixelOffsets()
477 const IVec2& d) in MultiplePixelOffsets()
485 void operator() (const IVec2& /* pixCoord */, IVec2 (&dst)[4]) const in operator ()() argument
492 IVec2 m_offsets[4];
498 SinglePixelOffsets (const IVec2& offset) in SinglePixelOffsets()
499 : MultiplePixelOffsets(offset + IVec2(0, 1), in SinglePixelOffsets()
[all …]
/external/deqp/modules/gles31/functional/
Des31fTextureGatherTests.cpp53 using tcu::IVec2;
149 static tcu::TextureLevel getPixels (const glu::RenderContext& renderCtx, const IVec2& size, const t… in getPixels()
438 virtual void operator() (const IVec2& pixCoord, IVec2 (&dst)[4]) const = 0;
445 MultiplePixelOffsets (const IVec2& a, in MultiplePixelOffsets()
446 const IVec2& b, in MultiplePixelOffsets()
447 const IVec2& c, in MultiplePixelOffsets()
448 const IVec2& d) in MultiplePixelOffsets()
456 void operator() (const IVec2& /* pixCoord */, IVec2 (&dst)[4]) const in operator ()() argument
463 IVec2 m_offsets[4];
469 SinglePixelOffsets (const IVec2& offset) in SinglePixelOffsets()
[all …]
Des31fPrimitiveBoundingBoxTests.cpp107 static tcu::IVec4 getViewportBoundingBoxArea (const ProjectedBBox& bbox, const tcu::IVec2& viewport… in getViewportBoundingBoxArea()
550 tcu::IVec2 viewportPos;
551 tcu::IVec2 viewportSize;
567 …virtual IterationConfig generateConfig (int iteration, const tcu::IVec2& renderTargetSize) c…
572 IterationConfig generateRandomConfig (int seed, const tcu::IVec2& renderTargetSize) const;
573 … (const tcu::Vec2& patternPos, const tcu::Vec2& patternSize, const tcu::IVec2& viewportSize, AAB…
643 const tcu::IVec2 renderTargetSize = (m_renderTarget == RENDERTARGET_DEFAULT) ? in init()
644 … (tcu::IVec2(m_context.getRenderTarget().getWidth(), m_context.getRenderTarget().getHeight())) : in init()
645 (tcu::IVec2(FBO_SIZE, FBO_SIZE)); in init()
763 BBoxRenderCase::IterationConfig BBoxRenderCase::generateRandomConfig (int seed, const tcu::IVec2& r… in generateRandomConfig()
[all …]
/external/deqp/framework/referencerenderer/
DrrRasterizer.hpp159 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.
199 tcu::IVec2 m_bboxMin; //!< Bounding box min (inclusive).
200 tcu::IVec2 m_bboxMax; //!< Bounding box max (inclusive).
201 tcu::IVec2 m_curPos; //!< Current rasterization position.
250 tcu::IVec2 position;
280 tcu::IVec2 m_bboxMin; //!< Bounding box min (inclusive).
281 tcu::IVec2 m_bboxMax; //!< Bounding box max (inclusive).
282 tcu::IVec2 m_curPos; //!< Current rasterization position.
/external/deqp/framework/common/
DtcuTexture.hpp373 …Offset (const Sampler& sampler, Sampler::FilterMode filter, float s, const IVec2& offset) const;
377 …const Sampler& sampler, Sampler::FilterMode filter, float ref, float s, const IVec2& offset) const;
460 …ferAccess* levels, int numLevels, const Sampler& sampler, float s, float lod, const IVec2& offset);
464 …levels, int numLevels, const Sampler& sampler, float ref, float s, float lod, const IVec2& offset);
467 … const Sampler& sampler, float s, float t, int depth, int componentNdx, const IVec2 (&offsets)[4]);
468 …s& src, const Sampler& sampler, float ref, float s, float t, int depth, const IVec2 (&offsets)[4]);
541 return sampleLevelArray1DOffset(m_levels, m_numLevels, sampler, s, lod, IVec2(offset, 0)); in sampleOffset()
546 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(0, 0)); in sampleCompare()
551 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(offset, 0)); in sampleCompareOffset()
569 …Vec4 sampleOffset (const Sampler& sampler, float s, float t, float lod, const IVec2& offset…
[all …]
DtcuTexLookupVerifier.hpp135 … const LookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], con…
136 …onst IntLookupPrecision& 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…
139 … const LookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], con…
140 …onst IntLookupPrecision& 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…
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.hpp88 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);
DvktSampleVerifierUtil.cpp472 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 …]
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.cpp50 using tcu::IVec2;
1547 tcu::IVec2 calculateNearestIJRange (const tcu::FloatFormat& coordFormat, in calculateNearestIJRange()
1552 …return tcu::IVec2(deRoundToInt32(ij.lo() - coordFormat.ulp(ij.lo(), 1)), deRoundToInt32(ij.hi() + … in calculateNearestIJRange()
1556 tcu::IVec2 calculateLinearIJRange (const tcu::FloatFormat& coordFormat, in calculateLinearIJRange()
1561 return tcu::IVec2(deFloorToInt32(ij.lo()), deFloorToInt32(ij.hi())); in calculateLinearIJRange()
1580 const tcu::IVec2& coord) in lookupWrapped()
1630 const tcu::IVec2& coord, in linearSample()
1635 … lookupWrapped(access, conversionFormat, addressModeU, addressModeV, coord + tcu::IVec2(0, 0)), in linearSample()
1636 … lookupWrapped(access, conversionFormat, addressModeU, addressModeV, coord + tcu::IVec2(1, 0)), in linearSample()
1637 … lookupWrapped(access, conversionFormat, addressModeU, addressModeV, coord + tcu::IVec2(0, 1)), in linearSample()
[all …]
/external/deqp/framework/platform/lnx/wayland/
DtcuLnxWaylandEglDisplayFactory.cpp95 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()
/external/deqp/modules/internal/
DditSeedBuilderTests.cpp30 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()
/external/deqp/framework/opengl/simplereference/
DsglrGLContext.cpp122 tcu::IVec2 GLContext::getDrawOffset (void) const in getDrawOffset()
125 return tcu::IVec2(0, 0); in getDrawOffset()
127 return tcu::IVec2(m_baseViewport.x(), m_baseViewport.y()); in getDrawOffset()
130 tcu::IVec2 GLContext::getReadOffset (void) const in getReadOffset()
133 return tcu::IVec2(0, 0); in getReadOffset()
135 return tcu::IVec2(m_baseViewport.x(), m_baseViewport.y()); in getReadOffset()
166 tcu::IVec2 offset = getDrawOffset(); in viewport()
220 tcu::IVec2 offset = getDrawOffset(); in bindFramebuffer()
307 tcu::IVec2 offset = getReadOffset(); in copyTexImage1D()
324 tcu::IVec2 offset = getReadOffset(); in copyTexImage2D()
[all …]
/external/deqp/framework/platform/lnx/X11/
DtcuLnxX11EglDisplayFactory.cpp146 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()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp76 inline VkImageCreateInfo make2DImageCreateInfo (const tcu::IVec2& imageSize, const VkImageUsageFlag… in make2DImageCreateInfo()
99 inline VkBufferImageCopy makeBufferImageCopy(const tcu::IVec2& imageSize) in makeBufferImageCopy()
633 const tcu::IVec2& localSize,
634 const tcu::IVec2& imageSize);
640 const tcu::IVec2 m_localSize;
641 const tcu::IVec2 m_imageSize;
648 const tcu::IVec2& localSize,
649 const tcu::IVec2& imageSize);
654 const tcu::IVec2 m_localSize;
655 const tcu::IVec2 m_imageSize;
[all …]
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferAndImageAllocationUtil.hpp86 virtual void createTestImage (tcu::IVec2 size,
99 virtual void createTestImage (tcu::IVec2 size,
112 virtual void createTestImage (tcu::IVec2 size,
/external/deqp/framework/egl/
DegluNativeWindow.cpp56 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()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorMultiViewportTests.cpp56 using tcu::IVec2;
73 VkImageCreateInfo makeImageCreateInfo (const VkFormat format, const IVec2& size, VkImageUsageFlags … in makeImageCreateInfo()
103 const IVec2 renderSize, in makeGraphicsPipeline()
160 std::vector<IVec4> generateScissors (const int numScissors, const IVec2& renderSize) in generateScissors()
221 const IVec2& renderSize, in generateReferenceImage()
325 const IVec2& renderSize, in ScissorRenderer()
393 const IVec2 m_renderSize;
428 const IVec2 renderSize (128, 128); in test()

12345678