Search found 28 matches

by yeahtuna
Wed Jul 22, 2020 6:30 am
Forum: VSTGUI
Topic: High CPU usage on macOS using COffscreenContext
Replies: 8
Views: 3486

Re: High CPU usage on macOS using COffscreenContext

Hi Arne, Putting the view in a CLayeredViewContainer did not improve performance. I'm seeing significant performance issues when using COffscreenContexts on macOS / iOS in general. Drawing with OGL is by far the most efficient, but even redrawing the entire scrolling view from scratch each time (whi...
by yeahtuna
Tue Jul 21, 2020 4:19 pm
Forum: VSTGUI
Topic: Displaying a CView over top of a COpenGLView
Replies: 2
Views: 1812

Re: Displaying a CView over top of a COpenGLView

Thanks for the quick reply.
by yeahtuna
Tue Jul 21, 2020 1:05 pm
Forum: VSTGUI
Topic: Displaying a CView over top of a COpenGLView
Replies: 2
Views: 1812

Displaying a CView over top of a COpenGLView

Is there a way to have a CView overlap a COpenGLView without the COpenGLView blocking out the CView?
by yeahtuna
Tue Jul 21, 2020 1:00 pm
Forum: VSTGUI
Topic: High CPU usage on macOS using COffscreenContext
Replies: 8
Views: 3486

Re: High CPU usage on macOS using COffscreenContext

Thank-you. I will try that.
by yeahtuna
Sat Jul 18, 2020 4:12 am
Forum: VSTGUI
Topic: High CPU usage on macOS using COffscreenContext
Replies: 8
Views: 3486

Re: High CPU usage on macOS using COffscreenContext

I'm going to go ahead and say the OpenGLView is the way to go. I cut and pasted some code from the OpenGLView example in the tests folder, and the 3D pyramid run smoothly on macOS, adding almost no additional CPU load.
by yeahtuna
Sat Jul 18, 2020 3:28 am
Forum: VSTGUI
Topic: High CPU usage on macOS using COffscreenContext
Replies: 8
Views: 3486

Re: High CPU usage on macOS using COffscreenContext

Would implementing that view as a COoenGLView help?
by yeahtuna
Sat Jul 18, 2020 12:33 am
Forum: VSTGUI
Topic: High CPU usage on macOS using COffscreenContext
Replies: 8
Views: 3486

Re: High CPU usage on macOS using COffscreenContext

Not sure if it helps, but here is how I'm creating my editor. [self.window setFrame:frame display:YES animate:YES]; NSView* view = self.window.contentView; CRect r (0, 0, view.bounds.size.width, view.bounds.size.height); [[self window] setContentAspectRatio:NSMakeSize(view.bounds.size.width, view.bo...
by yeahtuna
Sat Jul 18, 2020 12:26 am
Forum: VSTGUI
Topic: High CPU usage on macOS using COffscreenContext
Replies: 8
Views: 3486

Re: High CPU usage on macOS using COffscreenContext

After full days of optimizations and verifying that my UI is only updating the correct views, I'm still making no progress on this. I'm trying to set a breakpoint in VSTGUI_NSView_drawRect from nsviewframe.mm to see what is actually being drawn by the system, but xcode refuses to break there. Any id...
by yeahtuna
Fri Jul 17, 2020 1:28 am
Forum: VSTGUI
Topic: High CPU usage on macOS using COffscreenContext
Replies: 8
Views: 3486

High CPU usage on macOS using COffscreenContext

Hi, I'm trying to diagnose high cpu usage on macOS with vstgui 4.4. My application is standalone using the plugguieditor. The problem seems to be with a COffscreenContext that I'm using as a ring buffer for a scrolling meter. I'm attaching a pic showing the part of the UI with the scrolling meter an...
by yeahtuna
Sat Aug 18, 2018 2:29 am
Forum: VSTGUI
Topic: Errors buldding VSTGUI 4.6 (xstring_insert.h, string)
Replies: 5
Views: 2600

Re: Errors buldding VSTGUI 4.6 (xstring_insert.h, string)

Hi Arne,

Just to be clear, at this point I'm not even targeting Linux. I'm still on Windows tying to update my current projects to VSTGUI 4.6. Once I get that far, I'll look at working with Linux.