Displaying 5 results from an estimated 5 matches for "pipe_format_r8g8b8x8_unorm".
Did you mean:
pipe_format_r8g8b8a8_unorm
2018 Nov 21
2
About Porting Android to nouveau
...developer of FydeOS. We porting ChromiumOS to amd64 and arm platforms. Now, I’m woking on porting android environment to Nvidia graphic cards. I have experience to port android to Vmware(SVGA).
I found two display formats were not supported to display in nouveau driver: PIPE_FORMAT_R8G8B8A8_UNORM, PIPE_FORMAT_R8G8B8X8_UNORM. Which are defined at nv50/nv50_formats.c line: 130,131.
C4(A, R8G8B8A8_UNORM, RGBA8_UNORM, R, G, B, A, UNORM, A8B8G8R8, IB),
F3(A, R8G8B8X8_UNORM, RGBX8_UNORM, R, G, B, xx, UNORM, A8B8G8R8, TB),
I want the last params to be “TD” or “ID” (support PIPE_BIND_DISPLAY_TARGET) , to support android. I...
2019 Feb 16
0
About Porting Android to nouveau
....
> Chromium OS is running based DRM driver. There is no X server frame work. I modified nv50/nv50_formats.c.
>
> And there also a few code related the display format:
> nv50_surface.c
> Function nv50_2d_format:
> I add:
>
> ———————————
> switch (format) {
> case PIPE_FORMAT_R8G8B8X8_UNORM:
> return G80_SURFACE_FORMAT_RGBX8_UNORM;
> break;
> case PIPE_FORMAT_R8G8B8A8_UNORM:
> return G80_SURFACE_FORMAT_RGBA8_UNORM;
> break;
> default:
> break;
> }
I don't understand why that was necessary. All 4 of RGBX8, RG...
2015 Jan 02
1
[PATCH v2] nv50: enable texture compression
On 03.01.2015 00:20, Ilia Mirkin wrote:
> On Fri, Jan 2, 2015 at 6:09 PM, Tobias Klausmann
> <tobias.johannes.klausmann at mni.thm.de> wrote:
>> We enable compression only for some supported formats
>>
>> Suggested-by: Ilia Mirkin <imirkin at alum.mit.edu>
>> Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
>> ---
2015 Jan 02
2
[PATCH v2] nv50: enable texture compression
...B:
+ case PIPE_FORMAT_B8G8R8A8_UNORM:
+ case PIPE_FORMAT_B8G8R8A8_SRGB:
+ case PIPE_FORMAT_R10G10B10A2_UNORM:
+ case PIPE_FORMAT_B10G10R10A2_UNORM:
+ case PIPE_FORMAT_R11G11B10_FLOAT:
+ case PIPE_FORMAT_B8G8R8X8_UNORM:
+ case PIPE_FORMAT_B8G8R8X8_SRGB:
+ case PIPE_FORMAT_R8G8B8X8_UNORM:
+ case PIPE_FORMAT_R8G8B8X8_SRGB:
+ /* Allow compression for these formats if desired */
+ break;
+ default:
+ compressed = false;
+ break;
+ }
switch (util_format_get_blocksizebits(mt->base.base.format)) {
case 128:
assert(...
2015 Jan 02
2
[PATCH] nv50: enable texture compression
We enable compression only for some supported formats
Suggested-by: Ilia Mirkin <imirkin at alum.mit.edu>
Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
---
src/gallium/drivers/nouveau/nv50/nv50_miptree.c | 4 ++--
src/gallium/drivers/nouveau/nv50/nv50_screen.c | 11 +++++++++--
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git