Is it free just like normal memory with our resources ???
Talking about Memory used by DirectX, when we load for example bitmap into Graphic Card memory.
Posted on 2003-09-07 08:50:54 by AceEmbler
Who knows? DirectX is a Black Box of COM
I think it will be marked as "free", but will not modified, if possible.
Posted on 2003-09-07 19:34:27 by S.T.A.S.
In case you're talking about "shared memory" graphics (ie, onboard graphics "cards" like nforce/2, intel extreme graphics, ...), I do not know - I assume memory will be returned to the system, perhaps with some (bios-tunable) reserved portion.

As for normal graphics cards... it should be marked free. Not necessarily cleared, though - I have sometimes seen "ghost images" (previous backbuffer contents or whatever) when not explicitly clearing buffers.
Posted on 2003-09-08 08:26:56 by f0dder

In case you're talking about "shared memory" graphics (ie, onboard graphics "cards" like nforce/2, intel extreme graphics, ...), I do not know - I assume memory will be returned to the system, perhaps with some (bios-tunable) reserved portion.

Specially, on Intel 815G (this can take from 2Mb to 16Mb dinamically, IIRC)... On some other integrated grafics (SiS 630/650) "shared" memery has fixed size (managed by BIOS)
Posted on 2003-09-08 20:20:44 by S.T.A.S.
I think the memory on i84G goes from 256kb to 8MB... sec, let me boot my second box... ah, I can select between 512kb, 1mb, 8mb. This is the _constantly_ reserved amount of memory - more will be acquired/released as necessary when using DirectDraw/Direct3D/OpenGL/whatever. It works pretty well for a workstation, and even runs stuff like quake3 decently (not that quake3 requires very much hw acceleration, but still.)
Posted on 2003-09-09 09:10:42 by f0dder

In case you're talking about "shared memory" graphics (ie, onboard graphics "cards" like nforce/2, intel extreme graphics, ...), I do not know - I assume memory will be returned to the system, perhaps with some (bios-tunable) reserved portion.

As for normal graphics cards... it should be marked free. Not necessarily cleared, though - I have sometimes seen "ghost images" (previous backbuffer contents or whatever) when not explicitly clearing buffers.


Ya same here, I tried playing around with OpenGL and I kept seeing "ghost images" after doing the first flip on my Radeon
Posted on 2003-09-15 19:10:24 by x86asm
Is there a simple way to clear this memory ??
Posted on 2003-09-21 14:33:14 by AceEmbler
Yeah... fill your backbuffer completely before flipping :)
Posted on 2003-09-21 15:05:28 by f0dder
The fastest way to clear all memory is to switch the power off;)
Posted on 2003-10-21 03:37:13 by Vaxon
what's your problem people?

before rendering u clear backbuffer.

u dont have to clear if u render to whole viewport.

glDeleteTexture clears texture from memory (in opengl)
in directx is the same function (method) but i forgot the name.
...
never mind.

when u no longer need a texture (or object) delete it from graphic memory!

...

that should be all to it.
Posted on 2003-10-21 14:08:52 by ti_mo_n
Hey, once I booted windows (98), got back to dos, enabled unreal mode, and wrote the content of memory that stood around the vesa2.0 lfb onto the screen, and guess what? at some point I was browsing the addr space I saw my windows wallpaper!!!!!! yeah! It' NOT cleared!
Posted on 2003-10-30 10:53:44 by HeLLoWorld
why would it be? As long as you have not powered off?
Posted on 2003-10-30 11:56:43 by f0dder
yeah.

i remember that once i could recover my c64's memory after it was powered-off for 10 seconds.

depends on technilogy used to make RAM.
Posted on 2003-10-30 16:31:51 by ti_mo_n