SlideShare ist ein Scribd-Unternehmen logo
1 von 2
Downloaden Sie, um offline zu lesen
OpenWF Composition 1.0 API Quick Reference Card 
http://www.khronos.org/openwf/ 
© 2010 Khronos Group 
Device -A WFCDevice[3] is an abstract device that is capable of performing composition operations, typically a unit of graphics hardware. Devices can vary in their support for specific input and output formats. 
Device Attributes [4.1]of typeWFCDeviceAttrib 
Device Class[4.1.1]of typeWFCDeviceClass 
WFCintwfcEnumerateDevices(WFCint*deviceIds, 
WFCintdeviceIdsCount, const WFCint*filterList) 
Populate a list of available devices with respect to the filter-list (could be WFC_NONE). 
WFCDevicewfcCreateDevice(WFCintdeviceId, 
const WFCint*attribList) 
Create a device with a known ID -could use WFC_DEFAULT_DEVICE_ID. 
WFCintwfcGetDeviceAttribi(WFCDevicedev, 
WFCDeviceAttribattrib) 
Retrieve capabilities for a specific device. 
WFCErrorCodewfcDestroyDevice(WFCDevicedev) 
Delete a specific device. OpenWF Composition®is a standardized API for compositing and serves as a low-level interface for two-dimensional composition used in embedded and/or mobile devices.Target users are windowing systems, system integrators etc. The API is implementable on top of a wide range of hardware. The header file to include is <WF/wfc.h> 
•[n.n.n]refers to the section in the API Specification available at www.khronos.org/openwf/. 
•Blueare datatypes defined in the WFC spec. 
•(r/w) –read/writable (r) –read only 
•Brownare constant values defined in the WFC spec. 
•Italicare parameter names in function declarations 
Context -A WFCContext[5]stands for a visual scene description applied to either an on-screen or off-screen target. It represents the state required for a device to be used for composition of a scene. A scene consists of a stack of Elements, added on top of WFC_CONTEXT_LOWEST_ELEMENT. 
(See Element Ordering.). A Context is permanently bound to a target. 
Context Attributes [5.1] of typeWFCContextAttrib 
Context type [5.1.1]of typeWFCContextType 
Rotation [5.1.4] –also used for element rotation 
Context Creation and Destruction [5.1], [5.3] and[5.7] 
WFCContextwfcCreateOnScreenContext(WFCDevicedev, 
WFCintscreenNumber, const WFCint*attribList) 
WFCContextwfcCreateOffScreenContext(WFCDevicedev, 
WFCNativeStreamTypestream, const WFCint*attribList) 
The offscreen context requires a stream to render into. 
void wfcDestroyContext(WFCDevicedev, WFCContextctx) 
Commit Context Attribute Changes [5.4] 
void wfcCommit(WFCDevicedev, WFCContextctx, WFCbooleanwait) 
NOTE-Changes in attributes will take effect when calling wfcCommit. 
Query Context Attributes [5.5] –single value / vector of values 
WFCintwfcGetContextAttribi(WFCDevicedev, WFCContextctx, 
WFCContextAttribattrib) 
void wfcGetContextAttribfv(WFCDevicedev, WFCContextctx, 
WFCContextAttribattrib, WFCintcount, WFCfloat*values) 
Set Context Attributes [5.6] –single value / vector of values 
void wfcSetContextAttribi(WFCDevicedev, WFCContextctx, 
WFCContextAttribattrib, WFCintvalue) 
void wfcSetContextAttribfv(WFCDevicedev, WFCContextctx, 
WFCContextAttribattrib, WFCintcount, const WFCfloat*values) 
WFC_CONTEXT_TYPE 
(r) On-screen or off-screen 
WFC_CONTEXT_TARGET_HEIGHT 
(r) Size of the destination in pixels 
WFC_CONTEXT_TARGET_WIDTH 
(r) Size of the destination in pixels 
WFC_CONTEXT_LOWEST_ELEMENT 
(r) Referenceto bottom element 
WFC_CONTEXT_ROTATION 
(r/w) Rotationfrom src to dest 
WFC_CONTEXT_BG_COLOR 
(r/w) RGBAvector –0 ≤ value ≤ 1 
WFC_CONTEXT_TYPE_ON_SCREEN 
WFC_CONTEXT_TYPE_OFF_SCREEN 
WFC_ROTATION_0 
No rotation 
WFC_ROTATION_90 
Rotate 90 degrees clockwise 
WFC_ROTATION_180 
Rotate 180 degrees clockwise 
WFC_ROTATION_270 
Rotate 270 degrees clockwise 
WFC_DEVICE_CLASS 
(r) -supportson-screen or not. 
WFC_DEVICE_ID 
(r) –the ID of the device –could be WFC_DEFAULT_DEVICE_ID 
WFC_DEVICE_CLASS_FULLY_CAPABLE 
Support both on-and off- screen rendering 
WFC_DEVICE_CLASS_OFF_SCREEN_ONLY 
Noon-screen compositing 
Errors [2.11]–of type WFCErrorCode 
Errors codes and their numerical values are defined by the WFCErrorCodeenumeration could be retrived by the following function: 
WFCErrorCodewfcGetError(WFCDevicedev). 
The possible values are as follows: 
Functions that returns handles could return the following error: WFC_INVALID_HANDLE[2.6] 
WFC_ERROR_NONE 
WFC_ERROR_OUT_OF_MEMORY 
WFC_ERROR_ILLEGAL_ARGUMENT 
WFC_ERROR_UNSUPPORTED 
WFC_ERROR_BAD_ATTRIBUT E 
WFC_ERROR_IN_USE 
WFC_ERROR_BUSY 
WFC_ERROR_BAD_DEVICE 
WFC_ERROR_BAD_HANDLE 
WFC_ERROR_INCONSISTENCY 
Src3 MMISrc1Camera 
Src2 
Video Src4Graphic 
Src3 MMI 
Src1 
Camera 
Src1 α 
Src2 
Video 
Src2Mask 
Src4 
3D Graphics 
with αchannel 
Image Providers 
Context-draw area -off-screen or on- screen 
Destination Rectangles 
Source Rectangle 
Device 
Device 
DeviceSource Mask 
Global 
AlphaImage with Alpha Channel 
Scene-layout of the transformed images in the context
OpenWF Composition 1.0 API Quick Reference Card 
The Khronos Group is an industry consortium creating open standards for authoring and acceleration of parallell computing. Graphics and dynamic media on a wide variety of platforms and devices. 
See www.khronos.org/openwfto learn more about the Khronos Group. And OpenWF 
© 2010 Khronos Group 
http://www.khronos.org/openwf/ 
Image Providers -input to composition. 
No valid attributes defined in the spec. 
Source inputs [6.1] -WFCSourceimage data –could contain alpha 
WFCSourcewfcCreateSourceFromStream(WFCDevicedev, 
WFCContextctx, WFCNativeStreamTypestream, 
const WFCint*attribList) 
void wfcDestroySource(WFCDevicedev, WFCSourcesrc) 
Mask inputs [6.2] -WFCMaskper-pixel opacity data 
WFCMaskwfcCreateMaskFromStream( WFCDevicedev, 
WFCContextctx, WFCNativeStreamTypestream, 
const WFCint*attribList) 
void wfcDestroyMask(WFCDevicedev, WFCMaskmask) Composition Elements[7] –of type WFCElement A scene consists of zero or more Elements stacked over a background plane. Composition is equivalent to blending each Element on top of the destination buffer according to the relative ordering of the Elements with respect to alpha or mask (WFCTransperencyType) . The result of composition is a 2D image. The source data, that is content of source rectangle, is transformed to match destination rectangle with respect to color format and size (using WFC_ELEMENT_SOURCE_SCALE_FILTER). WFCElementAttrib [7.1] WFCScaleFilter [7.1.6] WFCTransparencyType [7.1.7] -bitfieldOnly the following combinations of transparency are possible: 
•WFC_TRANSPARENCY_ELEMENT_GLOBAL_ALPHA| WFC_TRANSPARENCY_SOURCE 
•WFC_TRANSPARENCY_ELEMENT_GLOBAL_ALPHA| WFC_TRANSPARENCY_MASK 
Attribute Creation and Destruction[7.1] and [7.6] 
WFCElementwfcCreateElement(WFCDevicedev, WFCContextctx, 
const WFCint*attribList) 
void wfcDestroyElement(WFCDevicedev, WFCElementelement) 
Querying Element Attributes[7.3] single value / vector of values 
WFCintwfcGetElementAttribi(WFCDevicedev, WFCElementelement, 
WFCElementAttribattrib) 
WFCfloatwfcGetElementAttribf(WFCDevicedev, 
WFCElementelement, WFCElementAttribattrib) 
void wfcGetElementAttribiv(WFCDevicedev, WFCElementelement, 
WFCElementAttrib attrib, WFCintcount, WFCint*values) 
void wfcGetElementAttribfv(WFCDevicedev, WFCElementelement, 
WFCElementAttribattrib, WFCintcount, WFCfloat*values) 
Setting Element Attributes [7.4] single value / vector of values 
void wfcSetElementAttribi(WFCDevicedev, WFCElementelement, 
WFCElementAttribattrib, WFCintvalue) 
void wfcSetElementAttribf(WFCDevice dev, WFCElementelement, 
WFCElementAttribattrib, WFCfloatvalue) 
void wfcSetElementAttribiv(WFCDevicedev, WFCElementelement, 
WFCElementAttribattrib, WFCintcount, const WFCint*values) 
void wfcSetElementAttribfv(WFCDevicedev, WFCElementelement, 
WFCElementAttribattrib, WFCintcount, const WFCfloat*values) 
Element Ordering [7.5]–layering of images in the scene graph 
wfcInsertElement() with a subordinateof WFC_INVALID_HANDLEinserts the element at the bottom of the scene 
void wfcInsertElement(WFCDevicedev, WFCElementelement, 
WFCElementsubordinate) 
void wfcRemoveElement(WFCDevicedev, WFCElementelement) 
WFCElementwfcGetElementAbove(WFCDevice dev, 
WFCElementelement) 
WFCElementwfcGetElementBelow(WFCDevicedev, 
WFCElementelement) Rendering [8] –Note context inactive when created. User driven compositing –call wfcCompose for every frame to render. void wfcCompose(WFCDevicedev,WFCContextctx, WFCbooleanwait) Autonomous compositing –implementation decides when rendering is needed when context is active. void wfcActivate(WFCDevicedev, WFCContextctx) void wfcDeactivate(WFCDevicedev, WFCContextctx) 
Renderer and extension information [10] 
WFCintwfcGetStrings(WFCDevicedev, WFCStringIDname, 
const char **strings, WFCintstringsCount) 
WFCbooleanwfcIsExtensionSupported(WFCDevicedev, 
const char *string) 
WFC_ELEMENT_DESTINATION_ 
RECTANGLE 
(r/w) Placement of transformed image 
in context coordinates 
WFC_ELEMENT_SOURCE 
(r/w) Handleto image provider 
WFC_ELEMENT_SOURCE_RECTANGLE 
(r/w) Sub area in sourcecoordinates 
WFC_ELEMENT_SOURCE_FLIP 
(r/w) Flipping the source ornot 
WFC_ELEMENT_SOURCE_ROTATION 
(r/w) Rotation in 90 degrees angles 
WFC_ELEMENT_SOURCE_SCALE_FILTER 
(r/w) Quality of scaling 
WFC_ELEMENT_TRANSPARENCY_TYPES 
(r/w) Blending type for this element 
WFC_ELEMENT_GLOBAL_ALPHA 
(r/w) Apply globalalpha 
WFC_ELEMENT_MASK 
(r/w) Handleto mask source 
Synchronization [9] –compositing and other EGL client APIs could be synchronized using EGLSyncObjects 
void wfcFence(WFCDevicedev, WFCContextctx, 
WFCEGLDisplaydpy, WFCEGLSyncsync) 
WFC_SCALE_FILTER_NONE 
Nearest-neighbor replication (required) 
WFC_SCALE_FILTER_FASTER 
Low resource requirements (optional) 
WFC_SCALE_FILTER_BETTER 
High quality filtering (optional) 
WFC_TRANSPARENCY_NONE 
0 (default) 
WFC_TRANSPARENCY_ELEMENT_GLOBAL_ALPHA 
(1 << 0) 
WFC_TRANSPARENCY_SOURCE 
(1 << 1) 
WFC_TRANSPARENCY_MASK 
(1 << 2)

