Home
last modified time | relevance | path

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

123456

/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()
549 m_window->setSurfaceSize(IVec2(width*2, height/2)); in iterate()
551 m_window->setSurfaceSize(IVec2(height/2, width*2)); in iterate()
559 m_window->setSurfaceSize(IVec2(width*2, height/2)); in iterate()
561 m_window->setSurfaceSize(IVec2(height/2, width*2)); in iterate()
[all …]
/external/deqp/modules/gles2/functional/
Des2fTextureCompletenessTests.cpp58 using tcu::IVec2;
239 …enderContext& renderCtx, const char* name, const char* description, IVec2 size, IVec2 invalidLevel…
246 IVec2 m_invalidLevelSize;
248 IVec2 m_size;
251 …enderContext& renderCtx, const char* name, const char* description, IVec2 size, IVec2 invalidLevel… in Incomplete2DSizeCase()
315 …glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, deUint32 for…
324 IVec2 m_size;
327 …glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, deUint32 for… in Incomplete2DFormatCase()
372 …glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, int missingL…
379 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 …]
Des2fMultisampleTests.cpp53 using tcu::IVec2;
100 …tatic inline bool isInsideQuad (const IVec2& point, const IVec2& p0, const IVec2& p1, const IVec2&… in isInsideQuad()
116 …egionUnicolored (const tcu::Surface& img, const IVec2& p0, const IVec2& p1, const IVec2& p2, const… in isPixelRegionUnicolored()
128 if (isInsideQuad(IVec2(x, y), p0, p1, p2, p3)) in isPixelRegionUnicolored()
148 …, const tcu::PixelBufferAccess& errorImg, const IVec2& p0, const IVec2& p1, const IVec2& p2, const… in drawUnicolorTestErrors()
159 if (isInsideQuad(IVec2(x, y), p0, p1, p2, p3)) in drawUnicolorTestErrors()
839 IVec2 p0Win = ((region.p0+1.0f) * 0.5f * (float)(m_viewportSize-1) + 0.5f).asInt(); in iterate()
840 IVec2 p1Win = ((region.p1+1.0f) * 0.5f * (float)(m_viewportSize-1) + 0.5f).asInt(); in iterate()
841 IVec2 p2Win = ((region.p2+1.0f) * 0.5f * (float)(m_viewportSize-1) + 0.5f).asInt(); in iterate()
842 IVec2 p3Win = ((region.p3+1.0f) * 0.5f * (float)(m_viewportSize-1) + 0.5f).asInt(); in iterate()
/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()
459 IVec2 firstFailedBlockCoord; in iterate()
539 const IVec2 blockSize = m_renderer->getBlockSize(); in init()
[all …]
Des3fMultisampleTests.cpp54 using tcu::IVec2;
102 …tatic inline bool isInsideQuad (const IVec2& point, const IVec2& p0, const IVec2& p1, const IVec2&… in isInsideQuad()
118 …egionUnicolored (const tcu::Surface& img, const IVec2& p0, const IVec2& p1, const IVec2& p2, const… in isPixelRegionUnicolored()
130 if (isInsideQuad(IVec2(x, y), p0, p1, p2, p3)) in isPixelRegionUnicolored()
150 …, const tcu::PixelBufferAccess& errorImg, const IVec2& p0, const IVec2& p1, const IVec2& p2, const… in drawUnicolorTestErrors()
161 if (isInsideQuad(IVec2(x, y), p0, p1, p2, p3)) in drawUnicolorTestErrors()
222 IVec2 getRenderTargetSize (void) const { return IVec2(m_renderWidth, m_renderHeight); } in getRenderTargetSize()
632 const IVec2 targetSize = getRenderTargetSize(); in iterate()
1001 IVec2 p0Win = ((region.p0+1.0f) * 0.5f * (float)(m_viewportSize-1) + 0.5f).asInt(); in iterate()
1002 IVec2 p1Win = ((region.p1+1.0f) * 0.5f * (float)(m_viewportSize-1) + 0.5f).asInt(); in iterate()
[all …]
Des3fFboStencilbufferTests.cpp43 using tcu::IVec2;
52 …BasicFboStencilCase (Context& context, const char* name, const char* desc, deUint32 format, IVec2 in BasicFboStencilCase()
137 IVec2 m_size;
265 …basicGroup->addChild(new BasicFboStencilCase(m_context, getFormatName(format), "", format, IVec2(1… in init()
268 …m_context, (string(getFormatName(format)) + "_depth").c_str(), "", format, IVec2(111, 132), true)); in init()
/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.
198 tcu::IVec2 m_bboxMin; //!< Bounding box min (inclusive).
199 tcu::IVec2 m_bboxMax; //!< Bounding box max (inclusive).
200 tcu::IVec2 m_curPos; //!< Current rasterization position.
249 tcu::IVec2 position;
279 tcu::IVec2 m_bboxMin; //!< Bounding box min (inclusive).
280 tcu::IVec2 m_bboxMax; //!< Bounding box max (inclusive).
281 tcu::IVec2 m_curPos; //!< Current rasterization position.
/external/deqp/modules/gles31/functional/
Des31fTextureGatherTests.cpp52 using tcu::IVec2;
133 static tcu::TextureLevel getPixels (const glu::RenderContext& renderCtx, const IVec2& size, const t… in getPixels()
422 virtual void operator() (const IVec2& pixCoord, IVec2 (&dst)[4]) const = 0;
429 MultiplePixelOffsets (const IVec2& a, in MultiplePixelOffsets()
430 const IVec2& b, in MultiplePixelOffsets()
431 const IVec2& c, in MultiplePixelOffsets()
432 const IVec2& d) in MultiplePixelOffsets()
440 void operator() (const IVec2& /* pixCoord */, IVec2 (&dst)[4]) const in operator ()() argument
447 IVec2 m_offsets[4];
453 SinglePixelOffsets (const IVec2& offset) in SinglePixelOffsets()
[all …]
Des31fPrimitiveBoundingBoxTests.cpp106 static tcu::IVec4 getViewportBoundingBoxArea (const ProjectedBBox& bbox, const tcu::IVec2& viewport… in getViewportBoundingBoxArea()
515 tcu::IVec2 viewportPos;
516 tcu::IVec2 viewportSize;
532 …virtual IterationConfig generateConfig (int iteration, const tcu::IVec2& renderTargetSize) c…
537 IterationConfig generateRandomConfig (int seed, const tcu::IVec2& renderTargetSize) const;
538 … (const tcu::Vec2& patternPos, const tcu::Vec2& patternSize, const tcu::IVec2& viewportSize, AAB…
608 const tcu::IVec2 renderTargetSize = (m_renderTarget == RENDERTARGET_DEFAULT) ? in init()
609 … (tcu::IVec2(m_context.getRenderTarget().getWidth(), m_context.getRenderTarget().getHeight())) : in init()
610 (tcu::IVec2(FBO_SIZE, FBO_SIZE)); in init()
727 BBoxRenderCase::IterationConfig BBoxRenderCase::generateRandomConfig (int seed, const tcu::IVec2& r… in generateRandomConfig()
[all …]
Des31fShaderTextureSizeTests.cpp123 static const tcu::IVec2 testSizes2D[] = in init()
125 tcu::IVec2(1, 1), in init()
126 tcu::IVec2(1, 4), in init()
127 tcu::IVec2(4, 8), in init()
128 tcu::IVec2(21, 11), in init()
129 tcu::IVec2(107, 254), in init()
130 tcu::IVec2(-1, 3), in init()
131 tcu::IVec2(3, -1), in init()
Des31fBasicComputeShaderTests.cpp985 …ext, const char* name, const char* description, const tcu::IVec2& localSize, const tcu::IVec2& ima… in CopyImageToSSBOCase()
1014 const tcu::IVec2 workSize = m_imageSize / m_localSize; in iterate()
1082 const tcu::IVec2 m_localSize;
1083 const tcu::IVec2 m_imageSize;
1089 …ext, const char* name, const char* description, const tcu::IVec2& localSize, const tcu::IVec2& ima… in CopySSBOToImageCase()
1118 const tcu::IVec2 workSize = m_imageSize / m_localSize; in iterate()
1201 const tcu::IVec2 m_localSize;
1202 const tcu::IVec2 m_imageSize;
1208 …xt& context, const char* name, const char* description, int localSize, const tcu::IVec2& imageSize) in ImageAtomicOpCase()
1332 const tcu::IVec2 m_imageSize;
[all …]
/external/deqp/framework/common/
DtcuTexture.hpp352 …Offset (const Sampler& sampler, Sampler::FilterMode filter, float s, const IVec2& offset) const;
356 …const Sampler& sampler, Sampler::FilterMode filter, float ref, float s, const IVec2& offset) const;
439 …ferAccess* levels, int numLevels, const Sampler& sampler, float s, float lod, const IVec2& offset);
443 …levels, int numLevels, const Sampler& sampler, float ref, float s, float lod, const IVec2& offset);
446 … const Sampler& sampler, float s, float t, int depth, int componentNdx, const IVec2 (&offsets)[4]);
447 …s& src, const Sampler& sampler, float ref, float s, float t, int depth, const IVec2 (&offsets)[4]);
520 return sampleLevelArray1DOffset(m_levels, m_numLevels, sampler, s, lod, IVec2(offset, 0)); in sampleOffset()
525 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(0, 0)); in sampleCompare()
530 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(offset, 0)); in sampleCompareOffset()
548 …Vec4 sampleOffset (const Sampler& sampler, float s, float t, float lod, const IVec2& offset…
[all …]
DtcuTexLookupVerifier.hpp130 … const LookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], con…
131 …onst IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], con…
132 …onst IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], con…
134 … const LookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], con…
135 …onst IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], con…
136 …onst IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], con…
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp71 inline VkImageCreateInfo make2DImageCreateInfo (const tcu::IVec2& imageSize, const VkImageUsageFlag… in make2DImageCreateInfo()
94 inline VkBufferImageCopy makeBufferImageCopy(const tcu::IVec2& imageSize) in makeBufferImageCopy()
628 const tcu::IVec2& localSize,
629 const tcu::IVec2& imageSize);
635 const tcu::IVec2 m_localSize;
636 const tcu::IVec2 m_imageSize;
643 const tcu::IVec2& localSize,
644 const tcu::IVec2& imageSize);
649 const tcu::IVec2 m_localSize;
650 const tcu::IVec2 m_imageSize;
[all …]
/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/egl/
DegluNativeWindow.cpp50 tcu::IVec2 NativeWindow::getSurfaceSize (void) const in getSurfaceSize()
56 void NativeWindow::setSurfaceSize (tcu::IVec2 size) in setSurfaceSize()
63 tcu::IVec2 NativeWindow::getScreenSize (void) const in getScreenSize()
DegluNativeWindow.hpp99 virtual tcu::IVec2 getSurfaceSize (void) const;
102 virtual void setSurfaceSize (tcu::IVec2 size);
105 virtual tcu::IVec2 getScreenSize (void) const;
/external/deqp/framework/platform/X11/
DtcuX11EglPlatform.cpp139 IVec2 getSurfaceSize (void) const;
140 void setSurfaceSize (IVec2 size);
141 IVec2 getScreenSize (void) const { return getSurfaceSize(); } in getScreenSize()
154 IVec2 Window::getSurfaceSize (void) const in getSurfaceSize()
156 IVec2 ret; in getSurfaceSize()
161 void Window::setSurfaceSize (IVec2 size) in setSurfaceSize()
/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/modules/glshared/
DglsRasterizationTestUtil.cpp104 bool pixelNearLineSegment (const tcu::IVec2& pixel, const tcu::Vec2& p0, const tcu::Vec2& p1) in pixelNearLineSegment()
141 … pixelOnlyOnASharedEdge (const tcu::IVec2& pixel, const TriangleSceneSpec::SceneTriangle& triangle… in pixelOnlyOnASharedEdge()
184 tcu::IVec4 getTriangleAABB (const TriangleSceneSpec::SceneTriangle& triangle, const tcu::IVec2& vie… in getTriangleAABB()
519 const tcu::IVec2& pixel, in calcSingleSampleLineInterpolationRangeWithWeightEquation()
553 …(const tcu::Vec2& pa, float wa, const tcu::Vec2& pb, float wb, const tcu::IVec2& pixel, int subpix… in calcSingleSampleLineInterpolationRange()
558 …(const tcu::Vec2& pa, float wa, const tcu::Vec2& pb, float wb, const tcu::IVec2& pixel, int subpix… in calcSingleSampleLineInterpolationRangeAxisProjected()
572 …InterpolationRange interpolate (int primitiveNdx, const tcu::IVec2 pixel, const tcu::IVec2 viewpor… in interpolate()
613 …InterpolationRange interpolate (int primitiveNdx, const tcu::IVec2 pixel, const tcu::IVec2 viewpor… in interpolate()
663 const tcu::IVec2 viewportSize = tcu::IVec2(surface.getWidth(), surface.getHeight()); in verifyTriangleGroupInterpolationWithInterpolator()
709 tcu::IVec2(x, y), in verifyTriangleGroupInterpolationWithInterpolator()
[all …]

123456