Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion va/va.h
Original file line number Diff line number Diff line change
Expand Up @@ -4827,7 +4827,16 @@ VAStatus vaDeassociateSubpicture (
* Display attributes are used to control things such as contrast, hue, saturation,
* brightness etc. in the rendering process. The application can query what
* attributes are supported by the driver, and then set the appropriate attributes
* before calling vaPutSurface()
* before calling vaPutSurface().
*
* Display attributes also are used to query/set display adaptor (vaDisplay)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's prioritize #514 - you will need to rebase once that one will be merged.

* related information. These attributes do not depend on vaConfig. They can't
* be used with vaPutSurface. Apps can call vaQueryDisplayAttributes/
* vaGetDisplayAttributes to query these attributes after vaInitialize, but can
* only call vaSetDisplayAttributes for these attributes after vaInitialize and
* before any other function call if the attributes is settable. To distinguish
* these two types of display attributes, this display adaptor related
* attributes should be marked as "HW attribute" in the description.
*/
/* PowerVR IEP Lite attributes */
typedef enum
Expand Down Expand Up @@ -4950,6 +4959,12 @@ typedef enum
* specify vaPutSurface render area if there is no drawable on the monitor
*/
VADisplayAttribRenderRect = 18,
/*
* Bitfield of supported VASurfaceAttribType (read-only, HW attribute). A
* surface attribute is supported if the bit 1 << VASurfaceAttribXXX is
* set.
*/
VADisplayAttribSurfaceAttribs = 19,
} VADisplayAttribType;

/* flags for VADisplayAttribute */
Expand Down