Deprecate cairo in tizen 29/317129/2 accepted/tizen_unified_dev accepted/tizen_unified_toolchain accepted/tizen/9.0/unified/20241030.232555 accepted/tizen/unified/20240911.104728 accepted/tizen/unified/20240912.084814 accepted/tizen/unified/dev/20240913.055459 accepted/tizen/unified/toolchain/20241004.102048 accepted/tizen/unified/x/20240911.084256 accepted/tizen/unified/x/asan/20241014.000450 tizen_9.0_m2_release
authorsunghyun kim <scholb.kim@samsung.com>
Wed, 4 Sep 2024 08:41:45 +0000 (17:41 +0900)
committersunghyun kim <scholb.kim@samsung.com>
Thu, 5 Sep 2024 00:14:20 +0000 (09:14 +0900)
Change-Id: Ibad1606544c318218a089360fb3744b1fd601bd9

doc/cairo-evas-gl_doc.h
src/cairo-evas-gl.h
src/cairo.h

index d029ad09a28e6f32b2d3d24b2ecba93694780d37..3522f869261ef72f26a0e5c3935d85e43cedbc9d 100755 (executable)
@@ -35,7 +35,7 @@
 #define __TIZEN_CAIRO_EVAS_GL_DOC_H__
 
 /**
- * @defgroup CAPI_CAIRO_EVAS_GL_MODULE Cairo GL
+ * @defgroup CAPI_CAIRO_EVAS_GL_MODULE Cairo GL (Deprecated)
  * @brief  Cairo GL/Evas_GL APIs are official APIs for Tizen.
  * @ingroup OPENSRC_CAIRO_FRAMEWORK
  *
index bfd93ba94f23efa129b6905e0efdd69b76a0ca25..4360563384e45c8d755aa9b49c179d55e16e5d17 100755 (executable)
@@ -80,6 +80,7 @@ typedef char GLchar;
 /* Cairo-gl API, which is Open-source, can be used at the Cairo_EvasGL backend */
 
 /**
+ * @deprecated Deprecated since 9.0.
  * @brief Create a cairo GL surface using the device as the underlying rendering system.
  *
  * @since_tizen 2.3.1
@@ -99,6 +100,7 @@ cairo_gl_surface_create (cairo_device_t *device,
                         int width, int height);
 
 /**
+ * @deprecated Deprecated since 9.0.
  * @brief Create a cairo GL surface using the texture as the render target, and the device as the underlying rendering system.\n
  *     The content must match the format of the texture\n
  *     CAIRO_CONTENT_ALPHA <-> GL_ALPHA\n
@@ -124,6 +126,7 @@ cairo_gl_surface_create_for_texture (cairo_device_t *abstract_device,
                                      int width, int height);
 
 /**
+ * @deprecated Deprecated since 9.0.
  * @brief Returns the width of given cairo surface object
  *
  * @since_tizen 2.3.1
@@ -138,6 +141,7 @@ cairo_public int
 cairo_gl_surface_get_width (cairo_surface_t *abstract_surface);
 
 /**
+ * @deprecated Deprecated since 9.0.
  * @brief Returns the height of given cairo surface object
  *
  * @since_tizen 2.3.1
@@ -152,6 +156,7 @@ cairo_public int
 cairo_gl_surface_get_height (cairo_surface_t *abstract_surface);
 
 /**
+ * @deprecated Deprecated since 9.0.
  * @brief Cairo can be used in multithreaded environment.\n
  *     By default, cairo switches out the current GL context after each draw finishes.\n
  *     This API tells cairo not to switch GL context if no other thread uses cairo for rendering.\n
@@ -168,6 +173,7 @@ cairo_gl_device_set_thread_aware (cairo_device_t    *device,
                                  cairo_bool_t           thread_aware);
 
 /**
+ * @deprecated Deprecated since 9.0.
  * @brief Creates and returns a new cairo_device structure for interface to underlying rendering system.
  *
  * @since_tizen 2.3.1
@@ -188,6 +194,7 @@ cairo_evas_gl_device_create (Evas_GL                *evas_gl,
                             Evas_GL_Context    *evas_context);
 
 /**
+ * @deprecated Deprecated since 9.0.
  * @brief Creates and returns a new cairo_surface structure for representing Evas_GL_Surface object that cairo can render to.
  *
  * @since_tizen 2.3.1
@@ -214,6 +221,7 @@ cairo_gl_surface_create_for_evas_gl (cairo_device_t *device,
                                     int                 height);
 
 /**
+ * @deprecated Deprecated since 9.0.
  * @brief Returns the underlying Evas_GL object used to create cairo device object
  *
  * @since_tizen 2.3.1
@@ -228,6 +236,7 @@ cairo_public Evas_GL *
 cairo_evas_gl_device_get_gl (cairo_device_t *device);
 
 /**
+ * @deprecated Deprecated since 9.0.
  * @brief Returns the underlying Evas_GL_Context object used to create cairo device object.
  *
  * @since_tizen 2.3.1
index c1649dbe586ead7ba23004414281e2ed4f4c1736..43121ac4f5b9d8bc704628f2b13311cf67721ab7 100644 (file)
@@ -479,6 +479,7 @@ typedef struct _cairo_rectangle_int {
 
 
 /* Functions for manipulating state objects */
+// @deprecated Deprecated since 9.0.
 cairo_public cairo_t *
 cairo_create (cairo_surface_t *target);