Home | History | Annotate | Download | only in libEGL

Lines Matching defs:Surface

7 // Surface.cpp: Implements the egl::Surface class, representing a drawing surface
13 #include "libEGL/Surface.h"
26 Surface::Surface(Display *display, const Config *config, HWND window, EGLint postSubBufferSupported)
47 Surface::Surface(Display *display, const Config *config, HANDLE shareHandle, EGLint width, EGLint height, EGLenum textureFormat, EGLenum textureType)
64 Surface::~Surface()
70 bool Surface::initialize()
78 void Surface::release()
90 bool Surface::resetSwapChain()
113 // non-window surface - size is determined at creation
136 bool Surface::resizeSwapChain(int backbufferWidth, int backbufferHeight)
159 bool Surface::resetSwapChain(int backbufferWidth, int backbufferHeight)
183 bool Surface::swapRect(EGLint x, EGLint y, EGLint width, EGLint height)
222 HWND Surface::getWindowHandle()
235 Surface* surf = reinterpret_cast<Surface*>(GetProp(hwnd, kSurfaceProperty));
245 void Surface::subclassWindow()
272 void Surface::unsubclassWindow()
298 bool Surface::checkForOutOfDateSwapChain()
323 if (static_cast<egl::Surface*>(getCurrentDrawSurface()) == this)
334 bool Surface::swap()
339 bool Surface::postSubBuffer(EGLint x, EGLint y, EGLint width, EGLint height)
350 EGLint Surface::getWidth() const
355 EGLint Surface::getHeight() const
360 EGLint Surface::isPostSubBufferSupported() const
365 rx::SwapChain *Surface::getSwapChain() const
370 void Surface::setSwapInterval(EGLint interval)
384 EGLenum Surface::getTextureFormat() const
389 EGLenum Surface::getTextureTarget() const
394 void Surface::setBoundTexture(gl::Texture2D *texture)
399 gl::Texture2D *Surface::getBoundTexture() const
404 EGLenum Surface::getFormat() const