summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/directx/dx_9rm.cxx8
-rw-r--r--canvas/source/directx/dx_bitmap.cxx8
-rw-r--r--canvas/source/directx/dx_spritecanvashelper.cxx14
-rw-r--r--canvas/source/directx/dx_surfacebitmap.cxx27
-rw-r--r--canvas/source/directx/dx_surfacebitmap.hxx3
5 files changed, 0 insertions, 60 deletions
diff --git a/canvas/source/directx/dx_9rm.cxx b/canvas/source/directx/dx_9rm.cxx
index 197f0a93e740..e84d6d822310 100644
--- a/canvas/source/directx/dx_9rm.cxx
+++ b/canvas/source/directx/dx_9rm.cxx
@@ -58,14 +58,6 @@
// has 3 vertices)
-#if defined(DX_DEBUG_IMAGES)
-# if OSL_DEBUG_LEVEL > 0
-# include <imdebug.h>
-# undef min
-# undef max
-# endif
-#endif
-
using namespace ::com::sun::star;
diff --git a/canvas/source/directx/dx_bitmap.cxx b/canvas/source/directx/dx_bitmap.cxx
index 3f5672101965..a5561b79cdbd 100644
--- a/canvas/source/directx/dx_bitmap.cxx
+++ b/canvas/source/directx/dx_bitmap.cxx
@@ -27,14 +27,6 @@
#include "dx_graphicsprovider.hxx"
#include "dx_impltools.hxx"
-#if defined(DX_DEBUG_IMAGES)
-# if OSL_DEBUG_LEVEL > 0
-# include <imdebug.h>
-# undef min
-# undef max
-# endif
-#endif
-
using namespace ::com::sun::star;
namespace dxcanvas
diff --git a/canvas/source/directx/dx_spritecanvashelper.cxx b/canvas/source/directx/dx_spritecanvashelper.cxx
index ff485e73c8e7..9508fc7bbd0b 100644
--- a/canvas/source/directx/dx_spritecanvashelper.cxx
+++ b/canvas/source/directx/dx_spritecanvashelper.cxx
@@ -32,14 +32,6 @@
#include "dx_canvascustomsprite.hxx"
#include "dx_spritecanvashelper.hxx"
-#if defined(DX_DEBUG_IMAGES)
-# if OSL_DEBUG_LEVEL > 0
-# include <imdebug.h>
-# undef min
-# undef max
-# endif
-#endif
-
using namespace ::com::sun::star;
namespace dxcanvas
@@ -181,12 +173,6 @@ namespace dxcanvas
return false; // disposed, or otherwise dysfunctional
}
-#if defined(DX_DEBUG_IMAGES)
-# if OSL_DEBUG_LEVEL > 0
- mpBackBuffer->imageDebugger();
-# endif
-#endif
-
// store current output area (need to tunnel that to the
// background, scroll, opaque and general sprite repaint
// routines)
diff --git a/canvas/source/directx/dx_surfacebitmap.cxx b/canvas/source/directx/dx_surfacebitmap.cxx
index e5d827f439ac..cf6e1ae20754 100644
--- a/canvas/source/directx/dx_surfacebitmap.cxx
+++ b/canvas/source/directx/dx_surfacebitmap.cxx
@@ -30,15 +30,6 @@
#include "dx_surfacebitmap.hxx"
#include "dx_surfacegraphics.hxx"
-
-#if defined(DX_DEBUG_IMAGES)
-# if OSL_DEBUG_LEVEL > 0
-# include <imdebug.h>
-# undef min
-# undef max
-# endif
-#endif
-
using namespace ::com::sun::star;
namespace dxcanvas
@@ -418,24 +409,6 @@ namespace dxcanvas
}
- // DXSurfaceBitmap::imageDebugger
-
-#if defined(DX_DEBUG_IMAGES)
-# if OSL_DEBUG_LEVEL > 0
- void DXSurfaceBitmap::imageDebugger()
- {
- D3DLOCKED_RECT aLockedRect;
- if( FAILED(mpSurface->LockRect(&aLockedRect,NULL,D3DLOCK_NOSYSLOCK|D3DLOCK_READONLY)) )
- return;
-
- imdebug("bgra w=%d h=%d %p", maSize.getX(),
- maSize.getY(), aLockedRect.pBits);
- mpSurface->UnlockRect();
- }
-# endif
-#endif
-
-
// DXSurfaceBitmap::getData
diff --git a/canvas/source/directx/dx_surfacebitmap.hxx b/canvas/source/directx/dx_surfacebitmap.hxx
index 37ae55f75fe9..6d1744efda73 100644
--- a/canvas/source/directx/dx_surfacebitmap.hxx
+++ b/canvas/source/directx/dx_surfacebitmap.hxx
@@ -82,9 +82,6 @@ namespace dxcanvas
css::rendering::IntegerBitmapLayout& bitmapLayout,
const css::geometry::IntegerPoint2D& pos );
-#ifdef DX_DEBUG_IMAGES
- void imageDebugger();
-#endif
private:
void init();