• 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
CIFilter not releasing GL_FRAGMENT_PROGRAM_ARB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CIFilter not releasing GL_FRAGMENT_PROGRAM_ARB


  • Subject: CIFilter not releasing GL_FRAGMENT_PROGRAM_ARB
  • From: "Marco Hinic" <email@hidden>
  • Date: Mon, 25 Jul 2005 11:26:47 +0200


We have an application doing real-time video processing and we are
adding support for CImage filters.

Our environment is Mach-O Carbon, so we are not yet comfortable working
with Cocoa.

We are allocating a CIFilter and a CIContext using contextWithCGLContext
in a new plugin we are developing.

We are using retain when we allocate the CIFilter and CIContext and we
release them when we stop the effect.

Everything is working fine except that the opengl profiler shows that we
a leaking GL_FRAGMENT_PROGRAM_ARB when doing this and after having
launched/released a few hundreds effects the opengl driver crash.

If we just allocate the CIFilter and CIContext without using retain/
release we stop leaking GL_FRAGMENT_PROGRAM_ARB but our effect can crash
because the system seems to release the objects before we stop using them.

Currently we allocate a CIImage with imageWithTexture at each rendering time.

Are we missing something? Allocating the CIFilter/CIContext with the
retain/release seems for us not to release all resources used by the effect.



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

 Marco Hinic (email@hidden)
   ArKaos engine architect & CEO
     http://www.arkaos.net

        In cyberspace nobody knows you're a cat

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

 _______________________________________________
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: Add record to NSDictionary
  • Next by Date: newbie: "Child - Parent controls" or "Bring to front/Send to back"
  • Previous by thread: Re: Re: Threads
  • Next by thread: newbie: "Child - Parent controls" or "Bring to front/Send to back"
  • Index(es):
    • Date
    • Thread