• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Fast Screen update
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Fast Screen update


  • Subject: RE: Fast Screen update
  • From: "John Stiles" <email@hidden>
  • Date: Mon, 15 Nov 2004 15:48:03 -0800
  • Thread-topic: Fast Screen update

Title: Message
How are you drawing your graphics?
If you are making a custom NSView, you will need to rewrite the whole view to use OpenGL.
You can't really mix and match CG graphics, NS graphics and OpenGL graphics. OpenGL will definitely involve some rewriting.
 
 
-----Original Message-----
From: klee04 [mailto:email@hidden]
Sent: Monday, November 15, 2004 3:34 PM
To: John Stiles
Cc: email@hidden
Subject: RE: Fast Screen update

I am sorry to ask this, but I am new to Mac Programming.  Do you have to switch entire application to use OpenGL?  Or is there a routine to access specific OpenGL routines?

 

Thanks

 

Kanghoon Lee

 


From: John Stiles [mailto:email@hidden]
Sent: Tuesday, November 16, 2004 1:55 AM
To: klee04
Cc: email@hidden
Subject: Re: Fast Screen update

 

You could use OpenGL. It would be much faster.
If you require 10.4, you could use CoreImage. That would also be faster.
Another idea for performance: make a borderless window that's filled with solid white. Position it directly above your image. Now change the alpha of this window corresponding to how bright you want the picture to be. (If you want to turn the brightness DOWN, then fill the window with black instead of white). This is kind of cheesy but is less work than switching your entire app to use OpenGL.


On Nov 15, 2004, at 2:32 AM, klee04 wrote:

Hi,

 

Is there a way to update changes to image faster on the screen?  I tried to change brightness of a 2 MB photo image, and it is too slow.  I, however, tried another program, and it changes brightness instantaneously.  Any help would be greatly appreciated.

 

Thanks,

 

Kanghoon Lee.

 

 
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Best way to catch signals in a Cocoa app (Or should you?)
  • Next by Date: Re: Focus ring changed
  • Previous by thread: Re: Fast Screen update
  • Next by thread: NSOutlineView - edit one item without editing the next item
  • Index(es):
    • Date
    • Thread