aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2024-04-16 22:10:07 +0200
committerUlrich Sibiller <uli42@gmx.de>2024-05-11 18:53:27 +0200
commit5964974939e214b55d560805b7b12ca2cdfdf626 (patch)
treeec92502a460e8f2f2bdd7df11688c02a482fb898
parent911108fdca95918f2bee5dc87fa060c9a40ed64f (diff)
downloadnx-libs-5964974939e214b55d560805b7b12ca2cdfdf626.tar.gz
nx-libs-5964974939e214b55d560805b7b12ca2cdfdf626.tar.bz2
nx-libs-5964974939e214b55d560805b7b12ca2cdfdf626.zip
Render.c: add some DEBUG output
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Render.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Render.c b/nx-X11/programs/Xserver/hw/nxagent/Render.c
index 6d9fb5e90..b6f57f7ab 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Render.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Render.c
@@ -1508,6 +1508,10 @@ void nxagentGlyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
{
for (int j = 0; j < nlists; j++)
{
+ #ifdef DEBUG
+ fprintf(stderr, "%s: sizeID is [%d] - [%s]\n", __func__, sizeID, "XRenderCompositeText8");
+ #endif
+
XRenderCompositeText8(nxagentDisplay,
op,
nxagentPicturePriv(pSrc)->picture,
@@ -1528,6 +1532,10 @@ void nxagentGlyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
{
for (int j = 0; j < nlists; j++)
{
+ #ifdef DEBUG
+ fprintf(stderr, "%s: sizeID is [%d] - [%s]\n", __func__, sizeID, "XRenderCompositeText16");
+ #endif
+
XRenderCompositeText16(nxagentDisplay,
op,
nxagentPicturePriv(pSrc) -> picture,
@@ -1548,6 +1556,10 @@ void nxagentGlyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
{
for (int j = 0; j < nlists; j++)
{
+ #ifdef DEBUG
+ fprintf(stderr, "%s: sizeID is [%d] - [%s]\n", __func__, sizeID, "XRenderCompositeText32");
+ #endif
+
XRenderCompositeText32(nxagentDisplay,
op,
nxagentPicturePriv(pSrc) -> picture,
@@ -1582,6 +1594,10 @@ void nxagentGlyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
{
case 1:
{
+ #ifdef DEBUG
+ fprintf(stderr, "%s: sizeID is [%d] - [%s]\n", __func__, sizeID, "XRenderCompositeText8");
+ #endif
+
XRenderCompositeText8(nxagentDisplay,
op,
nxagentPicturePriv(pSrc)->picture,
@@ -1597,6 +1613,10 @@ void nxagentGlyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
}
case 2:
{
+ #ifdef DEBUG
+ fprintf(stderr, "%s: sizeID is [%d] - [%s]\n", __func__, sizeID, "XRenderCompositeText16");
+ #endif
+
XRenderCompositeText16(nxagentDisplay,
op,
nxagentPicturePriv(pSrc) -> picture,
@@ -1612,6 +1632,10 @@ void nxagentGlyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
}
case 4:
{
+ #ifdef DEBUG
+ fprintf(stderr, "%s: sizeID is [%d] - [%s]\n", __func__, sizeID, "XRenderCompositeText32");
+ #endif
+
XRenderCompositeText32(nxagentDisplay,
op,
nxagentPicturePriv(pSrc) -> picture,