Julijan Nikolic

Results 45 comments of Julijan Nikolic

Just set the delegate for OpenGL too self.pixelFormat = pPixelFormat; self.openGLContext = pGLContext; self.wantsBestResolutionOpenGLSurface = YES; self.layer.delegate = self;

It works here. UpdateLayer is called for OpenGL too.

Not sure what you have changed but I just added self.layer.delegate = self; that fixed the issue, and GUI is redrawing fine.

If he is referring to the laggy resizing, this is happening because updatelayer is calling render too many times when resizing.

Little bug fix: https://github.com/Youlean/iPlug2-Youlean/commit/65c55cd2c0c858437d6080ecd8e5ef877f8363d0

Yes, this will allow us to turn off AA. There might be some cases where that is really important like if you want to fill paths one next to another....

You are right I could use multi-line path (or two triangles paths), however, that won't be possible if I want to fill 2 paths with different colors.

@AlexHarker Option to change AA won't mess anything. Disabling AA is present in all 2D graphics engines and it is there for a reason. Not sure why it is such...

BTW, was working on the fix for 2 days, but I couldn't figure it out.

It seems that there are 2 problems with fonts: 1. Font size 2. Font vertical position **1. Problem** https://github.com/iPlug2/iPlug2/blob/546d024896c5b3faf098cef69ef15c1bf2e5b250/IGraphics/Drawing/IGraphicsCairo.cpp#L495 I don't think we should multiply font size by EM ratio....