Home
last modified time | relevance | path

Searched refs:SkPicturePriv (Results 1 – 25 of 33) sorted by relevance

12

/external/skia/src/core/
DSkPicturePriv.h16 class SkPicturePriv {
116 static_assert(SkPicturePriv::kMin_Version <= SkPicturePriv::kCubicResamplerImageShader_Version,
DSkPicture.cpp47 SkResourceCache::PostPurgeSharedID(SkPicturePriv::MakeSharedID(fUniqueID)); in ~SkPicture()
61 info.setVersion(SkPicturePriv::kCurrent_Version); in createHeader()
70 if (info.getVersion() < SkPicturePriv::kMin_Version || in IsValidPictInfo()
71 info.getVersion() > SkPicturePriv::kCurrent_Version) { in IsValidPictInfo()
196 sk_sp<SkPicture> SkPicturePriv::MakeFromBuffer(SkReadBuffer& buffer) { in MakeFromBuffer()
297 void SkPicturePriv::Flatten(const sk_sp<const SkPicture> picture, SkWriteBuffer& buffer) { in Flatten()
DSkVertices.cpp267 if (buffer.isVersionLT(SkPicturePriv::kVerticesUseReadBuffer_Version)) { in Decode()
277 bool hasCustomData = buffer.isVersionLT(SkPicturePriv::kVerticesRemoveCustomData_Version); in Decode()
DSkMatrixImageFilter.cpp48 if (buffer.isVersionLT(SkPicturePriv::kMatrixImageFilterSampling_Version)) { in CreateProc()
DSkReadBuffer.cpp324 SkASSERT(this->isVersionLT(SkPicturePriv::kSerializeMipmaps_Version)); in readImage_preV78()
390 if (this->isVersionLT(SkPicturePriv::kSerializeMipmaps_Version)) { in readImage()
DSkWriteBuffer.h74 friend class SkPicturePriv; // fProcs variable
DSkPictureData.cpp266 SkPicturePriv::Flatten(pic, buffer); in flatten()
461 new_array_from_buffer(buffer, size, fPictures, SkPicturePriv::MakeFromBuffer); in parseBufferTag()
DSkReadBuffer.h45 bool isVersionLT(SkPicturePriv::Version targetVersion) const { in isVersionLT()
/external/skia/src/shaders/
DSkPictureShader.cpp68 SkPicturePriv::MakeSharedID(pictureID), in ImageFromPictureKey()
136 if (buffer.isVersionLT(SkPicturePriv::kNoFilterQualityShaders_Version)) { in CreateProc()
137 if (buffer.isVersionLT(SkPicturePriv::kPictureShaderFilterParam_Version)) { in CreateProc()
140 picture = SkPicturePriv::MakeFromBuffer(buffer); in CreateProc()
147 picture = SkPicturePriv::MakeFromBuffer(buffer); in CreateProc()
151 picture = SkPicturePriv::MakeFromBuffer(buffer); in CreateProc()
162 SkPicturePriv::Flatten(fPicture, buffer); in flatten()
275 SkPicturePriv::AddedToCache(fPicture.get()); in rasterShader()
DSkImageShader.cpp96 SkASSERT(buffer.isVersionLT(SkPicturePriv::kSamplingInImageShader_Version)); in PreSamplingCreate()
102 if (!buffer.isVersionLT(SkPicturePriv::kFilterEnumInImageShader_Version)) { in PreSamplingCreate()
108 if (buffer.isVersionLT(SkPicturePriv::kCubicResamplerImageShader_Version)) { in PreSamplingCreate()
109 if (!buffer.isVersionLT(SkPicturePriv::kFilterOptionsInImageShader_Version)) { in PreSamplingCreate()
141 if (buffer.isVersionLT(SkPicturePriv::kSamplingInImageShader_Version)) { in CreateProc()
150 if (buffer.isVersionLT(SkPicturePriv::kNoFilterQualityShaders_Version) && in CreateProc()
/external/skqp/src/core/
DSkPicture_none.cpp25 sk_sp<SkPicture> SkPicturePriv::MakeFromBuffer(SkReadBuffer& buffer) { in MakeFromBuffer()
29 void SkPicturePriv::Flatten(const sk_sp<const SkPicture> picture, SkWriteBuffer& buffer) {} in Flatten()
DSkPicturePriv.h16 class SkPicturePriv {
DSkPicture.cpp193 sk_sp<SkPicture> SkPicturePriv::MakeFromBuffer(SkReadBuffer& buffer) { in MakeFromBuffer()
291 void SkPicturePriv::Flatten(const sk_sp<const SkPicture> picture, SkWriteBuffer& buffer) { in Flatten()
DSkWriteBuffer.h67 friend class SkPicturePriv; // fProcs variable
DSkPictureData.cpp262 SkPicturePriv::Flatten(pic, buffer); in flatten()
456 new_array_from_buffer(buffer, size, fPictures, SkPicturePriv::MakeFromBuffer); in parseBufferTag()
/external/skia/src/effects/imagefilters/
DSkPictureImageFilter.cpp69 picture = SkPicturePriv::MakeFromBuffer(buffer); in CreateProc()
80 SkPicturePriv::Flatten(fPicture, buffer); in flatten()
DSkImageImageFilter.cpp74 if (buffer.isVersionLT(SkPicturePriv::kImageFilterImageSampling_Version)) { in CreateProc()
/external/skqp/src/effects/imagefilters/
DSkPictureImageFilter.cpp61 picture = SkPicturePriv::MakeFromBuffer(buffer); in CreateProc()
80 SkPicturePriv::Flatten(fPicture, buffer); in flatten()
/external/skqp/include/core/
DSkPicture.h211 friend class SkPicturePriv; variable
/external/skia/tests/
DPictureShaderTest.cpp72 SkPicturePriv::MakeSharedID(picture->uniqueID()), in DEF_TEST()
/external/skqp/tools/
DDumpRecord.cpp67 if (auto bp = SkPicturePriv::AsSkBigPicture(command.picture)) { in print()
/external/skia/include/core/
DSkPicture.h242 friend class SkPicturePriv; variable
/external/skqp/src/shaders/
DSkPictureShader.cpp148 picture = SkPicturePriv::MakeFromBuffer(buffer); in CreateProc()
160 SkPicturePriv::Flatten(fPicture, buffer); in flatten()
/external/skia/tools/
Ddump_record.cpp78 if (auto bp = SkPicturePriv::AsSkBigPicture(command.picture)) { in print()
/external/skqp/tests/
DSerializationTest.cpp565 SkPicturePriv::Flatten(pict, writer); in DEF_TEST()
572 sk_sp<SkPicture> readPict(SkPicturePriv::MakeFromBuffer(reader)); in DEF_TEST()

12