| /third_party/mesa3d/.gitlab-ci/container/ |
| D | gitlab-ci.yml | 1 # Docker image tag helper templates 3 .incorporate-templates-commit: 5 FDO_DISTRIBUTION_TAG: "${MESA_IMAGE_TAG}--${MESA_TEMPLATES_COMMIT}" 7 .incorporate-base-tag+templates-commit: 9 …FDO_BASE_IMAGE: "${CI_REGISTRY_IMAGE}/${MESA_BASE_IMAGE}:${MESA_BASE_TAG}--${MESA_TEMPLATES_COMMIT… 10 FDO_DISTRIBUTION_TAG: "${MESA_IMAGE_TAG}--${MESA_BASE_TAG}--${MESA_TEMPLATES_COMMIT}" 12 .set-image: 14 - .incorporate-templates-commit 17 image: "$MESA_IMAGE" 19 .set-image-base-tag: [all …]
|
| /third_party/mesa3d/src/gbm/backends/dri/ |
| D | gbm_dri.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 41 #include "drm-uapi/drm_fourcc.h" 60 #include "wayland-drm.h" 66 dri_validate_egl_image(void *image, void *data) in dri_validate_egl_image() argument 70 if (dri->validate_image == NULL) in dri_validate_egl_image() 73 return dri->validate_image(image, dri->lookup_user_data); in dri_validate_egl_image() 77 dri_lookup_egl_image_validated(void *image, void *data) in dri_lookup_egl_image_validated() argument 81 if (dri->lookup_image_validated == NULL) in dri_lookup_egl_image_validated() 84 return dri->lookup_image_validated(image, dri->lookup_user_data); in dri_lookup_egl_image_validated() [all …]
|
| /third_party/mesa3d/src/gallium/drivers/panfrost/ |
| D | pan_resource.c | 4 * Copyright (C) 2014-2017 Broadcom 5 * Copyright (C) 2018-2019 Alyssa Rosenzweig 12 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 25 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 36 #include "drm-uapi/drm_fourcc.h" 71 util_blitter_clear_depth_stencil(ctx->blitter, dst, clear_flags, depth, in panfrost_clear_depth_stencil() 89 util_blitter_clear_render_target(ctx->blitter, dst, color, dstx, dsty, width, in panfrost_clear_render_target() 102 assert(whandle->type == WINSYS_HANDLE_TYPE_FD); in panfrost_resource_from_handle() 108 prsc = &rsc->base; in panfrost_resource_from_handle() 112 pipe_reference_init(&prsc->reference, 1); in panfrost_resource_from_handle() [all …]
|
| /third_party/mesa3d/src/vulkan/wsi/ |
| D | wsi_common_headless.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 39 #include "drm-uapi/drm_fourcc.h" 42 struct wsi_interface base; member 73 * 2) One to have queued for scan-out in wsi_headless_surface_get_capabilities() 77 caps->minImageCount = 4; in wsi_headless_surface_get_capabilities() 79 caps->maxImageCount = 0; in wsi_headless_surface_get_capabilities() 81 caps->currentExtent = (VkExtent2D) { -1, -1 }; in wsi_headless_surface_get_capabilities() 82 caps->minImageExtent = (VkExtent2D) { 1, 1 }; in wsi_headless_surface_get_capabilities() 83 caps->maxImageExtent = (VkExtent2D) { in wsi_headless_surface_get_capabilities() [all …]
|
| D | wsi_common_win32.cpp | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 44 #pragma GCC diagnostic ignored "-Wint-to-pointer-cast" // warning: cast to pointer from intege… 50 struct wsi_interface base; member 69 struct wsi_image base; member 84 VkIcdSurfaceWin32 base; member 90 * window will flash white. When the currently-bound swapchain is destroyed, 99 struct wsi_swapchain base; member 116 struct wsi_device *wsi_device = pdevice->wsi_device; in wsi_GetPhysicalDeviceWin32PresentationSupportKHR() 117 return (wsi_device->queue_supports_blit & BITFIELD64_BIT(queueFamilyIndex)) != 0; in wsi_GetPhysicalDeviceWin32PresentationSupportKHR() [all …]
|
| D | wsi_common_x11.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 24 #include <X11/Xlib-xcb.h> 45 #include "drm-uapi/drm_fourcc.h" 49 #include "util/mesa-blake3.h" 93 struct wsi_interface base; member 96 /* Hash table of xcb_connection -> wsi_x11_connection mappings */ 109 * Wrapper around xcb_dri3_open. Returns the opened fd or -1 on error. 126 return -1; in wsi_dri3_open() 129 if (reply->nfd != 1) { in wsi_dri3_open() [all …]
|
| /third_party/skia/third_party/externals/libjpeg-turbo/gtest/ |
| D | tjbench-gtest-wrapper.cpp | 4 * This software is provided 'as-is', without any express or implied 6 * arising from the use of this software. 8 * Permission is granted to anyone to use this software for any purpose, 13 * claim that you wrote the original software. If you use this software 21 #include "base/files/file.h" 22 #include "base/files/file_util.h" 23 #include "base/path_service.h" 24 #include "gtest-utils.h" 31 // Test image files and their expected MD5 sums. 62 base::FilePath resource_path; in SetUpTestSuite() [all …]
|
| D | cjpeg-gtest-wrapper.cpp | 4 * This software is provided 'as-is', without any express or implied 6 * arising from the use of this software. 8 * Permission is granted to anyone to use this software for any purpose, 13 * claim that you wrote the original software. If you use this software 21 #include "base/files/file.h" 22 #include "base/files/file_util.h" 23 #include "base/path_service.h" 24 #include "gtest-utils.h" 33 base::FilePath icc_path; in TEST() 35 base::FilePath input_image_path; in TEST() [all …]
|
| D | jpegtran-gtest-wrapper.cpp | 4 * This software is provided 'as-is', without any express or implied 6 * arising from the use of this software. 8 * Permission is granted to anyone to use this software for any purpose, 13 * claim that you wrote the original software. If you use this software 21 #include "base/files/file.h" 22 #include "base/files/file_util.h" 23 #include "base/path_service.h" 24 #include "gtest-utils.h" 33 base::FilePath input_image_path; in TEST() 35 base::FilePath icc_path; in TEST() [all …]
|
| D | djpeg-gtest-wrapper.cpp | 4 * This software is provided 'as-is', without any express or implied 6 * arising from the use of this software. 8 * Permission is granted to anyone to use this software for any purpose, 13 * claim that you wrote the original software. If you use this software 21 #include "base/files/file.h" 22 #include "base/files/file_util.h" 23 #include "base/path_service.h" 24 #include "gtest-utils.h" 67 base::FilePath input_image_path; in TEST_P() 69 base::FilePath output_path(GetTargetDirectory()); in TEST_P() [all …]
|
| /third_party/skia/m133/third_party/externals/libjpeg-turbo/gtest/ |
| D | tjbench-gtest-wrapper.cpp | 4 * This software is provided 'as-is', without any express or implied 6 * arising from the use of this software. 8 * Permission is granted to anyone to use this software for any purpose, 13 * claim that you wrote the original software. If you use this software 21 #include "base/files/file.h" 22 #include "base/files/file_util.h" 23 #include "base/path_service.h" 24 #include "gtest-utils.h" 31 // Test image files and their expected MD5 sums. 62 base::FilePath resource_path; in SetUpTestSuite() [all …]
|
| D | cjpeg-gtest-wrapper.cpp | 4 * This software is provided 'as-is', without any express or implied 6 * arising from the use of this software. 8 * Permission is granted to anyone to use this software for any purpose, 13 * claim that you wrote the original software. If you use this software 21 #include "base/files/file.h" 22 #include "base/files/file_util.h" 23 #include "base/path_service.h" 24 #include "gtest-utils.h" 33 base::FilePath icc_path; in TEST() 35 base::FilePath input_image_path; in TEST() [all …]
|
| D | jpegtran-gtest-wrapper.cpp | 4 * This software is provided 'as-is', without any express or implied 6 * arising from the use of this software. 8 * Permission is granted to anyone to use this software for any purpose, 13 * claim that you wrote the original software. If you use this software 21 #include "base/files/file.h" 22 #include "base/files/file_util.h" 23 #include "base/path_service.h" 24 #include "gtest-utils.h" 33 base::FilePath input_image_path; in TEST() 35 base::FilePath icc_path; in TEST() [all …]
|
| D | djpeg-gtest-wrapper.cpp | 4 * This software is provided 'as-is', without any express or implied 6 * arising from the use of this software. 8 * Permission is granted to anyone to use this software for any purpose, 13 * claim that you wrote the original software. If you use this software 21 #include "base/files/file.h" 22 #include "base/files/file_util.h" 23 #include "base/path_service.h" 24 #include "gtest-utils.h" 67 base::FilePath input_image_path; in TEST_P() 69 base::FilePath output_path(GetTargetDirectory()); in TEST_P() [all …]
|
| /third_party/skia/m133/include/private/ |
| D | SkGainmapInfo.h | 4 * Use of this source code is governed by a BSD-style license that can be 18 * display an image with gainmap on this display. Let B be the pixel value from the base image 19 * in a color space that has the primaries of the base image and a linear transfer function. Let 24 * W = clamp((log(H) - log(fDisplayRatioSdr)) / 25 * (log(fDisplayRatioHdr) - log(fDisplayRatioSdr), 0, 1) 31 * Finally, apply the gainmap to compute D, the displayed pixel. If the base image is SDR then 33 * D = (B + fEpsilonSdr) * exp(L * W) - fEpsilonHdr 34 * If the base image is HDR then compute: 35 * D = (B + fEpsilonHdr) * exp(L * (W - 1)) - fEpsilonSdr 38 * however, that the base used for the log() and exp() functions does not affect the results of [all …]
|
| /third_party/mesa3d/src/gallium/drivers/v3d/ |
| D | v3d_uniforms.c | 2 * Copyright © 2014-2017 Broadcom 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 30 /* We don't expect that the packets we use in this file change across across 40 struct pipe_sampler_view *texture = texstate->textures[data]; in get_texrect_scale() 44 dim = texture->texture->width0; in get_texrect_scale() 46 dim = texture->texture->height0; in get_texrect_scale() 56 struct pipe_sampler_view *texture = texstate->textures[data]; in get_texture_size() 59 if (texture->target == PIPE_BUFFER) { in get_texture_size() 60 return texture->u.buf.size / in get_texture_size() [all …]
|
| /third_party/mesa3d/src/gallium/drivers/zink/ |
| D | zink_surface.c | 7 * on the rights to use, copy, modify, merge, publish, distribute, sub 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 21 * USE OR OTHER DEALINGS IN THE SOFTWARE. 46 ivci.image = res->obj->image; in create_ivci() 50 ivci.viewType = res->need_2D ? VK_IMAGE_VIEW_TYPE_2D : VK_IMAGE_VIEW_TYPE_1D; in create_ivci() 54 ivci.viewType = res->need_2D ? VK_IMAGE_VIEW_TYPE_2D_ARRAY : VK_IMAGE_VIEW_TYPE_1D_ARRAY; in create_ivci() 82 …ivci.format = res->base.b.format == PIPE_FORMAT_A8_UNORM ? res->format : zink_get_format(screen, t… in create_ivci() 85 /* TODO: it's currently illegal to use non-identity swizzles for framebuffer attachments, in create_ivci() 87 const struct util_format_description *desc = util_format_description(templ->format); in create_ivci() 98 ivci.subresourceRange.aspectMask = res->aspect; in create_ivci() [all …]
|
| /third_party/mesa3d/src/gallium/frontends/dri/ |
| D | dri2.c | 2 * Mesa 3-D graphics library 11 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 23 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 28 * <wallbraker@gmail.com> Chia-I Wu <olv@lunarg.com> 49 #include "pipe-loader/pipe_loader.h" 60 #include "drm-uapi/drm_fourcc.h" 64 __DRIbuffer base; member 87 * st_manager_flush_frontbuffer -> dri2_flush_frontbuffer 88 * -> EGL droid_display_shared_buffer 91 * loader: dri3_handle_present_event - XCB_PRESENT_CONFIGURE_NOTIFY [all …]
|
| /third_party/skia/m133/src/core/ |
| D | SkMipmapAccessor.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 15 #include "include/private/base/SkFloatingPoint.h" 16 #include "src/base/SkArenaAlloc.h" 19 #include "src/image/SkImage_Base.h" 23 // Try to load from the base image, or from the cache 24 static sk_sp<const SkMipmap> try_load_mips(const SkImage_Base* image) { in try_load_mips() argument 25 sk_sp<const SkMipmap> mips = image->refMips(); in try_load_mips() 27 mips.reset(SkMipmapCache::FindAndRef(SkBitmapCacheDesc::Make(image))); in try_load_mips() 30 mips.reset(SkMipmapCache::AddAndRef(image)); in try_load_mips() 35 SkMipmapAccessor::SkMipmapAccessor(const SkImage_Base* image, const SkMatrix& inv, in SkMipmapAccessor() argument [all …]
|
| /third_party/openGLES/extensions/OES/ |
| D | OES_framebuffer_object.txt | 15 Copyright (c) 2005-2013 The Khronos Group Inc. Copyright terms at 20 Khronos-approved extension specifications are updated in response to 58 window-system. OES_framebuffer_object is a simplified version 63 known collectively as "framebuffer-attachable images". This 64 extension provides a mechanism for attaching framebuffer-attachable 66 buffers: color, depth, and stencil. When a framebuffer-attachable 67 image is attached to the framebuffer, it is used as the source and 70 By allowing the use of a framebuffer-attachable image as a rendering 73 of a texture to be used as framebuffer-attachable images. A 74 particular image of a texture object is selected for use as a [all …]
|
| /third_party/skia/third_party/externals/opengl-registry/extensions/OES/ |
| D | OES_framebuffer_object.txt | 15 Copyright (c) 2005-2013 The Khronos Group Inc. Copyright terms at 48 window-system. OES_framebuffer_object is a simplified version 53 known collectively as "framebuffer-attachable images". This 54 extension provides a mechanism for attaching framebuffer-attachable 56 buffers: color, depth, and stencil. When a framebuffer-attachable 57 image is attached to the framebuffer, it is used as the source and 60 By allowing the use of a framebuffer-attachable image as a rendering 63 of a texture to be used as framebuffer-attachable images. A 64 particular image of a texture object is selected for use as a 65 framebuffer-attachable image by specifying the mipmap level, cube [all …]
|
| /third_party/skia/infra/wasm-common/docker/ |
| D | README.md | 6 emsdk-base 7 ---------- 9 This image has an Emscripten SDK environment that can be used for 12 This image tracks the official emscripten Docker image and installs 13 python 2 (which some of our scripts still use). 17 For testing the image locally, the following flow can be helpful: 19 docker build -t emsdk-base ./emsdk-base/ 21 docker run -it emsdk-base /bin/bash 22 # Compile PathKit with the local image 23 …docker run -v $SKIA_ROOT:/SRC -v $SKIA_ROOT/out/dockerpathkit:/OUT emsdk-base /SRC/infra/pathkit/b… [all …]
|
| /third_party/skia/m133/infra/wasm-common/docker/ |
| D | README.md | 6 emsdk-base 7 ---------- 9 This image has an Emscripten SDK environment that can be used for 12 This image tracks the official emscripten Docker image and installs 13 python 2 (which some of our scripts still use). 17 For testing the image locally, the following flow can be helpful: 19 docker build -t emsdk-base ./emsdk-base/ 21 docker run -it emsdk-base /bin/bash 22 # Compile PathKit with the local image 23 …docker run -v $SKIA_ROOT:/SRC -v $SKIA_ROOT/out/dockerpathkit:/OUT emsdk-base /SRC/infra/pathkit/b… [all …]
|
| /third_party/skia/third_party/externals/opengl-registry/extensions/ARB/ |
| D | ARB_clear_texture.txt | 71 as well as being accessed in shaders for image load/store operations 73 currently only possible to set texture image data to known values by 74 uploading some or all of a image array from application memory or by 86 rendering, or even if it is, attaching the image to a framebuffer object 91 the contents of a texture image array can be set to known values by 93 can also be useful for initializing an image that will be used for 133 Add a new Section 8.x (Clearing Texture Image Data) after 134 Section 8.20 (Invalidating Texture Image Data): 136 "All or part of a texture image may be filled with a constant value 145 with <texture> and <level> indicating which texture array image is being [all …]
|
| /third_party/mesa3d/src/panfrost/vulkan/ |
| D | panvk_image.c | 12 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 25 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 38 #include "drm-uapi/drm_fourcc.h" 49 panvk_image_can_use_mod(struct panvk_image *image, uint64_t mod) in panvk_image_can_use_mod() argument 52 to_panvk_physical_device(image->vk.base.device->physical); in panvk_image_can_use_mod() 53 unsigned arch = pan_arch(phys_dev->kmod.props.gpu_prod_id); in panvk_image_can_use_mod() 55 to_panvk_instance(image->vk.base.device->physical->instance); in panvk_image_can_use_mod() 56 enum pipe_format pfmt = vk_format_to_pipe_format(image->vk.format); in panvk_image_can_use_mod() 57 bool forced_linear = (instance->debug_flags & PANVK_DEBUG_LINEAR) || in panvk_image_can_use_mod() 58 image->vk.tiling == VK_IMAGE_TILING_LINEAR || in panvk_image_can_use_mod() [all …]
|