/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleBase.cpp | 114 const VkImageCreateInfo& imageInfo) const in validateImageInfo() 117 …geFormatProperties(physicalDevice, imageInfo.format, imageInfo.imageType, imageInfo.tiling, imageI… in validateImageInfo() 119 if (imageFormatProps.maxExtent.width < imageInfo.extent.width || in validateImageInfo() 120 imageFormatProps.maxExtent.height < imageInfo.extent.height || in validateImageInfo() 121 imageFormatProps.maxExtent.depth < imageInfo.extent.depth) in validateImageInfo() 126 << imageInfo.extent.width << ", " in validateImageInfo() 127 << imageInfo.extent.height << ", " in validateImageInfo() 128 << imageInfo.extent.depth in validateImageInfo() 141 if (imageFormatProps.maxArrayLayers < imageInfo.arrayLayers) in validateImageInfo() 145 …notSupportedStream << "Image layers count of " << imageInfo.arrayLayers << " exceeds allowed maxim… in validateImageInfo() [all …]
|
/external/skqp/include/core/ |
D | SkSurface.h | 69 static sk_sp<SkSurface> MakeRasterDirect(const SkImageInfo& imageInfo, void* pixels, 97 static sk_sp<SkSurface> MakeRasterDirectReleaseProc(const SkImageInfo& imageInfo, void* pixels, 123 static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, size_t rowBytes, 142 static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, 144 return MakeRaster(imageInfo, 0, props); 306 const SkImageInfo& imageInfo, 334 const SkImageInfo& imageInfo, int sampleCount, in MakeRenderTarget() argument 336 return MakeRenderTarget(context, budgeted, imageInfo, sampleCount, in MakeRenderTarget() 355 const SkImageInfo& imageInfo) { in MakeRenderTarget() argument 356 if (!imageInfo.width() || !imageInfo.height()) { in MakeRenderTarget() [all …]
|
/external/skia/tests/ |
D | VkWrapTests.cpp | 42 GrVkImageInfo imageInfo; in wrap_tex_test() local 43 SkAssertResult(origBackendTex.getVkImageInfo(&imageInfo)); in wrap_tex_test() 51 GrVkImageInfo backendCopy = imageInfo; in wrap_tex_test() 65 GrVkImageInfo backendCopy = imageInfo; in wrap_tex_test() 79 GrVkImageInfo backendCopy = imageInfo; in wrap_tex_test() 96 GrVkImageInfo imageInfo; in wrap_rt_test() local 97 SkAssertResult(origBackendTex.getVkImageInfo(&imageInfo)); in wrap_rt_test() 99 GrBackendRenderTarget origBackendRT(kW, kH, 1, 0, imageInfo); in wrap_rt_test() 107 GrVkImageInfo backendCopy = imageInfo; in wrap_rt_test() 117 GrVkImageInfo backendCopy = imageInfo; in wrap_rt_test() [all …]
|
D | RecordingXfermodeTest.cpp | 38 const SkImageInfo& imageInfo() const { return fImageInfo; } in imageInfo() function in __anon1e22549b0111::Drawer 80 BitmapBackedCanvasStrategy(const SkImageInfo& imageInfo) { in BitmapBackedCanvasStrategy() argument 81 fBitmap.allocPixels(imageInfo); in BitmapBackedCanvasStrategy() 103 PictureStrategy(const SkImageInfo& imageInfo) { in PictureStrategy() argument 104 fBitmap.allocPixels(imageInfo); in PictureStrategy() 105 fWidth = imageInfo.width(); in PictureStrategy() 106 fHeight = imageInfo.height(); in PictureStrategy() 140 BitmapBackedCanvasStrategy golden(drawer.imageInfo()); in DEF_TEST() 141 PictureStrategy picture(drawer.imageInfo()); in DEF_TEST()
|
D | SwizzlerTest.cpp | 15 const SkImageInfo& imageInfo, in check_fill() argument 26 const size_t totalBytes = imageInfo.computeByteSize(rowBytes) + offset; in check_fill() 34 const SkImageInfo fillInfo = imageInfo.makeWH(imageInfo.width(), endRow - startRow + 1); in check_fill() 44 for (int32_t x = 0; x < imageInfo.width(); x++) { in check_fill() 45 switch (imageInfo.colorType()) { in check_fill()
|
D | GrOpListFlushTest.cpp | 32 SkImageInfo imageInfo = SkImageInfo::Make(1000, 1, kRGBA_8888_SkColorType, kPremul_SkAlphaType); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 34 sk_sp<SkSurface> surface1 = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, imageInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 38 sk_sp<SkSurface> surface2 = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, imageInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | AnimatedImageTest.cpp | 121 const auto imageInfo = codec->getInfo().makeAlphaType(kPremul_SkAlphaType); in DEF_TEST() local 140 bm.allocPixels(imageInfo); in DEF_TEST() 160 test.allocPixels(imageInfo); in DEF_TEST() 196 const auto imageInfo = codec->getInfo().makeAlphaType(kPremul_SkAlphaType); in DEF_TEST() local 237 auto testDraw = [r, &frames, &imageInfo, file](const sk_sp<SkAnimatedImage>& animatedImage, in DEF_TEST() 240 test.allocPixels(imageInfo); in DEF_TEST()
|
/external/skqp/tests/ |
D | VkWrapTests.cpp | 42 GrVkImageInfo imageInfo; in wrap_tex_test() local 43 SkAssertResult(origBackendTex.getVkImageInfo(&imageInfo)); in wrap_tex_test() 51 GrVkImageInfo backendCopy = imageInfo; in wrap_tex_test() 65 GrVkImageInfo backendCopy = imageInfo; in wrap_tex_test() 79 GrVkImageInfo backendCopy = imageInfo; in wrap_tex_test() 96 GrVkImageInfo imageInfo; in wrap_rt_test() local 97 SkAssertResult(origBackendTex.getVkImageInfo(&imageInfo)); in wrap_rt_test() 99 GrBackendRenderTarget origBackendRT(kW, kH, 1, 0, imageInfo); in wrap_rt_test() 107 GrVkImageInfo backendCopy = imageInfo; in wrap_rt_test() 117 GrVkImageInfo backendCopy = imageInfo; in wrap_rt_test() [all …]
|
D | RecordingXfermodeTest.cpp | 38 const SkImageInfo& imageInfo() const { return fImageInfo; } in imageInfo() function in __anone1e8f1b20111::Drawer 80 BitmapBackedCanvasStrategy(const SkImageInfo& imageInfo) { in BitmapBackedCanvasStrategy() argument 81 fBitmap.allocPixels(imageInfo); in BitmapBackedCanvasStrategy() 103 PictureStrategy(const SkImageInfo& imageInfo) { in PictureStrategy() argument 104 fBitmap.allocPixels(imageInfo); in PictureStrategy() 105 fWidth = imageInfo.width(); in PictureStrategy() 106 fHeight = imageInfo.height(); in PictureStrategy() 140 BitmapBackedCanvasStrategy golden(drawer.imageInfo()); in DEF_TEST() 141 PictureStrategy picture(drawer.imageInfo()); in DEF_TEST()
|
D | SwizzlerTest.cpp | 15 const SkImageInfo& imageInfo, in check_fill() argument 26 const size_t totalBytes = imageInfo.computeByteSize(rowBytes) + offset; in check_fill() 34 const SkImageInfo fillInfo = imageInfo.makeWH(imageInfo.width(), endRow - startRow + 1); in check_fill() 44 for (int32_t x = 0; x < imageInfo.width(); x++) { in check_fill() 45 switch (imageInfo.colorType()) { in check_fill()
|
D | GrOpListFlushTest.cpp | 32 SkImageInfo imageInfo = SkImageInfo::Make(1000, 1, kRGBA_8888_SkColorType, kPremul_SkAlphaType); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 34 sk_sp<SkSurface> surface1 = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, imageInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 38 sk_sp<SkSurface> surface2 = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, imageInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | AnimatedImageTest.cpp | 132 const auto imageInfo = codec->getInfo().makeAlphaType(kPremul_SkAlphaType); in DEF_TEST() local 151 bm.allocPixels(temporarily_sanitize(imageInfo)); in DEF_TEST() 171 test.allocPixels(temporarily_sanitize(imageInfo)); in DEF_TEST() 207 const auto imageInfo = codec->getInfo().makeAlphaType(kPremul_SkAlphaType); in DEF_TEST() local 248 auto testDraw = [r, &frames, &imageInfo, file](const sk_sp<SkAnimatedImage>& animatedImage, in DEF_TEST() 251 test.allocPixels(temporarily_sanitize(imageInfo)); in DEF_TEST()
|
/external/skia/include/core/ |
D | SkSurface.h | 74 static sk_sp<SkSurface> MakeRasterDirect(const SkImageInfo& imageInfo, void* pixels, 102 static sk_sp<SkSurface> MakeRasterDirectReleaseProc(const SkImageInfo& imageInfo, void* pixels, 128 static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, size_t rowBytes, 147 static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, 149 return MakeRaster(imageInfo, 0, props); 355 const SkImageInfo& imageInfo, 383 const SkImageInfo& imageInfo, int sampleCount, in MakeRenderTarget() argument 385 return MakeRenderTarget(context, budgeted, imageInfo, sampleCount, in MakeRenderTarget() 404 const SkImageInfo& imageInfo) { in MakeRenderTarget() argument 405 if (!imageInfo.width() || !imageInfo.height()) { in MakeRenderTarget() [all …]
|
/external/skqp/docs/ |
D | SkImageInfo_Reference.bmh | 111 SkImageInfo imageInfo = SkImageInfo::Make(1, 1, kN32_SkColorType, kOpaque_SkAlphaType); 112 if (bitmap.installPixels(imageInfo, (void*) &color, imageInfo.minRowBytes())) { 151 SkImageInfo imageInfo = SkImageInfo::Make(1, 1, kN32_SkColorType, kPremul_SkAlphaType); 152 if (bitmap.installPixels(imageInfo, (void*) &color, imageInfo.minRowBytes())) { 184 SkImageInfo imageInfo = SkImageInfo::Make(1, 1, kN32_SkColorType, kUnpremul_SkAlphaType); 185 if (bitmap.installPixels(imageInfo, (void*) &color, imageInfo.minRowBytes())) { 353 SkImageInfo imageInfo = SkImageInfo::Make(2, 2, kAlpha_8_SkColorType, kOpaque_SkAlphaType); 354 bitmap.allocPixels(imageInfo); 361 SkPixmap alphaPixmap(imageInfo, &alpha8, imageInfo.minRowBytes()); 385 SkImageInfo imageInfo = SkImageInfo::Make(2, 2, kRGB_565_SkColorType, kOpaque_SkAlphaType); [all …]
|
/external/skia/docs/ |
D | SkImageInfo_Reference.bmh | 111 SkImageInfo imageInfo = SkImageInfo::Make(1, 1, kN32_SkColorType, kOpaque_SkAlphaType); 112 if (bitmap.installPixels(imageInfo, (void*) &color, imageInfo.minRowBytes())) { 151 SkImageInfo imageInfo = SkImageInfo::Make(1, 1, kN32_SkColorType, kPremul_SkAlphaType); 152 if (bitmap.installPixels(imageInfo, (void*) &color, imageInfo.minRowBytes())) { 184 SkImageInfo imageInfo = SkImageInfo::Make(1, 1, kN32_SkColorType, kUnpremul_SkAlphaType); 185 if (bitmap.installPixels(imageInfo, (void*) &color, imageInfo.minRowBytes())) { 353 SkImageInfo imageInfo = SkImageInfo::Make(2, 2, kAlpha_8_SkColorType, kOpaque_SkAlphaType); 354 bitmap.allocPixels(imageInfo); 361 SkPixmap alphaPixmap(imageInfo, &alpha8, imageInfo.minRowBytes()); 385 SkImageInfo imageInfo = SkImageInfo::Make(2, 2, kRGB_565_SkColorType, kOpaque_SkAlphaType); [all …]
|
/external/skia/gm/ |
D | dstreadshuffle.cpp | 100 if (canvas->imageInfo().alphaType() == kOpaque_SkAlphaType) { in DrawHairlines() 147 if (SkColorType::kUnknown_SkColorType == canvas->imageInfo().colorType()) { in onDraw() 151 canvas->imageInfo().colorType(), in onDraw() 152 canvas->imageInfo().alphaType(), in onDraw() 153 canvas->imageInfo().refColorSpace()); in onDraw() 164 canvas->imageInfo().alphaType(), in onDraw() 165 canvas->imageInfo().refColorSpace()); in onDraw()
|
D | copyTo4444.cpp | 60 SkImageInfo imageInfo = SkImageInfo::Make(1, 1, kARGB_4444_SkColorType, kPremul_SkAlphaType); variable 61 bitmap.allocPixels(imageInfo); 72 SkPixmap redPixmap(imageInfo, &red4444, 2); 76 SkPixmap bluePixmap(imageInfo, &blue4444, 2);
|
/external/skqp/gm/ |
D | dstreadshuffle.cpp | 100 if (canvas->imageInfo().alphaType() == kOpaque_SkAlphaType) { in DrawHairlines() 147 if (SkColorType::kUnknown_SkColorType == canvas->imageInfo().colorType()) { in onDraw() 151 canvas->imageInfo().colorType(), in onDraw() 152 canvas->imageInfo().alphaType(), in onDraw() 153 canvas->imageInfo().refColorSpace()); in onDraw() 164 canvas->imageInfo().alphaType(), in onDraw() 165 canvas->imageInfo().refColorSpace()); in onDraw()
|
D | copyTo4444.cpp | 60 SkImageInfo imageInfo = SkImageInfo::Make(1, 1, kARGB_4444_SkColorType, kPremul_SkAlphaType); variable 61 bitmap.allocPixels(imageInfo); 72 SkPixmap redPixmap(imageInfo, &red4444, 2); 76 SkPixmap bluePixmap(imageInfo, &blue4444, 2);
|
/external/skia/src/gpu/ |
D | GrAHardwareBufferUtils.cpp | 444 GrVkImageInfo imageInfo; in make_vk_backend_texture() local 446 imageInfo.fImage = image; in make_vk_backend_texture() 447 imageInfo.fAlloc = GrVkAlloc(memory, 0, hwbProps.allocationSize, 0); in make_vk_backend_texture() 448 imageInfo.fImageTiling = tiling; in make_vk_backend_texture() 449 imageInfo.fImageLayout = VK_IMAGE_LAYOUT_UNDEFINED; in make_vk_backend_texture() 450 imageInfo.fFormat = format; in make_vk_backend_texture() 451 imageInfo.fLevelCount = 1; in make_vk_backend_texture() 455 imageInfo.fCurrentQueueFamily = VK_QUEUE_FAMILY_EXTERNAL; in make_vk_backend_texture() 456 imageInfo.fYcbcrConversionInfo = *ycbcrConversion; in make_vk_backend_texture() 461 return GrBackendTexture(width, height, imageInfo); in make_vk_backend_texture()
|
/external/skqp/src/gpu/ |
D | GrAHardwareBufferImageGenerator.cpp | 324 GrVkImageInfo imageInfo; in make_vk_backend_texture() local 326 imageInfo.fImage = image; in make_vk_backend_texture() 327 imageInfo.fAlloc = GrVkAlloc(memory, 0, hwbProps.allocationSize, 0); in make_vk_backend_texture() 328 imageInfo.fImageTiling = tiling; in make_vk_backend_texture() 329 imageInfo.fImageLayout = VK_IMAGE_LAYOUT_UNDEFINED; in make_vk_backend_texture() 330 imageInfo.fFormat = format; in make_vk_backend_texture() 331 imageInfo.fLevelCount = 1; in make_vk_backend_texture() 335 imageInfo.fCurrentQueueFamily = VK_QUEUE_FAMILY_EXTERNAL; in make_vk_backend_texture() 336 imageInfo.fYcbcrConversionInfo = *ycbcrConversion; in make_vk_backend_texture() 341 return GrBackendTexture(width, height, imageInfo); in make_vk_backend_texture()
|
/external/skia/src/gpu/vk/ |
D | GrVkPipelineState.cpp | 263 VkDescriptorImageInfo imageInfo; in setAndBindTextures() local 264 memset(&imageInfo, 0, sizeof(VkDescriptorImageInfo)); in setAndBindTextures() 265 imageInfo.sampler = sampler->sampler(); in setAndBindTextures() 266 imageInfo.imageView = textureView->imageView(); in setAndBindTextures() 267 imageInfo.imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in setAndBindTextures() 278 writeInfo.pImageInfo = &imageInfo; in setAndBindTextures()
|
D | GrVkCopyManager.cpp | 266 VkDescriptorImageInfo imageInfo; in copySurfaceAsDraw() local 267 memset(&imageInfo, 0, sizeof(VkDescriptorImageInfo)); in copySurfaceAsDraw() 268 imageInfo.sampler = sampler->sampler(); in copySurfaceAsDraw() 269 imageInfo.imageView = srcTex->textureView()->imageView(); in copySurfaceAsDraw() 270 imageInfo.imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in copySurfaceAsDraw() 281 writeInfo.pImageInfo = &imageInfo; in copySurfaceAsDraw()
|
/external/skqp/src/gpu/vk/ |
D | GrVkPipelineState.cpp | 263 VkDescriptorImageInfo imageInfo; in setAndBindTextures() local 264 memset(&imageInfo, 0, sizeof(VkDescriptorImageInfo)); in setAndBindTextures() 265 imageInfo.sampler = sampler->sampler(); in setAndBindTextures() 266 imageInfo.imageView = textureView->imageView(); in setAndBindTextures() 267 imageInfo.imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in setAndBindTextures() 278 writeInfo.pImageInfo = &imageInfo; in setAndBindTextures()
|
D | GrVkCopyManager.cpp | 266 VkDescriptorImageInfo imageInfo; in copySurfaceAsDraw() local 267 memset(&imageInfo, 0, sizeof(VkDescriptorImageInfo)); in copySurfaceAsDraw() 268 imageInfo.sampler = sampler->sampler(); in copySurfaceAsDraw() 269 imageInfo.imageView = srcTex->textureView()->imageView(); in copySurfaceAsDraw() 270 imageInfo.imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in copySurfaceAsDraw() 281 writeInfo.pImageInfo = &imageInfo; in copySurfaceAsDraw()
|