summaryrefslogtreecommitdiffstats
path: root/docs/MESA_release_buffers.spec
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2011-06-03 16:14:25 -0700
committerChad Versace <[email protected]>2011-06-08 10:06:40 -0700
commit89d34cfd3e7c96cefc489fbb995124e2dc4a97ec (patch)
tree93ec0fdcf52ea618cde99880ee675f4699cbd2ad /docs/MESA_release_buffers.spec
parent84294fe26ca5860c34e6541f633be4d093ab57f2 (diff)
intel: Refactor intel_update_renderbuffers()
Extract the code that queries DRI2 to obtain the DRIdrawable's buffers into intel_query_dri2_buffers_no_separate_stencil(). Extract the code that assigns the DRI buffer's DRM region to the corresponding renderbuffer into intel_process_dri2_buffer_no_separate_stencil(). Rationale --------- The next commit enables intel_update_renderbuffers() to query for separate stencil and hiz buffers. Without separating the separate-stencil and no-separate-stencil paths, intel_update_renderbuffers() degenerates into an impenetrable labyrinth of if-trees. CC: Ian Romanick <[email protected]> CC: Kristian Høgsberg <[email protected]> Acked-by: Eric Anholt <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'docs/MESA_release_buffers.spec')
0 files changed, 0 insertions, 0 deletions