Home
last modified time | relevance | path

Searched refs:scissor (Results 1 – 25 of 63) sorted by relevance

123

/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_NV_scissor_exclusive.adoc23 This extension adds support for an exclusive scissor test to Vulkan.
24 The exclusive scissor test behaves like the scissor test, except that the
25 exclusive scissor test fails for pixels inside the corresponding rectangle
27 If the same rectangle is used for both the scissor and exclusive scissor
28 tests, the exclusive scissor test will pass if and only if the scissor test
41 1) For the scissor test, the viewport state must be created with a matching
42 number of scissor and viewport rectangles.
46 exclusive scissor rectangle count that is either zero or equal to the number
48 If you pass in an exclusive scissor count of zero, the exclusive scissor
54 ** Add dynamic state for explicit exclusive scissor enables
DVK_QCOM_multiview_per_view_viewports.adoc24 viewport and scissor for each view, without using shader-based viewport
32 pass instance will use a viewport and scissor index equal to the
DVK_EXT_discard_rectangles.adoc33 These discard rectangles operate orthogonally to the existing scissor test
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp555 const hwc_rect_t& scissor, int orient) { in calculate_crop_rects() argument
571 const int& sci_l = scissor.left; in calculate_crop_rects()
572 const int& sci_t = scissor.top; in calculate_crop_rects()
573 const int& sci_r = scissor.right; in calculate_crop_rects()
574 const int& sci_b = scissor.bottom; in calculate_crop_rects()
785 hwc_rect_t scissor = {0, 0, hw_w, hw_h }; in trimLayer() local
786 qhwc::calculate_crop_rects(crop, dst, scissor, transform); in trimLayer()
1062 hwc_rect_t scissor = {0, 0, hw_w/2, hw_h }; in configureHighRes() local
1063 qhwc::calculate_crop_rects(tmp_cropL, tmp_dstL, scissor, 0); in configureHighRes()
1068 hwc_rect_t scissor = {hw_w/2, 0, hw_w, hw_h }; in configureHighRes() local
[all …]
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp810 hwc_rect_t scissor = {0, 0, hw_w, hw_h }; in trimLayer() local
811 scissor = getIntersection(ctx->mViewFrame[dpy], scissor); in trimLayer()
812 qhwc::calculate_crop_rects(crop, dst, scissor, transform); in trimLayer()
1045 const hwc_rect_t& scissor, int orient) { in calculate_crop_rects() argument
1061 const int& sci_l = scissor.left; in calculate_crop_rects()
1062 const int& sci_t = scissor.top; in calculate_crop_rects()
1063 const int& sci_r = scissor.right; in calculate_crop_rects()
1064 const int& sci_b = scissor.bottom; in calculate_crop_rects()
1810 hwc_rect_t scissor = {0, 0, lSplit, hw_h }; in configureSplit() local
1811 scissor = getIntersection(ctx->mViewFrame[dpy], scissor); in configureSplit()
[all …]
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp797 hwc_rect_t scissor = {0, 0, hw_w, hw_h }; in trimLayer() local
798 scissor = getIntersection(ctx->mViewFrame[dpy], scissor); in trimLayer()
799 qhwc::calculate_crop_rects(crop, dst, scissor, transform); in trimLayer()
1032 const hwc_rect_t& scissor, int orient) { in calculate_crop_rects() argument
1048 const int& sci_l = scissor.left; in calculate_crop_rects()
1049 const int& sci_t = scissor.top; in calculate_crop_rects()
1050 const int& sci_r = scissor.right; in calculate_crop_rects()
1051 const int& sci_b = scissor.bottom; in calculate_crop_rects()
1814 hwc_rect_t scissor = {0, 0, lSplit, hw_h }; in configureSplit() local
1815 scissor = getIntersection(ctx->mViewFrame[dpy], scissor); in configureSplit()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dfragops.adoc18 . <<fragops-scissor,Scissor test>>
20 . <<fragops-exclusive-scissor,Exclusive scissor test>>
425 [[fragops-scissor]]
428 The scissor test compares the framebuffer coordinates [eq]#(x~f~,y~f~)# of
433 Each scissor rectangle is defined by a slink:VkRect2D.
438 A given sample is considered inside a scissor rectangle if [eq]#x~f~# is in
443 Samples with coordinates outside the scissor rectangle at the corresponding
450 pass transform>> before participating in the scissor test.
453 [open,refpage='vkCmdSetScissor',desc='Set scissor rectangles dynamically for a command buffer',type…
455 To <<pipelines-dynamic-state, dynamically set>> the scissor rectangles,
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp975 hwc_rect_t scissor = {0, 0, hw_w, hw_h }; in trimLayer() local
976 scissor = getIntersection(ctx->mViewFrame[dpy], scissor); in trimLayer()
977 qhwc::calculate_crop_rects(crop, dst, scissor, transform); in trimLayer()
1250 const hwc_rect_t& scissor, int orient) { in calculate_crop_rects() argument
1266 const int& sci_l = scissor.left; in calculate_crop_rects()
1267 const int& sci_t = scissor.top; in calculate_crop_rects()
1268 const int& sci_r = scissor.right; in calculate_crop_rects()
1269 const int& sci_b = scissor.bottom; in calculate_crop_rects()
2148 hwc_rect_t scissor = {0, 0, lSplit, hw_h }; in configureSplit() local
2149 scissor = getIntersection(ctx->mViewFrame[dpy], scissor); in configureSplit()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/core/
Dresource_default.cpp594 bool ResourceDefault::CalculateCropRects(const LayerRect &scissor, LayerRect *crop, in CalculateCropRects() argument
610 const float &sci_left = scissor.left; in CalculateCropRects()
611 const float &sci_top = scissor.top; in CalculateCropRects()
612 const float &sci_right = scissor.right; in CalculateCropRects()
613 const float &sci_bottom = scissor.bottom; in CalculateCropRects()
/hardware/qcom/display/msm8998/sdm/libs/core/
Dresource_default.cpp602 bool ResourceDefault::CalculateCropRects(const LayerRect &scissor, LayerRect *crop, in CalculateCropRects() argument
618 const float &sci_left = scissor.left; in CalculateCropRects()
619 const float &sci_top = scissor.top; in CalculateCropRects()
620 const float &sci_right = scissor.right; in CalculateCropRects()
621 const float &sci_bottom = scissor.bottom; in CalculateCropRects()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Dresource_default.cpp602 bool ResourceDefault::CalculateCropRects(const LayerRect &scissor, LayerRect *crop, in CalculateCropRects() argument
618 const float &sci_left = scissor.left; in CalculateCropRects()
619 const float &sci_top = scissor.top; in CalculateCropRects()
620 const float &sci_right = scissor.right; in CalculateCropRects()
621 const float &sci_bottom = scissor.bottom; in CalculateCropRects()
/hardware/qcom/display/msm8909/sdm/libs/core/
Dresource_default.cpp602 bool ResourceDefault::CalculateCropRects(const LayerRect &scissor, LayerRect *crop, in CalculateCropRects() argument
618 const float &sci_left = scissor.left; in CalculateCropRects()
619 const float &sci_top = scissor.top; in CalculateCropRects()
620 const float &sci_right = scissor.right; in CalculateCropRects()
621 const float &sci_bottom = scissor.bottom; in CalculateCropRects()
/hardware/qcom/sm7250/display/sdm/libs/core/
Dresource_default.cpp591 bool ResourceDefault::CalculateCropRects(const LayerRect &scissor, LayerRect *crop, in CalculateCropRects() argument
607 const float &sci_left = scissor.left; in CalculateCropRects()
608 const float &sci_top = scissor.top; in CalculateCropRects()
609 const float &sci_right = scissor.right; in CalculateCropRects()
610 const float &sci_bottom = scissor.bottom; in CalculateCropRects()
/hardware/qcom/display/msm8996/sdm/libs/core/
Dresource_default.cpp565 bool ResourceDefault::CalculateCropRects(const LayerRect &scissor, LayerRect *crop, in CalculateCropRects() argument
581 const float &sci_left = scissor.left; in CalculateCropRects()
582 const float &sci_top = scissor.top; in CalculateCropRects()
583 const float &sci_right = scissor.right; in CalculateCropRects()
584 const float &sci_bottom = scissor.bottom; in CalculateCropRects()
Dresource_default.h116 bool CalculateCropRects(const LayerRect &scissor, LayerRect *crop, LayerRect *dst);
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_meta_draw_rects.c204 VkRect2D scissor = { in setup_viewport_scissor() local
208 disp->CmdSetScissor(_cmd, 0, 1, &scissor); in setup_viewport_scissor()
/hardware/qcom/display/msm8960/libcopybit/
Dcopybit_c2d.cpp707 const struct copybit_rect_t *scissor) in set_rects() argument
747 c2dObject->scissor_rect.x = scissor->l; in set_rects()
748 c2dObject->scissor_rect.y = scissor->t; in set_rects()
749 c2dObject->scissor_rect.height = (scissor->b) - (scissor->t); in set_rects()
750 c2dObject->scissor_rect.width = (scissor->r) - (scissor->l); in set_rects()
/hardware/qcom/display/msm8996/libcopybit/
Dcopybit_c2d.cpp738 const struct copybit_rect_t *scissor) in set_rects() argument
780 c2dObject->scissor_rect.x = scissor->l; in set_rects()
781 c2dObject->scissor_rect.y = scissor->t; in set_rects()
782 c2dObject->scissor_rect.height = (scissor->b) - (scissor->t); in set_rects()
783 c2dObject->scissor_rect.width = (scissor->r) - (scissor->l); in set_rects()
/hardware/qcom/display/msm8909/libcopybit/
Dcopybit_c2d.cpp738 const struct copybit_rect_t *scissor) in set_rects() argument
780 c2dObject->scissor_rect.x = scissor->l; in set_rects()
781 c2dObject->scissor_rect.y = scissor->t; in set_rects()
782 c2dObject->scissor_rect.height = (scissor->b) - (scissor->t); in set_rects()
783 c2dObject->scissor_rect.width = (scissor->r) - (scissor->l); in set_rects()
/hardware/qcom/display/msm8226/libcopybit/
Dcopybit_c2d.cpp731 const struct copybit_rect_t *scissor) in set_rects() argument
773 c2dObject->scissor_rect.x = scissor->l; in set_rects()
774 c2dObject->scissor_rect.y = scissor->t; in set_rects()
775 c2dObject->scissor_rect.height = (scissor->b) - (scissor->t); in set_rects()
776 c2dObject->scissor_rect.width = (scissor->r) - (scissor->l); in set_rects()
/hardware/qcom/sm7250/display/libcopybit/
Dcopybit_c2d.cpp738 const struct copybit_rect_t *scissor) in set_rects() argument
780 c2dObject->scissor_rect.x = scissor->l; in set_rects()
781 c2dObject->scissor_rect.y = scissor->t; in set_rects()
782 c2dObject->scissor_rect.height = (scissor->b) - (scissor->t); in set_rects()
783 c2dObject->scissor_rect.width = (scissor->r) - (scissor->l); in set_rects()
/hardware/qcom/sm8150/display/libcopybit/
Dcopybit_c2d.cpp738 const struct copybit_rect_t *scissor) in set_rects() argument
780 c2dObject->scissor_rect.x = scissor->l; in set_rects()
781 c2dObject->scissor_rect.y = scissor->t; in set_rects()
782 c2dObject->scissor_rect.height = (scissor->b) - (scissor->t); in set_rects()
783 c2dObject->scissor_rect.width = (scissor->r) - (scissor->l); in set_rects()
/hardware/qcom/display/msm8909w_3100/libcopybit/
Dcopybit_c2d.cpp738 const struct copybit_rect_t *scissor) in set_rects() argument
780 c2dObject->scissor_rect.x = scissor->l; in set_rects()
781 c2dObject->scissor_rect.y = scissor->t; in set_rects()
782 c2dObject->scissor_rect.height = (scissor->b) - (scissor->t); in set_rects()
783 c2dObject->scissor_rect.width = (scissor->r) - (scissor->l); in set_rects()
/hardware/qcom/display/msm8084/libcopybit/
Dcopybit_c2d.cpp725 const struct copybit_rect_t *scissor) in set_rects() argument
767 c2dObject->scissor_rect.x = scissor->l; in set_rects()
768 c2dObject->scissor_rect.y = scissor->t; in set_rects()
769 c2dObject->scissor_rect.height = (scissor->b) - (scissor->t); in set_rects()
770 c2dObject->scissor_rect.width = (scissor->r) - (scissor->l); in set_rects()
/hardware/qcom/display/msm8998/libcopybit/
Dcopybit_c2d.cpp736 const struct copybit_rect_t *scissor) in set_rects() argument
778 c2dObject->scissor_rect.x = scissor->l; in set_rects()
779 c2dObject->scissor_rect.y = scissor->t; in set_rects()
780 c2dObject->scissor_rect.height = (scissor->b) - (scissor->t); in set_rects()
781 c2dObject->scissor_rect.width = (scissor->r) - (scissor->l); in set_rects()

123