зеркало из https://github.com/mozilla/moz-skia.git
remove dead AutoValidator
git-svn-id: http://skia.googlecode.com/svn/trunk@9729 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
caf20254f0
Коммит
ea33808d32
|
@ -461,18 +461,9 @@ private:
|
|||
|
||||
#include "SkColorPriv.h"
|
||||
|
||||
class AutoValidator {
|
||||
public:
|
||||
AutoValidator(SkDevice* device) : fDevice(device) {}
|
||||
|
||||
private:
|
||||
SkDevice* fDevice;
|
||||
};
|
||||
|
||||
////////// macros to place around the internal draw calls //////////////////
|
||||
|
||||
#define LOOPER_BEGIN_DRAWDEVICE(paint, type) \
|
||||
/* AutoValidator validator(fMCRec->fTopLayer->fDevice); */ \
|
||||
this->predrawNotify(); \
|
||||
AutoDrawLooper looper(this, paint, true); \
|
||||
while (looper.next(type)) { \
|
||||
|
@ -480,7 +471,6 @@ private:
|
|||
SkDrawIter iter(this);
|
||||
|
||||
#define LOOPER_BEGIN(paint, type) \
|
||||
/* AutoValidator validator(fMCRec->fTopLayer->fDevice); */ \
|
||||
this->predrawNotify(); \
|
||||
AutoDrawLooper looper(this, paint); \
|
||||
while (looper.next(type)) { \
|
||||
|
|
|
@ -118,8 +118,8 @@ static void TestGpuBitmapCopy(skiatest::Reporter* reporter, GrContextFactory* fa
|
|||
return;
|
||||
}
|
||||
static const Pair gPairs[] = {
|
||||
{ SkBitmap::kNo_Config, "000" },
|
||||
{ SkBitmap::kARGB_8888_Config, "011" },
|
||||
{ SkBitmap::kNo_Config, "00" },
|
||||
{ SkBitmap::kARGB_8888_Config, "01" },
|
||||
};
|
||||
|
||||
const int W = 20;
|
||||
|
|
Загрузка…
Ссылка в новой задаче