Accessing VRAM from User application
Hello,
I have some queries
1. Is it possible to directly access Video RAM from User Application?
2. If not, How to read/write data directly to Video RAM ?
When searched, I found that certain IOCTLs ( like IOCTL_VIDEO_MAP_VIDEO_MEMORY ) available for Video RAM access. But It seems that these IOCTL are being used by the video driver. Can we have access to these IOCTLs and How?
Can you provide some clue as to how we can go ahead.
Regards
Sandeep
Can DirectDraw test the whole of VRAM by readuing and writing data into it?
Hello!!
Thank you for your reply.
I have one more question.
Does DirectDraw allow the application to get the whole of the VRAM or just a part of it? Can the full VRAM be tested by writing data to it and then reading it back?
Sandeep
Re: Can DirectDraw test the whole of VRAM by readuing and writing data into it?
Quote:
Originally posted by svs123
Does DirectDraw allow the application to get the whole of the VRAM or just a part of it? Can the full VRAM be tested by writing data to it and then reading it back?
DirectDraw is not meant to be used like that. DD can allocate "surfaces" and place them into VRAM -- if there is enough VRAM. And supposing that you manage to fill the entire VRAM with test values: do you realize how your screen is going to look like?