P4 to Git Change 1458019 by wchau@wchau_WIN_OCL_HSA on 2017/09/12 16:12:22

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)
	- fix the type casting issue that causes build error

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp#31 edit
Tento commit je obsažen v:
foreman
2017-09-12 16:56:44 -04:00
rodič 3373a1ef2f
revize a88ad35556
+1 -1
Zobrazit soubor
@@ -846,7 +846,7 @@ CALGSLDevice::resGLAssociate(GLResAssociate & resData) const
if (hData->isDoppDesktopTexture == GL_TRUE || (hData->isDoppPresentTexture == GL_TRUE) ||
(hData->isDisplayable == GL_TRUE))
{
attribs.isDOPPDesktopTexture = hData->isDoppDesktopTexture;
attribs.isDOPPDesktopTexture = (hData->isDoppDesktopTexture == GL_TRUE);
attribs.displayable = hData->isTilingRotated
? GSL_MOA_DISPLAYABLE_PORTRAIT_ROTATED : GSL_MOA_DISPLAYABLE_LAYOUT;
}