Home > Software engineering >  I want to intercept d3d interface to reduce the CPU and GPU
I want to intercept d3d interface to reduce the CPU and GPU

Time:09-21

Can now be intercepted its present get back the contents of the buffer screenshots, but now there is a thought:
1. Don't let the game application shows images,
2. Reduce the CPU and GPU resource usage (need not Sleep, custom application is already fixed frame rate of 30)
3. But can get picture from the application of
4. The application does not affect the normal logic (handling of mouse and keyboard)
I don't know can realize?

CodePudding user response:

WinAPIOverride http://jacquelin.potier.free.fr/winapioverride32/

CodePudding user response:

Don't let the game application shows a picture: create a RT and then to the above picture, do not draw on the BackBuffer for the Present operation will not be displayed on the screen, if you want to or lack of picture your RT content Copy out is not good, how to intercept API so complex

CodePudding user response:

reference P_hantom reply: 3/f
don't let the game application shows a picture: create a RT and then to the picture above, do not draw on the BackBuffer for the Present operation will not be displayed on the screen, if you want to or lack of picture your RT content Copy out is not good, how to intercept API that complicated


The said makes sense, I do not know to intercept the program source code no, so you don't need so trouble, if not intercept API methods may be used
  • Related