microdee

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: syphon IS possible with wddm and directx #5209
    microdee
    Participant

    found this http://msdn.microsoft.com/en-us/library/bb219800(v=VS.85).aspx#Sharing_Resources
    turns out when you create a surface you just have to give it a yet unused handle and put it in D3DPOOL_DEFAULT memory class. opening happens with the same function using an existing handle. if that handle is NULL the surface is private. i will test it in vvvv with textures. if it really works this simple the only task will be creating an ffgl plugin (for flexibility) what converts a dx surface to an opengl one or converts an opengl surface to a shared dx surface and find a vendor-independent solution for that.

    in reply to: syphon IS possible with wddm and directx #5207
    microdee
    Participant

    (the priviliges is required for some cross process communication, not directly for the sharing)
    maan this is busted, it’s like microsoft doesn’t want people to use it. anyway i’ll definitely go deeper into this stuff next month probably. i have an application for windows where the user interface and the output are 2 separate processes. if i could find out how to use this feature in wddm the gui wouldn’t have to do the same image processing again for the previews (shared memory was even slower) and that could solve some performance problems.

    in reply to: syphon IS possible with wddm and directx #5205
    microdee
    Participant

    however it works only in dx9 and above and win7 only and this nvidia extension could translate them to opengl applications (so ffgl plugins as well) but unfortunately i haven’t find an alternative from ati.
    well i guess if someone does an easier higher level api for this wddm stuff (so a syphon clone for windows) that will be a completely different story. i doubt microsoft will ever support opengl with this (so no ffgl flexibility in the near future for windows) 🙁

    in reply to: syphon IS possible with wddm and directx #5204
    microdee
    Participant

    wddm allows sharing resources over applications through these share handles though the link i provided is not the best example of usage of them (i’ve just got into this stuff lately) but aero’s taskbar thumbnail previews works that way (and ms provided a higher level api (in the dwm) for accessing/replacing them or creating new ones).
    http://en.wikipedia.org/wiki/Windows_Display_Driver_Model#Cross-process_sharing_of_Direct3D_surfaces
    this says also wddm has the capability to share resources so not just textures or framebuffers but vertexbuffers or complete meshes as well (i guess that works through multiple hardwares too but i’m not sure about it). it’s in the windows sdk so it should be vendor independent.
    and here’s the reference: http://msdn.microsoft.com/en-us/library/dd327290.aspx
    this whole thing is terribly documented though. it’s obscure and it seems ms doesn’t really have a robust idea about its practical usage (like syphon targeted rather vj’s and av performers and other realtime purposes ms hasn’t targeted anybody (and it doesn’t look like they will ever target the same audience as syphon)

Viewing 4 posts - 1 through 4 (of 4 total)