Kaydet (Commit) d4482167 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

remove imgdebug

imgdbug.h ins included in canvs under some debugging flags
but that header comes from
http://billbaxter.com/projects/imdebug/
and is nowhere to be found in our source. the original project
has been dead for a long while.. the last 'news' was that it was
migrating to the now defunc 'berlios' hosting site.

Change-Id: Idd030164f4ef0b28973530df69323cb952e99169
Reviewed-on: https://gerrit.libreoffice.org/17655Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNorbert Thiebaud <nthiebaud@gmail.com>
üst 0592da19
......@@ -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;
......
......@@ -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
......
......@@ -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)
......
......@@ -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
......
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment