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

#include <SwapChainPanelNativeWindow.h>

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

Public Member Functions

 ~SwapChainPanelNativeWindow ()
 
bool initialize (EGLNativeWindowType window, IPropertySet *propertySet) override
 
HRESULT createSwapChain (ID3D11Device *device, IDXGIFactory2 *factory, DXGI_FORMAT format, unsigned int width, unsigned int height, bool containsAlpha, IDXGISwapChain1 **swapChain) override
 
- Public Member Functions inherited from rx::InspectableNativeWindow
 InspectableNativeWindow ()
 
virtual ~InspectableNativeWindow ()
 
bool getClientRect (RECT *rect)
 
void setNewClientSize (const Size &newWindowSize)
 

Protected Member Functions

HRESULT scaleSwapChain (const Size &windowSize, const RECT &clientRect) override
 
bool registerForSizeChangeEvents ()
 
void unregisterForSizeChangeEvents ()
 
- Protected Member Functions inherited from rx::InspectableNativeWindow
RECT clientRect (const Size &size)
 

Additional Inherited Members

- Protected Attributes inherited from rx::InspectableNativeWindow
bool mSupportsSwapChainResize
 
bool mSwapChainSizeSpecified
 
bool mSwapChainScaleSpecified
 
float mSwapChainScale
 
RECT mClientRect
 
RECT mNewClientRect
 
bool mClientRectChanged
 
EventRegistrationToken mSizeChangedEventToken
 

Constructor & Destructor Documentation

◆ ~SwapChainPanelNativeWindow()

rx::SwapChainPanelNativeWindow::~SwapChainPanelNativeWindow ( )

Member Function Documentation

◆ createSwapChain()

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

◆ initialize()

bool rx::SwapChainPanelNativeWindow::initialize ( EGLNativeWindowType  window,
IPropertySet *  propertySet 
)
overridevirtual

◆ registerForSizeChangeEvents()

bool rx::SwapChainPanelNativeWindow::registerForSizeChangeEvents ( )
protected

◆ scaleSwapChain()

HRESULT rx::SwapChainPanelNativeWindow::scaleSwapChain ( const Size windowSize,
const RECT &  clientRect 
)
overrideprotectedvirtual

◆ unregisterForSizeChangeEvents()

void rx::SwapChainPanelNativeWindow::unregisterForSizeChangeEvents ( )
protected

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