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


[ROCm/clr commit: a88ad35556]
Этот коммит содержится в:
foreman
2017-09-12 16:56:44 -04:00
родитель 0a0a0dc374
Коммит 3831725584
+1 -1
Просмотреть файл
@@ -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;
}