Solved

How do you put the whole card into windowed mode? Is there a way to do this that any card could hadle?

Posted on 2009-05-08
3
267 Views
Last Modified: 2012-05-06
How would you put a graphics card into windowed mode to allow for pixel mapping? Is there a way to do this that any card could handle?
0
Comment
Question by:deer22
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
Jens Fiederer earned 500 total points
Comment Utility
The video card itself would not be in a "windowed" mode.

Modes of the card control how video memory is mapped into pixels.

Pretty much all standard cards support the old VGA modes....
see ( http://en.wikipedia.org/wiki/VGA )

Many modern graphics cards go beyond that, and allow you to map memory locations directly to pixels (letting you have as many colors on the screen as you have pixels - that's when they talk about "16 bit" color or "32 bit" color), but the old VGA (and before that, EGA and CGA) modes mostly used a palette (CLUT) - only the "16 bit" color mode allowed each pixel to indepently specify 5 bits of each of the 3 color components.

These modes are what you see changing when you use the OS to resize screen resolution (and what happens when a full-screen game takes over your display).

"Windowed mode" is not a mode of the card, it is a mode of the OS.  It means that the user gets to pick the screen resolution using the control panel (assuming Windows), and that the OS controls display of the windows, allowing the applications to touch only their own space (there are ways to "escape" that space, but no reasonable way for one app to have a different screen resolution than another that is displayed at the same time ).   This does not let an app like a game really do all the cool things that a video card might allow it to do, so there is also a "Fullscreen" mode that gives the game full control over the display -  letting it set video card modes, do 3-d graphics, all that sort of thing - as long as "Fullscreen" mode is enabled, the OS pretty much forgets about doing display, and other apps can't use the display.

Using DirectDraw Palettes in Windowed Mode IS possible, but of limited usefulness - since changing the palette would mess up any OTHER windows that were being displayed, why not use full screen so you have the whole screen to yourself?

http://msdn.microsoft.com/en-us/library/ms893856.aspx

http://books.google.com/books?id=lRUj-nhQRu8C&pg=PA386&lpg=PA386&dq=directdraw+palette+%22windowed+mode%22&source=bl&ots=7vD64yM-0x&sig=8ZWg49GG1fqQ3yuSDpF_VAXhZso&hl=en&ei=7ZcESqfeM9fHtgf0n5DtBg&sa=X&oi=book_result&ct=result&resnum=7
0
 
LVL 23

Expert Comment

by:Jens Fiederer
Comment Utility
0
 
LVL 3

Author Closing Comment

by:deer22
Comment Utility
Thank you!
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now