13 references to _duceResource
PresentationCore (13)
System\Windows\InterOp\D3DImage.cs (13)
559if (_duceResource.IsOnChannel(mediaContext.Channel)) 683Debug.Assert(_duceResource.IsOnChannel(channel)); 686data.Handle = _duceResource.GetHandle(channel); 766Debug.Assert(!skipOnChannelCheck || _duceResource.IsOnChannel(channel)); 768if (skipOnChannelCheck || _duceResource.IsOnChannel(channel)) 778data.Handle = _duceResource.GetHandle(channel); 823if (_duceResource.CreateOrAddRefOnChannel(this, channel, System.Windows.Media.Composition.DUCE.ResourceType.TYPE_D3DIMAGE)) 837return _duceResource.GetHandle(channel); 841Debug.Assert(_duceResource.IsOnChannel(channel)); 843if (_duceResource.ReleaseOnChannel(channel)) 860return _duceResource.GetHandle(channel); 865return _duceResource.GetChannelCount(); 870return _duceResource.GetChannel(index);