Home
last modified time | relevance | path

Searched refs:imageInfo (Results 1 – 25 of 81) sorted by relevance

1234

/external/skia/tests/
DRecordingXfermodeTest.cpp36 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()
DSwizzlerTest.cpp20 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()
DPDFInvalidBitmapTest.cpp32 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/
DvktMemoryRequirementsTests.cpp463 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/
Ddstreadshuffle.cpp101 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()
Ddeferredtextureimage.cpp36 *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()
Dcomposeshader.cpp242 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);
Dreadpixels.cpp174 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()
Dtextblobrandomfont.cpp101 SkImageInfo info = SkImageInfo::Make(kWidth, kHeight, canvas->imageInfo().colorType(), in onDraw()
103 canvas->imageInfo().refColorSpace()); in onDraw()
Dgammaencodedpremul.cpp59 if (canvas->imageInfo().isOpaque()) { in onDraw()
65 canvas->imageInfo().refColorSpace()); in onDraw()
Dimagealphathreshold.cpp91 SkColorType ct = canvas->imageInfo().colorType(); in make_color_matching_surface()
92 sk_sp<SkColorSpace> cs(canvas->imageInfo().refColorSpace()); in make_color_matching_surface()
Dshapes.cpp69 canvas->translate(canvas->imageInfo().width() / 2.f, canvas->imageInfo().height() / 2.f); in onDraw()
/external/skia/src/gpu/vk/
DGrVkCopyManager.cpp252 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()
DGrVkPipelineState.cpp330 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/
DvktPipelineMultisampleInterpolationTests.cpp102 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/
DSkDebugCanvas.h180 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/
DSkPngCodec.cpp499 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()
DSkGifCodec.cpp107 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/
DImageList.h56 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/
DVulkanWindowContext.cpp527 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/
DSkDevice.h34 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()
DSkClipStackDevice.cpp13 SkIRect r = fClipStack.bounds(this->imageInfo().bounds()).roundOut(); in devClipBounds()
15 SkASSERT(this->imageInfo().bounds().contains(r)); in devClipBounds()
DSkLinearBitmapPipeline.cpp616 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/
DvktSparseResourcesTestsUtil.cpp933 const VkImageCreateInfo& imageInfo) in checkSparseSupportForImageFormat() argument
936 …instance, physicalDevice, imageInfo.format, imageInfo.imageType, imageInfo.samples, imageInfo.usag… in checkSparseSupportForImageFormat()
/external/skia/experimental/SkV8Example/
DDrawingMethods.cpp131 drawingMethods->fGlobal->getIsolate(), canvas->imageInfo().width())); in GetWidth()
144 drawingMethods->fGlobal->getIsolate(), canvas->imageInfo().height())); in GetHeight()

1234