Home
last modified time | relevance | path

Searched refs:VkRect2D (Results 1 – 25 of 62) sorted by relevance

123

/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_graphics_state.h210 VkRect2D scissors[MESA_VK_MAX_SCISSORS];
221 VkRect2D rectangles[MESA_VK_MAX_DISCARD_RECTANGLES];
760 VkRect2D rectangles[MESA_VK_MAX_DISCARD_RECTANGLES];
Dvk_command_buffer.h176 VkRect2D render_area;
Dvk_meta_draw_rects.c204 VkRect2D scissor = { in setup_viewport_scissor()
Dvk_graphics_state.c2188 const VkRect2D *pScissors) in vk_common_CmdSetScissor()
2200 const VkRect2D *pScissors) in vk_common_CmdSetScissorWithCount()
2224 const VkRect2D *pDiscardRectangles) in vk_common_CmdSetDiscardRectangleEXT()
/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/
Dwsi_common_headless.c237 VkRect2D* pRects) in wsi_headless_surface_get_present_rectangles()
239 VK_OUTARRAY_MAKE_TYPED(VkRect2D, out, pRects, pRectCount); in wsi_headless_surface_get_present_rectangles()
241 vk_outarray_append_typed(VkRect2D, &out, rect) { in wsi_headless_surface_get_present_rectangles()
243 *rect = (VkRect2D) { in wsi_headless_surface_get_present_rectangles()
Dwsi_common_win32.cpp404 VkRect2D* pRects) in wsi_win32_surface_get_present_rectangles()
406 VK_OUTARRAY_MAKE_TYPED(VkRect2D, out, pRects, pRectCount); in wsi_win32_surface_get_present_rectangles()
408 vk_outarray_append_typed(VkRect2D, &out, rect) { in wsi_win32_surface_get_present_rectangles()
Dwsi_common_private.h349 VkRect2D* pRects);
Dwsi_common_wayland.c1312 VkRect2D* pRects) in wsi_wl_surface_get_present_rectangles()
1314 VK_OUTARRAY_MAKE_TYPED(VkRect2D, out, pRects, pRectCount); in wsi_wl_surface_get_present_rectangles()
1316 vk_outarray_append_typed(VkRect2D, &out, rect) { in wsi_wl_surface_get_present_rectangles()
1318 *rect = (VkRect2D) { in wsi_wl_surface_get_present_rectangles()
Dwsi_common_x11.c943 VkRect2D* pRects) in x11_surface_get_present_rectangles()
947 VK_OUTARRAY_MAKE_TYPED(VkRect2D, out, pRects, pRectCount); in x11_surface_get_present_rectangles()
949 vk_outarray_append_typed(VkRect2D, &out, rect) { in x11_surface_get_present_rectangles()
956 *rect = (VkRect2D) { in x11_surface_get_present_rectangles()
Dwsi_common_display.c1102 VkRect2D* pRects) in wsi_display_surface_get_present_rectangles()
1106 VK_OUTARRAY_MAKE_TYPED(VkRect2D, out, pRects, pRectCount); in wsi_display_surface_get_present_rectangles()
1109 vk_outarray_append_typed(VkRect2D, &out, rect) { in wsi_display_surface_get_present_rectangles()
1110 *rect = (VkRect2D) { in wsi_display_surface_get_present_rectangles()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_KHR_incremental_present.adoc43 One approach is to create another struct containing the slink:VkRect2D plus
51 *RESOLVED*: Create a new structure, which is a slink:VkRect2D plus a layer,
DVK_HUAWEI_subpass_shading.adoc38 the <<VkRect2D,pname:offset>> of the
44 code:LocalInvocationId and the <<VkRect2D,pname:offset>> of the
DVK_NV_clip_space_w_scaling.adoc69 VkRect2D scissors[4];
/hardware/google/gfxstream/host/vulkan/
DVkSubDecoder.cpp158 const VkRect2D* pScissors; in subDecode()
159 VkRect2D stack_pScissors[MAX_STACK_ITEMS]; in subDecode()
165 pScissors = (VkRect2D*)stack_pScissors; in subDecode()
168 ((scissorCount)) * sizeof(const VkRect2D)); in subDecode()
172 (VkRect2D*)(pScissors + i), readStreamPtrPtr); in subDecode()
176 transform_tohost_VkRect2D(globalstate, (VkRect2D*)(pScissors + i)); in subDecode()
1834 const VkRect2D* pScissors; in subDecode()
1835 VkRect2D stack_pScissors[MAX_STACK_ITEMS]; in subDecode()
1839 pScissors = (VkRect2D*)stack_pScissors; in subDecode()
1842 ((scissorCount)) * sizeof(const VkRect2D)); in subDecode()
[all …]
DVkDecoderSnapshot.h425 uint32_t firstScissor, uint32_t scissorCount, const VkRect2D* pScissors);
846 uint32_t scissorCount, const VkRect2D* pScissors);
932 uint32_t* pRectCount, VkRect2D* pRects);
1420 uint32_t scissorCount, const VkRect2D* pScissors);
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dfragops.adoc209 Each discard rectangle is defined by a slink:VkRect2D.
215 in the range [eq]#[slink:VkRect2D::pname:offset.x,
216 slink:VkRect2D::pname:offset.x {plus} slink:VkRect2D::pname:extent.x)#, and
217 [eq]#y~f~# is in the range [eq]#[slink:VkRect2D::pname:offset.y,
218 slink:VkRect2D::pname:offset.y {plus} slink:VkRect2D::pname:extent.y)#.
242 * pname:pDiscardRectangles is a pointer to an array of slink:VkRect2D
309 * pname:pDiscardRectangles is a pointer to an array of slink:VkRect2D
333 The pname:x and pname:y member of pname:offset in each slink:VkRect2D
338 slink:VkRect2D element of pname:pDiscardRectangles must: not cause a
342 slink:VkRect2D element of pname:pDiscardRectangles must: not cause a
[all …]
/hardware/google/gfxstream/guest/vulkan_enc/
Dgoldfish_vk_transform_guest.cpp90 void transform_tohost_VkRect2D(ResourceTracker* resourceTracker, VkRect2D* toTransform) { in transform_tohost_VkRect2D()
97 void transform_fromhost_VkRect2D(ResourceTracker* resourceTracker, VkRect2D* toTransform) { in transform_fromhost_VkRect2D()
1316 transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(toTransform->pScissors + i)); in transform_tohost_VkPipelineViewportStateCreateInfo()
1341 (VkRect2D*)(toTransform->pScissors + i)); in transform_fromhost_VkPipelineViewportStateCreateInfo()
2237 transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->rect)); in transform_tohost_VkClearRect()
2243 transform_fromhost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->rect)); in transform_fromhost_VkClearRect()
2333 transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->renderArea)); in transform_tohost_VkRenderPassBeginInfo()
2351 transform_fromhost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->renderArea)); in transform_fromhost_VkRenderPassBeginInfo()
2513 (VkRect2D*)(toTransform->pDeviceRenderAreas + i)); in transform_tohost_VkDeviceGroupRenderPassBeginInfo()
2530 (VkRect2D*)(toTransform->pDeviceRenderAreas + i)); in transform_fromhost_VkDeviceGroupRenderPassBeginInfo()
[all …]
DVkEncoder.h291 uint32_t scissorCount, const VkRect2D* pScissors, uint32_t doLock);
583 const VkRect2D* pScissors, uint32_t doLock);
978 const VkRect2D* pScissors, uint32_t doLock);
Dgoldfish_vk_deepcopy_guest.cpp76 void deepcopy_VkRect2D(Allocator* alloc, VkStructureType rootType, const VkRect2D* from, in deepcopy_VkRect2D()
77 VkRect2D* to) { in deepcopy_VkRect2D()
1263 to->pScissors = (VkRect2D*)alloc->alloc(from->scissorCount * sizeof(const VkRect2D)); in deepcopy_VkPipelineViewportStateCreateInfo()
1267 (VkRect2D*)(to->pScissors + i)); in deepcopy_VkPipelineViewportStateCreateInfo()
2127 deepcopy_VkRect2D(alloc, rootType, &from->rect, (VkRect2D*)(&to->rect)); in deepcopy_VkClearRect()
2196 deepcopy_VkRect2D(alloc, rootType, &from->renderArea, (VkRect2D*)(&to->renderArea)); in deepcopy_VkRenderPassBeginInfo()
2390 (VkRect2D*)alloc->alloc(from->deviceRenderAreaCount * sizeof(const VkRect2D)); in deepcopy_VkDeviceGroupRenderPassBeginInfo()
2394 (VkRect2D*)(to->pDeviceRenderAreas + i)); in deepcopy_VkDeviceGroupRenderPassBeginInfo()
2537 to->pSplitInstanceBindRegions = (VkRect2D*)alloc->alloc( in deepcopy_VkBindImageMemoryDeviceGroupInfo()
2538 from->splitInstanceBindRegionCount * sizeof(const VkRect2D)); in deepcopy_VkBindImageMemoryDeviceGroupInfo()
[all …]
Dgoldfish_vk_deepcopy_guest.h65 void deepcopy_VkRect2D(Allocator* alloc, VkStructureType rootType, const VkRect2D* from,
66 VkRect2D* to);
Dgoldfish_vk_counting_guest.cpp89 void count_VkRect2D(uint32_t featureBits, VkStructureType rootType, const VkRect2D* toCount, in count_VkRect2D()
1393 count_VkRect2D(featureBits, rootType, (const VkRect2D*)(toCount->pScissors + i), in count_VkPipelineViewportStateCreateInfo()
2274 count_VkRect2D(featureBits, rootType, (VkRect2D*)(&toCount->rect), count); in count_VkClearRect()
2342 count_VkRect2D(featureBits, rootType, (VkRect2D*)(&toCount->renderArea), count); in count_VkRenderPassBeginInfo()
2496 (const VkRect2D*)(toCount->pDeviceRenderAreas + i), count); in count_VkDeviceGroupRenderPassBeginInfo()
2594 (const VkRect2D*)(toCount->pSplitInstanceBindRegions + i), count); in count_VkBindImageMemoryDeviceGroupInfo()
5464 count_VkRect2D(featureBits, rootType, (VkRect2D*)(&toCount->renderArea), count); in count_VkRenderingInfo()
/hardware/google/gfxstream/guest/mesa/include/vulkan/
Dvulkan_core.h2847 typedef struct VkRect2D { struct
2850 } VkRect2D; argument
3548 const VkRect2D* pScissors;
3910 VkRect2D rect;
3943 VkRect2D renderArea;
4043 …mandBuffer commandBuffer, uint32_t firstScissor, uint32_t scissorCount, const VkRect2D* pScissors);
4604 const VkRect2D* pScissors);
5148 const VkRect2D* pDeviceRenderAreas;
5188 const VkRect2D* pSplitInstanceBindRegions;
7211 VkRect2D renderArea;
[all …]
/hardware/google/gfxstream/host/vulkan/cereal/common/
Dgoldfish_vk_transform.cpp87 void transform_tohost_VkRect2D(VkDecoderGlobalState* resourceTracker, VkRect2D* toTransform) { in transform_tohost_VkRect2D()
94 void transform_fromhost_VkRect2D(VkDecoderGlobalState* resourceTracker, VkRect2D* toTransform) { in transform_fromhost_VkRect2D()
1319 transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(toTransform->pScissors + i)); in transform_tohost_VkPipelineViewportStateCreateInfo()
1344 (VkRect2D*)(toTransform->pScissors + i)); in transform_fromhost_VkPipelineViewportStateCreateInfo()
2244 transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->rect)); in transform_tohost_VkClearRect()
2251 transform_fromhost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->rect)); in transform_fromhost_VkClearRect()
2343 transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->renderArea)); in transform_tohost_VkRenderPassBeginInfo()
2361 transform_fromhost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->renderArea)); in transform_fromhost_VkRenderPassBeginInfo()
2523 (VkRect2D*)(toTransform->pDeviceRenderAreas + i)); in transform_tohost_VkDeviceGroupRenderPassBeginInfo()
2540 (VkRect2D*)(toTransform->pDeviceRenderAreas + i)); in transform_fromhost_VkDeviceGroupRenderPassBeginInfo()
[all …]
Dgoldfish_vk_deepcopy.cpp76 void deepcopy_VkRect2D(Allocator* alloc, VkStructureType rootType, const VkRect2D* from, in deepcopy_VkRect2D()
77 VkRect2D* to) { in deepcopy_VkRect2D()
1263 to->pScissors = (VkRect2D*)alloc->alloc(from->scissorCount * sizeof(const VkRect2D)); in deepcopy_VkPipelineViewportStateCreateInfo()
1267 (VkRect2D*)(to->pScissors + i)); in deepcopy_VkPipelineViewportStateCreateInfo()
2127 deepcopy_VkRect2D(alloc, rootType, &from->rect, (VkRect2D*)(&to->rect)); in deepcopy_VkClearRect()
2196 deepcopy_VkRect2D(alloc, rootType, &from->renderArea, (VkRect2D*)(&to->renderArea)); in deepcopy_VkRenderPassBeginInfo()
2390 (VkRect2D*)alloc->alloc(from->deviceRenderAreaCount * sizeof(const VkRect2D)); in deepcopy_VkDeviceGroupRenderPassBeginInfo()
2394 (VkRect2D*)(to->pDeviceRenderAreas + i)); in deepcopy_VkDeviceGroupRenderPassBeginInfo()
2537 to->pSplitInstanceBindRegions = (VkRect2D*)alloc->alloc( in deepcopy_VkBindImageMemoryDeviceGroupInfo()
2538 from->splitInstanceBindRegionCount * sizeof(const VkRect2D)); in deepcopy_VkBindImageMemoryDeviceGroupInfo()
[all …]
Dgoldfish_vk_deepcopy.h58 void deepcopy_VkRect2D(Allocator* alloc, VkStructureType rootType, const VkRect2D* from,
59 VkRect2D* to);

123