Weitere ähnliche Inhalte

Was ist angesagt?

The OpenCL C++ Wrapper 1.2 Reference Card
The OpenCL C++ Wrapper 1.2 Reference CardThe OpenCL C++ Wrapper 1.2 Reference Card
The OpenCL C++ Wrapper 1.2 Reference CardThe Khronos Group Inc.
 

Was ist angesagt? (20)

OpenXR 0.90 Overview Guide
OpenXR 0.90 Overview GuideOpenXR 0.90 Overview Guide
OpenXR 0.90 Overview Guide
 
OpenWF 1.0 Reference Card
OpenWF 1.0 Reference CardOpenWF 1.0 Reference Card
OpenWF 1.0 Reference Card
 
glTF 2.0 Reference Guide
glTF 2.0 Reference GuideglTF 2.0 Reference Guide
glTF 2.0 Reference Guide
 
OpenGL 4.4 Reference Card
OpenGL 4.4 Reference CardOpenGL 4.4 Reference Card
OpenGL 4.4 Reference Card
 
OpenGL SC 2.0 Quick Reference
OpenGL SC 2.0 Quick ReferenceOpenGL SC 2.0 Quick Reference
OpenGL SC 2.0 Quick Reference
 
Vulkan 1.0 Quick Reference
Vulkan 1.0 Quick ReferenceVulkan 1.0 Quick Reference
Vulkan 1.0 Quick Reference
 
