Home
last modified time | relevance | path

Searched refs:fPixels (Results 1 – 25 of 201) sorted by relevance

123456789

/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/skia/skia/src/gpu/
H A DGrSWMaskHelper.cpp86 if (!fPixels.tryAlloc(bmImageInfo)) { in init()
89 fPixels.erase(0); in init()
92 fDraw.fDst = fPixels; in init()
104 desc.fWidth = fPixels.width(); in createTexture()
105 desc.fHeight = fPixels.height(); in createTexture()
123 texture->writePixels(0, 0, fPixels.width(), fPixels.height(), texture->config(), in toTexture()
124 fPixels.addr(), fPixels.rowBytes()); in toTexture()
132 SkGenerateDistanceFieldFromA8Image(sdf, (const unsigned char*)fPixels.addr(), in toSDF()
133 fPixels.width(), fPixels.height(), fPixels.rowBytes()); in toSDF()
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/gpu/
H A DGrDeferredProxyUploader.h58 GrColorType pixelColorType = SkColorTypeToGrColorType(this->fPixels.info().colorType()); in scheduleUpload()
61 if (this->fPixels.addr()) { in scheduleUpload()
62 writePixelsFn(proxy, 0, 0, this->fPixels.width(), this->fPixels.height(), in scheduleUpload()
63 pixelColorType, this->fPixels.addr(), this->fPixels.rowBytes()); in scheduleUpload()
77 SkAutoPixmapStorage* getPixels() { return &fPixels; } in getPixels()
90 SkAutoPixmapStorage fPixels; variable
H A DGrSWMaskHelper.cpp84 if (!fPixels->tryAlloc(bmImageInfo)) { in init()
87 fPixels->erase(0); in init()
89 fDraw.fDst = *fPixels; in init()
97 SkImageInfo ii = SkImageInfo::MakeA8(fPixels->width(), fPixels->height()); in toTextureProxy()
98 size_t rowBytes = fPixels->rowBytes(); in toTextureProxy()
100 sk_sp<SkData> data = fPixels->detachPixelsAsData(); in toTextureProxy()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/gpu/
H A DGrDeferredProxyUploader.h58 GrColorType pixelColorType = SkColorTypeToGrColorType(this->fPixels.info().colorType()); in scheduleUpload()
61 if (this->fPixels.addr()) { in scheduleUpload()
62 writePixelsFn(proxy, 0, 0, this->fPixels.width(), this->fPixels.height(), in scheduleUpload()
63 pixelColorType, this->fPixels.addr(), this->fPixels.rowBytes()); in scheduleUpload()
77 SkAutoPixmapStorage* getPixels() { return &fPixels; } in getPixels()
90 SkAutoPixmapStorage fPixels; variable
H A DGrSWMaskHelper.cpp84 if (!fPixels->tryAlloc(bmImageInfo)) { in init()
87 fPixels->erase(0); in init()
89 fDraw.fDst = *fPixels; in init()
97 SkImageInfo ii = SkImageInfo::MakeA8(fPixels->width(), fPixels->height()); in toTextureProxy()
98 size_t rowBytes = fPixels->rowBytes(); in toTextureProxy()
100 sk_sp<SkData> data = fPixels->detachPixelsAsData(); in toTextureProxy()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/gpu/
H A DGrDeferredProxyUploader.h57 GrColorType pixelColorType = SkColorTypeToGrColorType(this->fPixels.info().colorType()); in scheduleUpload()
60 if (this->fPixels.addr()) { in scheduleUpload()
61 writePixelsFn(proxy, 0, 0, this->fPixels.width(), this->fPixels.height(), in scheduleUpload()
62 pixelColorType, this->fPixels.addr(), this->fPixels.rowBytes()); in scheduleUpload()
76 SkAutoPixmapStorage* getPixels() { return &fPixels; } in getPixels()
89 SkAutoPixmapStorage fPixels; variable
H A DGrSWMaskHelper.cpp85 if (!fPixels->tryAlloc(bmImageInfo)) { in init()
88 fPixels->erase(0); in init()
90 fDraw.fDst = *fPixels; in init()
97 SkImageInfo ii = SkImageInfo::MakeA8(fPixels->width(), fPixels->height()); in toTextureView()
98 size_t rowBytes = fPixels->rowBytes(); in toTextureView()
101 SkAssertResult(bitmap.installPixels(ii, fPixels->detachPixels(), rowBytes, in toTextureView()
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/gpu/
H A DGrDeferredProxyUploader.h58 GrColorType pixelColorType = SkColorTypeToGrColorType(this->fPixels.info().colorType()); in scheduleUpload()
61 if (this->fPixels.addr()) { in scheduleUpload()
62 writePixelsFn(proxy, 0, 0, this->fPixels.width(), this->fPixels.height(), in scheduleUpload()
63 pixelColorType, this->fPixels.addr(), this->fPixels.rowBytes()); in scheduleUpload()
77 SkAutoPixmapStorage* getPixels() { return &fPixels; } in getPixels()
90 SkAutoPixmapStorage fPixels; variable
H A DGrSWMaskHelper.cpp84 if (!fPixels->tryAlloc(bmImageInfo)) { in init()
87 fPixels->erase(0); in init()
89 fDraw.fDst = *fPixels; in init()
97 SkImageInfo ii = SkImageInfo::MakeA8(fPixels->width(), fPixels->height()); in toTextureProxy()
98 size_t rowBytes = fPixels->rowBytes(); in toTextureProxy()
100 sk_sp<SkData> data = fPixels->detachPixelsAsData(); in toTextureProxy()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/gpu/
H A DGrDeferredProxyUploader.h58 GrColorType pixelColorType = SkColorTypeToGrColorType(this->fPixels.info().colorType()); in scheduleUpload()
61 if (this->fPixels.addr()) { in scheduleUpload()
62 writePixelsFn(proxy, 0, 0, this->fPixels.width(), this->fPixels.height(), in scheduleUpload()
63 pixelColorType, this->fPixels.addr(), this->fPixels.rowBytes()); in scheduleUpload()
77 SkAutoPixmapStorage* getPixels() { return &fPixels; } in getPixels()
90 SkAutoPixmapStorage fPixels; variable
H A DGrSWMaskHelper.cpp84 if (!fPixels->tryAlloc(bmImageInfo)) { in init()
87 fPixels->erase(0); in init()
89 fDraw.fDst = *fPixels; in init()
97 SkImageInfo ii = SkImageInfo::MakeA8(fPixels->width(), fPixels->height()); in toTextureProxy()
98 size_t rowBytes = fPixels->rowBytes(); in toTextureProxy()
100 sk_sp<SkData> data = fPixels->detachPixelsAsData(); in toTextureProxy()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/
H A DGrDeferredProxyUploader.h57 GrColorType pixelColorType = SkColorTypeToGrColorType(this->fPixels.info().colorType()); in scheduleUpload()
60 if (this->fPixels.addr()) { in scheduleUpload()
61 writePixelsFn(proxy, 0, 0, this->fPixels.width(), this->fPixels.height(), in scheduleUpload()
62 pixelColorType, this->fPixels.addr(), this->fPixels.rowBytes()); in scheduleUpload()
76 SkAutoPixmapStorage* getPixels() { return &fPixels; } in getPixels()
89 SkAutoPixmapStorage fPixels; variable
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/skia/skia/src/gpu/
H A DGrDeferredProxyUploader.h58 GrColorType pixelColorType = SkColorTypeToGrColorType(this->fPixels.info().colorType()); in scheduleUpload()
61 if (this->fPixels.addr()) { in scheduleUpload()
62 writePixelsFn(proxy, 0, 0, this->fPixels.width(), this->fPixels.height(), in scheduleUpload()
63 pixelColorType, this->fPixels.addr(), this->fPixels.rowBytes()); in scheduleUpload()
77 SkAutoPixmapStorage* getPixels() { return &fPixels; } in getPixels()
90 SkAutoPixmapStorage fPixels; variable
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/bench/
H A DSkSLInterpreterBench.cpp43 fPixels.resize(fCount * 4); in onDelayedSetup()
44 for (float& c : fPixels) { in onDelayedSetup()
52 fPixels.data() + 0 * fCount, in onDraw()
53 fPixels.data() + 1 * fCount, in onDraw()
54 fPixels.data() + 2 * fCount, in onDraw()
55 fPixels.data() + 3 * fCount, in onDraw()
69 std::vector<float> fPixels; member in SkSLInterpreterCFBench
H A DSkVMBench.cpp23 : fPixels(pixels) in SkVMBench()
33 this->setUnits(fPixels); in onDelayedSetup()
34 fSrc.resize(fPixels, 0x7f123456); // Arbitrary non-opaque non-transparent value. in onDelayedSetup()
35 fDst.resize(fPixels, 0xff987654); // Arbitrary value. in onDelayedSetup()
51 for (int i = 0; i < fPixels; i++) { in onDelayedSetup()
59 SkOpts::blit_row_s32a_opaque(fDst.data(), fSrc.data(), fPixels, 0xff); in onDraw()
61 fPipeline.run(0,0,fPixels,1); in onDraw()
63 fProgram.eval(fPixels, fSrc.data(), fDst.data()); in onDraw()
68 int fPixels; member in SkVMBench
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/bench/
H A DSkSLInterpreterBench.cpp47 fPixels.resize(fCount * 4); in onDelayedSetup()
48 for (float& c : fPixels) { in onDelayedSetup()
56 fPixels.data() + 0 * fCount, in onDraw()
57 fPixels.data() + 1 * fCount, in onDraw()
58 fPixels.data() + 2 * fCount, in onDraw()
59 fPixels.data() + 3 * fCount, in onDraw()
73 std::vector<float> fPixels; member in SkSLInterpreterCFBench
H A DSkVMBench.cpp23 : fPixels(pixels) in SkVMBench()
33 this->setUnits(fPixels); in onDelayedSetup()
34 fSrc.resize(fPixels, 0x7f123456); // Arbitrary non-opaque non-transparent value. in onDelayedSetup()
35 fDst.resize(fPixels, 0xff987654); // Arbitrary value. in onDelayedSetup()
53 for (int i = 0; i < fPixels; i++) { in onDelayedSetup()
61 SkOpts::blit_row_s32a_opaque(fDst.data(), fSrc.data(), fPixels, 0xff); in onDraw()
63 fPipeline.run(0,0,fPixels,1); in onDraw()
65 fProgram.eval(fPixels, fSrc.data(), fDst.data()); in onDraw()
70 int fPixels; member in SkVMBench
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/include/core/
H A DSkPixmap.h41 : fPixels(nullptr), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) in SkPixmap()
63 : fPixels(addr), fRowBytes(rowBytes), fInfo(info) in SkPixmap()
137 const void* addr() const { return fPixels; } in addr()
290 return (const char*)fPixels + fInfo.computeOffset(x, y, fRowBytes); in addr()
303 return reinterpret_cast<const uint8_t*>(fPixels); in addr8()
316 return reinterpret_cast<const uint16_t*>(fPixels); in addr16()
329 return reinterpret_cast<const uint32_t*>(fPixels); in addr32()
342 return reinterpret_cast<const uint64_t*>(fPixels); in addr64()
358 return reinterpret_cast<const uint16_t*>(fPixels); in addrF16()
458 void* writable_addr() const { return const_cast<void*>(fPixels); } in writable_addr()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/include/core/
H A DSkPixmap.h41 : fPixels(nullptr), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) in SkPixmap()
63 : fPixels(addr), fRowBytes(rowBytes), fInfo(info) in SkPixmap()
137 const void* addr() const { return fPixels; } in addr()
290 return (const char*)fPixels + fInfo.computeOffset(x, y, fRowBytes); in addr()
303 return reinterpret_cast<const uint8_t*>(fPixels); in addr8()
316 return reinterpret_cast<const uint16_t*>(fPixels); in addr16()
329 return reinterpret_cast<const uint32_t*>(fPixels); in addr32()
342 return reinterpret_cast<const uint64_t*>(fPixels); in addr64()
358 return reinterpret_cast<const uint16_t*>(fPixels); in addrF16()
458 void* writable_addr() const { return const_cast<void*>(fPixels); } in writable_addr()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/include/core/
H A DSkPixmap.h41 : fPixels(nullptr), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) in SkPixmap()
63 : fPixels(addr), fRowBytes(rowBytes), fInfo(info) in SkPixmap()
143 const void* addr() const { return fPixels; } in addr()
286 return (const char*)fPixels + fInfo.computeOffset(x, y, fRowBytes); in addr()
299 return reinterpret_cast<const uint8_t*>(fPixels); in addr8()
312 return reinterpret_cast<const uint16_t*>(fPixels); in addr16()
325 return reinterpret_cast<const uint32_t*>(fPixels); in addr32()
338 return reinterpret_cast<const uint64_t*>(fPixels); in addr64()
354 return reinterpret_cast<const uint16_t*>(fPixels); in addrF16()
454 void* writable_addr() const { return const_cast<void*>(fPixels); } in writable_addr()
[all …]
/dports/www/firefox/firefox-99.0/gfx/skia/skia/include/core/
H A DSkPixmap.h41 : fPixels(nullptr), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) in SkPixmap()
63 : fPixels(addr), fRowBytes(rowBytes), fInfo(info) in SkPixmap()
137 const void* addr() const { return fPixels; } in addr()
290 return (const char*)fPixels + fInfo.computeOffset(x, y, fRowBytes); in addr()
303 return reinterpret_cast<const uint8_t*>(fPixels); in addr8()
316 return reinterpret_cast<const uint16_t*>(fPixels); in addr16()
329 return reinterpret_cast<const uint32_t*>(fPixels); in addr32()
342 return reinterpret_cast<const uint64_t*>(fPixels); in addr64()
358 return reinterpret_cast<const uint16_t*>(fPixels); in addrF16()
458 void* writable_addr() const { return const_cast<void*>(fPixels); } in writable_addr()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/include/core/
H A DSkPixmap.h41 : fPixels(nullptr), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) in SkPixmap()
63 : fPixels(addr), fRowBytes(rowBytes), fInfo(info) in SkPixmap()
137 const void* addr() const { return fPixels; } in addr()
290 return (const char*)fPixels + fInfo.computeOffset(x, y, fRowBytes); in addr()
303 return reinterpret_cast<const uint8_t*>(fPixels); in addr8()
316 return reinterpret_cast<const uint16_t*>(fPixels); in addr16()
329 return reinterpret_cast<const uint32_t*>(fPixels); in addr32()
342 return reinterpret_cast<const uint64_t*>(fPixels); in addr64()
358 return reinterpret_cast<const uint16_t*>(fPixels); in addrF16()
458 void* writable_addr() const { return const_cast<void*>(fPixels); } in writable_addr()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/skia/skia/include/core/
H A DSkPixmap.h41 : fPixels(nullptr), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) in SkPixmap()
63 : fPixels(addr), fRowBytes(rowBytes), fInfo(info) in SkPixmap()
137 const void* addr() const { return fPixels; } in addr()
263 return (const char*)fPixels + fInfo.computeOffset(x, y, fRowBytes); in addr()
276 return reinterpret_cast<const uint8_t*>(fPixels); in addr8()
289 return reinterpret_cast<const uint16_t*>(fPixels); in addr16()
302 return reinterpret_cast<const uint32_t*>(fPixels); in addr32()
315 return reinterpret_cast<const uint64_t*>(fPixels); in addr64()
330 return reinterpret_cast<const uint16_t*>(fPixels); in addrF16()
429 void* writable_addr() const { return const_cast<void*>(fPixels); } in writable_addr()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/include/core/
H A DSkPixmap.h41 : fPixels(nullptr), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) in SkPixmap()
63 : fPixels(addr), fRowBytes(rowBytes), fInfo(info) in SkPixmap()
143 const void* addr() const { return fPixels; } in addr()
286 return (const char*)fPixels + fInfo.computeOffset(x, y, fRowBytes); in addr()
299 return reinterpret_cast<const uint8_t*>(fPixels); in addr8()
312 return reinterpret_cast<const uint16_t*>(fPixels); in addr16()
325 return reinterpret_cast<const uint32_t*>(fPixels); in addr32()
338 return reinterpret_cast<const uint64_t*>(fPixels); in addr64()
354 return reinterpret_cast<const uint16_t*>(fPixels); in addrF16()
454 void* writable_addr() const { return const_cast<void*>(fPixels); } in writable_addr()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/skia/skia/include/core/
H A DSkPixmap.h26 : fPixels(NULL), fCTable(NULL), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0))
31 : fPixels(addr), fCTable(ctable), fRowBytes(rowBytes), fInfo(info)
66 const void* addr() const { return fPixels; }
93 return (const char*)fPixels + fInfo.computeOffset(x, y, fRowBytes);
97 return reinterpret_cast<const uint8_t*>(fPixels);
101 return reinterpret_cast<const uint16_t*>(fPixels);
105 return reinterpret_cast<const uint32_t*>(fPixels);
109 return reinterpret_cast<const uint64_t*>(fPixels);
114 return reinterpret_cast<const uint16_t*>(fPixels);
146 void* writable_addr() const { return const_cast<void*>(fPixels); } in isImmutable()
[all …]

123456789