Accessibility zoom pixelate sooner than show pixel grid

as it happens, I’m not using accessibility feature for literal accessibility, my eyesight is good enough. zooming in at the cursor is useful for development: to inspect some ui element closer up, pick colors more easily, or even to draw someone elese’s attention during a discussion.

I love the configurable threshold for pixel grid, and I want the grid way sooner than the default. It’s nice for counting pixels without pasting screenshots into image editor. but what I have also realized is I don’t really need the grid itself, I need the nearest neighbor filtering that the grid bring with it. the zoom scaling keeps pixels bilineraly filtered for waay too long. and at around 4x or 6x the grid looks weird as well, it’s irregular somehow. so we have very poorly interpolated subpixels, or bad grid, and nothing in between.

my idea is to start using either nearest neighbor (pixelated) interpolation way sooner, make the threshold configurable, or use some other better interpolation/scaling for 2x+ zoom.

for my use case, always pixelated or configurable threshold for pixelation would work just fine.

screenshot pasted and 6x scaled in gimp, what I want:

screenshot of what the zoom feature gives me at roughly the same scale instead:

screenshot of the grid also at roughly 6x:


the good grid at even higher magnification: