Home
last modified time | relevance | path

Searched refs:readPixels (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/external/skia/tests/
DVkClearTests.cpp69 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); in basic_clear_test()
79 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); in basic_clear_test()
91 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); in basic_clear_test()
125 gpu->readPixels(tex, 0, 0, width, height, config, (void*)buffer.get(), 0); in sub_clear_test()
141 gpu->readPixels(tex, 0, 0, width, height, config, (void*)buffer.get(), 0); in sub_clear_test()
151 gpu->readPixels(tex, 0, 0, width, height, config, (void*)buffer.get(), 0); in sub_clear_test()
173 gpu->readPixels(tex, 0, 0, subWidth, subHeight, config, (void*)subBuffer.get(), 0); in sub_clear_test()
179 gpu->readPixels(tex, subWidth, 0, subWidth, subHeight, config, (void*)subBuffer.get(), 0); in sub_clear_test()
185 gpu->readPixels(tex, 0, subHeight, subWidth, subHeight, config, (void*)subBuffer.get(), 0); in sub_clear_test()
191 gpu->readPixels(tex, subWidth, subHeight, subWidth, subHeight, in sub_clear_test()
DIntTextureTest.cpp92 bool success = texture->readPixels(0, 0, kS, kS, kRGBA_8888_GrPixelConfig, readData.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
97 bool success = texture->readPixels(0, 0, kS, kS, kRGBA_half_GrPixelConfig, halfData.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
105 bool success = texture->readPixels(0, 0, kS, kS, kRGBA_8888_sint_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
114 bool success = texture->readPixels(0, 0, kS, kS, kRGBA_8888_sint_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
136 bool success = copySurface->readPixels(0, 0, kS, kS, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
191 success = texture->readPixels(0, 0, kS, kS, kRGBA_8888_sint_GrPixelConfig, readData.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
251 rtContext->readPixels(readInfo, actualData.get(), 0, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSkImageTest.cpp40 canvas.readPixels(info, &pixel, 4, 0, 0); in DEF_TEST()
42 canvas.readPixels(info, &pixel, 4, gWidth - 6, gWidth - 6); in DEF_TEST()
45 canvas.readPixels(info, &pixel, 4, gWidth - 5, gWidth - 5); in DEF_TEST()
DVkUploadPixelsTests.cpp88 gpu->readPixels(tex0, 0, 0, kWidth, kHeight, config, dstBuffer, 0); in basic_texture_test()
97 gpu->readPixels(tex0, 2, 10, 10, 2, config, dstBuffer, 0); in basic_texture_test()
113 gpu->readPixels(tex1, 0, 0, kWidth, kHeight, config, dstBuffer, 0); in basic_texture_test()
122 gpu->readPixels(tex1, 5, 4, 4, 5, config, dstBuffer, 0); in basic_texture_test()
DImageTest.cpp66 REPORTER_ASSERT(reporter, a->readPixels(pmapA, srcX, srcY)); in assert_equal()
67 REPORTER_ASSERT(reporter, b->readPixels(pmapB, 0, 0)); in assert_equal()
315 image->readPixels(dstInfo, pixels, dstRowBytes, 0, 0); in DEF_TEST()
338 REPORTER_ASSERT(reporter, image1->readPixels(dstInfo, pixels, dstRowBytes, 0, 0)); in DEF_TEST()
350 REPORTER_ASSERT(reporter, image2->readPixels(dstInfo, pixels, dstRowBytes, 0, 0)); in DEF_TEST()
631 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, 0, 0)); in image_test_read_pixels()
635 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, -w, 0)); in image_test_read_pixels()
636 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, 0, -h)); in image_test_read_pixels()
637 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, image->width(), 0)); in image_test_read_pixels()
638 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, 0, image->height())); in image_test_read_pixels()
[all …]
DImageNewShaderTest.cpp63 sourceSurface->getCanvas()->readPixels(rect, &bmOrig); in run_shader_test()
67 destinationCanvas->readPixels(rect, &bm); in run_shader_test()
88 destinationCanvas->readPixels(rect, &bmt); in run_shader_test()
DReadWriteAlphaTest.cpp92 result = sContext->readPixels(ii, readback.get(), rowBytes, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
114 result = surf->readPixels(ii, readback.get(), nonZeroRowBytes, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
180 bool result = texture->readPixels(0, 0, desc.fWidth, desc.fHeight, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DPremulAlphaRoundTripTest.cpp79 canvas->readPixels(&readBmp1, 0, 0); in test_premul_alpha_roundtrip()
82 canvas->readPixels(&readBmp2, 0, 0); in test_premul_alpha_roundtrip()
/external/skia/include/core/
DSkPixmap.h185 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
187 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes) const { in readPixels() function
188 return this->readPixels(dstInfo, dstPixels, dstRowBytes, 0, 0); in readPixels()
190 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels() function
191 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY); in readPixels()
193 bool readPixels(const SkPixmap& dst) const { in readPixels() function
194 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), 0, 0); in readPixels()
DSkBitmap.h647 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
649 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const;
650 bool readPixels(const SkPixmap& dst) const { in readPixels() function
651 return this->readPixels(dst, 0, 0); in readPixels()
/external/skia/src/gpu/
DGrTextureToYUVPlanes.cpp168 if (!yuvRenderTargetContext->readPixels(ii, tempYUV.get(), 0, 0, 0)) { in GrTextureToYUVPlanes()
197 if (!yRenderTargetContext->readPixels(ii, planes[0], rowBytes[0], 0, 0)) { in GrTextureToYUVPlanes()
210 if (!uvRenderTargetContext->readPixels(ii, tempUV.get(), 0, 0, 0)) { in GrTextureToYUVPlanes()
235 if (!uRenderTargetContext->readPixels(ii, planes[1], rowBytes[1], 0, 0)) { in GrTextureToYUVPlanes()
240 if (!vRenderTargetContext->readPixels(ii, planes[2], rowBytes[2], 0, 0)) { in GrTextureToYUVPlanes()
/external/skia/include/gpu/
DGrSurface.h86 bool readPixels(SkColorSpace* srcColorSpace,
109 bool readPixels(int left, int top, int width, int height,
114 return this->readPixels(nullptr, left, top, width, height, config, nullptr, buffer,
/external/deqp/modules/egl/
DteglGLES2RenderUtil.cpp44 void readPixels (const glw::Functions& gl, tcu::Surface& dst, int x, int y, int width, int height) in readPixels() function
47 gl.readPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, dst.getAccess().getDataPtr()); in readPixels()
DteglColorClearCase.cpp136 static void readPixels (EGLint api, const ApiFunctions& func, tcu::Surface& dst) in readPixels() function
140 case EGL_OPENGL_ES_BIT: gles1::readPixels (dst, 0, 0, dst.getWidth(), dst.getHeight()); break; in readPixels()
141 …case EGL_OPENGL_ES2_BIT: gles2::readPixels (func.gl, dst, 0, 0, dst.getWidth(), dst.getHeight());… in readPixels()
142 …case EGL_OPENGL_ES3_BIT_KHR: gles2::readPixels (func.gl, dst, 0, 0, dst.getWidth(), dst.getHeight(… in readPixels()
143 case EGL_OPENVG_BIT: vg::readPixels (dst, 0, 0, dst.getWidth(), dst.getHeight()); break; in readPixels()
236 readPixels(api, funcs, frame); in executeForContexts()
406 readPixels(api, funcs, frame); in executeForContexts()
DteglVGRenderUtil.cpp48 void readPixels (tcu::Surface& dst, int x, int y, int width, int height) in readPixels() function
68 void readPixels (tcu::Surface& dst, int x, int y, int width, int height)
DteglGLES1RenderUtil.cpp50 void readPixels (tcu::Surface& dst, int x, int y, int width, int height) in readPixels() function
70 void readPixels (tcu::Surface& dst, int x, int y, int width, int height)
/external/deqp/modules/gles3/functional/
Des3fFlushFinishTests.cpp157 void readPixels (void);
281 void FlushFinishCase::readPixels (void) in readPixels() function in deqp::gles3::Functional::__anon8e897bb90111::FlushFinishCase
286 gl.readPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &tmp); in readPixels()
312 readPixels(); in calibrate()
366 readPixels(); in calibrate()
420 readPixels(); in verifyCalibration()
542 readPixels(); in iterate()
593 readPixels(); in iterate()
Des3fFboTestCase.hpp59 …void readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureF…
60 void readPixels (tcu::Surface& dst, int x, int y, int width, int height);
Des3fFboTestCase.cpp127 void FboTestCase::readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::Te… in readPixels() function in deqp::gles3::Functional::FboTestCase
129 FboTestUtil::readPixels(*getCurrentContext(), dst, x, y, width, height, format, scale, bias); in readPixels()
132 void FboTestCase::readPixels (tcu::Surface& dst, int x, int y, int width, int height) in readPixels() function in deqp::gles3::Functional::FboTestCase
134 getCurrentContext()->readPixels(dst, x, y, width, height); in readPixels()
/external/deqp/modules/gles31/functional/
Des31fFboTestCase.hpp59 …void readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureF…
60 void readPixels (tcu::Surface& dst, int x, int y, int width, int height);
Des31fFboTestCase.cpp131 void FboTestCase::readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::Te… in readPixels() function in deqp::gles31::Functional::FboTestCase
133 FboTestUtil::readPixels(*getCurrentContext(), dst, x, y, width, height, format, scale, bias); in readPixels()
136 void FboTestCase::readPixels (tcu::Surface& dst, int x, int y, int width, int height) in readPixels() function in deqp::gles31::Functional::FboTestCase
138 getCurrentContext()->readPixels(dst, x, y, width, height); in readPixels()
/external/skia/src/image/
DSkImage.cpp55 bool SkImage::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in readPixels() function in SkImage
62 return this->readPixels(dst, 0, 0, chint); in scalePixels()
212 bool SkImage::readPixels(const SkPixmap& pmap, int srcX, int srcY, CachingHint chint) const { in readPixels() function in SkImage
213 return this->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), srcX, srcY, chint); in readPixels()
243 if (!this->readPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), 0, 0)) { in onAsLegacyBitmap()
438 if (!src->readPixels(pm, 0, 0, SkImage::kDisallow_CachingHint)) { in SkImageMakeRasterCopyAndAssignColorSpace()
/external/deqp/modules/gles2/functional/
Des2fFlushFinishTests.cpp147 void readPixels (void);
257 void FlushFinishCase::readPixels (void) in readPixels() function in deqp::gles2::Functional::__anon6c5154970111::FlushFinishCase
262 gl.readPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &tmp); in readPixels()
285 readPixels(); in calibrate()
432 readPixels(); in iterate()
463 readPixels(); in iterate()
Des2fFboRenderTest.cpp713 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight()); in render()
718 context.readPixels(dst, 0, 0, width, height); in render()
806 ctx.readPixels(dst, 0, 0, ctx.getWidth(), ctx.getHeight()); in render()
811 ctx.readPixels(dst, 0, 0, width, height); in render()
907 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight()); in render()
980 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight()); in render()
983 context.readPixels(dst, 0, 0, width, height); in render()
1058 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight()); in render()
1061 context.readPixels(dst, 0, 0, width, height); in render()
1166 ctx.readPixels(dst, 0, 0, ctx.getWidth(), ctx.getHeight()); in render()
[all …]
/external/deqp/framework/opengl/simplereference/
DsglrContext.cpp77 void Context::readPixels (tcu::Surface& dst, int x, int y, int width, int height) in readPixels() function in sglr::Context
80 readPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, dst.getAccess().getDataPtr()); in readPixels()

12345678910>>...12