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
Этот коммит содержится в:
foreman
2017-09-12 15:39:29 -04:00
родитель 7efd5f7f98
Коммит 3373a1ef2f
+4 -7
Просмотреть файл
@@ -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;