Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: free command for video memory



From: Yamagata Hiroo <hiyori13@example.com>
Message-ID: <4.3.1-J.20001106160005.00bf1408@example.com>
> At 15:54 00/11/06 +0900, you wrote:
> >Is there  a command which shows the memory usage for a video card.  All
> >I really want is to see how much memory is used, any other information
> >displayed is a bonus.
> 
> I think it's just
> 
> vertical pixels*horizontal pixels*colordepth*number of virtual screens
> 
> or some thing, isn't it? 

I think that a video card stores just the current screen, not all the
virtual screens. Window manager, which usually implements virtual screen,
should use heap memory to save virtual screens.
Therefore, a video card uses vertical pixels * horizontal pixels *
color depth.

If you use hardware accelerated OpenGL, it's much more complicated
though. (ie texture, accumulation buffer, stencil buffer, etc.)


Takeshi


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links