Index: experimental/skpdiff/SkCLImageDiffer.h |
diff --git a/experimental/skpdiff/SkCLImageDiffer.h b/experimental/skpdiff/SkCLImageDiffer.h |
index 565b3714ee4101216887da0e4c5a25e384809752..6509392a9c3a00ffad1f96e1b6b101ebfa9a2849 100644 |
--- a/experimental/skpdiff/SkCLImageDiffer.h |
+++ b/experimental/skpdiff/SkCLImageDiffer.h |
@@ -93,20 +93,17 @@ class SkDifferentPixelsImageDiffer : public SkCLImageDiffer { |
public: |
virtual const char* getName() SK_OVERRIDE; |
virtual int queueDiff(SkBitmap* baseline, SkBitmap* test) SK_OVERRIDE; |
+ virtual void deleteDiff(int id) SK_OVERRIDE; |
virtual bool isFinished(int id) SK_OVERRIDE; |
virtual double getResult(int id) SK_OVERRIDE; |
+ virtual int getPointsOfInterestCount(int id) SK_OVERRIDE; |
+ virtual SkIPoint* getPointsOfInterest(int id) SK_OVERRIDE; |
protected: |
virtual bool onInit() SK_OVERRIDE; |
private: |
- struct QueuedDiff { |
- bool finished; |
- double result; |
- cl_mem baseline; |
- cl_mem test; |
- cl_mem resultsBuffer; |
- }; |
+ struct QueuedDiff; |
SkTDArray<QueuedDiff> fQueuedDiffs; |
cl_kernel fKernel; |