Hi,
I am writing a display driver. I want to support rotation in my driver. I have achieved zero to 90 degree rotation. To achieve zero to 180 degree rotation, I want to force creation of new Pdev(DrvEnablePDEV) and surface (DrvEnableSurface) from user mode application. When I call ChangeDisplaySettingsEx() for existing resolution it wont do that.
Do anyone know how to achive creation of new PDEV and surface from user mode application?
Hi,
I am writing a display driver. I want to support rotation
in my driver. I have achieved zero to 90 degree rotation. To
achieve zero to 180 degree rotation, I want to force creation
of new Pdev(DrvEnablePDEV) and surface (DrvEnableSurface)
from user mode application. When I call
ChangeDisplaySettingsEx() for existing resolution it wont do that.
Is the driver determining rotation from the ratio of height to width?
How will driver know the user has selected 180, or tell the difference
between 90 and 270?
Hope we can help,
Tim Green
Development Engineer
DisplayLink (UK) Limited
I am writing a display driver. I want to support rotation in my driver. I have achieved zero to 90 degree rotation. To achieve zero to 180 degree rotation, I want to force creation of new Pdev(DrvEnablePDEV) and surface (DrvEnableSurface) from user mode application. When I call ChangeDisplaySettingsEx() for existing resolution it wont do that.
Do anyone know how to achive creation of new PDEV and surface from user mode application?
Why do you need a new pdev and surface? 180 degree rotation fits in the
same memory footprint as 0 degree. Why not just flip it in place, and
off you go?
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
I want to create a new surface in case if user selects rotation. When drawing calls are received I want to first write on new surface then rotate and write to the final surface which will be displayed on monitor.