Home
last modified time | relevance | path

Searched refs:newAGLChannel (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/modules/video_render/mac/
Dvideo_render_agl.cc780 VideoChannelAGL* newAGLChannel = new VideoChannelAGL(_aglContext, _id, this); in CreateAGLChannel() local
782 if (newAGLChannel->SetStreamSettings(0, startWidth, startHeight, stopWidth, stopHeight) == -1) in CreateAGLChannel()
784 if (newAGLChannel) in CreateAGLChannel()
786 delete newAGLChannel; in CreateAGLChannel()
787 newAGLChannel = NULL; in CreateAGLChannel()
795 _aglChannels[channel] = newAGLChannel; in CreateAGLChannel()
799 return newAGLChannel; in CreateAGLChannel()
Dvideo_render_nsopengl.mm747 VideoChannelNSOpenGL* newAGLChannel = new VideoChannelNSOpenGL(_nsglContext, _id, this);
748 if (newAGLChannel->SetStreamSettings(0, startWidth, startHeight, stopWidth, stopHeight) == -1)
750 if (newAGLChannel)
752 delete newAGLChannel;
753 newAGLChannel = NULL;
759 _nsglChannels[channel] = newAGLChannel;
764 return newAGLChannel;