Home
last modified time | relevance | path

Searched refs:fReader (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/core/
DSkOrderedReadBuffer.cpp27 fReader.setMemory(data, size); in SkOrderedReadBuffer()
44 fReader.setMemory(fMemoryPtr, length); in SkOrderedReadBuffer()
62 return fReader.readBool(); in readBool()
66 return fReader.readInt(); in readColor()
70 return fReader.readS32(); in readFixed()
74 return fReader.readInt(); in readInt()
78 return fReader.readScalar(); in readScalar()
82 return fReader.readU32(); in readUInt()
86 return fReader.readInt(); in read32()
90 const char* string = fReader.readString(); in readString()
[all …]
DSkOrderedReadBuffer.h29 SkReader32* getReader32() { return &fReader; } in getReader32()
31 uint32_t size() { return fReader.size(); } in size()
32 uint32_t offset() { return fReader.offset(); } in offset()
33 bool eof() { return fReader.eof(); } in eof()
34 const void* skip(size_t size) { return fReader.skip(size); } in skip()
111 SkReader32 fReader;
DSkPicturePlayback.cpp1235 const SkRect* rect = fReader.skipRect(); in dumpRect()
/external/skia/legacy/src/core/
DSkPicturePlayback.h65 int getIndex() { return fReader.readInt(); } in getIndex()
66 int getInt() { return fReader.readInt(); } in getInt()
97 if (fReader.readBool()) { in getRectPtr()
98 return &fReader.skipT<SkRect>(); in getRectPtr()
105 if (fReader.readBool()) { in getIRectPtr()
106 return &fReader.skipT<SkIRect>(); in getIRectPtr()
118 SkScalar getScalar() { return fReader.readScalar(); } in getScalar()
122 text->fText = (const char*)fReader.skip(length); in getText()
169 mutable SkFlattenableReadBuffer fReader; variable
DSkPicturePlayback.cpp70 fReader.setMemory(buffer, size); // fReader owns buffer now in SkPicturePlayback()
76 fRCPlayback.setupBuffer(fReader); in SkPicturePlayback()
79 fTFPlayback.setupBuffer(fReader); in SkPicturePlayback()
168 size_t size = src.fReader.size(); in SkPicturePlayback()
170 memcpy(buffer, src.fReader.base(), size); in SkPicturePlayback()
171 fReader.setMemory(buffer, size); in SkPicturePlayback()
223 sk_free((void*) fReader.base()); in ~SkPicturePlayback()
242 fReader.size(), in dumpSize()
319 writeTagSize(stream, PICT_READER_TAG, fReader.size()); in serialize()
320 stream->write(fReader.base(), fReader.size()); in serialize()
[all …]
/external/skia/src/pipe/
DSkGPipeRead.cpp91 fReader = reader; in setReader()
107 SkFlattenable* obj = fReader->readFlattenable(); in defFlattenable()
132 bm->unflatten(*fReader); in addBitmap()
159 size_t size = fReader->read32(); in addTypeface()
160 const void* data = fReader->skip(SkAlign4(size)); in addTypeface()
171 if (NULL == fReader) { in updateReader()
175 fReader->setFlags(SkSetClearMask(fReader->getFlags(), crossProcess, in updateReader()
178 fReader->setFactoryArray(&fFactoryArray); in updateReader()
180 fReader->setFactoryArray(NULL); in updateReader()
184 fReader->setBitmapStorage(this); in updateReader()
[all …]
/external/skia/src/pipe/utils/
DSamplePipeControllers.cpp16 :fReader(target) { in PipeController()
35 fStatus = fReader.playback(this->getData(), bytes); in notifyWritten()
65 fReader.setCanvas(canvas); in TiledPipeController()
DSamplePipeControllers.h24 SkGPipeReader fReader; variable
/external/skia/legacy/src/pipe/
DSkGPipeRead.cpp67 fReader = reader; in setReader()
68 fReader->setFactoryArray(&fFactoryArray); in setReader()
83 SkFlattenable* obj = fReader->readFlattenable(); in defFlattenable()
88 size_t size = fReader->readU32(); in addTypeface()
89 const void* data = fReader->skip(SkAlign4(size)); in addTypeface()
97 SkFlattenableReadBuffer* fReader; member in SkGPipeState
/external/skia/src/utils/
DSkDeferredCanvas.cpp85 SkGPipeReader fReader; member in DeferredPipeController
99 fReader.setCanvas(canvas); in setPlaybackCanvas()
122 fReader.playback(fBlockList[currentBlock].fBlock, fBlockList[currentBlock].fSize, in playback()
128 fReader.playback(fBlock, fBytesWritten, flags); in playback()