26 references to _duceResource
PresentationCore (26)
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (10)
1019
if (
_duceResource
.CreateOrAddRefOnChannel(this, channel, DUCE.ResourceType.TYPE_BITMAPSOURCE))
1024
return
_duceResource
.GetHandle(channel);
1038
return
_duceResource
.GetChannelCount();
1048
return
_duceResource
.GetChannel(index);
1070
Debug.Assert(!skipOnChannelCheck ||
_duceResource
.IsOnChannel(channel));
1072
if (skipOnChannelCheck ||
_duceResource
.IsOnChannel(channel))
1078
_duceResource
.GetHandle(channel),
1107
Debug.Assert(
_duceResource
.IsOnChannel(channel));
1109
_duceResource
.ReleaseOnChannel(channel);
1123
return
_duceResource
.GetHandle(channel);
Core\CSharp\System\Windows\Media\Imaging\InteropBitmapSource.cs (3)
380
for (int i = 0, numChannels =
_duceResource
.GetChannelCount(); i < numChannels; ++i)
382
DUCE.Channel channel =
_duceResource
.GetChannel(i);
386
data.Handle =
_duceResource
.GetHandle(channel);
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (13)
714
int channelCount =
_duceResource
.GetChannelCount();
718
DUCE.Channel channel =
_duceResource
.GetChannel(i);
724
uint refCount =
_duceResource
.GetRefCountOnChannel(channel);
1360
if (
_duceResource
.CreateOrAddRefOnChannel(this, channel, DUCE.ResourceType.TYPE_DOUBLEBUFFEREDBITMAP))
1379
return
_duceResource
.GetHandle(channel);
1384
Debug.Assert(
_duceResource
.IsOnChannel(channel));
1386
if (
_duceResource
.ReleaseOnChannel(channel))
1433
Debug.Assert(!skipOnChannelCheck ||
_duceResource
.IsOnChannel(channel));
1435
if (skipOnChannelCheck ||
_duceResource
.IsOnChannel(channel))
1439
command.Handle =
_duceResource
.GetHandle(channel);
1469
if (
_duceResource
.IsOnChannel(mediaContext.Channel))
1516
Debug.Assert(
_duceResource
.IsOnChannel(channel)); // How else are we here?
1541
command.Handle =
_duceResource
.GetHandle(channel);