<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>System Memory or GFX memory?</title>
		<link>http://www.allegro.cc/forums/view/618494</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sat, 04 Sep 2021 12:02:33 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I have written a Scale2x algorithm, and: or allocate memory in System Memory or GFX mem?</p><p>What is faster?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Lucas Dalmasso)</author>
		<pubDate>Wed, 01 Sep 2021 21:34:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, you could benchmark it. A simple FPS counter would work for this case.</p><p>Allegro 4 or 5?</p><p>It &quot;should&quot; be faster with memory bitmaps because VRAM has much slower access--especially exacerbated on byte-by-byte drawing [which scaling algorithms usually are]. Usually VRAM you just upload your bitmaps/textures, and then use the GPU to &quot;draw&quot; them by copying them onto the screen bitmap. Drawing pixels straight to VRAM is extremely slow.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Chris Katko)</author>
		<pubDate>Thu, 02 Sep 2021 00:47:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The fastest way would be to implement a 2x shader and use video bitmaps.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Thu, 02 Sep 2021 20:11:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>^
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Chris Katko)</author>
		<pubDate>Sat, 04 Sep 2021 12:02:33 +0000</pubDate>
	</item>
</rss>
