[mutter] cogl/pixel-buffer: Remove declaration hidden behind #if
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] cogl/pixel-buffer: Remove declaration hidden behind #if
- Date: Tue, 3 Dec 2019 19:14:08 +0000 (UTC)
commit e696f639ab0e3c7595e884e73d9d80005b2ec4a0
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Thu Nov 21 22:15:31 2019 +0100
cogl/pixel-buffer: Remove declaration hidden behind #if
Doesn't lead to anywhere, isn't used anywhere, so lets remove it.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/935
cogl/cogl/cogl-pixel-buffer.h | 31 -------------------------------
1 file changed, 31 deletions(-)
---
diff --git a/cogl/cogl/cogl-pixel-buffer.h b/cogl/cogl/cogl-pixel-buffer.h
index 3fd421fac..e53d3704b 100644
--- a/cogl/cogl/cogl-pixel-buffer.h
+++ b/cogl/cogl/cogl-pixel-buffer.h
@@ -102,37 +102,6 @@ cogl_pixel_buffer_new (CoglContext *context,
gboolean
cogl_is_pixel_buffer (void *object);
-#if 0
-/*
- * cogl_pixel_buffer_set_region:
- * @buffer: A #CoglPixelBuffer object
- * @data: pixel data to upload to @array
- * @src_width: width in pixels of the region to update
- * @src_height: height in pixels of the region to update
- * @src_rowstride: row stride in bytes of the source array
- * @dst_x: upper left destination horizontal coordinate
- * @dst_y: upper left destination vertical coordinate
- *
- * Uploads new data into a pixel array. The source data pointed by @data can
- * have a different stride than @array in which case the function will do the
- * right thing for you. For performance reasons, it is recommended for the
- * source data to have the same stride than @array.
- *
- * Return value: %TRUE if the upload succeeded, %FALSE otherwise
- *
- * Since: 1.2
- * Stability: Unstable
- */
-gboolean
-cogl_pixel_buffer_set_region (CoglPixelBuffer *buffer,
- uint8_t *data,
- unsigned int src_width,
- unsigned int src_height,
- unsigned int src_rowstride,
- unsigned int dst_x,
- unsigned int dst_y);
-#endif
-
G_END_DECLS
#endif /* __COGL_PIXEL_BUFFER_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]