![]() |
|
[C] Getting data from RAW GPU buffer - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [C] Getting data from RAW GPU buffer (/showthread.php?tid=6045556) |
Getting data from RAW GPU buffer - ShallowME - Jan 31, 2020 Is it possible to get the RAW pixel data from the GPU buffer directly? Possibly involving someway with DirectX? RE: Getting data from RAW GPU buffer - akali - Jan 31, 2020 (Jan 31, 2020 07:29 AM)ShallowME Wrote: Is it possible to get the RAW pixel data from the GPU buffer directly? It would depend on the context of the buffer. If you are using direct3d it would have its own buffer and backbuffer to be drawn. So you can access individual buffers of processes if you do something like a present hook. If you want the OS gpu buffer you might have to hook a process responsible for drawing your desktop or probably at the driver level. RE: Getting data from RAW GPU buffer - ShallowME - Jan 31, 2020 I won't go as far as hooking at Ring0. If I can hook the window to receive the buffer data directly? Subclassing doesn't help as DirectX directly bypasses the front buffer and I guess it communicates with the display driver to bypass any GDI rendering in graphic intensive applications? RE: Getting data from RAW GPU buffer - akali - Feb 1, 2020 Yes I'm not sure what you're trying to grab from the buffers. But if it's from a specific process rendering through direct3d, then you can inject and hook d3d functions to get access to the buffer. RE: Getting data from RAW GPU buffer - ShallowME - Feb 1, 2020 (Feb 1, 2020 06:22 AM)akali Wrote: Yes I'm not sure what you're trying to grab from the buffers. But if it's from a specific process rendering through direct3d, then you can inject and hook d3d functions to get access to the buffer.It's actually DWM that I am trying to get the buffer from. RE: Getting data from RAW GPU buffer - m1n0r1tyrep0rt - Feb 1, 2020 Rather than asking such an abstract question, the better way, to ask this is to state what are you trying to achieve (from the high level). You are talking about very low level detail. So lets move it up a notch, what higher problem are trying to achieve here? |