...
 
Commits (5)
directfb (1.7.7-7) UNRELEASED; urgency=medium
* debian/patches: Fix client->gfx_state initialisation. (LP: #1737933)
* debian/control:
- Move to salsa.debian.org.
- Bump Standards-Version.
-- Sebastian Ramacher <sramacher@debian.org> Sat, 03 Feb 2018 15:28:04 +0100
directfb (1.7.7-6) unstable; urgency=medium
[ Helmut Grohne ]
......
......@@ -6,7 +6,9 @@ Uploaders:
Build-Depends:
debhelper (>= 10),
dh-exec,
libdrm-dev,
libfreetype6-dev,
libgbm-dev,
libgl1-mesa-dev,
libgles2-mesa-dev,
libjpeg-dev,
......@@ -14,15 +16,13 @@ Build-Depends:
libx11-dev,
libxext-dev,
pkg-config,
libdrm-dev,
libgbm-dev,
x11proto-core-dev,
zlib1g-dev
Standards-Version: 4.1.0
Standards-Version: 4.1.3
Section: libs
Homepage: http://www.directfb.net
Vcs-Git: https://anonscm.debian.org/git/pkg-multimedia/directfb.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-multimedia/directfb.git
Vcs-Git: https://salsa.debian.org/multimedia-team/directfb.git
Vcs-Browser: https://salsa.debian.org/multimedia-team/directfb
Package: libdirectfb-dev
Section: libdevel
......
From: Andre McCurdy <armccurdy at gmail.com>
Date: Mon, 13 Jun 2016 13:32:44 -0700
Subject: fix client->gfx_state initialisation
Shortly before the DirectFB 1.7.7 release, an optimisation was added
to CoreGraphicsStateClient_Init() to avoid creating an extended
Graphics State object if it will not later be required:
4d422fb Client: Create extended Graphics State object when needed for later usage
Unfortunately the client->gfx_state variable used to track the
extended Graphics State object is not initialised, which can lead to
rashes etc due to creation of the Graphics State object erroneously
being skipped.
Upstream-Status: Pending
Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
---
src/core/CoreGraphicsStateClient.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/core/CoreGraphicsStateClient.cpp b/src/core/CoreGraphicsStateClient.cpp
index 5d46f0e..5007755 100644
--- a/src/core/CoreGraphicsStateClient.cpp
+++ b/src/core/CoreGraphicsStateClient.cpp
@@ -364,6 +364,7 @@ CoreGraphicsStateClient_Init( CoreGraphicsStateClient *client,
client->renderer = NULL;
client->requestor = NULL;
client->throttle = NULL;
+ client->gfx_state = NULL;
if (dfb_config->task_manager) {
if (dfb_config->call_nodirect) {
......@@ -3,3 +3,4 @@
94_fix_mknod.patch
0004-Add-missing-files-from-upstream.patch
0005-Turn-libdavinci_c64x.la-into-a-convenience-library.patch
0006-fix-client-gfx_state-initialisation.patch