MCPcopy Create free account
hub / github.com/RenderKit/embree / rtcReleaseDevice

Function rtcReleaseDevice

kernels/common/rtcore.cpp:117–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115 }
116
117 RTC_API void rtcReleaseDevice(RTCDevice hdevice)
118 {
119 Device* device = (Device*) hdevice;
120 RTC_CATCH_BEGIN;
121 RTC_TRACE(rtcReleaseDevice);
122 RTC_VERIFY_HANDLE(hdevice);
123 Lock<MutexSys> lock(g_mutex);
124 device->refDec();
125 RTC_CATCH_END(nullptr);
126 }
127
128 RTC_API ssize_t rtcGetDeviceProperty(RTCDevice hdevice, RTCDeviceProperty prop)
129 {

Callers 15

test.cppFile · 0.85
mainFunction · 0.85
mainFunction · 0.85
~RTCDeviceRefMethod · 0.85
RTCDeviceRefClass · 0.85
runMethod · 0.85
runMethod · 0.85
mainFunction · 0.85
device_cleanupFunction · 0.85
mainFunction · 0.85
device_cleanupFunction · 0.85
mainFunction · 0.85

Calls 1

refDecMethod · 0.80

Tested by

no test coverage detected