Home
last modified time | relevance | path

Searched refs:fImageInfo (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/tools/
DDDLPromiseImageHelper.cpp28 , fImageInfo(ii) { in PromiseImageInfo()
34 , fImageInfo(other.fImageInfo) in PromiseImageInfo()
220 for (int i = 0; i < fImageInfo.count(); ++i) { in createCallbackContexts()
221 PromiseImageInfo& info = fImageInfo[i]; in createCallbackContexts()
262 for (int i = 0; i < fImageInfo.count(); ++i) { in uploadAllToGPU()
263 PromiseImageInfo* info = &fImageInfo[i]; in uploadAllToGPU()
268 for (int i = 0; i < fImageInfo.count(); ++i) { in uploadAllToGPU()
269 CreateBETexturesForPromiseImage(direct, &fImageInfo[i]); in uploadAllToGPU()
276 for (int i = 0; i < fImageInfo.count(); ++i) { in deleteAllFromGPU()
277 PromiseImageInfo* info = &fImageInfo[i]; in deleteAllFromGPU()
[all …]
DDDLPromiseImageHelper.h122 fImageInfo.reset(); in reset()
144 SkISize overallDimensions() const { return fImageInfo.dimensions(); } in overallDimensions()
145 SkColorType overallColorType() const { return fImageInfo.colorType(); } in overallColorType()
146 SkAlphaType overallAlphaType() const { return fImageInfo.alphaType(); } in overallAlphaType()
147 sk_sp<SkColorSpace> refOverallColorSpace() const { return fImageInfo.refColorSpace(); } in refOverallColorSpace()
202 const SkImageInfo fImageInfo; // info for the overarching image variable
225 bool isValidID(int id) const { return id >= 0 && id < fImageInfo.count(); } in isValidID()
226 const PromiseImageInfo& getInfo(int id) const { return fImageInfo[id]; } in getInfo()
239 SkTArray<PromiseImageInfo> fImageInfo; variable
/third_party/flutter/skia/tools/
DDDLPromiseImageHelper.h64 void reset() { fImageInfo.reset(); } in reset()
127 , fImageInfo(ii) { in PromiseImageInfo()
135 int overallWidth() const { return fImageInfo.width(); } in overallWidth()
136 int overallHeight() const { return fImageInfo.height(); } in overallHeight()
137 SkColorType overallColorType() const { return fImageInfo.colorType(); } in overallColorType()
138 SkAlphaType overallAlphaType() const { return fImageInfo.alphaType(); } in overallAlphaType()
139 sk_sp<SkColorSpace> refOverallColorSpace() const { return fImageInfo.refColorSpace(); } in refOverallColorSpace()
196 const SkImageInfo fImageInfo; // info for the overarching image variable
237 bool isValidID(int id) const { return id >= 0 && id < fImageInfo.count(); } in isValidID()
238 const PromiseImageInfo& getInfo(int id) const { return fImageInfo[id]; } in getInfo()
[all …]
DDDLPromiseImageHelper.cpp98 for (int i = 0; i < fImageInfo.count(); ++i) { in uploadAllToGPU()
99 const PromiseImageInfo& info = fImageInfo[i]; in uploadAllToGPU()
115 fImageInfo[i].setCallbackContext(j, std::move(callbackContext)); in uploadAllToGPU()
132 fImageInfo[i].setCallbackContext(0, std::move(callbackContext)); in uploadAllToGPU()
251 for (int i = 0; i < fImageInfo.count(); ++i) { in findImage()
252 if (fImageInfo[i].originalUniqueID() == image->uniqueID()) { // trying to dedup here in findImage()
253 SkASSERT(fImageInfo[i].index() == i); in findImage()
254 SkASSERT(this->isValidID(i) && this->isValidID(fImageInfo[i].index())); in findImage()
271 PromiseImageInfo& newImageInfo = fImageInfo.emplace_back(fImageInfo.count(), in addImage()
329 return fImageInfo.count()-1; in addImage()
/third_party/skia/include/core/
DSkSurfaceCharacterization.h93 bool isValid() const { return kUnknown_SkColorType != fImageInfo.colorType(); } in isValid()
95 const SkImageInfo& imageInfo() const { return fImageInfo; } in imageInfo()
98 SkISize dimensions() const { return fImageInfo.dimensions(); } in dimensions()
99 int width() const { return fImageInfo.width(); } in width()
100 int height() const { return fImageInfo.height(); } in height()
101 SkColorType colorType() const { return fImageInfo.colorType(); } in colorType()
113 SkColorSpace* colorSpace() const { return fImageInfo.colorSpace(); } in colorSpace()
114 sk_sp<SkColorSpace> refColorSpace() const { return fImageInfo.refColorSpace(); } in refColorSpace()
144 , fImageInfo(ii) in SkSurfaceCharacterization()
182 fImageInfo = ii; in set()
[all …]
/third_party/flutter/skia/src/utils/
DSkAnimCodecPlayer.cpp16 fImageInfo = fCodec->getInfo(); in SkAnimCodecPlayer()
40 return { fImageInfo.width(), fImageInfo.height() }; in dimensions()
50 size_t rb = fImageInfo.minRowBytes(); in getFrameAt()
51 size_t size = fImageInfo.computeByteSize(rb); in getFrameAt()
66 if (SkCodec::kSuccess == fCodec->getPixels(fImageInfo, data->writable_data(), rb, &opts)) { in getFrameAt()
67 return fImages[index] = SkImage::MakeRasterData(fImageInfo, std::move(data), rb); in getFrameAt()
/third_party/flutter/skia/include/core/
DSkSurfaceCharacterization.h68 bool isValid() const { return kUnknown_SkColorType != fImageInfo.colorType(); } in isValid()
70 const SkImageInfo& imageInfo() const { return fImageInfo; } in imageInfo()
73 int width() const { return fImageInfo.width(); } in width()
74 int height() const { return fImageInfo.height(); } in height()
75 SkColorType colorType() const { return fImageInfo.colorType(); } in colorType()
84 SkColorSpace* colorSpace() const { return fImageInfo.colorSpace(); } in colorSpace()
85 sk_sp<SkColorSpace> refColorSpace() const { return fImageInfo.refColorSpace(); } in refColorSpace()
114 , fImageInfo(ii) in SkSurfaceCharacterization()
150 fImageInfo = ii; in set()
167 SkImageInfo fImageInfo; variable
/third_party/flutter/skia/src/gpu/vk/
DGrVkTypesPriv.cpp18 fImageInfo = that.fImageInfo; in assign()
37 return GrVkImageInfo(fImageInfo, fLayout->getImageLayout()); in snapImageInfo()
42 GrVkImageInfo cpyInfoThis = fImageInfo; in operator ==()
43 GrVkImageInfo cpyInfoThat = that.fImageInfo; in operator ==()
/third_party/skia/src/utils/
DSkAnimCodecPlayer.cpp18 fImageInfo = fCodec->getInfo(); in SkAnimCodecPlayer()
47 return { fImageInfo.height(), fImageInfo.width() }; in dimensions()
49 return { fImageInfo.width(), fImageInfo.height() }; in dimensions()
59 size_t rb = fImageInfo.minRowBytes(); in getFrameAt()
60 size_t size = fImageInfo.computeByteSize(rb); in getFrameAt()
74 auto imageInfo = fImageInfo; in getFrameAt()
/third_party/skia/src/gpu/vk/
DGrVkTypesPriv.cpp16 fImageInfo = that.fImageInfo; in assign()
22 GrVkImageInfo newInfo = fImageInfo; in snapImageInfo()
50 GrVkImageInfo cpyInfoThis = fImageInfo; in operator ==()
51 GrVkImageInfo cpyInfoThat = that.fImageInfo; in operator ==()
/third_party/skia/src/core/
DSkSurfaceCharacterization.cpp53 fImageInfo == other.fImageInfo && in operator ==()
76 fImageInfo.makeWH(width, height), fBackendFormat, fOrigin, in createResized()
90 fImageInfo.makeColorSpace(std::move(cs)), fBackendFormat, in createColorSpace()
103 SkImageInfo newII = fImageInfo.makeColorType(colorType); in createBackendFormat()
124 fImageInfo, fBackendFormat, in createFBO0()
/third_party/flutter/skia/include/private/
DGrVkTypesPriv.h24 : fImageInfo(info), fLayout(layout) {} in GrVkBackendSurfaceInfo()
40 bool isProtected() const { return fImageInfo.fProtected == GrProtected::kYes; } in isProtected()
46 GrVkImageInfo fImageInfo;
/third_party/skia/tests/
DRecordingXfermodeTest.cpp30 explicit Drawer() : fImageInfo(SkImageInfo::MakeN32Premul(200, 100)) { in Drawer()
39 const SkImageInfo& imageInfo() const { return fImageInfo; } in imageInfo()
51 SkRect canvasRect(SkRect::MakeWH(SkIntToScalar(fImageInfo.width()), in draw()
52 SkIntToScalar(fImageInfo.height()))); in draw()
67 const SkImageInfo fImageInfo; member in __anon9f695a230111::Drawer
/third_party/flutter/skia/tests/
DRecordingXfermodeTest.cpp29 explicit Drawer() : fImageInfo(SkImageInfo::MakeN32Premul(200, 100)) { in Drawer()
38 const SkImageInfo& imageInfo() const { return fImageInfo; } in imageInfo()
50 SkRect canvasRect(SkRect::MakeWH(SkIntToScalar(fImageInfo.width()), in draw()
51 SkIntToScalar(fImageInfo.height()))); in draw()
65 const SkImageInfo fImageInfo; member in __anon79264a380111::Drawer
/third_party/skia/include/private/
DGrVkTypesPriv.h23 GrVkBackendSurfaceInfo(GrVkImageInfo info) : fImageInfo(info) {} in GrVkBackendSurfaceInfo()
35 bool isProtected() const { return fImageInfo.fProtected == GrProtected::kYes; } in isProtected()
41 GrVkImageInfo fImageInfo;
/third_party/flutter/skia/src/core/
DSkSurfaceCharacterization.cpp37 fImageInfo == other.fImageInfo && in operator ==()
60 fImageInfo.makeWH(width, height), fBackendFormat, fOrigin, in createResized()
/third_party/skia/experimental/graphite/src/
DDrawContext.h44 const SkImageInfo& imageInfo() const { return fImageInfo; } in imageInfo()
99 SkImageInfo fImageInfo; variable
DDrawContext.cpp40 , fImageInfo(ii) in DrawContext()
/third_party/skia/include/utils/
DSkAnimCodecPlayer.h50 SkImageInfo fImageInfo; variable
/third_party/flutter/skia/include/utils/
DSkAnimCodecPlayer.h50 SkImageInfo fImageInfo; variable