Lines Matching refs:IVec2
69 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)
227 void drawRectangle (const glw::Functions& gl, IVec2 pos, IVec2 size, Vec3 color)
238 void initSurface (const glw::Functions& gl, IVec2 oldSize)
244 drawRectangle(gl, IVec2(0, 0), oldSize, frameColor);
245 drawRectangle(gl, IVec2(2, 2), oldSize - IVec2(4, 4), fillColor);
247 drawRectangle(gl, IVec2(0, 0), IVec2(8, 4), markColor);
248 drawRectangle(gl, oldSize - IVec2(16, 16), IVec2(8, 4), markColor);
249 drawRectangle(gl, IVec2(0, oldSize.y() - 16), IVec2(8, 4), markColor);
250 drawRectangle(gl, IVec2(oldSize.x() - 16, 0), IVec2(8, 4), markColor);
304 Surface readSurface (const glw::Functions& gl, IVec2 size)
320 IVec2 getNativeSurfaceSize (const NativeWindow& nativeWindow,
321 IVec2 reqSize)
328 IVec2 checkSurfaceSize (const Library& egl,
332 IVec2 reqSize,
335 const IVec2 nativeSize = getNativeSurfaceSize(nativeWindow, reqSize);
336 IVec2 eglSize = eglu::getSurfaceSize(egl, eglDisplay, eglSurface);
350 IVec2 oldEglSize = checkSurfaceSize(egl,
395 const IVec2 oldEglSize = eglu::getSurfaceSize(egl, m_display, **m_surface);
410 const IVec2 newEglSize = eglu::getSurfaceSize(egl, m_display, **m_surface);
446 IvVec2 ivVec2 (const IVec2& vec)
462 const IVec2 bufSize = eglu::getSurfaceSize(egl, m_display, **m_surface);
463 const IVec2 winSize = m_nativeWindow->getScreenSize();
464 const IVec2 bufPp10km = eglu::getSurfaceResolution(egl, m_display, **m_surface);
469 const IVec2 winPpi (int(winPpiI.x().midpoint()), int(winPpiI.y().midpoint()));
496 const IVec2 oldEglSize = eglu::getSurfaceSize(egl, m_display, **m_surface);
528 IVec2(128, 128), IVec2(32, 32) },
530 IVec2(32, 32), IVec2(128, 128) },
532 IVec2(32, 128), IVec2(128, 32) },
534 IVec2(128, 32), IVec2(32, 128) },