Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7176941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:36:36+00:00 2026-05-28T16:36:36+00:00

In my app, I have an equalizer with a visualizer behind it. The equalizer

  • 0

In my app, I have an equalizer with a visualizer behind it.

The equalizer is a series of dots which are imageviews with a path drawn between them using Quartz 2D (also with tick marks on the bottom and left to denote the frequency and gain amounts). Behind that is a visualizer done using OpenGL with a CAEAGLLayer.

The way this is set up is there is a sub view of my view controller’s main view that handles the visualizer, and above that is another subview of the main view that draws the path. Above both of them are the image views for the eq points.

What happens is, the path draws fine until a song starts and the visualizer starts to draw. It seems like it wipes out the Quartz 2D above it. Even having it call setNeedsDisplay on the view above it every time it draws is not working. Like OpenGL is given exclusive access to draw there. The UIImageView eq points however, stay visible.

Is there any way to use Quartz 2D on top of a view with a gl layer? I’d prefer not to use OpenGL to draw the path and tick marks using OpenGL because I would have to draw to either a 512×512 or 1024×1024 texture and scale it, so it would not look perfect, and I’ve already got the working Quartz code to draw everything.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T16:36:36+00:00Added an answer on May 28, 2026 at 4:36 pm

    Is there any way to use Quartz 2D on top of a view with a gl layer?

    Yes, this is explicitly supported. The docs even give details on how to optimize drawing for this configuration.

    My suspicion is that your views are actually in the wrong order and the GL view is on top. First, make sure your GL view is marked opaque (for performance, but also because it will make it more obvious if it’s in the wrong order). Then check your view ordering (check the main view’s subviews).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using AndroidFX Visualizer class in my demo app to read FFT but
I'm making an app which has a tableview and a DetailViewController. I'm using Apple's
My app have Preferences window. I open it using this code - (IBAction)openPreferences:(id)sender {
In my app have a window splitted by a QSplitter, and I need to
This is a continuation of the question here: JBoss - does app have to
I have app.config in m win application, and loggingConfiguration section (enterprise library 4.1). I
I have a command line app and have the code chdir(/var); FILE *scriptFile =
On my rails app I have a list of items (like a task list)
For my Django app I have Events, Ratings, and Users. Ratings are related to
In my app I have 2 divs, one with a long list of products

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.