<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" media="screen" href="/App_Themes/default/rss.xslt"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:evnet="http://www.mscommunities.com/rssmodule/"><channel><title>Comment Feed for GDI Limits in Windows (Coffeehouse on Channel 9)</title><atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/forums/coffeehouse/253865-gdi-limits-in-windows/rss/default.aspx" /><image><url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url><title>Comment Feed for GDI Limits in Windows (Coffeehouse on Channel 9)</title><link>http://channel9.msdn.com/forums/Coffeehouse/253865-GDI-Limits-in-Windows/</link></image><description>GDI Limits in Windows</description><link>http://channel9.msdn.com/forums/Coffeehouse/253865-GDI-Limits-in-Windows/</link><language>en-us</language><pubDate>Mon, 09 Apr 2007 17:18:41 GMT</pubDate><lastBuildDate>Mon, 09 Apr 2007 17:18:41 GMT</lastBuildDate><generator>EvNet (EvNet, Version=1.0.3608.3122, Culture=neutral, PublicKeyToken=null)</generator><item><title>Re: GDI Limits in Windows</title><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;thumbtacks2 wrote:&lt;/div&gt;&lt;div&gt;﻿I'm at the stage when I'm using display lists (and generating the glyphs in the startup section) and rendering by calling on those...not sure how the performance of that compares with using a texture instead.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br&gt;Note sure how GL implement "display lists" -- I'm not familiar w/ GL. They could employ a texture under the hood. I know that in hardware, textures has a minimum size &amp;amp; maximum size... and dimension of powers of 2. At worse, GL keeps that data in RAM &amp;amp; dump it to the graphics card when you use it, that may have perf implications for the AAA titles... Don't know if it will affect less demanding games so much.&lt;br&gt;&lt;br&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;thumbtacks2 wrote:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&amp;nbsp;I'll try that...although making a font would be interesting, I'd much rather spend my time on other things.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;Agree.... More important to get things working than working fast.&lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/Coffeehouse/253865-GDI-Limits-in-Windows/?CommentID=302616</link><pubDate>Mon, 09 Apr 2007 17:18:41 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/Coffeehouse/253865-GDI-Limits-in-Windows/?CommentID=302616</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/302616/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>thumbtacks2 wrote:﻿I'm at the stage when I'm using display lists (and generating the glyphs in the startup section) and rendering by calling on those...not sure how the performance of that compares with using a texture instead.Note sure how GL implement "display lists" -- I'm not familiar w/ GL.&amp;#8230;</evnet:previewtext><dc:creator>Minh</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/302616/Trackback.aspx</trackback:ping></item><item><title>Re: GDI Limits in Windows</title><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;Minh wrote:&lt;/div&gt;&lt;div&gt;﻿Here's why GDI font is not an issue in games. At the game start-up, you use GDI to render all the glyphs you need to a texture, then at game run-time, you render your text out of that texture.&lt;BR&gt;&lt;BR&gt;You take no performance hit &amp;amp; GDI is fast enough at start-up time that it's really insignificant.&lt;BR&gt;&lt;BR&gt;This is how font works in the DirectX SDK, and how it will work in XNA. It's just plain 'ol GDI.&lt;BR&gt;&lt;BR&gt;There are a couple of people out there that are actually converting TTF into real 3D objects for XNA though.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;Funny, I was thinking about that yesterday..."why not just dump all the characters into a bitmap (texture) and then pull what I need from that?" Right now I'm at the stage when I'm using display lists (and generating the glyphs in the startup section) and rendering by calling on those...not sure how the performance of that compares with using a texture instead. I'll try that...although making a font would be interesting, I'd much rather spend my time on other things.</description><comments></comments><link>http://channel9.msdn.com/forums/Coffeehouse/253865-GDI-Limits-in-Windows/?CommentID=302614</link><pubDate>Mon, 09 Apr 2007 17:11:33 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/Coffeehouse/253865-GDI-Limits-in-Windows/?CommentID=302614</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/302614/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Minh wrote:﻿Here's why GDI font is not an issue in games. At the game start-up, you use GDI to render all the glyphs you need to a texture, then at game run-time, you render your text out of that texture.You take no performance hit &amp;amp; GDI is fast enough at start-up time that it's really&amp;#8230;</evnet:previewtext><dc:creator>thumbtacks2</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/302614/Trackback.aspx</trackback:ping></item><item><title>Re: GDI Limits in Windows</title><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;thumbtacks2 wrote:&lt;/div&gt;&lt;div&gt;﻿But I thought a window "handle" was more or less just a &lt;strike&gt;integer value (?)&lt;/strike&gt; &lt;a href="http://en.wikipedia.org/wiki/Smart_pointer#Handles"&gt;pointer&lt;/a&gt;. But yes, I have crashed things more than once with complicated image manipulations in PaintshopPro. I do know that using GDI to render things like text in video game is a lot slower than using something like DirectX or OpenGL. I'm also running into more than one book that tells me to "make my own fonts" rather than using anything GDI related.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br&gt;Here's why GDI font is not an issue in games. At the game start-up, you use GDI to render all the glyphs you need to a texture, then at game run-time, you render your text out of that texture.&lt;br&gt;&lt;br&gt;You take no performance hit &amp;amp; GDI is fast enough at start-up time that it's really insignificant.&lt;br&gt;&lt;br&gt;This is how font works in the DirectX SDK, and how it will work in XNA. It's just plain 'ol GDI.&lt;br&gt;&lt;br&gt;There are a couple of people out there that are actually converting TTF into real 3D objects for XNA though.&lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/Coffeehouse/253865-GDI-Limits-in-Windows/?CommentID=302609</link><pubDate>Mon, 09 Apr 2007 17:01:16 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/Coffeehouse/253865-GDI-Limits-in-Windows/?CommentID=302609</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/302609/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>thumbtacks2 wrote:﻿But I thought a window "handle" was more or less just a integer value (?) pointer. But yes, I have crashed things more than once with complicated image manipulations in PaintshopPro. I do know that using GDI to render things like text in video game is a lot slower than using&amp;#8230;</evnet:previewtext><dc:creator>Minh</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/302609/Trackback.aspx</trackback:ping></item><item><title>Re: GDI Limits in Windows</title><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;DigitalDud wrote:&lt;/div&gt;&lt;div&gt;﻿Anyone know the reasoning behind why Windows has such strict limits on GDI resources?&amp;nbsp; For example, I can only create about 300 or so windows because I run out of handles and things start crashing and bugging out.&amp;nbsp; This is under Vista, in this day and age.&amp;nbsp; Given that controls (buttons, etc) also get window handles, you can easily hit the limit running a few complex applications like Photoshop, VS, Maya, etc.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;But I thought a window "handle" was more or less just a &lt;STRIKE&gt;integer value (?)&lt;/STRIKE&gt; &lt;a href="http://en.wikipedia.org/wiki/Smart_pointer#Handles"&gt;pointer&lt;/a&gt;. But yes, I have crashed things more than once with complicated image manipulations in PaintshopPro. I do know that using GDI to render things like text in video game is a lot slower than using something like DirectX or OpenGL. I'm also running into more than one book that tells me to "make my own fonts" rather than using anything GDI related.</description><comments></comments><link>http://channel9.msdn.com/forums/Coffeehouse/253865-GDI-Limits-in-Windows/?CommentID=302565</link><pubDate>Mon, 09 Apr 2007 13:56:35 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/Coffeehouse/253865-GDI-Limits-in-Windows/?CommentID=302565</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/302565/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>DigitalDud wrote:﻿Anyone know the reasoning behind why Windows has such strict limits on GDI resources?&amp;nbsp; For example, I can only create about 300 or so windows because I run out of handles and things start crashing and bugging out.&amp;nbsp; This is under Vista, in this day and age.&amp;nbsp; Given&amp;#8230;</evnet:previewtext><dc:creator>thumbtacks2</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/302565/Trackback.aspx</trackback:ping></item><item><title>Re: GDI Limits in Windows</title><description>I think Raymond &lt;a href="http://blogs.msdn.com/oldnewthing/archive/2007/03/01/1775759.aspx"&gt;said it best&lt;/a&gt;.</description><comments></comments><link>http://channel9.msdn.com/forums/Coffeehouse/253865-GDI-Limits-in-Windows/?CommentID=302548</link><pubDate>Mon, 09 Apr 2007 12:05:40 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/Coffeehouse/253865-GDI-Limits-in-Windows/?CommentID=302548</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/302548/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>I think Raymond said it best.</evnet:previewtext><dc:creator>AndyC</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/302548/Trackback.aspx</trackback:ping></item></channel></rss>