PC Review


Reply
Thread Tools Rate Thread

Changing the hardware acceleration settings programmatically

 
 
Jonas Wetz
Guest
Posts: n/a
 
      17th Aug 2006
Hi All,

I do not know if this is quite the appropriate newsgroup for that topic,
but maybe one of you guys can help me with that problems.

First of all a brief overview over the application I am currently
developing:

I want to stream the screen content to a high-speed USB device. One way
doing this is capturing the desktop periodically and streaming that
content to the interface. Which is not quite a problem and also already
works quite well (I am using GDI API to capture the screen, with DirectX
in terms of obtaining a pointer to the front buffer it is slow like
hell). The only thing this consumes lots of performance.

Because of that I started looking at display driver samples and also got
one very rudimentary driver up and running. It writes the video data to
a shared memory region where it can be read out by a user level application.

Currently I use the first solution.

Now speaking of the problem:

I only get displayed video when I disable the hw acceleration. Now what
I want with my application which already works obtaining the screen
content periodically and sending it out to usb is that I can disable the
HW acceleration programmatically. I know about the method changing the
"Acceleration.Level" registry key and then execute
ChangeDisplaySettings() to apply that.I already implemented that and it
works, but some graphics adapters do not have this registry key. What
should I do in that case? Is there any other way to change the
acceleration level?

I also already merged the registry settings for the graphics card after
and before disabling/enabling hw acceleration manually in the display
properties troubleshooting tab. But I did not find any changed key...

Sorry for that long story...

Thank you in advance for your thoughts on that.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Programmatically know use hardware graphics acceleration is cheked Sreejith Microsoft Powerpoint 1 14th Oct 2008 08:16 PM
hardware acceleration settings =?Utf-8?B?TWFyY2VsYQ==?= Windows Vista Hardware 6 15th Aug 2007 09:44 PM
Audio hardware acceleration settings won't stick Paul B. Windows XP Help 0 16th Feb 2006 11:48 PM
Disable Hardware Acceleration programmatically =?Utf-8?B?TWFzc2ltbyBOZWNjaGk=?= Microsoft Dot NET Framework 2 30th May 2005 02:24 PM
Programatically changing video hardware acceleration Ferruccio Barletta Microsoft Windows 2000 Developer 0 11th Jul 2003 10:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:36 PM.