New topic: 

Cocoa: Push Button : Default=True causes discrete GPU

<http://forums.realsoftware.com/viewtopic.php?t=47870>

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        tomis          Post subject: Cocoa: Push Button : Default=True 
causes discrete GPUPosted: Mon May 13, 2013 7:26 pm                             
    
Joined: Thu Jul 27, 2006 6:31 pm
Posts: 1685
Location: Monterey, CA                (I'd report this via the Feedback.app, 
but it's refusing my login even though I can login just fine on 
RealSoftware.com)

Bug Report:
When compiling as Cocoa, PushButtons with Default property set to true cause 
the Discrete GPU to be used. This wastes battery, and should not be happening.

Hardware & Software:
MacBook Pro w/ Integrated & Dedicated GPUs
Real Studio 2012r2.1
OS X 10.8.3
(3rd party) gfxCardStatus 2.3

Steps to Reproduce:

1. Instal gfxCardStatus so you can monitor the GPU state.
2. Quit any programs currently causing the discrete GPU to be used.

The Project:
1. Create a new project in Real Studio.
2. Under build settings, check Cocoa.
3. Add a PushButton to the main window
4. Build and Run, or Debug
5. Note that gfxCardStatus indicates no change in GPU. 
6. Quit the demo app.

1. Return to the project. Set the PushButton's "Default" property to true.
2. Build and Run, or Debug
3. Note that gfxCardStatus indicates the GPU switching from Integrated to 
Discrete

---------------------

If anyone else can duplicate this, please let me know here and file a bug 
report via the Feedback.app

Thanks.      
_________________
ImagePlay Effects Library (40+ image effects in one open source module. No 
plugins, no dependencies, no restrictions.)
http://imageplay.sourceforge.net/  
                             Top                rowlands          Post subject: 
Re: Cocoa: Push Button : Default=True causes discrete GPUPosted: Mon May 13, 
2013 11:03 pm                                 
Joined: Fri Sep 30, 2005 11:00 am
Posts: 579
Location: Beautiful Taiwan                Can you confirm this with a Obj-C 
app, basically are you sure it's RS or is it the Cocoa framework? Do you have 
any animation on the window that might be causing the button to invalidate 
unnecessarily?      
_________________
Sam Rowlands
rMBP 15" @ 10.8 & '08 MBA 13" @ 10.6 + 10.7, RB2012
http://www.ohanaware.com/
AppWrapper - Prepare Apps for Mac App Store & OS X 10.8 - 
http://www.ohanaware.com/appwrapper/  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to