summaryrefslogtreecommitdiff
path: root/glamor/glamor_priv.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-06-16 07:01:28 +0100
committerEric Anholt <eric@anholt.net>2014-07-17 17:35:42 -0700
commit98155bd9d9b2a15a4dbcf80b2b57a7636efb14da (patch)
treea569d9eadf53a711534616e8d6ad34b523fc2609 /glamor/glamor_priv.h
parentb6181007de357da58125e022992f165b10eda65d (diff)
glamor: Drop dead glamor_download_pixmap_to_cpu()
Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'glamor/glamor_priv.h')
-rw-r--r--glamor/glamor_priv.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h
index 24f8674a2..17406abdc 100644
--- a/glamor/glamor_priv.h
+++ b/glamor/glamor_priv.h
@@ -789,21 +789,6 @@ void
glamor_put_vbo_space(ScreenPtr screen);
/**
- * Download a pixmap's texture to cpu memory. If success,
- * One copy of current pixmap's texture will be put into
- * the pixmap->devPrivate.ptr. Will use pbo to map to
- * the pointer if possible.
- * The pixmap must be a gl texture pixmap. gl_fbo must be GLAMOR_FBO_NORMAL and
- * gl_tex must be 1. Used by glamor_prepare_access.
- *
- */
-Bool glamor_download_pixmap_to_cpu(PixmapPtr pixmap, glamor_access_t access);
-
-void *glamor_download_sub_pixmap_to_cpu(PixmapPtr pixmap, int x, int y, int w,
- int h, int stride, void *bits, int pbo,
- glamor_access_t access);
-
-/**
* Restore a pixmap's data which is downloaded by
* glamor_download_pixmap_to_cpu to its original
* gl texture. Used by glamor_finish_access.