OpenCL 3.0 Reference Guide
OpenCL 3.0 Reference GuideOpenCL 3.0 Reference Guide
OpenCL 3.0 Reference Guide
 
Sycl 1.2 Reference Card
Sycl 1.2 Reference CardSycl 1.2 Reference Card
Sycl 1.2 Reference Card
 
OpenSL ES 1.1 Reference Card
OpenSL ES 1.1 Reference CardOpenSL ES 1.1 Reference Card
OpenSL ES 1.1 Reference Card
 
OpenGL 4.5 Reference Card
OpenGL 4.5 Reference CardOpenGL 4.5 Reference Card
OpenGL 4.5 Reference Card
 
OpenGL 4.6 Reference Guide
OpenGL 4.6 Reference GuideOpenGL 4.6 Reference Guide
OpenGL 4.6 Reference Guide
 
OpenGL ES 3 Reference Card
OpenGL ES 3 Reference CardOpenGL ES 3 Reference Card
OpenGL ES 3 Reference Card
 
OpenGL ES 3.1 Reference Card
OpenGL ES 3.1 Reference CardOpenGL ES 3.1 Reference Card
OpenGL ES 3.1 Reference Card
 
OpenCL 2.1 Reference Guide
OpenCL 2.1 Reference GuideOpenCL 2.1 Reference Guide
OpenCL 2.1 Reference Guide
 
