Home
last modified time | relevance | path

Searched refs:rectangles (Results 1 - 18 of 18) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawDiscardRectanglesTests.cpp371 void generateDiscardRectangles(const UVec2& renderSize, deUint32 numRect, std::vector<VkRect2D>& rectangles) in generateDiscardRectangles() argument
376 DE_ASSERT(rectangles.size() == 0); in generateDiscardRectangles()
385 rectangles.push_back(rect); in generateDiscardRectangles()
389 //! Renders a colorful grid of rectangles.
395 const std::vector<VkRect2D> rectangles, in generateReferenceImage()
408 // Now draw the discard rectangles taking into account the selected mode. in generateReferenceImage()
411 tcu::clear(tcu::getSubregion(image.getAccess(), rectangles[i].offset.x, rectangles[i].offset.y, in generateReferenceImage()
412 rectangles[i].extent.width, rectangles[ in generateReferenceImage()
390 generateReferenceImage(const tcu::TextureFormat format, const UVec2& renderSize, const TestMode testMode, const Vec4& color, const deUint32 numRectangles, const std::vector<VkRect2D> rectangles, const deBool enableScissor, const VkRect2D scissor) generateReferenceImage() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawDiscardRectanglesTests.cpp371 void generateDiscardRectangles(const UVec2& renderSize, deUint32 numRect, std::vector<VkRect2D>& rectangles) in generateDiscardRectangles() argument
376 DE_ASSERT(rectangles.size() == 0); in generateDiscardRectangles()
385 rectangles.push_back(rect); in generateDiscardRectangles()
389 //! Renders a colorful grid of rectangles.
395 const std::vector<VkRect2D> rectangles, in generateReferenceImage()
408 // Now draw the discard rectangles taking into account the selected mode. in generateReferenceImage()
411 tcu::clear(tcu::getSubregion(image.getAccess(), rectangles[i].offset.x, rectangles[i].offset.y, in generateReferenceImage()
412 rectangles[i].extent.width, rectangles[ in generateReferenceImage()
390 generateReferenceImage(const tcu::TextureFormat format, const UVec2& renderSize, const TestMode testMode, const Vec4& color, const deUint32 numRectangles, const std::vector<VkRect2D> rectangles, const deBool enableScissor, const VkRect2D scissor) generateReferenceImage() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
H A DvktDynamicStateInheritanceTests.cpp28 * rectangles using a trivial geometry pipeline (no vertex
55 // Maximum viewport/scissors, and maximum rectangles, for any test case.
107 // List of rectangles to rasterize, in order.
108 std::vector<Rectangle> rectangles; member
215 // Geometry shader, convert points to rectangles and select correct viewport.
517 DE_ASSERT(kMaxRectangles >= geometry.rectangles.size()); in startRenderCmds()
519 for (size_t i = 0; i < geometry.rectangles.size(); ++i) in startRenderCmds()
521 pRectangles[i] = geometry.rectangles[i]; in startRenderCmds()
621 // then draw rectangles. in startRenderCmds()
715 m_vk.cmdDraw(m_subpassCmdBuffer.get(), deUint32(geometry.rectangles in startRenderCmds()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/
H A DvktDynamicStateInheritanceTests.cpp26 * rectangles using a trivial geometry pipeline (no vertex
53 // Maximum viewport/scissors, and maximum rectangles, for any test case.
105 // List of rectangles to rasterize, in order.
106 std::vector<Rectangle> rectangles; member
212 // Geometry shader, convert points to rectangles and select correct viewport.
513 DE_ASSERT(kMaxRectangles >= geometry.rectangles.size()); in startRenderCmds()
515 for (size_t i = 0; i < geometry.rectangles.size(); ++i) in startRenderCmds()
517 pRectangles[i] = geometry.rectangles[i]; in startRenderCmds()
578 // then draw rectangles. in startRenderCmds()
660 m_vk.cmdDraw(m_subpassCmdBuffer.get(), deUint32(geometry.rectangles in startRenderCmds()
[all...]
/third_party/node/test/fixtures/wpt/resources/
H A Dtestdriver.js24 var rectangles = element.getClientRects();
26 if (rectangles.length === 0) {
30 var centerPoint = getInViewCenterPoint(rectangles[0]);
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/
H A DMusicKeyboardView.java151 ArrayList<Rect> rectangles = new ArrayList<Rect>(); in makeBlackRectangles()
166 rectangles.add(rect); in makeBlackRectangles()
172 mBlackKeyRectangles = rectangles.toArray(new Rect[0]); in makeBlackRectangles()
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_graphics_state.h176 VkRect2D rectangles[MESA_VK_MAX_DISCARD_RECTANGLES]; member
568 /** Discard rectangles
574 VkRect2D rectangles[MESA_VK_MAX_DISCARD_RECTANGLES]; member
H A Dvk_graphics_state.c411 typed_memcpy(dr->rectangles, dr_info->pDiscardRectangles, in vk_discard_rectangles_state_init()
422 typed_memcpy(dst->dr.rectangles, dr->rectangles, dr->rectangle_count); in vk_dynamic_graphics_state_init_dr()
1560 COPY_ARRAY(DR_RECTANGLES, dr.rectangles, src->dr.rectangle_count); in vk_dynamic_graphics_state_copy()
1811 SET_DYN_ARRAY(dyn, DR_RECTANGLES, dr.rectangles, firstDiscardRectangle, in vk_common_CmdSetDiscardRectangleEXT()
/third_party/mesa3d/src/egl/drivers/dri2/
H A Dplatform_x11.c979 xcb_rectangle_t rectangles[16]; in dri2_x11_swap_buffers_region() local
981 if (numRects > (int)ARRAY_SIZE(rectangles)) in dri2_x11_swap_buffers_region()
985 rectangles[i].x = rects[i * 4]; in dri2_x11_swap_buffers_region()
986 rectangles[i].y = dri2_surf->base.Height - rects[i * 4 + 1] - rects[i * 4 + 3]; in dri2_x11_swap_buffers_region()
987 rectangles[i].width = rects[i * 4 + 2]; in dri2_x11_swap_buffers_region()
988 rectangles[i].height = rects[i * 4 + 3]; in dri2_x11_swap_buffers_region()
992 xcb_xfixes_create_region(dri2_dpy->conn, region, numRects, rectangles); in dri2_x11_swap_buffers_region()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_meta.c183 typed_memcpy(state->dynamic.discard_rectangle.rectangles, in radv_meta_save()
184 cmd_buffer->state.dynamic.discard_rectangle.rectangles, in radv_meta_save()
313 typed_memcpy(cmd_buffer->state.dynamic.discard_rectangle.rectangles, in radv_meta_restore()
314 state->dynamic.discard_rectangle.rectangles, in radv_meta_restore()
H A Dradv_cmd_buffer.c214 if (memcmp(&dest->discard_rectangle.rectangles, &src->discard_rectangle.rectangles, in radv_bind_dynamic_state()
216 typed_memcpy(dest->discard_rectangle.rectangles, src->discard_rectangle.rectangles, in radv_bind_dynamic_state()
1694 VkRect2D rect = cmd_buffer->state.dynamic.discard_rectangle.rectangles[i]; in radv_emit_discard_rectangle()
5786 typed_memcpy(&state->dynamic.discard_rectangle.rectangles[firstDiscardRectangle], in radv_CmdSetDiscardRectangleEXT()
H A Dradv_private.h1226 VkRect2D rectangles[MAX_DISCARD_RECTANGLES];
H A Dradv_pipeline.c2094 typed_memcpy(dynamic->discard_rectangle.rectangles, info->dr.rects, info->dr.count); in radv_pipeline_init_dynamic_state()
6534 * the mask if that combination of rectangles in which in radv_pipeline_emit_cliprect_rule()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cBufferStorageTests.cpp3339 * - define single uniform buffer array "rectangles" with unspecified size; in iterate()
3343 * - output a quad that is placed at rectangles[vs_gs_index].position and in iterate()
3344 * has size equal rectangles[vs_gs_index].size; in iterate()
3360 "} rectangles;\n" in iterate()
3378 " //const float color = rectangles.rectangle[1].size.x;\n" in iterate()
3380 " const float left = rectangles.rectangle[vs_gs_index[0]].position.x;\n" in iterate()
3381 " const float bottom = rectangles.rectangle[vs_gs_index[0]].position.y;\n" in iterate()
3382 " const float right = rectangles.rectangle[vs_gs_index[0]].size.x + left;\n" in iterate()
3383 " const float top = rectangles.rectangle[vs_gs_index[0]].size.y + bottom;\n" in iterate()
3385 " //const float left = rectangles in iterate()
[all...]
/third_party/mesa3d/src/gallium/drivers/tegra/
H A Dtegra_context.c542 const struct pipe_scissor_state *rectangles) in tegra_set_window_rectangles()
547 rectangles); in tegra_set_window_rectangles()
540 tegra_set_window_rectangles(struct pipe_context *pcontext, bool include, unsigned int num_rectangles, const struct pipe_scissor_state *rectangles) tegra_set_window_rectangles() argument
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_state.c1058 const struct pipe_scissor_state *rectangles) in nv50_set_window_rectangles()
1064 memcpy(nv50->window_rect.rect, rectangles, in nv50_set_window_rectangles()
1055 nv50_set_window_rectangles(struct pipe_context *pipe, bool include, unsigned num_rectangles, const struct pipe_scissor_state *rectangles) nv50_set_window_rectangles() argument
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_state.c982 const struct pipe_scissor_state *rectangles) in nvc0_set_window_rectangles()
988 memcpy(nvc0->window_rect.rect, rectangles, in nvc0_set_window_rectangles()
979 nvc0_set_window_rectangles(struct pipe_context *pipe, bool include, unsigned num_rectangles, const struct pipe_scissor_state *rectangles) nvc0_set_window_rectangles() argument
/third_party/skia/third_party/externals/microhttpd/doc/
H A Dtexinfo.tex201 % For a final copy, take out the rectangles

Completed in 109 milliseconds