Index: src/utils/debugger/SkDebugCanvas.h |
=================================================================== |
--- src/utils/debugger/SkDebugCanvas.h (revision 11819) |
+++ src/utils/debugger/SkDebugCanvas.h (working copy) |
@@ -16,6 +16,8 @@ |
#include "SkTArray.h" |
#include "SkString.h" |
+class SkTexOverrideFilter; |
+ |
class SK_API SkDebugCanvas : public SkCanvas { |
public: |
SkDebugCanvas(int width, int height); |
@@ -29,6 +31,11 @@ |
void setOverdrawViz(bool overdrawViz) { fOverdrawViz = overdrawViz; } |
/** |
+ * Enable or disable texure filtering override |
+ */ |
+ void overrideTexFiltering(bool overrideTexFiltering, SkPaint::FilterLevel level); |
+ |
+ /** |
Executes all draw calls to the canvas. |
@param canvas The canvas being drawn to |
*/ |
@@ -245,9 +252,13 @@ |
SkMatrix fUserMatrix; |
SkMatrix fMatrix; |
SkIRect fClip; |
+ |
bool fOverdrawViz; |
SkDrawFilter* fOverdrawFilter; |
+ bool fOverrideTexFiltering; |
+ SkTexOverrideFilter* fTexOverrideFilter; |
+ |
/** |
Number of unmatched save() calls at any point during a draw. |
If there are any saveLayer() calls outstanding, we need to resolve |