Skip to content
  • Zhigang Gong's avatar
    Classfy glamor pixmap to different types. · e3d16c9e
    Zhigang Gong authored and Emma Anholt's avatar Emma Anholt committed
    
    
    During the integration with intel driver, we introduce two
    new type of pixmap, one is TEXTURE_DRM, the other is DRM_ONLY.
    TEXTURE_DRM means we create a texture bind to the DRM buffer
    successfully. And then the texture and the external BO is
    consistent. DRM_ONLY means that we failed to create a texture
    from the external DRM BO. We need to handle those different
    types carefully, so we have to track them in the data structure.
    
    Signed-off-by: default avatarZhigang Gong <zhigang.gong@linux.intel.com>
    e3d16c9e