diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2010-01-18 12:11:15 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2010-01-18 14:28:13 +0800 |
commit | fda897ad71738dd76a218280fd2e635d5dcdcee1 (patch) | |
tree | 68464fd349728431c9a1175fdbf92a63829192a9 /src/gallium/state_trackers/egl_g3d/common/egl_g3d.h | |
parent | 1ed63119452396e764a0f5b11db78903a2594df1 (diff) |
st/egl_g3d: Update validate to use an attachment mask.
A validate call asks for the buffers of a native surface. Using a mask
to represent the interested buffers is more intuitive. It also rules
out corner cases such as a single attachment being listed multiple
times.
Diffstat (limited to 'src/gallium/state_trackers/egl_g3d/common/egl_g3d.h')
-rw-r--r-- | src/gallium/state_trackers/egl_g3d/common/egl_g3d.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/egl_g3d/common/egl_g3d.h b/src/gallium/state_trackers/egl_g3d/common/egl_g3d.h index 4c8b8dfe9e..1da8af495b 100644 --- a/src/gallium/state_trackers/egl_g3d/common/egl_g3d.h +++ b/src/gallium/state_trackers/egl_g3d/common/egl_g3d.h @@ -52,9 +52,7 @@ struct egl_g3d_display { struct egl_g3d_buffer { struct st_framebuffer *st_fb; - EGLint num_atts; - enum native_attachment native_atts[NUM_NATIVE_ATTACHMENTS]; - uint st_atts[NUM_NATIVE_ATTACHMENTS]; + uint attachment_mask; }; struct egl_g3d_context { |