I’m wondering if someone can help with this or has had a similar problem. I am trying to make a basic game in WP7 using Silverlight and I can’t get the GPU acceleration to kick in.
The frame rate counters are visible which would indicate the GPU is being used, directx versions is 10 and directx driver versions is WDDM 1.1.
I’ve tried cutting the code right back to something simple like:
<Canvas x:Name="LayoutRoot" CacheMode="BitmapCache">
<Rectangle x:Name="test" Fill="Green" Width="100" Height="100" Canvas.Left="50" Canvas.Top="200" CacheMode="BitmapCache" />
</Canvas>
and the rectangle still has the blue tint to it indicating it is not being GPU accelerated.
Any ideas why this may be?
Thanks for your time
Are you sure you got the idea right?
Why did you add CacheMode=”BitmapCache” to these objects? I would add this only to the object that uses animation based on callbacks updates. Other animations (storyboards animations) uses caching by default as well as ScrollViewer, Listbox etc.