From a88ad355563ad5ff7d07915cbaff88392a617d5d Mon Sep 17 00:00:00 2001 From: foreman Date: Tue, 12 Sep 2017 16:56:44 -0400 Subject: [PATCH] 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 --- rocclr/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp b/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp index db9d6fda40..6c3ad49e37 100644 --- a/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp +++ b/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp @@ -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; }