Home
last modified time | relevance | path

Searched refs:imagePtr (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/docs/examples/
DCanvas_drawImage.cpp8 SkImage* imagePtr = image.get(); in draw() local
9 canvas->drawImage(imagePtr, 0, 0); in draw()
11 canvas->drawImage(imagePtr, 80, 0, SkSamplingOptions(), &paint); in draw()
13 canvas->drawImage(imagePtr, 160, 0, SkSamplingOptions(), &paint); in draw()
DCanvas_drawAtlas.cpp11 const SkImage* imagePtr = image.get(); in draw() local
13 canvas->drawAtlas(imagePtr, xforms, tex, colors, 2, SkBlendMode::kSrcOver, in draw()
DCanvas_drawImageNine.cpp25 SkImage* imagePtr = image.get(); in draw() local
27 canvas->drawImageNine(imagePtr, center, SkRect::MakeWH(dest, dest), in draw()
/third_party/skia/src/gpu/
DGrDrawOpAtlas.cpp139 const unsigned char* imagePtr = (const unsigned char*)image; in addSubImage() local
147 SkOpts::RGBA_to_BGRA((uint32_t*)dataPtr, (const uint32_t*)imagePtr, width); in addSubImage()
149 imagePtr += rowBytes; in addSubImage()
153 memcpy(dataPtr, imagePtr, rowBytes); in addSubImage()
155 imagePtr += rowBytes; in addSubImage()
/third_party/skia/src/core/
DSkDistanceFieldGen.cpp42 static bool found_edge(const unsigned char* imagePtr, int width, int neighborFlags) { in found_edge() argument
49 unsigned char currVal = *imagePtr; in found_edge()
54 const unsigned char* checkPtr = imagePtr + offsets[i]; in found_edge()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageAtomicOperationTests.cpp938 de::MovePtr<Image>& imagePtr,
1221 de::MovePtr<Image>& imagePtr, in createImageAndView() argument
1274 imagePtr = de::MovePtr<Image>(sparseImage); in createImageAndView()
1277imagePtr = de::MovePtr<Image>(new Image(deviceInterface, device, allocator, createInfo, MemoryRequ… in createImageAndView()
1281 …imageViewPtr = makeImageView(deviceInterface, device, imagePtr->get(), mapImageViewType(m_imageTyp… in createImageAndView()
DvktImageSubresourceLayoutTests.cpp445 auto* imagePtr = reinterpret_cast<unsigned char*>(imageAlloc.getHostPtr()); in iterateAspect() local
591 const auto layerImagePtr = imagePtr + layerImageOffset; in iterateAspect()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DDisplay.cpp1273 angle::UniqueObjectPointer<Image, Display> imagePtr( in createImage() local
1275 ANGLE_TRY(imagePtr->initialize(this)); in createImage()
1277 Image *image = imagePtr.release(); in createImage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/
DvktAttachmentRateTests.cpp1756 deUint8* imagePtr = reinterpret_cast<deUint8*>(m_srImage[0]->getAllocation().getHostPtr()); in runFillLinearTiledImage() local
1763 deUint8* rowDst = imagePtr + srImageLayout.offset + srImageLayout.rowPitch * srTexelRow; in runFillLinearTiledImage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.cpp4421 const void* imagePtr = readImageBufferMemory->getHostPtr(); in runAndVerifyDefaultPipeline() local
4423 renderSize.x(), renderSize.y(), 1, imagePtr); in runAndVerifyDefaultPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleTests.cpp4770 std::unique_ptr<vk::ImageWithMemory> imagePtr; in iterate() local
4793imagePtr.reset(new vk::ImageWithMemory{vkd, device, allocator, imageCreateInfo, MemoryRequirement:… in iterate()
4796 …imageView = vk::makeImageView(vkd, device, imagePtr->get(), vk::VK_IMAGE_VIEW_TYPE_2D, kColorF… in iterate()