webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
WebCore::GLPlatformSurface Class Referenceabstract

#include <GLPlatformSurface.h>

Public Types

enum  Attributes { Default = 0x00, SupportAlpha = 0x01, DoubleBuffered = 0x02 }
 
typedef unsigned SurfaceAttributes
 

Public Member Functions

virtual ~GLPlatformSurface ()
 
const IntRectgeometry () const
 
PlatformBufferHandle handle () const
 
PlatformDrawable drawable () const
 
virtual SurfaceAttributes attributes () const
 
virtual void swapBuffers ()
 
virtual bool isCurrentDrawable () const =0
 
virtual void onMakeCurrent ()
 
virtual void updateContents (const uint32_t)
 
virtual void setGeometry (const IntRect &)
 
virtual PlatformSurfaceConfig configuration ()
 
virtual void destroy ()
 

Static Public Member Functions

static std::unique_ptr< GLPlatformSurfacecreateOffScreenSurface (SurfaceAttributes=GLPlatformSurface::Default)
 

Protected Member Functions

 GLPlatformSurface (SurfaceAttributes)
 

Protected Attributes

PlatformDrawable m_drawable
 
PlatformBufferHandle m_bufferHandle
 
IntRect m_rect
 

Member Typedef Documentation

◆ SurfaceAttributes

Member Enumeration Documentation

◆ Attributes

Enumerator
Default 
SupportAlpha 
DoubleBuffered 

Constructor & Destructor Documentation

◆ ~GLPlatformSurface()

virtual WebCore::GLPlatformSurface::~GLPlatformSurface ( )
virtual

◆ GLPlatformSurface()

WebCore::GLPlatformSurface::GLPlatformSurface ( SurfaceAttributes  )
protected

Member Function Documentation

◆ attributes()

virtual SurfaceAttributes WebCore::GLPlatformSurface::attributes ( ) const
virtual

◆ configuration()

virtual PlatformSurfaceConfig WebCore::GLPlatformSurface::configuration ( )
virtual

◆ createOffScreenSurface()

static std::unique_ptr<GLPlatformSurface> WebCore::GLPlatformSurface::createOffScreenSurface ( SurfaceAttributes  = GLPlatformSurface::Default)
static

◆ destroy()

virtual void WebCore::GLPlatformSurface::destroy ( )
virtual

◆ drawable()

PlatformDrawable WebCore::GLPlatformSurface::drawable ( ) const

◆ geometry()

const IntRect& WebCore::GLPlatformSurface::geometry ( ) const

◆ handle()

PlatformBufferHandle WebCore::GLPlatformSurface::handle ( ) const

◆ isCurrentDrawable()

virtual bool WebCore::GLPlatformSurface::isCurrentDrawable ( ) const
pure virtual

◆ onMakeCurrent()

virtual void WebCore::GLPlatformSurface::onMakeCurrent ( )
virtual

◆ setGeometry()

virtual void WebCore::GLPlatformSurface::setGeometry ( const IntRect )
virtual

◆ swapBuffers()

virtual void WebCore::GLPlatformSurface::swapBuffers ( )
virtual

◆ updateContents()

virtual void WebCore::GLPlatformSurface::updateContents ( const uint32_t  )
virtual

Member Data Documentation

◆ m_bufferHandle

PlatformBufferHandle WebCore::GLPlatformSurface::m_bufferHandle
protected

◆ m_drawable

PlatformDrawable WebCore::GLPlatformSurface::m_drawable
protected

◆ m_rect

IntRect WebCore::GLPlatformSurface::m_rect
protected

The documentation for this class was generated from the following file: