diff options
author | Chad Versace <[email protected]> | 2012-07-19 09:45:14 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2012-08-07 09:30:33 -0700 |
commit | f4873babdc27f697df9f4642209eca21a02ac476 (patch) | |
tree | 48051714159e9d213b74a2e4254ac61e9e3e556c /src/mesa/program/prog_cache.c | |
parent | 4eba67285fb6b5d2dd4927e8dc4b3e2945435309 (diff) |
intel: Allocate miptree for multisample DRI2 buffers
Immediately after obtaining, with DRI2GetBuffersWithFormat, the DRM buffer
handle for a DRI2 buffer, we wrap that DRM buffer handle with a region and
a miptree. This patch additionally allocates an accompanying multisample
miptree if the DRI2 buffer is multisampled.
Since we do not yet advertise multisample GL configs, the code for
allocating the multisample miptree is currently inactive.
This patch adds the following fields to intel_mipmap_tree:
singlesample_mt
needs_downsample
and the following function stubs:
intel_miptree_downsample
intel_miptree_upsample
Reviewed-by: Eric Anholt <[email protected]>
Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_cache.c')
0 files changed, 0 insertions, 0 deletions