hdr: scRGB, HLG and SDR -> HDR fixes (#11499)
This commit is contained in:
parent
fdf1612f0f
commit
4e8875b5e9
8 changed files with 67 additions and 38 deletions
|
|
@ -77,8 +77,6 @@ void CSurfacePassElement::draw(const CRegion& damage) {
|
|||
DELTALESSTHAN(windowBox.height, m_data.surface->m_current.bufferSize.y, 3) /* off by one-or-two */ &&
|
||||
(!m_data.pWindow || (!m_data.pWindow->m_realSize->isBeingAnimated() && !INTERACTIVERESIZEINPROGRESS)) /* not window or not animated/resizing */;
|
||||
|
||||
if (m_data.surface->m_colorManagement.valid())
|
||||
Debug::log(TRACE, "FIXME: rendering surface with color management enabled, should apply necessary transformations");
|
||||
g_pHyprRenderer->calculateUVForSurface(m_data.pWindow, m_data.surface, m_data.pMonitor->m_self.lock(), m_data.mainSurface, windowBox.size(), PROJSIZEUNSCALED, MISALIGNEDFSV1);
|
||||
|
||||
auto cancelRender = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue