Home
last modified time | relevance | path

Searched refs:sourceImage (Results 1 – 25 of 30) sorted by relevance

12

/third_party/mesa3d/src/glx/
Dpixel.c272 GLenum format, const GLubyte * sourceImage, GLvoid * userdata) in EmptyBitmap() argument
334 writeByte |= (sourceImage[0] >> bitOffset); in EmptyBitmap()
337 writeByte = (sourceImage[0] << (8 - bitOffset)); in EmptyBitmap()
341 (sourceImage[0] & writeMask); in EmptyBitmap()
357 sourceImage++; in EmptyBitmap()
379 sourceImage += sourceSkip; in EmptyBitmap()
393 const GLubyte * sourceImage, GLvoid * userdata) in __glEmptyImage() argument
408 EmptyBitmap(gc, width, height, format, sourceImage, userdata); in __glEmptyImage()
445 __GLX_MEM_COPY(itera, sourceImage, in __glEmptyImage()
447 sourceImage += elementsPerRow * elementSize * height; in __glEmptyImage()
[all …]
/third_party/boost/libs/compute/example/
Dopencv_convolution.cpp30 __kernel void convolution(__read_only image2d_t sourceImage,
72 pixel = read_imagef(sourceImage, sampler, coords);
82 if(y < get_image_height(sourceImage) &&
83 x < get_image_width(sourceImage))
/third_party/skia/tests/
DImageNewShaderTest.cpp43 sk_sp<SkImage> sourceImage(sourceSurface->makeImageSnapshot()); in run_shader_test() local
44 sk_sp<SkShader> sourceShader = sourceImage->makeShader( in run_shader_test()
69 sk_sp<SkShader> sourceShaderTranslated = sourceImage->makeShader( in run_shader_test()
DDMSAATest.cpp209 auto sourceImage = SkImage::MakeFromTexture(context, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
253 surface->getCanvas()->drawImageRect(sourceImage, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
275 surface->getCanvas()->drawImageRect(sourceImage, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
317 sourceImage.reset(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DImageFilterTest.cpp48 return sk_ref_sp<SkSpecialImage>(ctx.sourceImage()); in onFilterImage()
1512 sk_sp<SkSpecialImage> sourceImage(create_empty_special_image(dContext, 100)); in test_composed_imagefilter_bounds() local
1514 kN32_SkColorType, nullptr, sourceImage.get()); in test_composed_imagefilter_bounds()
1683 sk_sp<SkImage> sourceImage = surface->makeImageSnapshot(); in test_make_with_filter() local
1691 result = sourceImage->makeWithFilter(rContext, nullptr, subset, clipBounds, in test_make_with_filter()
1695 result = sourceImage->makeWithFilter(rContext, filter.get(), subset, clipBounds, in test_make_with_filter()
1699 result = sourceImage->makeWithFilter(rContext, filter.get(), subset, clipBounds, in test_make_with_filter()
1704 result = sourceImage->makeWithFilter(rContext, filter.get(), bigSubset, clipBounds, in test_make_with_filter()
1709 result = sourceImage->makeWithFilter(rContext, filter.get(), empty, clipBounds, in test_make_with_filter()
1713 result = sourceImage->makeWithFilter(rContext, filter.get(), subset, empty, in test_make_with_filter()
[all …]
DPDFPrimitivesTest.cpp267 return sk_ref_sp<SkSpecialImage>(ctx.sourceImage()); in onFilterImage()
/third_party/flutter/skia/tests/
DImageNewShaderTest.cpp43 sk_sp<SkImage> sourceImage(sourceSurface->makeImageSnapshot()); in run_shader_test() local
44 sk_sp<SkShader> sourceShader = sourceImage->makeShader( in run_shader_test()
70 sk_sp<SkShader> sourceShaderTranslated = sourceImage->makeShader( in run_shader_test()
DImageFilterTest.cpp48 return sk_ref_sp<SkSpecialImage>(ctx.sourceImage()); in onFilterImage()
1398 sk_sp<SkSpecialImage> sourceImage(create_empty_special_image(context, 100)); in test_composed_imagefilter_bounds() local
1400 kN32_SkColorType, nullptr, sourceImage.get()); in test_composed_imagefilter_bounds()
1569 sk_sp<SkImage> sourceImage = surface->makeImageSnapshot(); in test_make_with_filter() local
1577 result = sourceImage->makeWithFilter(nullptr, subset, clipBounds, &outSubset, &offset); in test_make_with_filter()
1580 result = sourceImage->makeWithFilter(filter.get(), subset, clipBounds, nullptr, &offset); in test_make_with_filter()
1583 result = sourceImage->makeWithFilter(filter.get(), subset, clipBounds, &outSubset, nullptr); in test_make_with_filter()
1587 result = sourceImage->makeWithFilter(filter.get(), bigSubset, clipBounds, &outSubset, &offset); in test_make_with_filter()
1591 result = sourceImage->makeWithFilter(filter.get(), empty, clipBounds, &outSubset, &offset); in test_make_with_filter()
1594 result = sourceImage->makeWithFilter(filter.get(), subset, empty, &outSubset, &offset); in test_make_with_filter()
[all …]
DPDFPrimitivesTest.cpp262 return sk_ref_sp<SkSpecialImage>(ctx.sourceImage()); in onFilterImage()
/third_party/flutter/skia/src/effects/imagefilters/
DSkPaintImageFilter.cpp71 const SkIRect srcBounds = SkIRect::MakeWH(ctx.sourceImage()->width(), in onFilterImage()
72 ctx.sourceImage()->height()); in onFilterImage()
DSkDisplacementMapEffect.cpp298 ctx.sourceImage()); in onFilterImage()
/third_party/skia/src/effects/imagefilters/
DSkShaderImageFilter.cpp82 const SkIRect srcBounds = SkIRect::MakeWH(ctx.sourceImage()->width(), in onFilterImage()
83 ctx.sourceImage()->height()); in onFilterImage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleBaseResolve.cpp358 …const VkImage sourceImage = m_imageMSParams.numSamples == VK_SAMPLE_COUNT_1_BIT ? **imageMS : **im… in iterate() local
367 sourceImage, in iterate()
391 …deviceInterface.cmdCopyImageToBuffer(*commandBuffer, sourceImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPT… in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DTextureD3D.cpp1207 ImageD3D *sourceImage = nullptr; in copyTexture() local
1208 ANGLE_TRY(sourceD3D->getImageAndSyncFromStorage(context, sourceImageIndex, &sourceImage)); in copyTexture()
1213 ANGLE_TRY(mRenderer->copyImage(context, destImage, sourceImage, sourceBox, destOffset, in copyTexture()
1255 ImageD3D *sourceImage = nullptr; in copySubTexture() local
1256 ANGLE_TRY(sourceD3D->getImageAndSyncFromStorage(context, sourceImageIndex, &sourceImage)); in copySubTexture()
1261 ANGLE_TRY(mRenderer->copyImage(context, destImage, sourceImage, sourceBox, destOffset, in copySubTexture()
1959 ImageD3D *sourceImage = nullptr; in copyTexture() local
1960 ANGLE_TRY(sourceD3D->getImageAndSyncFromStorage(context, sourceImageIndex, &sourceImage)); in copyTexture()
1965 ANGLE_TRY(mRenderer->copyImage(context, destImage, sourceImage, sourceBox, destOffset, in copyTexture()
2009 ImageD3D *sourceImage = nullptr; in copySubTexture() local
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DTextureD3D.cpp1124 ImageD3D *sourceImage = nullptr; in copyTexture() local
1125 ANGLE_TRY(sourceD3D->getImageAndSyncFromStorage(context, sourceImageIndex, &sourceImage)); in copyTexture()
1130 ANGLE_TRY(mRenderer->copyImage(context, destImage, sourceImage, sourceBox, destOffset, in copyTexture()
1172 ImageD3D *sourceImage = nullptr; in copySubTexture() local
1173 ANGLE_TRY(sourceD3D->getImageAndSyncFromStorage(context, sourceImageIndex, &sourceImage)); in copySubTexture()
1178 ANGLE_TRY(mRenderer->copyImage(context, destImage, sourceImage, sourceBox, destOffset, in copySubTexture()
1872 ImageD3D *sourceImage = nullptr; in copyTexture() local
1873 ANGLE_TRY(sourceD3D->getImageAndSyncFromStorage(context, sourceImageIndex, &sourceImage)); in copyTexture()
1878 ANGLE_TRY(mRenderer->copyImage(context, destImage, sourceImage, sourceBox, destOffset, in copyTexture()
1922 ImageD3D *sourceImage = nullptr; in copySubTexture() local
[all …]
/third_party/flutter/skia/src/core/
DSkImageFilterTypes.h78 const SkSpecialImage* sourceImage() const { return fSource; } in sourceImage() function
DSkImageFilter.cpp209 uint32_t srcGenID = fUsesSrcInput ? context.sourceImage()->uniqueID() : 0; in filterImage()
210 const SkIRect srcSubset = fUsesSrcInput ? context.sourceImage()->subset() in filterImage()
388 return sk_ref_sp(ctx.sourceImage()); in filterInput()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DImage.cpp84 for (Image *sourceImage : mSourcesOf) in orphanImages()
86 ANGLE_TRY(sourceImage->orphanSibling(context, this)); in orphanImages()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DImage.cpp89 for (Image *sourceImage : mSourcesOf) in orphanImages()
91 ANGLE_TRY(sourceImage->orphanSibling(context, this)); in orphanImages()
/third_party/skia/src/core/
DSkImageFilter.cpp234 uint32_t srcGenID = fUsesSrcInput ? context.sourceImage()->uniqueID() : 0; in filterImage()
235 const SkIRect srcSubset = fUsesSrcInput ? context.sourceImage()->subset() in filterImage()
DSkImageFilterTypes.h639 const SkSpecialImage* sourceImage() const { return fSource.image(); } in sourceImage() function
/third_party/flutter/skia/gm/
Dimagefiltersbase.cpp71 return sk_ref_sp<SkSpecialImage>(ctx.sourceImage()); in onFilterImage()
/third_party/skia/gm/
Dimagefiltersbase.cpp73 return sk_ref_sp<SkSpecialImage>(ctx.sourceImage()); in onFilterImage()
/third_party/vk-gl-cts/modules/egl/
DteglGLES2SharingThreadedTests.cpp877 SharedPtr<EGLImage> sourceImage; member in deqp::egl::GLES2ThreadTest::Texture
975 texture->sourceImage = SharedPtr<EGLImage>(); in TexImage2D()
1026 if (m_texture->sourceImage) in TexSubImage2D()
1027 modifyGLObject(SharedPtr<Object>(m_texture->sourceImage)); in TexSubImage2D()
1080 texture->sourceImage = SharedPtr<EGLImage>(); in CopyTexImage2D()
1130 if (m_texture->sourceImage) in CopyTexSubImage2D()
1131 modifyGLObject(SharedPtr<Object>(m_texture->sourceImage)); in CopyTexSubImage2D()
1898 m_texture->sourceImage = m_image; in CreateImageFromTexture()
1989 texture->sourceImage = image; in DefineTextureFromImage()
2361 if (!texture->sourceImage) in addRandomOperation()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp1555 void UploadDownloadExecutor::copyImageToBuffer(VkImage sourceImage, in copyImageToBuffer() argument
1573 sourceImage, // VkImage image; in copyImageToBuffer()
1598 …m_vk.cmdCopyImageToBuffer(*m_cmdBuffer, sourceImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer,… in copyImageToBuffer()

12