Searched refs:readPixels (Results 1 - 25 of 38) sorted by relevance

12

/external/skia/src/gpu/
H A DGrTexture.cpp16 bool GrTexture::readPixels(int left, int top, int width, int height, function in class:GrTexture
H A DSkGrTexturePixelRef.cpp116 return fTexture->readPixels(left, top, width, height,
173 return fRenderTarget->readPixels(left, top, width, height,
H A DGrRenderTarget.cpp16 bool GrRenderTarget::readPixels(int left, int top, int width, int height, function in class:GrRenderTarget
H A DGrGpu.h194 * readPixels with some configs may be slow. Given a desired config this
198 * and call readPixels with the original config.
214 * OpenGL's readPixels returns the result bottom-to-top while the skia
227 * @return true if calling readPixels with the same set of params will
265 bool readPixels(GrRenderTarget* renderTarget,
/external/skia/tests/
H A DPremulAlphaRoundTripTest.cpp83 canvas.readPixels(&readBmp1, 0, 0, gUnpremulConfigs[upmaIdx]);
85 canvas.readPixels(&readBmp2, 0, 0, gUnpremulConfigs[upmaIdx]);
H A DReadPixelsTest.cpp158 // checks the bitmap contains correct pixels after the readPixels
160 // overwritten in the area outside the readPixels.
344 // if the bitmap has pixels allocated before the readPixels,
352 canvas.readPixels(&bmp, srcRect.fLeft,
365 // if we had no pixels beforehand and the readPixels
370 // check the old webkit version of readPixels that clips the
373 bool success = canvas.readPixels(srcRect, &wkbmp);
/external/skia/include/gpu/
H A DGrTexture.h70 bool readPixels(int left, int top, int width, int height,
H A DGrRenderTarget.h140 bool readPixels(int left, int top, int width, int height,
/external/skia/include/core/
H A DSkPixelRef.h138 bool readPixels(SkBitmap* dst, const SkIRect* subset = NULL);
H A DSkCanvas.h161 * automatically. If the bitmap is backed by a texture readPixels will
171 * readPixels will fail.
172 * * If bitmap is texture-backed then readPixels will fail. (This may be
180 * if (canvas->readPixels(bitmap, 0, 0)) {
184 bool readPixels(SkBitmap* bitmap,
194 bool readPixels(const SkIRect& srcRect, SkBitmap* bitmap);
H A DSkDevice.h262 * automatically. If the bitmap is backed by a texture readPixels will
271 * * If the device is not a raster device (e.g. PDF) then readPixels will
273 * * If bitmap is texture-backed then readPixels will fail. (This may be
276 bool readPixels(SkBitmap* bitmap,
299 * Implements readPixels API. The caller will ensure that:
/external/skia/src/core/
H A DSkPixelRef.cpp148 bool SkPixelRef::readPixels(SkBitmap* dst, const SkIRect* subset) { function in class:SkPixelRef
H A DSkCanvas.cpp564 bool SkCanvas::readPixels(SkBitmap* bitmap, function in class:SkCanvas
571 return device->readPixels(bitmap, x, y, config8888);
574 bool SkCanvas::readPixels(const SkIRect& srcRect, SkBitmap* bitmap) { function in class:SkCanvas
589 if (this->readPixels(&tmp, bounds.fLeft, bounds.fTop)) {
H A DSkDevice.cpp116 bool SkDevice::readPixels(SkBitmap* bitmap, int x, int y, function in class:SkDevice
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DImageBufferSkia.cpp226 srcDevice.readPixels(SkIRect::MakeXYWH(originX, originY, numColumns, numRows), &srcBitmap);
380 // if we can't see the pixels directly, call readPixels() to get a copy.
386 if (!device->readPixels(bounds, &bitmap))
H A DPlatformContextSkia.cpp898 context->readPixels(0, height - 1 - y, width, 1, Extensions3D::BGRA_EXT, GraphicsContext3D::UNSIGNED_BYTE, pixels);
900 context->readPixels(0, height - 1 - y, width, 1, GraphicsContext3D::RGBA, GraphicsContext3D::UNSIGNED_BYTE, pixels);
/external/webkit/Source/WebCore/platform/graphics/gpu/
H A DSharedGraphicsContext3D.h101 void readPixels(GC3Dint x, GC3Dint y, GC3Dsizei width, GC3Dsizei height, GC3Denum format, GC3Denum type, void* data);
H A DSharedGraphicsContext3D.cpp225 void SharedGraphicsContext3D::readPixels(GC3Dint x, GC3Dint y, GC3Dsizei width, GC3Dsizei height, GC3Denum format, GC3Denum type, void* data) function in class:WebCore::SharedGraphicsContext3D
227 m_context->readPixels(x, y, width, height, format, type, data);
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
H A DContext.h390 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void* pixels);
/external/opencv/otherlibs/highgui/
H A Dgrfmt_exr.cpp309 m_file->readPixels( m_datawindow.min.y, m_datawindow.max.y );
329 m_file->readPixels( y, y );
/external/skia/src/utils/
H A DSkDeferredCanvas.cpp593 return fImmediateCanvas->readPixels(const_cast<SkBitmap*>(&bitmap),
/external/webkit/Source/WebKit/chromium/public/
H A DWebGraphicsContext3D.h269 virtual void readPixels(WGC3Dint x, WGC3Dint y, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Denum type, void* pixels) = 0;
/external/webkit/Source/WebKit/chromium/src/
H A DGraphicsContext3DInternal.h177 void readPixels(GC3Dint x, GC3Dint y, GC3Dsizei width, GC3Dsizei height, GC3Denum format, GC3Denum type, void* data);
H A DGraphicsContext3DChromium.cpp594 DELEGATE_TO_IMPL_7(readPixels, GC3Dint, GC3Dint, GC3Dsizei, GC3Dsizei, GC3Denum, GC3Denum, void*)
1063 DELEGATE_TO_INTERNAL_7(readPixels, GC3Dint, GC3Dint, GC3Dsizei, GC3Dsizei, GC3Denum, GC3Denum, void*)
/external/skia/gm/
H A Dgmmain.cpp240 // a factory to generate the context, always call readPixels()
310 gc->readPixels(bitmap, 0, 0);

Completed in 1034 milliseconds

12