@krono commented on this pull request. In platforms/iOS/vm/OSX/sqSqueakOSXMetalView.m: > + // Alawys try to fill the texture with the pixels. + if ( fullScreendispBitsIndex ) { + [self loadTexturesFrom: fullScreendispBitsIndex subRectangle: (clippyIsEmpty ? rect : NSRectFromCGRect(clippy))]; + //[self loadTexturesFrom: fullScreendispBitsIndex subRectangle: rect]; + clippyIsEmpty = YES; + syncNeeded = NO; + } + + MTLRenderPassDescriptor *renderPassDescriptor = self.currentRenderPassDescriptor; + if(renderPassDescriptor != nil && self.currentDrawable) + { + currentCommandBuffer = [graphicsCommandQueue commandBuffer]; + currentRenderEncoder = [currentCommandBuffer renderCommandEncoderWithDescriptor: renderPassDescriptor]; + + // Set the viewport. + [currentRenderEncoder setViewport: (MTLViewport){0.0, 0.0, lastFrameSize.size.width, lastFrameSize.size.height}]; Welcome to the cool world of backing scale factor. see
and the like — |
In reply to this post by David T Lewis
Hi Ben, On Thu, Jan 10, 2019 at 5:06 AM Ben Coman <[hidden email]> wrote: > Please respond... > @eliotmiranda <https://github.com/eliotmiranda>, are you satisfied with > Ronnie's commit 6e1da75 > <https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/6e1da7500a653eb906606562145a8f863e25fab4> > ? > yes > @johnmci <https://github.com/johnmci>, are you available to review as > Fabio requested? otherwise please advise us not to wait. > @fniephaus <https://github.com/fniephaus>, unless its blocking, can any > macOS version bump be done in a separate issue? > _,,,^..^,,,_ best, Eliot — |
In reply to this post by David T Lewis
@ronsaldo pushed 1 commit.
— |
In reply to this post by David T Lewis
@ronsaldo commented on this pull request. In platforms/iOS/vm/OSX/sqSqueakOSXMetalView.m: > + // Alawys try to fill the texture with the pixels. + if ( fullScreendispBitsIndex ) { + [self loadTexturesFrom: fullScreendispBitsIndex subRectangle: (clippyIsEmpty ? rect : NSRectFromCGRect(clippy))]; + //[self loadTexturesFrom: fullScreendispBitsIndex subRectangle: rect]; + clippyIsEmpty = YES; + syncNeeded = NO; + } + + MTLRenderPassDescriptor *renderPassDescriptor = self.currentRenderPassDescriptor; + if(renderPassDescriptor != nil && self.currentDrawable) + { + currentCommandBuffer = [graphicsCommandQueue commandBuffer]; + currentRenderEncoder = [currentCommandBuffer renderCommandEncoderWithDescriptor: renderPassDescriptor]; + + // Set the viewport. + [currentRenderEncoder setViewport: (MTLViewport){0.0, 0.0, lastFrameSize.size.width, lastFrameSize.size.height}]; Hi, sorry for taking too long. I was completely busy with my job. I just changed the code to use the size from the drawableSurface property, instead of the size of the window. Can you check whether this fixes the issue or not? — |
In reply to this post by David T Lewis
Merged #306 into Cog. — |
Free forum by Nabble | Edit this page |