Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
SkWGLPbufferContext Class Reference

#include <SkWGL.h>

Inheritance diagram for SkWGLPbufferContext:
SkRefCnt SkRefCntBase

Public Member Functions

 ~SkWGLPbufferContext () override
 
HDC getDC () const
 
HGLRC getGLRC () const
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Static Public Member Functions

static sk_sp< SkWGLPbufferContextCreate (HDC parentDC, SkWGLContextRequest contextType, HGLRC shareContext)
 

Detailed Description

Helper class for creating a pbuffer context and deleting all the handles when finished. This requires that a device context has been created. However, the pbuffer gets its own device context. The original device context can be released once the pbuffer context is created.

Definition at line 144 of file SkWGL.h.

Constructor & Destructor Documentation

◆ ~SkWGLPbufferContext()

SkWGLPbufferContext::~SkWGLPbufferContext ( )
override

Member Function Documentation

◆ Create()

static sk_sp< SkWGLPbufferContext > SkWGLPbufferContext::Create ( HDC  parentDC,
SkWGLContextRequest  contextType,
HGLRC  shareContext 
)
static

◆ getDC()

HDC SkWGLPbufferContext::getDC ( ) const
inline

Definition at line 151 of file SkWGL.h.

151{ return fDC; }

◆ getGLRC()

HGLRC SkWGLPbufferContext::getGLRC ( ) const
inline

Definition at line 152 of file SkWGL.h.

152{ return fGLRC; }

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