P4 to Git Change 1094113 by gandryey@gera-dev-w7 on 2014/11/05 18:22:34

ECR #304775 - CL-GL depth buffer interop
	- Make the changes necessary for the depth buffer interop support. Currently the extension is disabled, because the conformance tests have multiple bugs.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#45 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#71 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#231 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#197 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#292 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.cpp#66 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#101 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#113 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#217 edit
This commit is contained in:
foreman
2014-11-05 18:30:40 -05:00
parent dd6074f047
commit b7ee1dd66b
8 changed files with 25 additions and 17 deletions
+3 -4
View File
@@ -345,9 +345,8 @@ Settings::create(
rectLinearDMA_ = true;
if (AMD_DEPTH_MSAA_INTEROP) {
enableExtension(ClKhrGLDepthImages);
depthMSAAInterop_ = true;
if (oclVersion_ >= OpenCL20) {
//enableExtension(ClKhrGLDepthImages);
}
if (AMD_THREAD_TRACE_ENABLE) {
threadTraceEnable_ = true;
@@ -445,7 +444,7 @@ Settings::create(
if (apuSystem_ &&
((calAttr.totalVisibleHeap + calAttr.totalInvisibleHeap) < 150)) {
remoteAlloc_ = true;
remoteAlloc_ = true;
}
// Override current device settings