OpenVG 1.1 Reference Card
OpenVG 1.1 Reference Card OpenVG 1.1 Reference Card
OpenVG 1.1 Reference Card
 
The OpenCL C++ Wrapper 1.2 Reference Card
The OpenCL C++ Wrapper 1.2 Reference CardThe OpenCL C++ Wrapper 1.2 Reference Card
The OpenCL C++ Wrapper 1.2 Reference Card
 
OpenCL 2.2 Reference Guide
OpenCL 2.2 Reference GuideOpenCL 2.2 Reference Guide
OpenCL 2.2 Reference Guide
 
EGL 1.4 Reference Card
EGL 1.4 Reference CardEGL 1.4 Reference Card
EGL 1.4 Reference Card
 
OpenVX 1.3 Reference Guide
OpenVX 1.3 Reference GuideOpenVX 1.3 Reference Guide
OpenVX 1.3 Reference Guide
 
OpenCL 2.0 Reference Card
OpenCL 2.0 Reference CardOpenCL 2.0 Reference Card
OpenCL 2.0 Reference Card
 

Andere mochten auch

Mod Perl Quick Reference Card
Mod Perl Quick Reference CardMod Perl Quick Reference Card
Mod Perl Quick Reference CardFaryne Hsieh
 
Social Studies Exam - Strategy & Revision Guide
Social Studies Exam - Strategy & Revision GuideSocial Studies Exam - Strategy & Revision Guide
Social Studies Exam - Strategy & Revision GuideRahim Springfields
 
Strategic Intervention Material (SIM) Chemistry-COSMETICS
Strategic Intervention Material (SIM) Chemistry-COSMETICSStrategic Intervention Material (SIM) Chemistry-COSMETICS
Strategic Intervention Material (SIM) Chemistry-COSMETICSSophia Marie Verdeflor
 
7 elements of modern drama
7 elements of modern drama7 elements of modern drama
7 elements of modern dramaCes Valdez
 
Sim branding patricia duran rocio quintero orlando 2014 english version final...
Sim branding patricia duran rocio quintero orlando 2014 english version final...Sim branding patricia duran rocio quintero orlando 2014 english version final...
Sim branding patricia duran rocio quintero orlando 2014 english version final...Universidad Técnica de Manabí
 
Elements of drama
Elements of dramaElements of drama
Elements of dramaLina Ell
 

Andere mochten auch (11)

Mod Perl Quick Reference Card
Mod Perl Quick Reference CardMod Perl Quick Reference Card
Mod Perl Quick Reference Card
 
Social Studies Exam - Strategy & Revision Guide
Social Studies Exam - Strategy & Revision GuideSocial Studies Exam - Strategy & Revision Guide
Social Studies Exam - Strategy & Revision Guide
 
Elements of Drama
Elements of DramaElements of Drama
Elements of Drama
 
Elements of Drama
Elements of DramaElements of Drama
Elements of Drama
 
QTR - Gilbert
QTR - GilbertQTR - Gilbert
QTR - Gilbert
 
Elements of drama
Elements of dramaElements of drama
Elements of drama
 
Strategic Intervention Material (SIM) Chemistry-COSMETICS
Strategic Intervention Material (SIM) Chemistry-COSMETICSStrategic Intervention Material (SIM) Chemistry-COSMETICS
Strategic Intervention Material (SIM) Chemistry-COSMETICS
 
7 elements of modern drama
7 elements of modern drama7 elements of modern drama
7 elements of modern drama
 
Sim branding patricia duran rocio quintero orlando 2014 english version final...
Sim branding patricia duran rocio quintero orlando 2014 english version final...Sim branding patricia duran rocio quintero orlando 2014 english version final...
Sim branding patricia duran rocio quintero orlando 2014 english version final...
 
Elements of Drama
Elements of DramaElements of Drama
Elements of Drama
 
Elements of drama
Elements of dramaElements of drama
Elements of drama
 

Ähnlich wie OpenWF 1.0 Composition Reference Card

Google Web Toolkits
Google Web ToolkitsGoogle Web Toolkits
Google Web ToolkitsYiguang Hu
 
TDC2017 | São Paulo - Trilha Java EE How we figured out we had a SRE team at ...
TDC2017 | São Paulo - Trilha Java EE How we figured out we had a SRE team at ...TDC2017 | São Paulo - Trilha Java EE How we figured out we had a SRE team at ...
TDC2017 | São Paulo - Trilha Java EE How we figured out we had a SRE team at ...tdc-globalcode
 
Windows Filtering Platform And Winsock Kernel
Windows Filtering Platform And Winsock KernelWindows Filtering Platform And Winsock Kernel
Windows Filtering Platform And Winsock KernelHardway Hou
 
Intro to JavaFX & Widget FX
Intro to JavaFX & Widget FXIntro to JavaFX & Widget FX
Intro to JavaFX & Widget FXStephen Chin
 
Automated UI testing for iOS apps using KIF framework and Swift
Automated UI testing for iOS apps using KIF framework and SwiftAutomated UI testing for iOS apps using KIF framework and Swift
Automated UI testing for iOS apps using KIF framework and SwiftJurgis Kirsakmens
 
