Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When drawing a pixel, also the pixel above is impacted #484

Closed
woutervanh opened this issue Oct 27, 2023 · 1 comment
Closed

When drawing a pixel, also the pixel above is impacted #484

woutervanh opened this issue Oct 27, 2023 · 1 comment

Comments

@woutervanh
Copy link
Contributor

woutervanh commented Oct 27, 2023

We are running cog on a imx53, using mainline linux + freedreno / mesa.
We have an application where we need to have the output exactly as we draw it on the canvas. However there seems to be something off there. It seems that single pixels also impacts the pixel above. This is not noticeable when we take a screenshot using inspector, but is visible when we make a screenshot using weston-screenshooter. Dithering is already (hard) disabled in freedreno. We need this pixels exactly because these are interpreted by a fpga, connected via the parallel display output.

I already did some things trying to disable aliasing in webkit/cairo (as I thought that might be the culprit), but it doesn't help me out.

Does anyone has an idea?

Illustration of what I mean. Upper is as expected and exported using inspector, lower is as captured by screenshooter (and read out via fpga) Row is one pixel high:

screenshot

@woutervanh
Copy link
Contributor Author

woutervanh commented Oct 27, 2023

Opened issue with Cog itself.
Igalia/cog#636
Nevertheless, if anyone has an idea, please let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant