Menu

#20 Blurry display in MBP Retina

closed-fixed
nobody
None
2015-03-29
2013-01-24
No

The display is blurry on the Retina MacBooks.

The following diffs fix the issue:
<snip>
*** chicken-2.2b2.original/Source/FrameBufferDrawing.h 2011-11-19
10:35:41.000000000 -0800
--- chicken-2.2b2/Source/FrameBufferDrawing.h 2013-01-15
11:01:00.000000000 -0800
** printf("draw x=%f y=%f w=%f h=%f at x=%f
*** 441,451
***</snip>

#ifdef PINFO
drawRectCount++;
drawPixelCount += aRect.size.width * aRect.size.height;
#endif
!
r = aRect;
if(NSMaxX(r) >= size.width) {
r.size.width = size.width - r.origin.x;
}
if(NSMaxY(r) >= size.height) {
--- 441,452 ----

#ifdef PINFO
drawRectCount++;
drawPixelCount += aRect.size.width * aRect.size.height;
#endif
! CGContextSetInterpolationQuality([[NSGraphicsContext
currentContext] graphicsPort]
, kCGInterpolationNone);

  r = aRect;
  if(NSMaxX(r) >= size.width) {
      r.size.width = size.width - r.origin.x;
  }
  if(NSMaxY(r) >= size.height) {

Discussion

  • dustinac

    dustinac - 2013-02-01

    Thanks for suggesting the fixed. I've added what seems to be an equivalent change at a slightly different place in the code (svn revision 811). Please let me know if my version does or does not fix your problem. (I don't have a MBP Retina myself to test with.)

     
  • dustinac

    dustinac - 2015-03-29
    • status: open --> closed-fixed
    • Group: --> v1.0_(example)
     

Log in to post a comment.

MongoDB Logo MongoDB