Home
last modified time | relevance | path

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

1234

/external/deqp/modules/egl/
DteglResizeTests.cpp64 using tcu::IVec2;
86 IVec2 oldSize;
87 IVec2 newSize;
110 void resize (IVec2 size);
112 const IVec2 m_oldSize;
113 const IVec2 m_newSize;
193 void ResizeTest::resize (IVec2 size) in resize()
212 void drawRectangle (const glw::Functions& gl, IVec2 pos, IVec2 size, Vec3 color) in drawRectangle()
223 void initSurface (const glw::Functions& gl, IVec2 oldSize) in initSurface()
229 drawRectangle(gl, IVec2(0, 0), oldSize, frameColor); in initSurface()
[all …]
/external/deqp/modules/gles2/functional/
Des2fTextureCompletenessTests.cpp60 using tcu::IVec2;
242 …enderContext& renderCtx, const char* name, const char* description, IVec2 size, IVec2 invalidLevel…
249 IVec2 m_invalidLevelSize;
251 IVec2 m_size;
254 …enderContext& renderCtx, const char* name, const char* description, IVec2 size, IVec2 invalidLevel… in Incomplete2DSizeCase()
305 …glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, deUint32 for…
314 IVec2 m_size;
317 …glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, deUint32 for… in Incomplete2DFormatCase()
362 …glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, int missingL…
369 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 …]
Des3fFboColorbufferTests.cpp49 using tcu::IVec2;
207 …me, const char* description, deUint32 tex0Fmt, const IVec2& tex0Size, deUint32 tex1Fmt, const IVec… in FboColorMultiTex2DCase()
254 const IVec2& size = ndx ? m_tex1Size : m_tex0Size; in render()
283 const IVec2& viewport = ndx ? m_tex1Size : m_tex0Size; in render()
319 IVec2 m_tex0Size;
320 IVec2 m_tex1Size;
326 …Context& context, const char* name, const char* description, deUint32 texFmt, const IVec2& texSize) in FboColorTexCubeCase()
381 const IVec2& size = m_texSize; in render()
428 const IVec2& viewport = m_texSize; in render()
469 IVec2 m_texSize;
[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()
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()
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 …]
/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 …]
Des31fShaderHelperInvocationTests.cpp55 using tcu::IVec2;
496 static const IVec2 s_neighbors[] = in hasNeighborWithColor()
498 IVec2(-1, -1), in hasNeighborWithColor()
499 IVec2( 0, -1), in hasNeighborWithColor()
500 IVec2(+1, -1), in hasNeighborWithColor()
501 IVec2(-1, 0), in hasNeighborWithColor()
502 IVec2(+1, 0), in hasNeighborWithColor()
503 IVec2(-1, +1), in hasNeighborWithColor()
504 IVec2( 0, +1), in hasNeighborWithColor()
505 IVec2(+1, +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.hpp275 …Offset (const Sampler& sampler, Sampler::FilterMode filter, float s, const IVec2& offset) const;
279 …const Sampler& sampler, Sampler::FilterMode filter, float ref, float s, const IVec2& offset) const;
364 …ferAccess* levels, int numLevels, const Sampler& sampler, float s, float lod, const IVec2& offset);
368 …levels, int numLevels, const Sampler& sampler, float ref, float s, float lod, const IVec2& offset);
371 … const Sampler& sampler, float s, float t, int depth, int componentNdx, const IVec2 (&offsets)[4]);
372 …s& src, const Sampler& sampler, float ref, float s, float t, int depth, const IVec2 (&offsets)[4]);
445 return sampleLevelArray1DOffset(m_levels, m_numLevels, sampler, s, lod, IVec2(offset, 0)); in sampleOffset()
450 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(0, 0)); in sampleCompare()
455 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(offset, 0)); in sampleCompareOffset()
473 …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…
DtcuTexCompareVerifier.hpp59 …mpler& sampler, const TexComparePrecision& prec, const Vec2& coord, const IVec2 (&offsets)[4], flo…
60 …mpler& sampler, const TexComparePrecision& prec, const Vec3& coord, const IVec2 (&offsets)[4], flo…
/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.
197 tcu::IVec2 m_bboxMin; //!< Bounding box min (inclusive).
198 tcu::IVec2 m_bboxMax; //!< Bounding box max (inclusive).
199 tcu::IVec2 m_curPos; //!< Current rasterization position.
/external/deqp/framework/platform/X11/
DtcuX11EglPlatform.cpp94 IVec2 getSurfaceSize (void) const;
95 void setSurfaceSize (IVec2 size);
96 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/framework/egl/
DegluNativeWindow.cpp48 tcu::IVec2 NativeWindow::getSurfaceSize (void) const in getSurfaceSize()
54 void NativeWindow::setSurfaceSize (tcu::IVec2 size) in setSurfaceSize()
61 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;
DegluUtil.hpp54 tcu::IVec2 getSurfaceSize (EGLDisplay display, EGLSurface surface);
55 tcu::IVec2 getSurfaceResolution (EGLDisplay display, EGLSurface surface);
/external/deqp/framework/platform/android/
DtcuAndroidPlatform.cpp66 IVec2 getScreenSize (void) const { return m_window->getSize(); } in getScreenSize()
68 void setSurfaceSize (IVec2 size);
100 setSurfaceSize(IVec2(width, height)); in NativeWindow()
114 void NativeWindow::setSurfaceSize (tcu::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/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()

1234