Google Web Toolkits
Google Web ToolkitsGoogle Web Toolkits
Google Web ToolkitsYiguang Hu
 
Developing your first application using FIWARE
Developing your first application using FIWAREDeveloping your first application using FIWARE
Developing your first application using FIWAREFIWARE
 
vCenter Orchestrator APIs
vCenter Orchestrator APIsvCenter Orchestrator APIs
vCenter Orchestrator APIsPablo Roesch
 
Vaadin 7 CN
Vaadin 7 CNVaadin 7 CN
Vaadin 7 CNjojule
 
22Flutter.pdf
22Flutter.pdf22Flutter.pdf
22Flutter.pdfdbaman
 
ITT 2014 - Peter Steinberger - Architecting Modular Codebases
ITT 2014 - Peter Steinberger - Architecting Modular CodebasesITT 2014 - Peter Steinberger - Architecting Modular Codebases
ITT 2014 - Peter Steinberger - Architecting Modular CodebasesIstanbul Tech Talks
 
Knowledge Sharing : Java Servlet
Knowledge Sharing : Java ServletKnowledge Sharing : Java Servlet
Knowledge Sharing : Java ServletFahmi Jafar
 

Ähnlich wie OpenWF 1.0 Composition Reference Card (20)

Google Web Toolkits
Google Web ToolkitsGoogle Web Toolkits
Google Web Toolkits
 
DataFX - JavaOne 2013
DataFX - JavaOne 2013DataFX - JavaOne 2013
DataFX - JavaOne 2013
 
TDC2017 | São Paulo - Trilha Java EE How we figured out we had a SRE team at ...
TDC2017 | São Paulo - Trilha Java EE How we figured out we had a SRE team at ...TDC2017 | São Paulo - Trilha Java EE How we figured out we had a SRE team at ...
TDC2017 | São Paulo - Trilha Java EE How we figured out we had a SRE team at ...
 
Building Reactive Microservices with Vert.x
Building Reactive Microservices with Vert.xBuilding Reactive Microservices with Vert.x
Building Reactive Microservices with Vert.x
 
Windows Filtering Platform And Winsock Kernel
Windows Filtering Platform And Winsock KernelWindows Filtering Platform And Winsock Kernel
Windows Filtering Platform And Winsock Kernel
 
Awt and swing in java
Awt and swing in javaAwt and swing in java
Awt and swing in java
 
Android For All The Things
Android For All The ThingsAndroid For All The Things
Android For All The Things
 
Intro to JavaFX & Widget FX
Intro to JavaFX & Widget FXIntro to JavaFX & Widget FX
Intro to JavaFX & Widget FX
 
Automated UI testing for iOS apps using KIF framework and Swift
Automated UI testing for iOS apps using KIF framework and SwiftAutomated UI testing for iOS apps using KIF framework and Swift
Automated UI testing for iOS apps using KIF framework and Swift
 
Google Web Toolkits
Google Web ToolkitsGoogle Web Toolkits
Google Web Toolkits
 
Developing your first application using FIWARE
Developing your first application using FIWAREDeveloping your first application using FIWARE
Developing your first application using FIWARE
 
vCenter Orchestrator APIs
vCenter Orchestrator APIsvCenter Orchestrator APIs
vCenter Orchestrator APIs
 
Vaadin 7 CN
Vaadin 7 CNVaadin 7 CN
Vaadin 7 CN
 
22Flutter.pdf
22Flutter.pdf22Flutter.pdf
22Flutter.pdf
 
Vertx daitan
Vertx daitanVertx daitan
Vertx daitan
 
Vertx SouJava
Vertx SouJavaVertx SouJava
Vertx SouJava
 
Andes open cl for RISC-V
Andes open cl for RISC-VAndes open cl for RISC-V
Andes open cl for RISC-V
 
Model_Driven_Development_SDR
Model_Driven_Development_SDRModel_Driven_Development_SDR
Model_Driven_Development_SDR
 
ITT 2014 - Peter Steinberger - Architecting Modular Codebases
ITT 2014 - Peter Steinberger - Architecting Modular CodebasesITT 2014 - Peter Steinberger - Architecting Modular Codebases
ITT 2014 - Peter Steinberger - Architecting Modular Codebases
 
Knowledge Sharing : Java Servlet
Knowledge Sharing : Java ServletKnowledge Sharing : Java Servlet
Knowledge Sharing : Java Servlet
 

Mehr von The Khronos Group Inc.

Vulkan Ray Tracing Update JP Translation
Vulkan Ray Tracing Update JP TranslationVulkan Ray Tracing Update JP Translation
Vulkan Ray Tracing Update JP TranslationThe Khronos Group Inc.
 
Vulkan Update Japan Virtual Open House Feb 2021
Vulkan Update Japan Virtual Open House Feb 2021Vulkan Update Japan Virtual Open House Feb 2021
Vulkan Update Japan Virtual Open House Feb 2021The Khronos Group Inc.
 
Vulkan Ray Tracing Update Japan Virtual Open House Feb 2021
Vulkan Ray Tracing Update Japan Virtual Open House Feb 2021Vulkan Ray Tracing Update Japan Virtual Open House Feb 2021
Vulkan Ray Tracing Update Japan Virtual Open House Feb 2021The Khronos Group Inc.
 
