These days I am reading nouveau source code,I have found many functions such as mode setting,filling rect and copying area.
However,I cannot find any functions about the window layer. I have searched google,found Linux DRM guide and tried to learn connectors,encoders,CRTCs. But I still can not find any things about window layer hardware acceleration.
Does this acceleration exist? Or it belongs to software? Thank you for your help.
Video Card Question: Window Layer Hardware Acceleration?
Re: Video Card Question: Window Layer Hardware Acceleration?
Hi,
You found code to do (e.g.) hardware accelerated copying of an area, that would be used by whichever process in user space happens to implement the window layer (e.g. X11); but can't find code to do (e.g.) hardware accelerated copying of an area (that would be used by whichever process in user space happens to implement the window layer)?
Cheers,
Brendan
I think I need some clarification here...windows8 wrote:These days I am reading nouveau source code,I have found many functions such as mode setting,filling rect and copying area.
However,I cannot find any functions about the window layer. I have searched google,found Linux DRM guide and tried to learn connectors,encoders,CRTCs. But I still can not find any things about window layer hardware acceleration.
Does this acceleration exist? Or it belongs to software? Thank you for your help.
You found code to do (e.g.) hardware accelerated copying of an area, that would be used by whichever process in user space happens to implement the window layer (e.g. X11); but can't find code to do (e.g.) hardware accelerated copying of an area (that would be used by whichever process in user space happens to implement the window layer)?
Cheers,
Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
Re: Video Card Question: Window Layer Hardware Acceleration?
Oh.... I just want to ask,if the " entirely hardware " window layer acceleration exists...Brendan wrote:Hi,
I think I need some clarification here...
You found code to do (e.g.) hardware accelerated copying of an area, that would be used by whichever process in user space happens to implement the window layer (e.g. X11); but can't find code to do (e.g.) hardware accelerated copying of an area (that would be used by whichever process in user space happens to implement the window layer)?
Cheers,
Brendan
Maybe the answer is no? Thanks....
Re: Video Card Question: Window Layer Hardware Acceleration?
Hi,
Possibly more importantly, the answer is "No, it doesn't exist and shouldn't exist". As far as hardware is concerned there's lower level things (e.g. textures). Device drivers just provide a "standard for the OS" abstraction that can be used to by other software (e.g. the window manager) to access these lower level things. The window manager provides higher level things (e.g. windows, desktops, etc) and uses the "standard for the OS" abstractions provided many different types of the drivers (video, sound, keyboard, mouse, etc) to do that.
Cheers,
Brendan
The answer is "no".windows8 wrote:Oh.... I just want to ask,if the " entirely hardware " window layer acceleration exists...
Maybe the answer is no? Thanks....
Possibly more importantly, the answer is "No, it doesn't exist and shouldn't exist". As far as hardware is concerned there's lower level things (e.g. textures). Device drivers just provide a "standard for the OS" abstraction that can be used to by other software (e.g. the window manager) to access these lower level things. The window manager provides higher level things (e.g. windows, desktops, etc) and uses the "standard for the OS" abstractions provided many different types of the drivers (video, sound, keyboard, mouse, etc) to do that.
Cheers,
Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
Re: Video Card Question: Window Layer Hardware Acceleration?
OK,I see. Thanks a lot!Brendan wrote:Hi,
The answer is "no".
Possibly more importantly, the answer is "No, it doesn't exist and shouldn't exist". As far as hardware is concerned there's lower level things (e.g. textures). Device drivers just provide a "standard for the OS" abstraction that can be used to by other software (e.g. the window manager) to access these lower level things. The window manager provides higher level things (e.g. windows, desktops, etc) and uses the "standard for the OS" abstractions provided many different types of the drivers (video, sound, keyboard, mouse, etc) to do that.
Cheers,
Brendan
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Video Card Question: Window Layer Hardware Acceleration?
For a very limited amount of windows (1 or 2), any current hardware will do. "Video overlays" implement exactly those features. There is no generic driver, however.Brendan wrote:Hi,
The answer is "no".windows8 wrote:Oh.... I just want to ask,if the " entirely hardware " window layer acceleration exists...
Maybe the answer is no? Thanks....