Searched defs:readPixels (Results 1 - 25 of 27) sorted by last modified time

12

/external/skia/src/core/
H A DSkBitmap.cpp869 bool SkBitmap::readPixels(const SkImageInfo& requestedDstInfo, void* dstPixels, size_t dstRB, function in class:SkBitmap
928 if (fPixelRef->readPixels(&tmpSrc, &subset)) {
930 // FIXME: The only meaningful implementation of readPixels
986 if (!src->readPixels(tmpDst.info(), tmpDst.getPixels(), tmpDst.rowBytes(), 0, 0)) {
H A DSkCanvas.cpp702 bool SkCanvas::readPixels(SkBitmap* bitmap, int x, int y) { function in class:SkCanvas
717 if (bm.getPixels() && this->readPixels(bm.info(), bm.getPixels(), bm.rowBytes(), x, y)) {
727 bool SkCanvas::readPixels(const SkIRect& srcRect, SkBitmap* bitmap) { function in class:SkCanvas
739 if (!this->readPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), r.x(), r.y())) {
746 bool SkCanvas::readPixels(const SkImageInfo& dstInfo, void* dstP, size_t rowBytes, int x, int y) { function in class:SkCanvas
759 return device->readPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY);
1161 if (!canvas->readPixels(&fBitmap, 0, 0)) {
H A DSkDevice.cpp187 bool SkBaseDevice::readPixels(const SkImageInfo& info, void* dstP, size_t rowBytes, int x, int y) { function in class:SkBaseDevice
H A DSkPixelRef.cpp270 bool SkPixelRef::readPixels(SkBitmap* dst, const SkIRect* subset) { function in class:SkPixelRef
/external/skia/src/gpu/
H A DGrGpu.cpp224 bool GrGpu::readPixels(GrRenderTarget* target, function in class:GrGpu
H A DGrSurface.cpp28 bool GrSurface::readPixels(int left, int top, int width, int height, function in class:GrSurface
62 bool result = this->readPixels(0, 0, this->width(), this->height(), kSkia8888_GrPixelConfig,
/external/skia/src/image/
H A DSkImage.cpp40 bool SkImage::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, function in class:SkImage
H A DSkSurface.cpp173 bool SkSurface::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, function in class:SkSurface
175 return this->getCanvas()->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY);
/external/deqp/framework/egl/
H A DegluNativePixmap.cpp50 void NativePixmap::readPixels (tcu::TextureLevel*) function in class:eglu::NativePixmap
53 throw tcu::NotSupportedError("eglu::NativePixmap doesn't support readPixels", DE_NULL, __FILE__, __LINE__);
/external/deqp/framework/opengl/
H A DgluPixelTransfer.cpp49 void readPixels (const RenderContext& context, int x, int y, const tcu::PixelBufferAccess& dst) function in namespace:glu
61 gl.readPixels(x, y, width, height, format.format, format.dataType, dst.getDataPtr());
/external/deqp/framework/opengl/simplereference/
H A DsglrContext.cpp77 void Context::readPixels (tcu::Surface& dst, int x, int y, int width, int height) function in class:sglr::Context
80 readPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, dst.getAccess().getDataPtr());
H A DsglrGLContext.cpp898 void GLContext::readPixels (int x, int y, int width, int height, deUint32 format, deUint32 type, void* data) function in class:sglr::GLContext
909 m_context.getFunctions().readPixels(x+offset.x(), y+offset.y(), width, height, format, type, data);
/external/deqp/modules/egl/
H A DteglColorClearCase.cpp136 static void readPixels (EGLint api, const ApiFunctions& func, tcu::Surface& dst) function in namespace:deqp::egl
140 case EGL_OPENGL_ES_BIT: gles1::readPixels (dst, 0, 0, dst.getWidth(), dst.getHeight()); break;
141 case EGL_OPENGL_ES2_BIT: gles2::readPixels (func.gl, dst, 0, 0, dst.getWidth(), dst.getHeight()); break;
142 case EGL_OPENGL_ES3_BIT_KHR: gles2::readPixels (func.gl, dst, 0, 0, dst.getWidth(), dst.getHeight()); break;
143 case EGL_OPENVG_BIT: vg::readPixels (dst, 0, 0, dst.getWidth(), dst.getHeight()); break;
236 readPixels(api, funcs, frame);
405 readPixels(api, funcs, frame);
H A DteglGLES1RenderUtil.cpp50 void readPixels (tcu::Surface& dst, int x, int y, int width, int height) function in namespace:deqp::egl::gles1
70 void readPixels (tcu::Surface& dst, int x, int y, int width, int height)
H A DteglGLES2RenderUtil.cpp44 void readPixels (const glw::Functions& gl, tcu::Surface& dst, int x, int y, int width, int height) function in namespace:deqp::egl::gles2
47 gl.readPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, dst.getAccess().getDataPtr());
H A DteglPreservingSwapTests.cpp324 void readPixels (const glw::Functions& gl, tcu::Surface* screen) function in namespace:deqp::egl::__anon3129
326 gl.readPixels(0, 0, screen->getWidth(), screen->getHeight(), GL_RGBA, GL_UNSIGNED_BYTE, screen->getAccess().getDataPtr());
471 readPixels(m_gl, &preSwapFramebuffer);
482 readPixels(m_gl, &postSwapFramebuffer);
H A DteglRenderTests.cpp593 gl.readPixels(0, 0, dst.getWidth(), dst.getHeight(), GL_RGBA, GL_UNSIGNED_BYTE, dst.getAccess().getDataPtr());
629 static void readPixels (const glw::Functions& gl, EGLint api, tcu::Surface& dst) function in namespace:deqp::egl::__anon3133
782 readPixels(m_gl, api, frame);
1007 readPixels(m_gl, api, frame);
H A DteglVGRenderUtil.cpp48 void readPixels (tcu::Surface& dst, int x, int y, int width, int height) function in namespace:deqp::egl::vg
68 void readPixels (tcu::Surface& dst, int x, int y, int width, int height)
/external/deqp/modules/gles2/functional/
H A Des2fFlushFinishTests.cpp147 void readPixels (void);
257 void FlushFinishCase::readPixels (void) function in class:deqp::gles2::Functional::__anon3173::FlushFinishCase
262 gl.readPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &tmp);
285 readPixels();
432 readPixels();
463 readPixels();
H A Des2fTextureSpecificationTests.cpp380 void readPixels (tcu::Surface& dst, int x, int y, int width, int height);
576 readPixels(dst, 0, 0, width, height);
603 readPixels(dst, 0, 0, width, height);
606 void TextureSpecCase::readPixels (tcu::Surface& dst, int x, int y, int width, int height) function in class:deqp::gles2::Functional::TextureSpecCase
/external/deqp/modules/gles3/functional/
H A Des3fFboTestCase.cpp127 void FboTestCase::readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias) function in class:deqp::gles3::Functional::FboTestCase
129 FboTestUtil::readPixels(*getCurrentContext(), dst, x, y, width, height, format, scale, bias);
132 void FboTestCase::readPixels (tcu::Surface& dst, int x, int y, int width, int height) function in class:deqp::gles3::Functional::FboTestCase
134 getCurrentContext()->readPixels(dst, x, y, width, height);
H A Des3fFboTestUtil.cpp891 void readPixels (sglr::Context& ctx, tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias) function in namespace:deqp::gles3::Functional::FboTestUtil
899 ctx.readPixels(x, y, width, height, transferFmt.format, transferFmt.dataType, &data[0]);
H A Des3fTextureSpecificationTests.cpp164 void readPixels (tcu::Surface& dst, int x, int y, int width, int height);
240 readPixels(dst, 0, 0, width, height);
243 void TextureSpecCase::readPixels (tcu::Surface& dst, int x, int y, int width, int height) function in class:deqp::gles3::Functional::TextureSpecCase
/external/deqp/modules/gles31/functional/
H A Des31fFboTestCase.cpp131 void FboTestCase::readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias) function in class:deqp::gles31::Functional::FboTestCase
133 FboTestUtil::readPixels(*getCurrentContext(), dst, x, y, width, height, format, scale, bias);
136 void FboTestCase::readPixels (tcu::Surface& dst, int x, int y, int width, int height) function in class:deqp::gles31::Functional::FboTestCase
138 getCurrentContext()->readPixels(dst, x, y, width, height);
H A Des31fFboTestUtil.cpp439 void readPixels (sglr::Context& ctx, tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias) function in namespace:deqp::gles31::Functional::FboTestUtil
447 ctx.readPixels(x, y, width, height, transferFmt.format, transferFmt.dataType, &data[0]);

Completed in 361 milliseconds

12