OpenCL Overview Japan Virtual Open House Feb 2021
OpenCL Overview Japan Virtual Open House Feb 2021OpenCL Overview Japan Virtual Open House Feb 2021
OpenCL Overview Japan Virtual Open House Feb 2021The Khronos Group Inc.
 
Vulkan ML Japan Virtual Open House Feb 2021
Vulkan ML Japan Virtual Open House Feb 2021Vulkan ML Japan Virtual Open House Feb 2021
Vulkan ML Japan Virtual Open House Feb 2021The Khronos Group Inc.
 
glTF Overview Japan Virtual Open House Feb 2021
glTF Overview Japan Virtual Open House Feb 2021glTF Overview Japan Virtual Open House Feb 2021
glTF Overview Japan Virtual Open House Feb 2021The Khronos Group Inc.
 
Khronos Overview Japan Virtual Open House Feb 2021
Khronos Overview Japan Virtual Open House Feb 2021Khronos Overview Japan Virtual Open House Feb 2021
Khronos Overview Japan Virtual Open House Feb 2021The Khronos Group Inc.
 

Mehr von The Khronos Group Inc. (13)

Vulkan Ray Tracing Update JP Translation
Vulkan Ray Tracing Update JP TranslationVulkan Ray Tracing Update JP Translation
Vulkan Ray Tracing Update JP Translation
 
Vulkan ML JP Translation
Vulkan ML JP TranslationVulkan ML JP Translation
Vulkan ML JP Translation
 
OpenCL Overview JP Translation
OpenCL Overview JP TranslationOpenCL Overview JP Translation
OpenCL Overview JP Translation
 
glTF overview JP Translation
glTF overview JP TranslationglTF overview JP Translation
glTF overview JP Translation
 
Khronos Overview JP Translation
Khronos Overview JP TranslationKhronos Overview JP Translation
Khronos Overview JP Translation
 
Vulkan Update Japan Virtual Open House Feb 2021
Vulkan Update Japan Virtual Open House Feb 2021Vulkan Update Japan Virtual Open House Feb 2021
Vulkan Update Japan Virtual Open House Feb 2021
 
Vulkan Ray Tracing Update Japan Virtual Open House Feb 2021
Vulkan Ray Tracing Update Japan Virtual Open House Feb 2021Vulkan Ray Tracing Update Japan Virtual Open House Feb 2021
Vulkan Ray Tracing Update Japan Virtual Open House Feb 2021
 
OpenCL Overview Japan Virtual Open House Feb 2021
OpenCL Overview Japan Virtual Open House Feb 2021OpenCL Overview Japan Virtual Open House Feb 2021
OpenCL Overview Japan Virtual Open House Feb 2021
 
Vulkan ML Japan Virtual Open House Feb 2021
Vulkan ML Japan Virtual Open House Feb 2021Vulkan ML Japan Virtual Open House Feb 2021
Vulkan ML Japan Virtual Open House Feb 2021
 
glTF Overview Japan Virtual Open House Feb 2021
glTF Overview Japan Virtual Open House Feb 2021glTF Overview Japan Virtual Open House Feb 2021
glTF Overview Japan Virtual Open House Feb 2021
 
Khronos Overview Japan Virtual Open House Feb 2021
Khronos Overview Japan Virtual Open House Feb 2021Khronos Overview Japan Virtual Open House Feb 2021
Khronos Overview Japan Virtual Open House Feb 2021
 
SYCL 2020 Specification
SYCL 2020 SpecificationSYCL 2020 Specification
SYCL 2020 Specification
 
OpenVX 1.0 Reference Guide
OpenVX 1.0 Reference GuideOpenVX 1.0 Reference Guide
OpenVX 1.0 Reference Guide
 

Kürzlich hochgeladen

DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 

Kürzlich hochgeladen (20)

DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 

