/external/skia/tests/ |
D | RecordingXfermodeTest.cpp | 36 const SkImageInfo& imageInfo() const { return fImageInfo; } in imageInfo() function in __anon60800ab20111::Drawer 78 BitmapBackedCanvasStrategy(const SkImageInfo& imageInfo) { in BitmapBackedCanvasStrategy() argument 79 fBitmap.allocPixels(imageInfo); in BitmapBackedCanvasStrategy() 101 PictureStrategy(const SkImageInfo& imageInfo) { in PictureStrategy() argument 102 fBitmap.allocPixels(imageInfo); in PictureStrategy() 103 fWidth = imageInfo.width(); in PictureStrategy() 104 fHeight = imageInfo.height(); in PictureStrategy() 138 BitmapBackedCanvasStrategy golden(drawer.imageInfo()); in DEF_TEST() 139 PictureStrategy picture(drawer.imageInfo()); in DEF_TEST()
|
D | SwizzlerTest.cpp | 20 const SkImageInfo& imageInfo, in check_fill() argument 32 const size_t totalBytes = imageInfo.getSafeSize(rowBytes) + offset; in check_fill() 40 const SkImageInfo fillInfo = imageInfo.makeWH(imageInfo.width(), endRow - startRow + 1); in check_fill() 50 for (int32_t x = 0; x < imageInfo.width(); x++) { in check_fill() 51 switch (imageInfo.colorType()) { in check_fill()
|
D | PDFInvalidBitmapTest.cpp | 32 SkBitmap make_invalid_bitmap(const SkImageInfo& imageInfo) { in make_invalid_bitmap() argument 34 bitmap.setInfo(imageInfo); in make_invalid_bitmap() 35 bitmap.setPixelRef(sk_make_sp<InvalidPixelRef>(imageInfo), 0 ,0); in make_invalid_bitmap()
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryRequirementsTests.cpp | 463 const VkImageCreateInfo& imageInfo) in verifyImageRequirements() argument 490 result.check((imageInfo.usage & VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT) != 0u, in verifyImageRequirements() 501 result.check(imageInfo.tiling == VK_IMAGE_TILING_OPTIMAL || hostVisibleCoherentMemoryFound, in verifyImageRequirements() 506 std::string getImageInfoString (const VkImageCreateInfo& imageInfo) in getImageInfoString() argument 510 switch (imageInfo.imageType) in getImageInfoString() 518 switch (imageInfo.tiling) in getImageInfoString() 525 …str << "extent:[" << imageInfo.extent.width << ", " << imageInfo.extent.height << ", " << imageInf… in getImageInfoString() 526 str << imageInfo.format << " "; in getImageInfoString() 527 str << "samples:" << static_cast<deUint32>(imageInfo.samples) << " "; in getImageInfoString() 528 str << "flags:" << static_cast<deUint32>(imageInfo.flags) << " "; in getImageInfoString() [all …]
|
/external/skia/gm/ |
D | dstreadshuffle.cpp | 101 if (canvas->imageInfo().alphaType() == kOpaque_SkAlphaType) { in DrawHairlines() 148 if (SkColorType::kUnknown_SkColorType == canvas->imageInfo().colorType()) { in onDraw() 152 canvas->imageInfo().colorType(), in onDraw() 153 canvas->imageInfo().alphaType(), in onDraw() 154 canvas->imageInfo().refColorSpace()); in onDraw() 165 canvas->imageInfo().alphaType(), in onDraw() 166 canvas->imageInfo().refColorSpace()); in onDraw()
|
D | deferredtextureimage.cpp | 36 *proxy, params, 1, nullptr, canvas->imageInfo().colorSpace()); in DrawDeferredTextureImageData() 45 *proxy, params, 1, memory.data(), canvas->imageInfo().colorSpace()); in DrawDeferredTextureImageData() 61 *proxy, params, 1, nullptr, canvas->imageInfo().colorSpace()); in DrawDeferredTextureImageData() 69 *proxy, params, 1, memory.data(), canvas->imageInfo().colorSpace()); in DrawDeferredTextureImageData() 90 *proxy, params, 1, nullptr, canvas->imageInfo().colorSpace()); in DrawDeferredTextureImageMipMapTree() 99 *proxy, params, 1, memory.data(), canvas->imageInfo().colorSpace()); in DrawDeferredTextureImageMipMapTree()
|
D | composeshader.cpp | 242 SkImageInfo imageInfo = SkImageInfo::Make(width, height, variable 244 skBitmap.installPixels(imageInfo, dst32Storage.begin(), width * sizeof(int32_t), 246 imageInfo = SkImageInfo::Make(width, height, 248 skMask.installPixels(imageInfo, dst8Storage.begin(), width, nullptr, nullptr, nullptr);
|
D | readpixels.cpp | 174 if (!canvas->imageInfo().colorSpace()) { in onDraw() 199 image = image->makeTextureImage(context, canvas->imageInfo().colorSpace()); in onDraw() 235 if (!canvas->imageInfo().colorSpace()) { in onDraw() 298 if (!canvas->imageInfo().colorSpace()) { in onDraw()
|
D | textblobrandomfont.cpp | 101 SkImageInfo info = SkImageInfo::Make(kWidth, kHeight, canvas->imageInfo().colorType(), in onDraw() 103 canvas->imageInfo().refColorSpace()); in onDraw()
|
D | gammaencodedpremul.cpp | 59 if (canvas->imageInfo().isOpaque()) { in onDraw() 65 canvas->imageInfo().refColorSpace()); in onDraw()
|
D | imagealphathreshold.cpp | 91 SkColorType ct = canvas->imageInfo().colorType(); in make_color_matching_surface() 92 sk_sp<SkColorSpace> cs(canvas->imageInfo().refColorSpace()); in make_color_matching_surface()
|
D | shapes.cpp | 69 canvas->translate(canvas->imageInfo().width() / 2.f, canvas->imageInfo().height() / 2.f); in onDraw()
|
/external/skia/src/gpu/vk/ |
D | GrVkCopyManager.cpp | 252 VkDescriptorImageInfo imageInfo; in copySurfaceAsDraw() local 253 memset(&imageInfo, 0, sizeof(VkDescriptorImageInfo)); in copySurfaceAsDraw() 254 imageInfo.sampler = sampler->sampler(); in copySurfaceAsDraw() 255 imageInfo.imageView = srcTex->textureView(true)->imageView(); in copySurfaceAsDraw() 256 imageInfo.imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in copySurfaceAsDraw() 267 writeInfo.pImageInfo = &imageInfo; in copySurfaceAsDraw()
|
D | GrVkPipelineState.cpp | 330 VkDescriptorImageInfo imageInfo; in writeSamplers() local 331 memset(&imageInfo, 0, sizeof(VkDescriptorImageInfo)); in writeSamplers() 332 imageInfo.sampler = fSamplers[i]->sampler(); in writeSamplers() 333 imageInfo.imageView = textureView->imageView(); in writeSamplers() 334 imageInfo.imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in writeSamplers() 345 writeInfo.pImageInfo = &imageInfo; in writeSamplers()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleInterpolationTests.cpp | 102 const VkImageCreateInfo& imageInfo) const; 194 const VkImageCreateInfo& imageInfo) const in validateImageInfo() 197 …geFormatProperties(physicalDevice, imageInfo.format, imageInfo.imageType, imageInfo.tiling, imageI… in validateImageInfo() 199 if (imageFormatProps.maxExtent.width < imageInfo.extent.width || in validateImageInfo() 200 imageFormatProps.maxExtent.height < imageInfo.extent.height || in validateImageInfo() 201 imageFormatProps.maxExtent.depth < imageInfo.extent.depth) in validateImageInfo() 206 << imageInfo.extent.width << ", " in validateImageInfo() 207 << imageInfo.extent.height << ", " in validateImageInfo() 208 << imageInfo.extent.depth in validateImageInfo() 221 if (imageFormatProps.maxArrayLayers < imageInfo.arrayLayers) in validateImageInfo() [all …]
|
/external/skia/tools/debugger/ |
D | SkDebugCanvas.h | 180 return SkRect::MakeIWH(this->imageInfo().width(), this->imageInfo().height()); in onGetLocalClipBounds() 184 return SkIRect::MakeWH(this->imageInfo().width(), this->imageInfo().height()); in onGetDeviceClipBounds()
|
/external/skia/src/codec/ |
D | SkPngCodec.cpp | 499 SkPngNormalDecoder(const SkEncodedInfo& info, const SkImageInfo& imageInfo, SkStream* stream, in SkPngNormalDecoder() argument 501 : INHERITED(info, imageInfo, stream, reader, png_ptr, info_ptr, bitDepth) in SkPngNormalDecoder() 616 SkPngInterlacedDecoder(const SkEncodedInfo& info, const SkImageInfo& imageInfo, in SkPngInterlacedDecoder() argument 619 : INHERITED(info, imageInfo, stream, reader, png_ptr, info_ptr, bitDepth) in SkPngInterlacedDecoder() 930 SkImageInfo imageInfo = encodedInfo.makeImageInfo(origWidth, origHeight, colorSpace); in infoCallback() local 937 imageInfo = imageInfo.makeColorType(kRGB_565_SkColorType); in infoCallback() 943 *fOutCodec = new SkPngNormalDecoder(encodedInfo, imageInfo, fStream, in infoCallback() 946 *fOutCodec = new SkPngInterlacedDecoder(encodedInfo, imageInfo, fStream, in infoCallback() 958 SkPngCodec::SkPngCodec(const SkEncodedInfo& encodedInfo, const SkImageInfo& imageInfo, in SkPngCodec() argument 961 : INHERITED(encodedInfo, imageInfo, stream) in SkPngCodec()
|
D | SkGifCodec.cpp | 107 const auto imageInfo = SkImageInfo::Make(reader->screenWidth(), reader->screenHeight(), in NewFromStream() local 110 return new SkGifCodec(encodedInfo, imageInfo, reader.release()); in NewFromStream() 118 SkGifCodec::SkGifCodec(const SkEncodedInfo& encodedInfo, const SkImageInfo& imageInfo, in SkGifCodec() argument 120 : INHERITED(encodedInfo, imageInfo, nullptr) in SkGifCodec()
|
/external/lzma/CPP/Windows/Control/ |
D | ImageList.h | 56 bool GetImageInfo(int index, IMAGEINFO* imageInfo) const in GetImageInfo() argument 57 { return BOOLToBool(ImageList_GetImageInfo(m_Object, index, imageInfo)); } in GetImageInfo()
|
/external/skia/tools/viewer/sk_app/ |
D | VulkanWindowContext.cpp | 527 GrVkImageInfo* imageInfo; in getBackbufferSurface() local 529 surface->getRenderTargetHandle((GrBackendObject*)&imageInfo, in getBackbufferSurface() 531 imageInfo->updateImageLayout(VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL); in getBackbufferSurface() 539 GrVkImageInfo* imageInfo; in swapBuffers() local 541 surface->getRenderTargetHandle((GrBackendObject*)&imageInfo, in swapBuffers() 544 SkASSERT(imageInfo->fImage == fImages[backbuffer->fImageIndex]); in swapBuffers() 546 VkImageLayout layout = imageInfo->fImageLayout; in swapBuffers()
|
/external/skia/src/core/ |
D | SkDevice.h | 34 const SkImageInfo& imageInfo() const { return fInfo; } in imageInfo() function 61 return this->imageInfo().width(); in width() 65 return this->imageInfo().height(); in height() 69 return this->imageInfo().isOpaque(); in isOpaque()
|
D | SkClipStackDevice.cpp | 13 SkIRect r = fClipStack.bounds(this->imageInfo().bounds()).roundOut(); in devClipBounds() 15 SkASSERT(this->imageInfo().bounds().contains(r)); in devClipBounds()
|
D | SkLinearBitmapPipeline.cpp | 616 const SkImageInfo& imageInfo = srcPixmap.info(); in choosePixelAccessor() local 618 switch (imageInfo.colorType()) { in choosePixelAccessor() 654 const SkImageInfo& imageInfo = srcPixmap.info(); in chooseSampler() local 655 SkISize dimensions = imageInfo.dimensions(); in chooseSampler() 658 if (imageInfo.gammaCloseToSRGB()) { in chooseSampler() 660 switch (imageInfo.colorType()) { in chooseSampler() 677 switch (imageInfo.colorType()) { in chooseSampler()
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesTestsUtil.cpp | 933 const VkImageCreateInfo& imageInfo) in checkSparseSupportForImageFormat() argument 936 …instance, physicalDevice, imageInfo.format, imageInfo.imageType, imageInfo.samples, imageInfo.usag… in checkSparseSupportForImageFormat()
|
/external/skia/experimental/SkV8Example/ |
D | DrawingMethods.cpp | 131 drawingMethods->fGlobal->getIsolate(), canvas->imageInfo().width())); in GetWidth() 144 drawingMethods->fGlobal->getIsolate(), canvas->imageInfo().height())); in GetHeight()
|