Enable transparent resizing and display changes for supported renderers
This commit is contained in:
parent
481f23b6e9
commit
2a05b890d8
14 changed files with 116 additions and 4 deletions
|
|
@ -168,6 +168,12 @@ void EGLRenderer::notifyOverlayUpdated(Overlay::OverlayType type)
|
|||
}
|
||||
}
|
||||
|
||||
bool EGLRenderer::notifyWindowChanged(PWINDOW_STATE_CHANGE_INFO info)
|
||||
{
|
||||
// We can transparently handle size and display changes
|
||||
return !(info->stateChangeFlags & ~(WINDOW_STATE_CHANGE_SIZE | WINDOW_STATE_CHANGE_DISPLAY));
|
||||
}
|
||||
|
||||
bool EGLRenderer::isPixelFormatSupported(int videoFormat, AVPixelFormat pixelFormat)
|
||||
{
|
||||
// Pixel format support should be determined by the backend renderer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue