diff options
author | Chia-I Wu <olv@lunarg.com> | 2010-05-31 16:51:10 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2010-05-31 17:03:58 +0800 |
commit | 7ede18abac601a9cdb7be863415ee3050c591c64 (patch) | |
tree | 63dc13ab5b829a0e29bdd6b66e691fd141157aae /src/gallium/state_trackers/egl/kms/native_kms.h | |
parent | e4400a48a69ff6d24f1e98b413b0eead37882d59 (diff) |
st/egl: Update KMS backend to use resource_surface.
Diffstat (limited to 'src/gallium/state_trackers/egl/kms/native_kms.h')
-rw-r--r-- | src/gallium/state_trackers/egl/kms/native_kms.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/egl/kms/native_kms.h b/src/gallium/state_trackers/egl/kms/native_kms.h index 3b08e930c5..d69c8d38c8 100644 --- a/src/gallium/state_trackers/egl/kms/native_kms.h +++ b/src/gallium/state_trackers/egl/kms/native_kms.h @@ -35,6 +35,7 @@ #include "state_tracker/drm_api.h" #include "common/native.h" +#include "common/native_helper.h" struct kms_config; struct kms_connector; @@ -73,11 +74,12 @@ struct kms_framebuffer { struct kms_surface { struct native_surface base; - enum pipe_format color_format; struct kms_display *kdpy; + + struct resource_surface *rsurf; + enum pipe_format color_format; int width, height; - struct pipe_resource *textures[NUM_NATIVE_ATTACHMENTS]; unsigned int sequence_number; struct kms_framebuffer front_fb, back_fb; |