|
|
1a3082 |
From 801da0dab1d2928578e9b191ee1684bcc7154081 Mon Sep 17 00:00:00 2001
|
|
|
1a3082 |
From: Pekka Paalanen <pekka.paalanen@collabora.com>
|
|
|
1a3082 |
Date: Tue, 30 Apr 2019 17:01:04 +0300
|
|
|
1a3082 |
Subject: [PATCH 02/12] cogl: Fix doc for _cogl_blit_framebuffer
|
|
|
1a3082 |
|
|
|
1a3082 |
Commit 38921701e533b7fda38a236cc45aec2ed3afef8a added explicit source and
|
|
|
1a3082 |
destination parameters. Fix the documentation to match.
|
|
|
1a3082 |
|
|
|
1a3082 |
https://gitlab.gnome.org/GNOME/mutter/merge_requests/615
|
|
|
1a3082 |
|
|
|
1a3082 |
(cherry picked from commit fc0ce11fcd997af12fc2253eeb37e03cebb5964f)
|
|
|
1a3082 |
---
|
|
|
1a3082 |
cogl/cogl/cogl-framebuffer-private.h | 6 +++---
|
|
|
1a3082 |
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
1a3082 |
|
|
|
1a3082 |
diff --git a/cogl/cogl/cogl-framebuffer-private.h b/cogl/cogl/cogl-framebuffer-private.h
|
|
|
1a3082 |
index 296788c2b..de886b64f 100644
|
|
|
1a3082 |
--- a/cogl/cogl/cogl-framebuffer-private.h
|
|
|
1a3082 |
+++ b/cogl/cogl/cogl-framebuffer-private.h
|
|
|
1a3082 |
@@ -4,6 +4,7 @@
|
|
|
1a3082 |
* A Low Level GPU Graphics and Utilities API
|
|
|
1a3082 |
*
|
|
|
1a3082 |
* Copyright (C) 2007,2008,2009 Intel Corporation.
|
|
|
1a3082 |
+ * Copyright (C) 2019 DisplayLink (UK) Ltd.
|
|
|
1a3082 |
*
|
|
|
1a3082 |
* Permission is hereby granted, free of charge, to any person
|
|
|
1a3082 |
* obtaining a copy of this software and associated documentation
|
|
|
1a3082 |
@@ -377,9 +378,8 @@ _cogl_push_framebuffers (CoglFramebuffer *draw_buffer,
|
|
|
1a3082 |
* @width: Width of region to copy
|
|
|
1a3082 |
* @height: Height of region to copy
|
|
|
1a3082 |
*
|
|
|
1a3082 |
- * This blits a region of the color buffer of the current draw buffer
|
|
|
1a3082 |
- * to the current read buffer. The draw and read buffers can be set up
|
|
|
1a3082 |
- * using _cogl_push_framebuffers(). This function should only be
|
|
|
1a3082 |
+ * This blits a region of the color buffer of the source buffer
|
|
|
1a3082 |
+ * to the destination buffer. This function should only be
|
|
|
1a3082 |
* called if the COGL_PRIVATE_FEATURE_OFFSCREEN_BLIT feature is
|
|
|
1a3082 |
* advertised. The two buffers must both be offscreen and have the
|
|
|
1a3082 |
* same format.
|
|
|
1a3082 |
--
|
|
|
1a3082 |
2.21.0
|
|
|
1a3082 |
|