Lines Matching full:state
92 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kARGB_8888_Config); \
93 SkASSERT(state.fAlphaScale == 256)
104 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kARGB_8888_Config); \
105 SkASSERT(state.fAlphaScale < 256)
106 #define PREAMBLE(state) unsigned alphaScale = state.fAlphaScale
123 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kRGB_565_Config); \
124 SkASSERT(state.fAlphaScale == 256)
139 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kRGB_565_Config); \
140 SkASSERT(state.fAlphaScale < 256)
141 #define PREAMBLE(state) unsigned alphaScale = state.fAlphaScale
154 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kIndex8_Config); \
155 SkASSERT(state.fAlphaScale == 256)
156 #define PREAMBLE(state) const SkPMColor* SK_RESTRICT table = state.fBitmap->getColorTable()->lockColors()
159 #define POSTAMBLE(state) state.fBitmap->getColorTable()->unlockColors(false)
168 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kIndex8_Config); \
169 SkASSERT(state.fAlphaScale < 256)
170 #define PREAMBLE(state) unsigned alphaScale = state.fAlphaScale; \
171 const SkPMColor* SK_RESTRICT table = state.fBitmap->getColorTable()->lockColors()
174 #define POSTAMBLE(state) state.fBitmap->getColorTable()->unlockColors(false)
185 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kARGB_4444_Config); \
186 SkASSERT(state.fAlphaScale == 256)
201 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kARGB_4444_Config); \
202 SkASSERT(state.fAlphaScale < 256)
203 #define PREAMBLE(state) unsigned alphaScale = state.fAlphaScale
220 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kA8_Config); \
221 SkASSERT(state.fAlphaScale == 256)
222 #define PREAMBLE(state) const SkPMColor pmColor = state.fPaintPMColor;
246 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kARGB_8888_Config); \
247 SkASSERT(state.fBitmap->isOpaque())
264 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kRGB_565_Config)
281 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kIndex8_Config); \
282 SkASSERT(state.fBitmap->isOpaque())
283 #define PREAMBLE(state) const uint16_t* SK_RESTRICT table = state.fBitmap->getColorTable()->lock16BitCache()
286 #define POSTAMBLE(state) state.fBitmap->getColorTable()->unlock16BitCache()
309 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kRGB_565_Config)
322 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kRGB_565_Config)
337 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kIndex8_Config)
338 #define PREAMBLE(state) const SkPMColor* SK_RESTRICT table = state.fBitmap->getColorTable()->lockColors()
340 #define POSTAMBLE(state) state.fBitmap->getColorTable()->unlockColors(false)