[cairo] [PATCH] [gl] Add shader support code for GL versions < 3.0.
chris at chris-wilson.co.uk
Thu Jan 14 15:27:24 PST 2010
On Thu, 14 Jan 2010 17:01:09 -0600, Zach Laine <whatwasthataddress at gmail.com> wrote:
> Ok. But the existence of more complicated cases don't mean that
> simpler cases shouldn't be implemented by simpler shaders, right?
Absolutely, and that's going to be the major task of the shader will be to
generate the best program for the given task on the hardware - trading
various parameters such as state changes, cache size, execution speed,
reusablitiy, etc. Profiling may indicate a static set which may benefit
from pre-compilation and direct lookup... The first task is to reach a
point where we can avoid fixed-function on capable hardware. Sources close
to me suggest that performance might be acceptable once we reach that
goal. (Or at least more tractable for the driver developers.)
Chris Wilson, Intel Open Source Technology Centre
More information about the cairo