Home
last modified time | relevance | path

Searched refs:writable_addr (Results 1 - 25 of 34) sorted by relevance

12

/third_party/skia/docs/examples/
H A DPixmap_writable_addr.cpp11 SkDebugf("pixmap.writable_addr() %c= (void *)storage\n", in REG_FIDDLE()
12 pixmap.writable_addr() == (void *)storage ? '=' : '!'); in REG_FIDDLE()
14 *(SkPMColor*)pixmap.writable_addr() = 0xFFFFFFFF; in REG_FIDDLE()
H A DPixmap_writable_addr_2.cpp11 SkDebugf("pixmap.writable_addr() %c= (void *)storage\n", in REG_FIDDLE()
12 pixmap.writable_addr() == (void *)storage ? '=' : '!'); in REG_FIDDLE()
14 *(SkPMColor*)pixmap.writable_addr(1, 2) = 0xFFFFFFFF; in REG_FIDDLE()
/third_party/skia/include/core/
H A DSkPixmap.h454 void* writable_addr() const { return const_cast<void*>(fPixels); } in writable_addr() function in SkPixmap
465 void* writable_addr(int x, int y) const { in writable_addr() function in SkPixmap
483 /** Returns writable_addr pixel address at (x, y). Result is addressable as unsigned
619 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY); in readPixels()
640 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), 0, 0); in readPixels()
H A DSkImageGenerator.h87 return this->getPixels(pm.info(), pm.writable_addr(), pm.rowBytes()); in getPixels()
H A DSkBitmap.h264 void* getPixels() const { return fPixmap.writable_addr(); } in getPixels()
H A DSkSurface.h79 return MakeRasterDirect(pm.info(), pm.writable_addr(), pm.rowBytes(), props); in MakeRasterDirect()
/third_party/skia/gm/
H A Dimagefromyuvtextures.cpp69 static_cast<unsigned char*>(pixmaps.planes()[0].writable_addr()), in CreatePlanes()
70 static_cast<unsigned char*>(pixmaps.planes()[1].writable_addr()), in CreatePlanes()
71 static_cast<unsigned char*>(pixmaps.planes()[2].writable_addr()), in CreatePlanes()
72 static_cast<unsigned char*>(pixmaps.planes()[3].writable_addr()), in CreatePlanes()
H A Dmac_aa_explorer.cpp67 auto ctx = CGBitmapContextCreate(pm.writable_addr(), pm.width(), pm.height(), 8, pm.rowBytes(), in make_cg_ctx()
/third_party/skia/src/image/
H A DSkReadPixelsRec.h27 : fPixels(pm.writable_addr()) in SkReadPixelsRec()
H A DSkImage_Lazy.cpp313 yuvaPixmaps.plane(i).writable_addr(), in textureProxyViewFromPlanes()
/third_party/skia/include/utils/mac/
H A DSkCGUtils.h51 return SkCopyPixelsFromCGImage(dst.info(), dst.rowBytes(), dst.writable_addr(), src); in SkCopyPixelsFromCGImage()
/third_party/skia/tools/
H A Dimgcvt.cpp131 pixmap.writable_addr(), fmt,alpha, &dst_profile, in main()
H A DToolUtils.h283 return fPM.writable_addr(fLoc.fX, fLoc.fY); in next()
/third_party/skia/src/gpu/
H A DGrPixmap.h94 : GrPixmapBase(pixmap.info(), pixmap.writable_addr(), pixmap.rowBytes()) {} in GrPixmap()
/third_party/skia/src/codec/
H A DSkJpegCodec.cpp922 rowptrs[i] = static_cast<JSAMPLE*>(planes[0].writable_addr()) + i* planes[0].rowBytes(); in onGetYUVAPlanes()
926 static_cast<JSAMPLE*>(planes[1].writable_addr()) + i* planes[1].rowBytes(); in onGetYUVAPlanes()
928 static_cast<JSAMPLE*>(planes[2].writable_addr()) + i* planes[2].rowBytes(); in onGetYUVAPlanes()
/third_party/skia/src/core/
H A DSkBlitter_Sprite.cpp86 char* dst = (char*)fDst.writable_addr(x, y);
H A DSkPixmap.cpp248 dst.writable_addr(), in scalePixels()
585 auto surf = SkSurface::MakeRasterDirect(dst.info(), dst.writable_addr(), dst.rowBytes()); in draw_orientation()
H A DSkRasterPipelineBlitter.cpp269 void* p = dst->writable_addr(x,y); in Create()
293 blitter->fDst.writable_addr(), in Create()
H A DSkBitmap.cpp326 return this->installPixels(pixmap.info(), pixmap.writable_addr(), pixmap.rowBytes(), in installPixels()
471 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY); in readPixels()
H A DSkYUVAPixmaps.cpp220 SkRectMemcpy(d.writable_addr(), in MakeCopy()
/third_party/skia/src/utils/mac/
H A DSkCreateCGImageRef.cpp172 CGContextRef cg = CGBitmapContextCreate(pmap.writable_addr(), pmap.width(), pmap.height(), in SkCreateCGContext()
/third_party/skia/src/utils/
H A DSkCanvasStateUtils.cpp216 layerState->raster.pixels = pmap.writable_addr(); in CaptureCanvasState()
/third_party/skia/include/codec/
H A DSkCodec.h382 return this->getPixels(pm.info(), pm.writable_addr(), pm.rowBytes(), opts); in getPixels()
/third_party/skia/src/gpu/ops/
H A DSmallPathRenderer.cpp410 sk_bzero(dst.writable_addr(), dst.computeByteSize()); in addDFPathToAtlas()
489 sk_bzero(dst.writable_addr(), dst.computeByteSize()); in addBMPathToAtlas()
/third_party/skia/experimental/graphite/src/
H A DDevice.cpp135 memcpy(pm.writable_addr(), mappedMemory, size); in onReadPixels()

Completed in 21 milliseconds

12