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

12

/external/skia/samplecode/
H A DSampleWritePixels.cpp55 canvas->writePixels(bitmap, 0, 0);
56 canvas->writePixels(subset, 0, 0);
/external/skia/include/gpu/
H A DGrSurface.h136 bool writePixels(SkColorSpace* dstColorSpace,
160 bool writePixels(int left, int top, int width, int height, function in class:GrSurface
165 return this->writePixels(nullptr, left, top, width, height, config, nullptr, buffer,
/external/skia/src/gpu/
H A DGrDrawOpAtlas.cpp128 void GrDrawOpAtlas::Plot::uploadToTexture(GrDrawOp::WritePixelsFn& writePixels, argument
137 writePixels(texture, fOffset.fX + fDirtyRect.fLeft, fOffset.fY + fDirtyRect.fTop,
219 [plotsp, texture] (GrDrawOp::WritePixelsFn& writePixels) {
220 plotsp->uploadToTexture(writePixels, texture);
298 [plotsp, texture] (GrDrawOp::WritePixelsFn& writePixels) {
299 plotsp->uploadToTexture(writePixels, texture);
H A DGrSurfaceContext.h93 bool writePixels(const SkImageInfo& srcInfo, const void* srcBuffer, size_t srcRowBytes, function in class:GrSurfaceContext
H A DGrTextureContext.cpp153 return tex->writePixels(this->getColorSpace(), x, y, srcInfo.width(), srcInfo.height(),
H A DGrGpu.cpp401 bool GrGpu::writePixels(GrSurface* surface, function in class:GrGpu
426 bool GrGpu::writePixels(GrSurface* surface, function in class:GrGpu
436 return this->writePixels(surface, left, top, width, height, config, texels);
H A DGrGpu.h273 bool writePixels(GrSurface* surface,
280 * It then calls writePixels with that SkTArray.
286 bool writePixels(GrSurface* surface,
H A DGrOpFlushState.h79 return this->fGpu->writePixels(surface, left, top, width, height, config, buffer,
H A DGrSWMaskHelper.cpp116 if (!sContext->writePixels(ii, fPixels.addr(), fPixels.rowBytes(), 0, 0)) {
H A DGrSurface.cpp142 bool GrSurface::writePixels(SkColorSpace* dstColorSpace, int left, int top, int width, int height, function in class:GrSurface
H A DGrYUVProvider.cpp117 if (!yuvTextureContexts[i]->writePixels(ii, planes[i],
/external/skia/bench/
H A DPremulAndUnpremulAlphaOpsBench.cpp33 fBmp1.allocPixels(info); // used in writePixels
50 canvas->writePixels(fBmp1.info(), fBmp1.getPixels(), fBmp1.rowBytes(), 0, 0);
H A DWritePixelsBench.cpp60 canvas->writePixels(info, bmp.getPixels(), bmp.rowBytes(), 0, 0);
/external/skia/tests/
H A DSRGBReadWritePixelsTest.cpp175 if (tex->writePixels(0, 0, kW, kH, kSRGBA_8888_GrPixelConfig, origData)) {
192 if (tex->writePixels(0, 0, kW, kH, kRGBA_8888_GrPixelConfig, origData)) {
212 if (tex->writePixels(0, 0, kW, kH, kSRGBA_8888_GrPixelConfig, origData)) {
224 if (tex->writePixels(0, 0, kW, kH, kRGBA_8888_GrPixelConfig, origData)) {
H A DVkUploadPixelsTests.cpp95 tex0->writePixels(2, 10, 10, 2, config, srcBuffer);
120 tex1->writePixels(5, 4, 4, 5, config, srcBuffer);
H A DIntTextureTest.cpp171 bool success = texture->writePixels(0, 0, kS/2, kS/2, kRGBA_8888_GrPixelConfig,
177 bool success = texture->writePixels(0, 0, kS/2, kS/2, kRGBA_8888_sint_GrPixelConfig,
183 bool success = texture->writePixels(0, 0, kS/2, kS/2, kRGBA_8888_sint_GrPixelConfig,
222 texture->writePixels(0, 0, kS, kS, kRGBA_8888_sint_GrPixelConfig, testData.get());
H A DPremulAlphaRoundTripTest.cpp61 canvas->writePixels(info, bmp.getPixels(), bmp.rowBytes(), 0, 0);
H A DTestUtils.cpp53 bool write = dstContext->writePixels(ii, pixels.get(), 0, 0, 0);
62 ERRORF(reporter, "%s: writePixels succeeded when it wasn't supposed to.", testName);
H A DWritePixelsTest.cpp293 canvas->writePixels(info, &pixel, sizeof(SkPMColor), 0, 0);
378 canvas.writePixels(bmp, rect.fLeft, rect.fTop);
H A DReadWriteAlphaTest.cpp83 bool result = sContext->writePixels(ii, alphaData, 0, 0, 0);
84 REPORTER_ASSERT_MESSAGE(reporter, result, "Initial A8 writePixels failed");
/external/skia/gm/
H A Dstroketext.cpp25 c.writePixels(src, 0, 0);
H A Dtexdata.cpp134 if (!tContext->writePixels(ii, gTextureData.get(), 4 * kStride, S, i ? 0 : S)) {
/external/skia/include/core/
H A DSkBitmap.h660 bool writePixels(const SkPixmap& src, int dstX, int dstY) { function in class:SkBitmap
661 return this->writePixels(src, dstX, dstY, SkTransferFunctionBehavior::kRespect);
663 bool writePixels(const SkPixmap& src) { function in class:SkBitmap
664 return this->writePixels(src, 0, 0);
782 bool writePixels(const SkPixmap& src, int x, int y, SkTransferFunctionBehavior behavior);
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
H A DAnimatedGifEncoder.java176 writePixels(); // encode and write pixel data
510 private void writePixels() throws IOException { method in class:AnimatedGifEncoder
/external/skia/src/core/
H A DSkDevice.h72 bool writePixels(const SkImageInfo&, const void*, size_t rowBytes, int x, int y);

Completed in 2044 milliseconds

12