P4 to Git Change 1457982 by wchau@wchau_WIN_OCL_HSA on 2017/09/12 14:56:38

SWDEV-122517 - DVR toolbar and timer are corrupted when recording in fullscreen with portrait oriented monitors using Eyefinity.
	Fixed by obtaining the rotation information from OGL driver and set tha displayable attribute accordingly. (For OCL RT changes)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp#30 edit


[ROCm/clr commit: 3373a1ef2f]
Cette révision appartient à :
foreman
2017-09-12 15:39:29 -04:00
Parent 39d9b2c81f
révision 0a0a0dc374
+4 -7
Voir le fichier
@@ -843,15 +843,12 @@ CALGSLDevice::resGLAssociate(GLResAssociate & resData) const
attribs.cpu_address = (void*)hData->handle;
attribs.alias_subtile = hData->tilingMode;
attribs.mcaddress = hData->cardAddr;
if (hData->isDoppDesktopTexture == GL_TRUE)
{
attribs.isDOPPDesktopTexture = ATIGL_TRUE;
attribs.displayable = GSL_MOA_DISPLAYABLE_LAYOUT;
}
if ((hData->isDoppPresentTexture == GL_TRUE) ||
if (hData->isDoppDesktopTexture == GL_TRUE || (hData->isDoppPresentTexture == GL_TRUE) ||
(hData->isDisplayable == GL_TRUE))
{
attribs.displayable = GSL_MOA_DISPLAYABLE_LAYOUT;
attribs.isDOPPDesktopTexture = hData->isDoppDesktopTexture;
attribs.displayable = hData->isTilingRotated
? GSL_MOA_DISPLAYABLE_PORTRAIT_ROTATED : GSL_MOA_DISPLAYABLE_LAYOUT;
}
attribs.doppVidpnSourceId = hData->vidpnSourceId;