Delete API tpl_display_get_bufmgr_fd. 97/59397/2
authorjoonbum.ko <joonbum.ko@samsung.com>
Mon, 15 Feb 2016 05:16:56 +0000 (14:16 +0900)
committerGwan-gyeong Mun <kk.moon@samsung.com>
Tue, 16 Feb 2016 02:25:09 +0000 (18:25 -0800)
Change-Id: I2617aa29b5d7716723b5f3715076453d6828e7a4

src/tpl.h
src/tpl_display.c

index 6765afc..736821e 100644 (file)
--- a/src/tpl.h
+++ b/src/tpl.h
@@ -606,19 +606,4 @@ tbm_surface_h tpl_display_get_buffer_from_native_pixmap(tpl_display_t *display,
 
 void tpl_display_wait_native(tpl_display_t *display);
 
-/* Scheduled to deprecated API */
-/**
- * Get file descriptor of the buffer manager for the given TPL display.
- *
- * There might be native buffer manager device (ex. DRM). This function exports
- * such native buffer manager for users to be able to access buffers using the
- * buffer manager. How returned buffer manager fd is used is fully dependent on
- * native platform implementation.
- *
- * @param display display to get buffer manger fd.
- * @return file descriptor handle for the buffer manager.
- * @deprecated do not use tpl_display_get_bufmgr_fd().
- */
-int tpl_display_get_bufmgr_fd(tpl_display_t *display);
-
 #endif /* TPL_H */
index 776aa3d..6b2c6cd 100644 (file)
@@ -217,18 +217,6 @@ tpl_display_wait_native(tpl_display_t *display)
        display->backend.wait_native(display);
 }
 
-int
-tpl_display_get_bufmgr_fd(tpl_display_t *display)
-{
-       if(NULL == display || TPL_TRUE != __tpl_object_is_valid(&display->base))
-       {
-               TPL_ERR("display is invalid!");
-               return -1;
-       }
-
-       return display->bufmgr_fd;
-}
-
 tpl_bool_t
 tpl_display_get_native_window_info(tpl_display_t *display, tpl_handle_t window,
                           int *width, int *height, tbm_format *format, int depth, int a_size)