diff options
author | Eric Anholt <[email protected]> | 2014-02-04 12:51:11 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-02-12 16:17:11 -0800 |
commit | f29c25fc1d235d381b64f44450baf098f08e39af (patch) | |
tree | 1eea7316b1e20d1207da7924a482a8b563387db5 /src/mesa/main/light.c | |
parent | 431decf16f0971534e32ec4c6c24cbce281a06f6 (diff) |
i965: Add a driver hook for binding renderbuffers to textures.
This will let us use meta's acceleration from renderbuffers without having
to do a CopyTexImage first.
This is like what we do for TFP, but just taking an existing renderbuffer
and binding it to a texture with whatever its format was. The
implementation won't work for stencil renderbuffers, and it only does
non-texture renderbuffers (but then, if you're using a texture
renderbuffer, you can just pull the texture object/level/slice out of the
renderbuffer, anyway).
v2: Don't forget to propagate NumSamples to the teximage.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/light.c')
0 files changed, 0 insertions, 0 deletions