/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_NV_clip_space_w_scaling/ |
D | vertexpostproc.adoc | 8 If viewport *W* scaling is enabled, the *W* component of the clip coordinate 9 is modified by the provided coefficients from the corresponding viewport as 14 …foNV',desc='Structure specifying parameters of a newly created pipeline viewport W scaling state',… 24 * pname:viewportWScalingEnable controls whether viewport *W* scaling is 27 must: match the number of viewports in the pipeline if viewport *W* 32 If the viewport *W* scaling state is dynamic, this member is ignored. 44 [open,refpage='vkCmdSetViewportWScalingEnableNV',desc='Specify the viewport W scaling enable state … 84 [open,refpage='vkCmdSetViewportWScalingNV',desc='Set the viewport W scaling dynamically for a comma… 86 To <<pipelines-dynamic-state, dynamically set>> the viewport *W* scaling 93 * pname:firstViewport is the index of the first viewport whose parameters [all …]
|
/hardware/google/gfxstream/host/tests/ |
D | TextureDraw_unittest.cpp | 27 GLint viewport[4] = {}; in TestTextureDrawBasic() local 28 gl->glGetIntegerv(GL_VIEWPORT, viewport); in TestTextureDrawBasic() 29 EXPECT_EQ(0, viewport[0]); in TestTextureDrawBasic() 30 EXPECT_EQ(0, viewport[1]); in TestTextureDrawBasic() 31 const int width = viewport[2]; in TestTextureDrawBasic() 32 const int height = viewport[3]; in TestTextureDrawBasic() 92 GLint viewport[4] = {}; in TestTextureDrawLayer() local 93 gl->glGetIntegerv(GL_VIEWPORT, viewport); in TestTextureDrawLayer() 94 EXPECT_EQ(0, viewport[0]); in TestTextureDrawLayer() 95 EXPECT_EQ(0, viewport[1]); in TestTextureDrawLayer() [all …]
|
D | GLSnapshotTransformation_unittest.cpp | 34 GLint viewport[4] = {}; in defaultStateCheck() local 35 gl->glGetIntegerv(GL_VIEWPORT, viewport); in defaultStateCheck() 37 EXPECT_EQ(kTestSurfaceSize[0], viewport[2]); in defaultStateCheck() 38 EXPECT_EQ(kTestSurfaceSize[1], viewport[3]); in defaultStateCheck()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/ |
D | VK_NV_viewport_swizzle.adoc | 20 This extension provides a new per-viewport swizzle that can modify the 21 position of primitives sent to each viewport. 22 New viewport swizzle state is added for each viewport, and a new position 26 This new viewport swizzle is useful for a number of algorithms, including 29 The per-viewport component remapping and negation provided by the swizzle 40 1) Where does viewport swizzling occur in the pipeline? 42 *RESOLVED*: Despite being associated with the viewport, viewport swizzling 43 must happen prior to the viewport transform. 47 The viewport mask expansion (`apiext:VK_NV_viewport_array2`) and the 48 viewport swizzle could potentially be performed before or after transform [all …]
|
D | VK_NV_inherited_viewport_scissor.adoc | 20 the dynamic viewport and scissor state from a primary command buffer, or a 35 (1) Why are viewport depth values configured in the 56 to have the viewport values used for drawing exactly match the inherited 58 modifying the viewport depth alone is provided. 59 By specifying viewport depth values when starting secondary command buffer 66 The graphics device retains the viewport depth state; it is the CPU-side 70 (2) Why are viewport depth values specified as a partial slink:VkViewport
|
D | VK_NV_scissor_exclusive.adoc | 41 1) For the scissor test, the viewport state must be created with a matching 42 number of scissor and viewport rectangles. 47 of viewport rectangles.
|
D | VK_QCOM_multiview_per_view_viewports.adoc | 24 viewport and scissor for each view, without using shader-based viewport 32 pass instance will use a viewport and scissor index equal to the
|
D | VK_AMD_negative_viewport_height.adoc | 20 This extension allows an application to specify a negative viewport height. 21 The result is that the viewport transformation will flip along the y-axis.
|
D | VK_NVX_multiview_per_view_attributes.adoc | 32 viewport mask attributes arrays, and this extension defines how those 55 per-view viewport mask must: not be used.
|
D | VK_NV_clip_space_w_scaling.adoc | 36 In the intended use case for viewport position scaling, an application 39 Each viewport is set to the dimension of the image, but is scissored to the
|
D | VK_EXT_depth_range_unrestricted.adoc | 37 {leq} z~c~ {leq} w~c~# before the viewport transform.
|
D | VK_NV_viewport_array2.adoc | 34 viewport index is added into the variable decorated with the code:Layer
|
/hardware/google/gfxstream/third-party/glm/include/glm/gtc/ |
D | matrix_transform.inl | 444 tvec4<U, P> const & viewport argument 458 tmp[0] = tmp[0] * T(viewport[2]) + T(viewport[0]); 459 tmp[1] = tmp[1] * T(viewport[3]) + T(viewport[1]); 470 tvec4<U, P> const & viewport argument 476 tmp.x = (tmp.x - T(viewport[0])) / T(viewport[2]); 477 tmp.y = (tmp.y - T(viewport[1])) / T(viewport[3]); 492 … P> pickMatrix(tvec2<T, P> const & center, tvec2<T, P> const & delta, tvec4<U, P> const & viewport) argument 501 …(static_cast<T>(viewport[2]) - static_cast<T>(2) * (center.x - static_cast<T>(viewport[0]))) / del… 502 …(static_cast<T>(viewport[3]) - static_cast<T>(2) * (center.y - static_cast<T>(viewport[1]))) / del… 507 …return scale(Result, tvec3<T, P>(static_cast<T>(viewport[2]) / delta.x, static_cast<T>(viewport[3]…
|
D | matrix_transform.hpp | 390 tvec4<U, P> const & viewport); 407 tvec4<U, P> const & viewport); 421 tvec4<U, P> const & viewport);
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/ |
D | vertexpostproc.adoc | 17 * Viewport swizzle (see <<vertexpostproc-viewport-swizzle,Viewport 32 <<vertexpostproc-viewport,Controlling the Viewport>>). 439 [[vertexpostproc-viewport-swizzle]] 444 Each primitive sent to a given viewport has a swizzle and optional: negation 446 The swizzle that is applied depends on the viewport index, and is controlled 455 * pname:viewportCount is the number of viewport swizzles used by the 458 slink:VkViewportSwizzleNV structures, defining the viewport swizzles. 485 [open,refpage='vkCmdSetViewportSwizzleNV',desc='Specify the viewport swizzle state dynamically for … 487 To <<pipelines-dynamic-state, dynamically set>> the viewport swizzle state, 494 * pname:firstViewport is the index of the first viewport whose parameters [all …]
|
/hardware/google/gfxstream/host/ |
D | PostCommands.h | 48 } viewport; member
|
D | PostWorker.h | 51 void viewport(int width, int height);
|
D | PostWorker.cpp | 150 void PostWorker::viewport(int width, int height) { in viewport() function in gfxstream::PostWorker
|
/hardware/google/gfxstream/host/gl/ |
D | DisplayGl.h | 62 void viewport(int width, int height);
|
D | DisplayGl.cpp | 73 void DisplayGl::viewport(int width, int height) { in viewport() function in gfxstream::gl::DisplayGl
|
/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/ |
D | CoreProfileEngine.cpp | 684 GLint viewport[4] = {}; in drawTexOES() local 685 gl.glGetIntegerv(GL_VIEWPORT,viewport); in drawTexOES() 712 float xNdc = 2.0f * (float)(x - viewport[0] - viewport[2] / 2) / (float)viewport[2]; in drawTexOES() 713 float yNdc = 2.0f * (float)(y - viewport[1] - viewport[3] / 2) / (float)viewport[3]; in drawTexOES() 714 float wNdc = 2.0f * (float)width / (float)viewport[2]; in drawTexOES() 715 float hNdc = 2.0f * (float)height / (float)viewport[3]; in drawTexOES()
|
D | GLEScmContext.cpp | 1661 GLint viewport[4] = {}; in drawTexOES() local 1680 gl.glGetIntegerv(GL_VIEWPORT,viewport); in drawTexOES() 1681 gl.glOrtho(viewport[0],viewport[0] + viewport[2],viewport[1],viewport[1]+viewport[3],0,-1); in drawTexOES()
|
/hardware/google/gfxstream/common/end2end/ |
D | GfxstreamEnd2EndGlTests.cpp | 121 GLint viewport[4] = {}; in TEST_P() local 122 mGl->glGetIntegerv(GL_VIEWPORT, viewport); in TEST_P() 124 EXPECT_THAT(viewport[0], Eq(0)); in TEST_P() 125 EXPECT_THAT(viewport[1], Eq(0)); in TEST_P() 126 EXPECT_THAT(viewport[2], Eq(mSurfaceWidth)); in TEST_P() 127 EXPECT_THAT(viewport[3], Eq(mSurfaceHeight)); in TEST_P()
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/ |
D | vk_meta_draw_rects.c | 194 VkViewport viewport = { in setup_viewport_scissor() local 202 disp->CmdSetViewport(_cmd, 0, 1, &viewport); in setup_viewport_scissor()
|
/hardware/google/gfxstream/common/detector/ |
D | GraphicsDetectorVkPrecisionQualifiersOnYuvSamplers.cpp | 332 const vkhpp::Viewport viewport = { in CanHandlePrecisionQualifierWithYuvSampler() local 340 cmd->setViewport(0, {viewport}); in CanHandlePrecisionQualifierWithYuvSampler()
|