OpenWF 1.0 Composition Reference Card

  • 1. OpenWF Composition 1.0 API Quick Reference Card http://www.khronos.org/openwf/ © 2010 Khronos Group Device -A WFCDevice[3] is an abstract device that is capable of performing composition operations, typically a unit of graphics hardware. Devices can vary in their support for specific input and output formats. Device Attributes [4.1]of typeWFCDeviceAttrib Device Class[4.1.1]of typeWFCDeviceClass WFCintwfcEnumerateDevices(WFCint*deviceIds, WFCintdeviceIdsCount, const WFCint*filterList) Populate a list of available devices with respect to the filter-list (could be WFC_NONE). WFCDevicewfcCreateDevice(WFCintdeviceId, const WFCint*attribList) Create a device with a known ID -could use WFC_DEFAULT_DEVICE_ID. WFCintwfcGetDeviceAttribi(WFCDevicedev, WFCDeviceAttribattrib) Retrieve capabilities for a specific device. WFCErrorCodewfcDestroyDevice(WFCDevicedev) Delete a specific device. OpenWF Composition®is a standardized API for compositing and serves as a low-level interface for two-dimensional composition used in embedded and/or mobile devices.Target users are windowing systems, system integrators etc. The API is implementable on top of a wide range of hardware. The header file to include is <WF/wfc.h> •[n.n.n]refers to the section in the API Specification available at www.khronos.org/openwf/. •Blueare datatypes defined in the WFC spec. •(r/w) –read/writable (r) –read only •Brownare constant values defined in the WFC spec. •Italicare parameter names in function declarations Context -A WFCContext[5]stands for a visual scene description applied to either an on-screen or off-screen target. It represents the state required for a device to be used for composition of a scene. A scene consists of a stack of Elements, added on top of WFC_CONTEXT_LOWEST_ELEMENT. (See Element Ordering.). A Context is permanently bound to a target. Context Attributes [5.1] of typeWFCContextAttrib Context type [5.1.1]of typeWFCContextType Rotation [5.1.4] –also used for element rotation Context Creation and Destruction [5.1], [5.3] and[5.7] WFCContextwfcCreateOnScreenContext(WFCDevicedev, WFCintscreenNumber, const WFCint*attribList) WFCContextwfcCreateOffScreenContext(WFCDevicedev, WFCNativeStreamTypestream, const WFCint*attribList) The offscreen context requires a stream to render into. void wfcDestroyContext(WFCDevicedev, WFCContextctx) Commit Context Attribute Changes [5.4] void wfcCommit(WFCDevicedev, WFCContextctx, WFCbooleanwait) NOTE-Changes in attributes will take effect when calling wfcCommit. Query Context Attributes [5.5] –single value / vector of values WFCintwfcGetContextAttribi(WFCDevicedev, WFCContextctx, WFCContextAttribattrib) void wfcGetContextAttribfv(WFCDevicedev, WFCContextctx, WFCContextAttribattrib, WFCintcount, WFCfloat*values) Set Context Attributes [5.6] –single value / vector of values void wfcSetContextAttribi(WFCDevicedev, WFCContextctx, WFCContextAttribattrib, WFCintvalue) void wfcSetContextAttribfv(WFCDevicedev, WFCContextctx, WFCContextAttribattrib, WFCintcount, const WFCfloat*values) WFC_CONTEXT_TYPE (r) On-screen or off-screen WFC_CONTEXT_TARGET_HEIGHT (r) Size of the destination in pixels WFC_CONTEXT_TARGET_WIDTH (r) Size of the destination in pixels WFC_CONTEXT_LOWEST_ELEMENT (r) Referenceto bottom element WFC_CONTEXT_ROTATION (r/w) Rotationfrom src to dest WFC_CONTEXT_BG_COLOR (r/w) RGBAvector –0 ≤ value ≤ 1 WFC_CONTEXT_TYPE_ON_SCREEN WFC_CONTEXT_TYPE_OFF_SCREEN WFC_ROTATION_0 No rotation WFC_ROTATION_90 Rotate 90 degrees clockwise WFC_ROTATION_180 Rotate 180 degrees clockwise WFC_ROTATION_270 Rotate 270 degrees clockwise WFC_DEVICE_CLASS (r) -supportson-screen or not. WFC_DEVICE_ID (r) –the ID of the device –could be WFC_DEFAULT_DEVICE_ID WFC_DEVICE_CLASS_FULLY_CAPABLE Support both on-and off- screen rendering WFC_DEVICE_CLASS_OFF_SCREEN_ONLY Noon-screen compositing Errors [2.11]–of type WFCErrorCode Errors codes and their numerical values are defined by the WFCErrorCodeenumeration could be retrived by the following function: WFCErrorCodewfcGetError(WFCDevicedev). The possible values are as follows: Functions that returns handles could return the following error: WFC_INVALID_HANDLE[2.6] WFC_ERROR_NONE WFC_ERROR_OUT_OF_MEMORY WFC_ERROR_ILLEGAL_ARGUMENT WFC_ERROR_UNSUPPORTED WFC_ERROR_BAD_ATTRIBUT E WFC_ERROR_IN_USE WFC_ERROR_BUSY WFC_ERROR_BAD_DEVICE WFC_ERROR_BAD_HANDLE WFC_ERROR_INCONSISTENCY Src3 MMISrc1Camera Src2 Video Src4Graphic Src3 MMI Src1 Camera Src1 α Src2 Video Src2Mask Src4 3D Graphics with αchannel Image Providers Context-draw area -off-screen or on- screen Destination Rectangles Source Rectangle Device Device DeviceSource Mask Global AlphaImage with Alpha Channel Scene-layout of the transformed images in the context
  • 2. OpenWF Composition 1.0 API Quick Reference Card The Khronos Group is an industry consortium creating open standards for authoring and acceleration of parallell computing. Graphics and dynamic media on a wide variety of platforms and devices. See www.khronos.org/openwfto learn more about the Khronos Group. And OpenWF © 2010 Khronos Group http://www.khronos.org/openwf/ Image Providers -input to composition. No valid attributes defined in the spec. Source inputs [6.1] -WFCSourceimage data –could contain alpha WFCSourcewfcCreateSourceFromStream(WFCDevicedev, WFCContextctx, WFCNativeStreamTypestream, const WFCint*attribList) void wfcDestroySource(WFCDevicedev, WFCSourcesrc) Mask inputs [6.2] -WFCMaskper-pixel opacity data WFCMaskwfcCreateMaskFromStream( WFCDevicedev, WFCContextctx, WFCNativeStreamTypestream, const WFCint*attribList) void wfcDestroyMask(WFCDevicedev, WFCMaskmask) Composition Elements[7] –of type WFCElement A scene consists of zero or more Elements stacked over a background plane. Composition is equivalent to blending each Element on top of the destination buffer according to the relative ordering of the Elements with respect to alpha or mask (WFCTransperencyType) . The result of composition is a 2D image. The source data, that is content of source rectangle, is transformed to match destination rectangle with respect to color format and size (using WFC_ELEMENT_SOURCE_SCALE_FILTER). WFCElementAttrib [7.1] WFCScaleFilter [7.1.6] WFCTransparencyType [7.1.7] -bitfieldOnly the following combinations of transparency are possible: •WFC_TRANSPARENCY_ELEMENT_GLOBAL_ALPHA| WFC_TRANSPARENCY_SOURCE •WFC_TRANSPARENCY_ELEMENT_GLOBAL_ALPHA| WFC_TRANSPARENCY_MASK Attribute Creation and Destruction[7.1] and [7.6] WFCElementwfcCreateElement(WFCDevicedev, WFCContextctx, const WFCint*attribList) void wfcDestroyElement(WFCDevicedev, WFCElementelement) Querying Element Attributes[7.3] single value / vector of values WFCintwfcGetElementAttribi(WFCDevicedev, WFCElementelement, WFCElementAttribattrib) WFCfloatwfcGetElementAttribf(WFCDevicedev, WFCElementelement, WFCElementAttribattrib) void wfcGetElementAttribiv(WFCDevicedev, WFCElementelement, WFCElementAttrib attrib, WFCintcount, WFCint*values) void wfcGetElementAttribfv(WFCDevicedev, WFCElementelement, WFCElementAttribattrib, WFCintcount, WFCfloat*values) Setting Element Attributes [7.4] single value / vector of values void wfcSetElementAttribi(WFCDevicedev, WFCElementelement, WFCElementAttribattrib, WFCintvalue) void wfcSetElementAttribf(WFCDevice dev, WFCElementelement, WFCElementAttribattrib, WFCfloatvalue) void wfcSetElementAttribiv(WFCDevicedev, WFCElementelement, WFCElementAttribattrib, WFCintcount, const WFCint*values) void wfcSetElementAttribfv(WFCDevicedev, WFCElementelement, WFCElementAttribattrib, WFCintcount, const WFCfloat*values) Element Ordering [7.5]–layering of images in the scene graph wfcInsertElement() with a subordinateof WFC_INVALID_HANDLEinserts the element at the bottom of the scene void wfcInsertElement(WFCDevicedev, WFCElementelement, WFCElementsubordinate) void wfcRemoveElement(WFCDevicedev, WFCElementelement) WFCElementwfcGetElementAbove(WFCDevice dev, WFCElementelement) WFCElementwfcGetElementBelow(WFCDevicedev, WFCElementelement) Rendering [8] –Note context inactive when created. User driven compositing –call wfcCompose for every frame to render. void wfcCompose(WFCDevicedev,WFCContextctx, WFCbooleanwait) Autonomous compositing –implementation decides when rendering is needed when context is active. void wfcActivate(WFCDevicedev, WFCContextctx) void wfcDeactivate(WFCDevicedev, WFCContextctx) Renderer and extension information [10] WFCintwfcGetStrings(WFCDevicedev, WFCStringIDname, const char **strings, WFCintstringsCount) WFCbooleanwfcIsExtensionSupported(WFCDevicedev, const char *string) WFC_ELEMENT_DESTINATION_ RECTANGLE (r/w) Placement of transformed image in context coordinates WFC_ELEMENT_SOURCE (r/w) Handleto image provider WFC_ELEMENT_SOURCE_RECTANGLE (r/w) Sub area in sourcecoordinates WFC_ELEMENT_SOURCE_FLIP (r/w) Flipping the source ornot WFC_ELEMENT_SOURCE_ROTATION (r/w) Rotation in 90 degrees angles WFC_ELEMENT_SOURCE_SCALE_FILTER (r/w) Quality of scaling WFC_ELEMENT_TRANSPARENCY_TYPES (r/w) Blending type for this element WFC_ELEMENT_GLOBAL_ALPHA (r/w) Apply globalalpha WFC_ELEMENT_MASK (r/w) Handleto mask source Synchronization [9] –compositing and other EGL client APIs could be synchronized using EGLSyncObjects void wfcFence(WFCDevicedev, WFCContextctx, WFCEGLDisplaydpy, WFCEGLSyncsync) WFC_SCALE_FILTER_NONE Nearest-neighbor replication (required) WFC_SCALE_FILTER_FASTER Low resource requirements (optional) WFC_SCALE_FILTER_BETTER High quality filtering (optional) WFC_TRANSPARENCY_NONE 0 (default) WFC_TRANSPARENCY_ELEMENT_GLOBAL_ALPHA (1 << 0) WFC_TRANSPARENCY_SOURCE (1 << 1) WFC_TRANSPARENCY_MASK (1 << 2)