• Zhigang Gong's avatar
    glamor_fbo: Introduce glamor fbo to manage all the fb/tex. · 2ff41008
    Zhigang Gong authored
    This is the first patch to implement a fbo/tex pool mechanism which
    is like the sna's BO cache list. We firstly need to decopule the
    fbo/tex from each pixmap. The new glamor_pixmap_fbo data
    structure is for that purpose. It's somehow independent to each
    pixmap and can be reused latter by other pixmaps once it's detached
    from the current pixmap.
    And this commit also slightly change the way to create a
    memory pixmap. We will not create a pixmap private data structure
    by default, instead we will crete that structure when a memory
    pixmap is attaching a fbo to it.
    Signed-off-by: default avatarZhigang Gong <zhigang.gong@linux.intel.com>
glamor_render.c 44.7 KB