Home
last modified time | relevance | path

Searched refs:writePixels (Results 1 – 25 of 65) sorted by relevance

123

/third_party/skia/docs/examples/
DColor_Type_RGB_565.cpp22 if (bitmap.writePixels(redPixmap, 0, 0)) { in draw()
26 if (bitmap.writePixels(bluePixmap, 0, 0)) { in draw()
DColor_Type_BGRA_8888.cpp22 if (bitmap.writePixels(redPixmap, 0, 0)) { in draw()
26 if (bitmap.writePixels(bluePixmap, 0, 0)) { in draw()
DColor_Type_ARGB_4444.cpp22 if (bitmap.writePixels(redPixmap, 0, 0)) { in draw()
26 if (bitmap.writePixels(bluePixmap, 0, 0)) { in draw()
DColor_Type_RGBA_8888.cpp22 if (bitmap.writePixels(redPixmap, 0, 0)) { in draw()
26 if (bitmap.writePixels(bluePixmap, 0, 0)) { in draw()
Dgpu8888diff.cpp24 if (bitmap.writePixels(redPixmap, 0, 0)) { in draw()
28 if (bitmap.writePixels(bluePixmap, 0, 0)) { in draw()
Dgpu4444diff.cpp24 if (bitmap.writePixels(redPixmap, 0, 0)) { in draw()
28 if (bitmap.writePixels(bluePixmap, 0, 0)) { in draw()
DColor_Type_RGBA_F16.cpp44 if (bitmap.writePixels(redPixmap, 0, 0)) { in draw()
48 if (bitmap.writePixels(bluePixmap, 0, 0)) { in draw()
DSurface_writePixels_2.cpp10 surf->writePixels(source, 25, 25); in draw()
DBitmap_writePixels_2.cpp12 bitmap.writePixels(src); in draw()
DCanvas_writePixels.cpp13 canvas->writePixels(imageInfo, &pixels, sizeof(pixels), 0, y); in draw()
DSurface_writePixels.cpp16 surf->writePixels(pixmap, 25, 25);
DColor_Type_Gray_8.cpp16 if (bitmap.writePixels(grayPixmap, 0, 0)) { in draw()
DColor_Type_Alpha_8.cpp18 if (bitmap.writePixels(alphaPixmap, 0, 0)) { in draw()
DCanvas_writePixels_2.cpp18 canvas->writePixels(bitmap, x, y); in draw()
DCanvas_SrcRectConstraint.cpp13 checkRed.writePixels( in draw()
DBitmap_writePixels.cpp21 bitmap.writePixels(pixmap, -y * width, -x * height); in draw()
/third_party/skia/samplecode/
DSampleWritePixels.cpp48 canvas->writePixels(bitmap, 0, 0); in onDrawContent()
49 canvas->writePixels(subset, 0, 0); in onDrawContent()
/third_party/skia/gm/
Dyuvtorgbsubset.cpp80 bitmaps[0].writePixels(innerYPM, 2, 2); in makePixmaps()
81 bitmaps[1].writePixels(innerUPM, 1, 1); in makePixmaps()
82 bitmaps[2].writePixels(innerVPM, 1, 1); in makePixmaps()
Dcopy_to_4444.cpp66 if (bitmap.writePixels(redPixmap, 0, 0)) {
70 if (bitmap.writePixels(bluePixmap, 0, 0)) {
/third_party/skia/include/core/
DSkBitmap.h1033 bool writePixels(const SkPixmap& src, int dstX, int dstY);
1055 bool writePixels(const SkPixmap& src) { in writePixels() function
1056 return this->writePixels(src, 0, 0); in writePixels()
/third_party/skia/src/gpu/
DGrDrawOpAtlas.cpp168 void GrDrawOpAtlas::Plot::uploadToTexture(GrDeferredTextureUploadWritePixelsFn& writePixels, in uploadToTexture() argument
185 writePixels(proxy, in uploadToTexture()
274 [plotsp, proxy](GrDeferredTextureUploadWritePixelsFn& writePixels) { in updatePlot() argument
275 plotsp->uploadToTexture(writePixels, proxy); in updatePlot()
411 [plotsp, proxy](GrDeferredTextureUploadWritePixelsFn& writePixels) { in addToAtlas() argument
412 plotsp->uploadToTexture(writePixels, proxy); in addToAtlas()
DSurfaceContext.h119 bool writePixels(GrDirectContext* dContext,
130 bool writePixels(GrDirectContext* dContext,
/third_party/skia/tests/
DWritePixelsTest.cpp121 surface->writePixels(bmp, 0, 0); in fill_surface()
312 surface->writePixels({info, &pixel, sizeof(SkPMColor)}, 0, 0); in call_writepixels()
399 surface->writePixels(bmp, rect.fLeft, rect.fTop); in test_write_pixels()
500 surf->writePixels(bm, 0, 0); in upload()
593 !surf->getCanvas()->writePixels(srcII, storage.get(), badRowBytes, 0, 0)); in DEF_TEST()
DReadWritePixelsGpuTest.cpp510 sc->writePixels(direct, src, {0, 0}); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
551 !surf->getCanvas()->writePixels(srcII, storage.get(), badRowBytes, 0, 0)); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
613 surf->writePixels(src, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
631 surf->writePixels(src, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1045 SkAutoPixmapStorage writePixels = make_ref_data(writeInfo, forceOpaque); in gpu_write_pixels_test_driver() local
1047 Result r = runTest(dst, dstInfo, writePixels, offset); in gpu_write_pixels_test_driver()
1065 if (surface->writePixels(direct, pixels, offset)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1173 if (!sc->writePixels(direct, levels.begin(), levels.count())) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/src/image/
DSkSurface.cpp295 void SkSurface::writePixels(const SkPixmap& pmap, int x, int y) { in writePixels() function in SkSurface
314 void SkSurface::writePixels(const SkBitmap& src, int x, int y) { in writePixels() function in SkSurface
317 this->writePixels(pm, x, y); in writePixels()

123