cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

chtan
Journeyman III

request for DOPP edge blending sample code

Jump to solution

Hi AMD,

is there any edge blending sample code available for sharing?

thanks.

Tags (3)
0 Likes
1 Solution

Accepted Solutions
chm
Staff
Staff

Re: request for DOPP edge blending sample code

Jump to solution

Hi Benjamin,

with DOPP your application gets access to a so called Desktop Texture which represents the current desktop as it was created by the OS and to a Present Texture that will be sent to the OS to be displayed as desktop. As you can see in the edge blending sample you can generate the present texture using a shader that can do blending. If you need to blend you will have to define the overlap regions in the Catalyst Control Center. In this case the present Texture will be larger than the Desktop Texture and you can fill up the overlap zones. Please check http://developer.amd.com/tools-and-sdks/graphics-development/firepro-sdk/dopp/ for some illustration on this.

To clone the Desktop on a smaller display you can use the Desktop Texture and e.g. create a full screen window on your smaller display. Then your application can render a screen aligned quad textured with the Desktop texture to the full screen window. It is up to you to make sure the aspect ratio remains correct.

The Desktop Texture or a copy of it can be used directly to feed the H 264 encoding engine (VCE) to generate a H 264 stream. Please check the details on the Media SDK http://developer.amd.com/tools-and-sdks/media-sdk/#downloads

Chris

View solution in original post

0 Likes
4 Replies
chtan
Journeyman III

Re: request for DOPP edge blending sample code

Jump to solution

*developer environment: windows 7/8

0 Likes
chm
Staff
Staff

Re: Re: request for DOPP edge blending sample code

Jump to solution

Hi,

please find some basic edge blending sample attached. You will need to configure the overlap between the displays using the Catalyst Control Center. The sample will read the overlap configuration and use DOPP to generate a present texture with blending areas. If an overlap is configured the desktop texture is smaller than the present texture since the desktop texture takes into account the overlap while the present texture does not. It is up to the DOPP application to duplicate and process the blending zone when rendering into the present texture.

Please see http://developer.amd.com/tools-and-sdks/graphics-development/firepro-sdk/dopp/ for some illustration.

Chris


ben
Journeyman III

Re: Re: request for DOPP edge blending sample code

Jump to solution

I need to get a better understanding of the capabilities, limitations, and implementation of DOPP on a W9100 (or possibly a W9000) for a 4 projector setup to a flat wall edge blending application along with mirror of that 4 projector output on a smaller 21:9 display like the LG 34UM67-P display and creating an H.264 stream. chm

Thank you!

-Benjamin

0 Likes
chm
Staff
Staff

Re: request for DOPP edge blending sample code

Jump to solution

Hi Benjamin,

with DOPP your application gets access to a so called Desktop Texture which represents the current desktop as it was created by the OS and to a Present Texture that will be sent to the OS to be displayed as desktop. As you can see in the edge blending sample you can generate the present texture using a shader that can do blending. If you need to blend you will have to define the overlap regions in the Catalyst Control Center. In this case the present Texture will be larger than the Desktop Texture and you can fill up the overlap zones. Please check http://developer.amd.com/tools-and-sdks/graphics-development/firepro-sdk/dopp/ for some illustration on this.

To clone the Desktop on a smaller display you can use the Desktop Texture and e.g. create a full screen window on your smaller display. Then your application can render a screen aligned quad textured with the Desktop texture to the full screen window. It is up to you to make sure the aspect ratio remains correct.

The Desktop Texture or a copy of it can be used directly to feed the H 264 encoding engine (VCE) to generate a H 264 stream. Please check the details on the Media SDK http://developer.amd.com/tools-and-sdks/media-sdk/#downloads

Chris

View solution in original post

0 Likes