| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Add a helper gallium_wrap_screen() for injecting the commonly
used extra layers into a gallium stack. Currently that's just the
trace module and identity layer, but there could be more in the
future, eg. a validation layer.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Should work correctly for all pixel formats except SRGB formats.
Generated code made much simpler by defining the pixel format as
a C structure. For example this is the generated structure for
PIPE_FORMAT_B6UG5SR5S_NORM:
union util_format_b6ug5sr5s_norm {
uint16_t value;
struct {
int r:5;
int g:5;
unsigned b:6;
} chan;
};
Not used everywhere yet because it seems compiled code is slower than
bitshift arithmetic by some misterious reason. So we should generate
bitshift arithmetic at least for the simple UNORM pixel formats.
|
| |
|
|
|
|
|
|
|
| |
Just a wrapper around os_log_message. Although it would probably make
more sense to be the other way around.
Also some comment fixes.
|
| |
|
| |
|
|
|
|
|
| |
Also replace windows kernel stream with null implementation. It was
severely limited and no easy means to test it now.
|
|
|
|
|
|
| |
I have more plans for this than mere debugging -- it will be an helper
to provide human readible representations of all gallium state for
the python state tracker.
|
|
|
|
| |
Little utility after development stabilisation, use tgsi_dump instead.
|
| |
|
|
|
|
|
|
|
| |
the llvmpipe tgsi translation is a lot more complete than what was in
gallivm so replacing the latter with the former. this is needed since
the draw llvm paths will use the same code. effectively the proven
llvmpipe code becomes gallivm.
|
| |
|
| |
|
|
|
|
| |
Simplified version of u_time.[ch]
|
| |
|
| |
|
| |
|
|
Makes integration of gallium into out of tree components much easier. No
pratical change for components in this tree,
|