Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-23-09, 02:05 AM   #1
dean1873
Registered User
 
Join Date: Feb 2009
Posts: 19
Lightbulb What does the 2nd argument in VdpPresentationQueueTargetCreateX11 mean?

Hi, everybody,

I am trying to display a VdpOutputSurface to the VdpPresentationQueue, then I need to call VdpPresentationQueueTargetCreateX11 to bind the screen to the queue. I got a problem to understand the 2nd argument "Drawable drawable" here. Should it been the X11 screen handle by calling XOpenDisplay()?

Is there any code sample to calling this API? Thanks a lot
dean1873 is offline   Reply With Quote
Old 03-23-09, 05:18 PM   #2
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: What does the 2nd argument in VdpPresentationQueueTargetCreateX11 mean?

It is the window or pixmap you wish to render to.

There's no explicit sample code for VDPAU. However, there are quite a few open-source players that support VDPAU now, so there are plenty of examples to read (just in case you're not familiar, at least: ffmpeg/MPlayer, MythTV, xine, XBMC, ...)
Stephen Warren is offline   Reply With Quote
Old 03-23-09, 10:42 PM   #3
dean1873
Registered User
 
Join Date: Feb 2009
Posts: 19
Default Re: What does the 2nd argument in VdpPresentationQueueTargetCreateX11 mean?

Quote:
Originally Posted by Stephen Warren View Post
It is the window or pixmap you wish to render to.

There's no explicit sample code for VDPAU. However, there are quite a few open-source players that support VDPAU now, so there are plenty of examples to read (just in case you're not familiar, at least: ffmpeg/MPlayer, MythTV, xine, XBMC, ...)
Oh, thanks a lot
dean1873 is offline   Reply With Quote
Old 03-23-09, 10:43 PM   #4
dean1873
Registered User
 
Join Date: Feb 2009
Posts: 19
Default Re: What does the 2nd argument in VdpPresentationQueueTargetCreateX11 mean?

Thanks a lot
dean1873 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kickstarter Katchup 2nd June 2012 News Archived News Items 0 06-02-12 09:40 AM
ASUS Zenbook Prime (UX21A) Review: The First of the 2nd Gen Ultrabooks News Archived News Items 0 05-22-12 06:30 PM
2nd hand Laptop wont go to microsoft XDanger Networking And Security 6 05-17-12 06:52 AM
World's first OLED TV by Samsung - Available by 2nd Half of this Year (Technorati) News Archived News Items 0 05-10-12 08:40 AM

All times are GMT -5. The time now is 08:58 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.