glamor: Drop dead glamor_restore_pixmap_to_texture().
Unused since the glamor_prepare.c replacement of glamor_finish_access(). Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
98155bd9d9
commit
b5f94df319
|
@ -1064,13 +1064,6 @@ glamor_upload_pixmap_to_texture(PixmapPtr pixmap)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
glamor_restore_pixmap_to_texture(PixmapPtr pixmap)
|
|
||||||
{
|
|
||||||
if (glamor_upload_pixmap_to_texture(pixmap) != GLAMOR_UPLOAD_DONE)
|
|
||||||
LogMessage(X_WARNING, "Failed to restore pixmap to texture.\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* as gles2 only support a very small set of color format and
|
* as gles2 only support a very small set of color format and
|
||||||
* type when do glReadPixel,
|
* type when do glReadPixel,
|
||||||
|
|
|
@ -788,16 +788,6 @@ glamor_get_vbo_space(ScreenPtr screen, unsigned size, char **vbo_offset);
|
||||||
void
|
void
|
||||||
glamor_put_vbo_space(ScreenPtr screen);
|
glamor_put_vbo_space(ScreenPtr screen);
|
||||||
|
|
||||||
/**
|
|
||||||
* Restore a pixmap's data which is downloaded by
|
|
||||||
* glamor_download_pixmap_to_cpu to its original
|
|
||||||
* gl texture. Used by glamor_finish_access.
|
|
||||||
*
|
|
||||||
* The pixmap must originally be a texture -- gl_fbo must be
|
|
||||||
* GLAMOR_FBO_NORMAL.
|
|
||||||
**/
|
|
||||||
void glamor_restore_pixmap_to_texture(PixmapPtr pixmap);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* According to the flag,
|
* According to the flag,
|
||||||
* if the flag is GLAMOR_CREATE_FBO_NO_FBO then just ensure
|
* if the flag is GLAMOR_CREATE_FBO_NO_FBO then just ensure
|
||||||
|
|
Loading…
Reference in New Issue