Home
last modified time | relevance | path

Searched refs:writePixels (Results 1 - 25 of 59) sorted by relevance

123

/third_party/skia/samplecode/
H A DSampleWritePixels.cpp48 canvas->writePixels(bitmap, 0, 0);
49 canvas->writePixels(subset, 0, 0);
/third_party/skia/docs/examples/
H A Dgpu8888diff.cpp24 if (bitmap.writePixels(redPixmap, 0, 0)) { in REG_FIDDLE()
28 if (bitmap.writePixels(bluePixmap, 0, 0)) { in REG_FIDDLE()
H A DColor_Type_RGB_565.cpp22 if (bitmap.writePixels(redPixmap, 0, 0)) { in REG_FIDDLE()
26 if (bitmap.writePixels(bluePixmap, 0, 0)) { in REG_FIDDLE()
H A DColor_Type_BGRA_8888.cpp22 if (bitmap.writePixels(redPixmap, 0, 0)) { in REG_FIDDLE()
26 if (bitmap.writePixels(bluePixmap, 0, 0)) { in REG_FIDDLE()
H A DColor_Type_RGBA_8888.cpp22 if (bitmap.writePixels(redPixmap, 0, 0)) { in REG_FIDDLE()
26 if (bitmap.writePixels(bluePixmap, 0, 0)) { in REG_FIDDLE()
H A DColor_Type_ARGB_4444.cpp22 if (bitmap.writePixels(redPixmap, 0, 0)) { in REG_FIDDLE()
26 if (bitmap.writePixels(bluePixmap, 0, 0)) { in REG_FIDDLE()
H A Dgpu4444diff.cpp24 if (bitmap.writePixels(redPixmap, 0, 0)) { in REG_FIDDLE_SRGB()
28 if (bitmap.writePixels(bluePixmap, 0, 0)) { in REG_FIDDLE_SRGB()
H A DColor_Type_RGBA_F16.cpp44 if (bitmap.writePixels(redPixmap, 0, 0)) { in REG_FIDDLE()
48 if (bitmap.writePixels(bluePixmap, 0, 0)) { in REG_FIDDLE()
H A DSurface_writePixels_2.cpp10 surf->writePixels(source, 25, 25); in REG_FIDDLE()
H A DSurface_writePixels.cpp16 surf->writePixels(pixmap, 25, 25); in REG_FIDDLE()
H A DBitmap_writePixels_2.cpp12 bitmap.writePixels(src); in REG_FIDDLE()
H A DCanvas_writePixels.cpp13 canvas->writePixels(imageInfo, &pixels, sizeof(pixels), 0, y); in REG_FIDDLE()
H A DCanvas_SrcRectConstraint.cpp13 checkRed.writePixels( in REG_FIDDLE()
H A DColor_Type_Alpha_8.cpp18 if (bitmap.writePixels(alphaPixmap, 0, 0)) { in REG_FIDDLE()
H A DColor_Type_Gray_8.cpp16 if (bitmap.writePixels(grayPixmap, 0, 0)) { in REG_FIDDLE()
H A DCanvas_writePixels_2.cpp18 canvas->writePixels(bitmap, x, y); in REG_FIDDLE()
H A DBitmap_writePixels.cpp21 bitmap.writePixels(pixmap, -y * width, -x * height); in REG_FIDDLE()
/third_party/skia/gm/
H A 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()
H A Dcopy_to_4444.cpp66 if (bitmap.writePixels(redPixmap, 0, 0)) { in DEF_SIMPLE_GM()
70 if (bitmap.writePixels(bluePixmap, 0, 0)) { in DEF_SIMPLE_GM()
/third_party/skia/include/core/
H A DSkBitmap.h1033 bool writePixels(const SkPixmap& src, int dstX, int dstY);
1055 bool writePixels(const SkPixmap& src) { in writePixels() function in SkBitmap
1056 return this->writePixels(src, 0, 0); in writePixels()
/third_party/skia/src/gpu/
H A DSurfaceContext.h119 bool writePixels(GrDirectContext* dContext,
130 bool writePixels(GrDirectContext* dContext,
227 * Currently only writePixels and replaceRenderTarget call this directly. All other copies
H A DGrDrawOpAtlas.cpp169 void GrDrawOpAtlas::Plot::uploadToTexture(GrDeferredTextureUploadWritePixelsFn& writePixels, in uploadToTexture() argument
186 writePixels(proxy, in uploadToTexture()
275 [plotsp, proxy](GrDeferredTextureUploadWritePixelsFn& writePixels) { in updatePlot()
276 plotsp->uploadToTexture(writePixels, proxy); in updatePlot()
412 [plotsp, proxy](GrDeferredTextureUploadWritePixelsFn& writePixels) { in addToAtlas()
413 plotsp->uploadToTexture(writePixels, proxy); in addToAtlas()
/third_party/skia/tests/
H A 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()
458 // Dawn currently doesn't support writePixels to a texture-as-render-target. in test_write_pixels_non_texture()
500 surf->writePixels(bm, 0, 0); in upload()
505 // This is tests whether the first writePixels is completed before the
506 // second writePixels takes effect (i.e., that writePixels correctly flushes
530 // Seed the resource cached with a scratch texture that will be reused by writePixels in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
591 // SkSurface::writePixels does in DEF_TEST()
[all...]
/third_party/skia/bench/
H A DPremulAndUnpremulAlphaOpsBench.cpp34 fBmp1.allocPixels(info); // used in writePixels
51 canvas->writePixels(fBmp1.info(), fBmp1.getPixels(), fBmp1.rowBytes(), 0, 0);
/third_party/skia/src/image/
H A 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()

Completed in 11 milliseconds

123