Home
last modified time | relevance | path

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

12345

/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 …]
/external/deqp/modules/gles2/functional/
Des2fTextureCompletenessTests.cpp58 using tcu::IVec2;
240 …enderContext& renderCtx, const char* name, const char* description, IVec2 size, IVec2 invalidLevel…
247 IVec2 m_invalidLevelSize;
249 IVec2 m_size;
252 …enderContext& renderCtx, const char* name, const char* description, IVec2 size, IVec2 invalidLevel… in Incomplete2DSizeCase()
316 …glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, deUint32 for…
325 IVec2 m_size;
328 …glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, deUint32 for… in Incomplete2DFormatCase()
373 …glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, int missingL…
380 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 …]
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()
Des3fShaderPrecisionTests.cpp457 …unc evalFunc, glu::Precision precision, int bits, const tcu::IVec2& rangeA, const tcu::IVec2& rang…
473 tcu::IVec2 m_rangeA;
474 tcu::IVec2 m_rangeB;
488 …unc evalFunc, glu::Precision precision, int bits, const tcu::IVec2& rangeA, const tcu::IVec2& rang… in ShaderIntPrecisionCase()
860 using tcu::IVec2; in init()
870 tcu::IVec2 fullRange32I (0x80000000, 0x7fffffff); in init()
871 tcu::IVec2 fullRange16I (-(1<<15), (1<<15)-1); in init()
872 tcu::IVec2 fullRange8I (-(1<<7), (1<<7)-1); in init()
908 tcu::IVec2 rangeA; in init()
909 tcu::IVec2 rangeB; in init()
[all …]
Des3fFboMultisampleTests.cpp48 using tcu::IVec2;
57 …onst char* desc, deUint32 colorFormat, deUint32 depthStencilFormat, const IVec2& size, int numSamp… in BasicFboMultisampleCase()
245 IVec2 m_size;
309 …, getFormatName(colorFormats[fmtNdx]), "", colorFormats[fmtNdx], GL_NONE, IVec2(119, 131), samples… in init()
313 …(depthStencilFormats[fmtNdx]), "", GL_RGBA8, depthStencilFormats[fmtNdx], IVec2(119, 131), samples… 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 …]
Des31fShaderHelperInvocationTests.cpp55 using tcu::IVec2;
212 const IVec2 m_size;
545 static const IVec2 s_neighbors[] = in hasNeighborWithColor()
547 IVec2(-1, -1), in hasNeighborWithColor()
548 IVec2( 0, -1), in hasNeighborWithColor()
549 IVec2(+1, -1), in hasNeighborWithColor()
550 IVec2(-1, 0), in hasNeighborWithColor()
551 IVec2(+1, 0), in hasNeighborWithColor()
552 IVec2(-1, +1), in hasNeighborWithColor()
553 IVec2( 0, +1), in hasNeighborWithColor()
[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.hpp334 …Offset (const Sampler& sampler, Sampler::FilterMode filter, float s, const IVec2& offset) const;
338 …const Sampler& sampler, Sampler::FilterMode filter, float ref, float s, const IVec2& offset) const;
421 …ferAccess* levels, int numLevels, const Sampler& sampler, float s, float lod, const IVec2& offset);
425 …levels, int numLevels, const Sampler& sampler, float ref, float s, float lod, const IVec2& offset);
428 … const Sampler& sampler, float s, float t, int depth, int componentNdx, const IVec2 (&offsets)[4]);
429 …s& src, const Sampler& sampler, float ref, float s, float t, int depth, const IVec2 (&offsets)[4]);
502 return sampleLevelArray1DOffset(m_levels, m_numLevels, sampler, s, lod, IVec2(offset, 0)); in sampleOffset()
507 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(0, 0)); in sampleCompare()
512 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(offset, 0)); in sampleCompareOffset()
530 …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/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.cpp138 IVec2 getSurfaceSize (void) const;
139 void setSurfaceSize (IVec2 size);
140 IVec2 getScreenSize (void) const { return getSurfaceSize(); } in getScreenSize()
153 IVec2 Window::getSurfaceSize (void) const in getSurfaceSize()
155 IVec2 ret; in getSurfaceSize()
160 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/framework/platform/android/
DtcuAndroidPlatform.cpp81 IVec2 getScreenSize (void) const { return m_window->getSize(); } in getScreenSize()
83 void setSurfaceSize (IVec2 size);
115 setSurfaceSize(IVec2(width, height)); in NativeWindow()
129 void NativeWindow::setSurfaceSize (tcu::IVec2 size) in setSurfaceSize()
/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 …]
/external/deqp/framework/platform/raspi/
DtcuRaspiPlatform.cpp75 IVec2 getSize (void) const;
168 IVec2 Window::getSize (void) const in getSize()
170 return IVec2(m_nativeWindow.width, m_nativeWindow.height); in getSize()

12345