webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rx::InspectableNativeWindow Class Referenceabstract

#include <InspectableNativeWindow.h>

Inheritance diagram for rx::InspectableNativeWindow:
rx::CoreWindowNativeWindow rx::SwapChainPanelNativeWindow

Public Member Functions

 InspectableNativeWindow ()
 
virtual ~InspectableNativeWindow ()
 
virtual bool initialize (EGLNativeWindowType window, IPropertySet *propertySet)=0
 
virtual HRESULT createSwapChain (ID3D11Device *device, IDXGIFactory2 *factory, DXGI_FORMAT format, unsigned int width, unsigned int height, bool containsAlpha, IDXGISwapChain1 **swapChain)=0
 
bool getClientRect (RECT *rect)
 
void setNewClientSize (const Size &newWindowSize)
 

Protected Member Functions

virtual HRESULT scaleSwapChain (const Size &windowSize, const RECT &clientRect)=0
 
RECT clientRect (const Size &size)
 

Protected Attributes

bool mSupportsSwapChainResize
 
bool mSwapChainSizeSpecified
 
bool mSwapChainScaleSpecified
 
float mSwapChainScale
 
RECT mClientRect
 
RECT mNewClientRect
 
bool mClientRectChanged
 
EventRegistrationToken mSizeChangedEventToken
 

Constructor & Destructor Documentation

◆ InspectableNativeWindow()

rx::InspectableNativeWindow::InspectableNativeWindow ( )
inline

◆ ~InspectableNativeWindow()

virtual rx::InspectableNativeWindow::~InspectableNativeWindow ( )
inlinevirtual

Member Function Documentation

◆ clientRect()

RECT rx::InspectableNativeWindow::clientRect ( const Size size)
protected

◆ createSwapChain()

virtual HRESULT rx::InspectableNativeWindow::createSwapChain ( ID3D11Device *  device,
IDXGIFactory2 *  factory,
DXGI_FORMAT  format,
unsigned int  width,
unsigned int  height,
bool  containsAlpha,
IDXGISwapChain1 **  swapChain 
)
pure virtual

◆ getClientRect()

bool rx::InspectableNativeWindow::getClientRect ( RECT *  rect)
inline

◆ initialize()

virtual bool rx::InspectableNativeWindow::initialize ( EGLNativeWindowType  window,
IPropertySet *  propertySet 
)
pure virtual

◆ scaleSwapChain()

virtual HRESULT rx::InspectableNativeWindow::scaleSwapChain ( const Size windowSize,
const RECT &  clientRect 
)
protectedpure virtual

◆ setNewClientSize()

void rx::InspectableNativeWindow::setNewClientSize ( const Size newWindowSize)
inline

Member Data Documentation

◆ mClientRect

RECT rx::InspectableNativeWindow::mClientRect
protected

◆ mClientRectChanged

bool rx::InspectableNativeWindow::mClientRectChanged
protected

◆ mNewClientRect

RECT rx::InspectableNativeWindow::mNewClientRect
protected

◆ mSizeChangedEventToken

EventRegistrationToken rx::InspectableNativeWindow::mSizeChangedEventToken
protected

◆ mSupportsSwapChainResize

bool rx::InspectableNativeWindow::mSupportsSwapChainResize
protected

◆ mSwapChainScale

float rx::InspectableNativeWindow::mSwapChainScale
protected

◆ mSwapChainScaleSpecified

bool rx::InspectableNativeWindow::mSwapChainScaleSpecified
protected

◆ mSwapChainSizeSpecified

bool rx::InspectableNativeWindow::mSwapChainSizeSpecified
protected

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