Lines Matching full:ivec2
64 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)
212 void drawRectangle (const glw::Functions& gl, IVec2 pos, IVec2 size, Vec3 color)
223 void initSurface (const glw::Functions& gl, IVec2 oldSize)
229 drawRectangle(gl, IVec2(0, 0), oldSize, frameColor);
230 drawRectangle(gl, IVec2(2, 2), oldSize - IVec2(4, 4), fillColor);
232 drawRectangle(gl, IVec2(0, 0), IVec2(8, 4), markColor);
233 drawRectangle(gl, oldSize - IVec2(16, 16), IVec2(8, 4), markColor);
234 drawRectangle(gl, IVec2(0, oldSize.y() - 16), IVec2(8, 4), markColor);
235 drawRectangle(gl, IVec2(oldSize.x() - 16, 0), IVec2(8, 4), markColor);
289 Surface readSurface (const glw::Functions& gl, IVec2 size)
305 IVec2 getNativeSurfaceSize (const NativeWindow& nativeWindow,
306 IVec2 reqSize)
313 IVec2 checkSurfaceSize (EGLDisplay eglDisplay,
316 IVec2 reqSize,
319 const IVec2 nativeSize = getNativeSurfaceSize(nativeWindow, reqSize);
320 IVec2 eglSize = eglu::getSurfaceSize(eglDisplay, eglSurface);
336 IVec2 oldEglSize = checkSurfaceSize(m_display,
379 const IVec2 oldEglSize = eglu::getSurfaceSize(m_display, **m_surface);
393 const IVec2 newEglSize = eglu::getSurfaceSize(m_display, **m_surface);
428 IvVec2 ivVec2 (const IVec2& vec)
441 const IVec2 bufSize = eglu::getSurfaceSize(m_display, **m_surface);
442 const IVec2 winSize = m_nativeWindow->getScreenSize();
443 const IVec2 bufPp10km = eglu::getSurfaceResolution(m_display, **m_surface);
449 const IVec2 winPpi (int(winPpiI.x().midpoint()), int(winPpiI.y().midpoint()));
475 const IVec2 oldEglSize = eglu::getSurfaceSize(m_display, **m_surface);
507 IVec2(128, 128), IVec2(32, 32) },
509 IVec2(32, 32), IVec2(128, 128) },
511 IVec2(32, 128), IVec2(128, 32) },
513 IVec2(128, 32), IVec2(32, 128) },