Home
last modified time | relevance | path

Searched refs:SkPipeVerb (Results 1 – 6 of 6) sorted by relevance

/external/skqp/src/pipe/
DSkPipeReader.cpp220 SkASSERT(SkPipeVerb::kSave == unpack_verb(packedVerb)); in save_handler()
225 SkASSERT(SkPipeVerb::kSaveLayer == unpack_verb(packedVerb)); in saveLayer_handler()
257 SkASSERT(SkPipeVerb::kRestore == unpack_verb(packedVerb)); in restore_handler()
262 SkASSERT(SkPipeVerb::kConcat == unpack_verb(packedVerb)); in concat_handler()
273 SkASSERT(SkPipeVerb::kClipRect == unpack_verb(packedVerb)); in clipRect_handler()
280 SkASSERT(SkPipeVerb::kClipRRect == unpack_verb(packedVerb)); in clipRRect_handler()
287 SkASSERT(SkPipeVerb::kClipPath == unpack_verb(packedVerb)); in clipPath_handler()
296 SkASSERT(SkPipeVerb::kClipRegion == unpack_verb(packedVerb)); in clipRegion_handler()
304 SkASSERT(SkPipeVerb::kDrawArc == unpack_verb(packedVerb)); in drawArc_handler()
312 SkASSERT(SkPipeVerb::kDrawAtlas == unpack_verb(packedVerb)); in drawAtlas_handler()
[all …]
DSkPipeCanvas.cpp219 fStream->write32(pack_verb(SkPipeVerb::kSave)); in willSave()
249 writer.write32(pack_verb(SkPipeVerb::kSaveLayer, extra)); in getSaveLayerStrategy()
270 fStream->write32(pack_verb(SkPipeVerb::kRestore)); in willRestore()
310 stream->write32(pack_verb(SkPipeVerb::kConcat, extra)); in do_concat()
326 fStream->write32(pack_verb(SkPipeVerb::kClipRect, ((unsigned)op << 1) | edgeStyle)); in onClipRect()
333 fStream->write32(pack_verb(SkPipeVerb::kClipRRect, ((unsigned)op << 1) | edgeStyle)); in onClipRRect()
341 writer.write32(pack_verb(SkPipeVerb::kClipPath, ((unsigned)op << 1) | edgeStyle)); in onClipPath()
349 writer.write32(pack_verb(SkPipeVerb::kClipRegion, (unsigned)op << 1)); in onClipRegion()
360 writer.write32(pack_verb(SkPipeVerb::kDrawArc, (int)useCenter)); in onDrawArc()
383 writer.write32(pack_verb(SkPipeVerb::kDrawAtlas, extra)); in onDrawAtlas()
[all …]
DSkPipeFormat.h15 enum class SkPipeVerb : uint8_t { enum
208 static inline uint32_t pack_verb(SkPipeVerb verb, unsigned extra = 0) {
215 static inline SkPipeVerb unpack_verb(uint32_t data) { in unpack_verb()
216 return (SkPipeVerb)(data >> 24); in unpack_verb()
/external/skia/src/pipe/
DSkPipeReader.cpp220 SkASSERT(SkPipeVerb::kSave == unpack_verb(packedVerb)); in save_handler()
225 SkASSERT(SkPipeVerb::kSaveLayer == unpack_verb(packedVerb)); in saveLayer_handler()
257 SkASSERT(SkPipeVerb::kRestore == unpack_verb(packedVerb)); in restore_handler()
262 SkASSERT(SkPipeVerb::kConcat == unpack_verb(packedVerb)); in concat_handler()
273 SkASSERT(SkPipeVerb::kClipRect == unpack_verb(packedVerb)); in clipRect_handler()
280 SkASSERT(SkPipeVerb::kClipRRect == unpack_verb(packedVerb)); in clipRRect_handler()
287 SkASSERT(SkPipeVerb::kClipPath == unpack_verb(packedVerb)); in clipPath_handler()
296 SkASSERT(SkPipeVerb::kClipRegion == unpack_verb(packedVerb)); in clipRegion_handler()
304 SkASSERT(SkPipeVerb::kDrawArc == unpack_verb(packedVerb)); in drawArc_handler()
312 SkASSERT(SkPipeVerb::kDrawAtlas == unpack_verb(packedVerb)); in drawAtlas_handler()
[all …]
DSkPipeCanvas.cpp219 fStream->write32(pack_verb(SkPipeVerb::kSave)); in willSave()
249 writer.write32(pack_verb(SkPipeVerb::kSaveLayer, extra)); in getSaveLayerStrategy()
270 fStream->write32(pack_verb(SkPipeVerb::kRestore)); in willRestore()
310 stream->write32(pack_verb(SkPipeVerb::kConcat, extra)); in do_concat()
326 fStream->write32(pack_verb(SkPipeVerb::kClipRect, ((unsigned)op << 1) | edgeStyle)); in onClipRect()
333 fStream->write32(pack_verb(SkPipeVerb::kClipRRect, ((unsigned)op << 1) | edgeStyle)); in onClipRRect()
341 writer.write32(pack_verb(SkPipeVerb::kClipPath, ((unsigned)op << 1) | edgeStyle)); in onClipPath()
349 writer.write32(pack_verb(SkPipeVerb::kClipRegion, (unsigned)op << 1)); in onClipRegion()
360 writer.write32(pack_verb(SkPipeVerb::kDrawArc, (int)useCenter)); in onDrawArc()
383 writer.write32(pack_verb(SkPipeVerb::kDrawAtlas, extra)); in onDrawAtlas()
[all …]
DSkPipeFormat.h15 enum class SkPipeVerb : uint8_t { enum
208 static inline uint32_t pack_verb(SkPipeVerb verb, unsigned extra = 0) {
215 static inline SkPipeVerb unpack_verb(uint32_t data) { in unpack_verb()
216 return (SkPipeVerb)(data >> 24); in unpack_verb()