Summary: | Need to change pixman transparency level from 256 to 128 in a8r8g8b8 | ||
---|---|---|---|
Product: | pixman | Reporter: | ssseintr <ssseintr> |
Component: | pixman | Assignee: | Søren Sandmann Pedersen <soren.sandmann> |
Status: | RESOLVED INVALID | QA Contact: | Søren Sandmann Pedersen <soren.sandmann> |
Severity: | normal | ||
Priority: | medium | CC: | siarhei.siamashka, ssseintr |
Version: | 0.18.x | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
ssseintr
2011-01-30 22:48:58 UTC
Are you looking for a new format such as x1a7r8g8b8? If there really is hardware that does this, then adding such a format to pixman would be useful, but why doesn't that hardware simply discard the *lowest* bit of alpha instead of the highest? It is fairly easy to add support for a new format in pixman - the main piece of code you will have to change is pixman-access.c, where new functions to convert scanlines and pixels from x1a7r8g8b8 to a8r8g8b8 would be added, along with a function to store an a8r8g8b8 scanline in an x1a7r8g8b8 buffer. Any news? Feel free to reopen if you add additional information. hi, actually i'm using cairo on top of pixman(only pixman surface is supported) as my graphics engine. I want to accelerate on top of my hardware. Which one is better, either doing it on pixman or doing it on cairo..? Please guide me to do so. This is a bug tracker for the pixman project, not a way to get general support for pixman. For a bugzilla entry to be useful, it needs to contain very specific information about what the issue is with pixman. If you think there is a bug in pixman, then that makes sense as a bugzilla entry. If you think pixman should support a specific new format, then we will be happy to talk about that and/or review patches
However, general questions about how to port cairo or pixman to some piece of hardware are better asked on either the cairo or pixman mailing lists. Feel free to do that, although note that for anyone to be able to help you, they will need basic information about what kind of hardware it is, and what kind of graphics driver you are using or want to use.
Your original problem:
> Please show some way to restrict the pixman's transparency level from
> 256 to 128 so i can draw using both pixman & native.
might be solved by adding a new x1a7r8g8b8 format. You will need to write the patches yourself to add this format, though.
hi, actually i'm using cairo on top of pixman(only pixman surface is supported) as my graphics engine. I want to accelerate on top of my hardware. Which one is better, either doing it on pixman or doing it on cairo..? Currently I'm using s/w only surface by disabling all other surfaces. Please guide me to accelerate on top of h/w so i can get the jet fast graphics engine. Regards, Vicky *** Bug 35732 has been marked as a duplicate of this bug. *** There is no bug here.
> general questions about how to port cairo or pixman to some piece of
> hardware are better asked on either the cairo or pixman mailing lists. Feel
> free to do that, although note that for anyone to be able to help you, they
> will need basic information about what kind of hardware it is, and what kind of
> graphics driver you are using or want to use.
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.