Applications and Implementations - Khronos Group · Title: OpenCL Author: Houston, Michael;Affie...
Transcript of Applications and Implementations - Khronos Group · Title: OpenCL Author: Houston, Michael;Affie...
© Copyright Khronos Group, 2010 - Page 1
Applications and Implementations
Hwanyong LEECTO and Technical Marketing Director
HUONE
© Copyright Khronos Group, 2010 - Page 2
OpenVG
• Royalty-free open standard API
• Low-level 2D vector graphics rendering API
• OpenGL-style programming model
• Advanced feature set enables
- SVG,
- Flash,
- PDF, Postscript,
- Java (JSR 287, 271, 226)
- etc.
• Portable content
• Map Applications
• Hardware Acceleration
Applications and UI
Hardware Acceleration
SVG, Vector andFont Packages etc..
© Copyright Khronos Group, 2010 - Page 4
OpenVG with Native Graphics Processor
• CPU sending data and commands to OpenVG hardware
• OpenVG rendering pipeline is in the hardware
CPU Native Vector
Graphics Hardware
© Copyright Khronos Group, 2010 - Page 5
Software Implementation
• Many implementation alternatives
• Everything is processed on the CPU (or +FPU)
- Power consumption is often the CPU maximum power
CPU
© Copyright Khronos Group, 2010 - Page 6
OpenVG with a 3D GPU (tessellation)
• 3D hardware is not tailored for tessellating arbitrary paths to triangles
which causes significant pre-processing to the CPU
• Frame-rates can be discontinuous when tessellation computed infrequently
CPU
GPUTessellation-based implementations require complex
polygon tessellation in the software driver
© Copyright Khronos Group, 2010 - Page 7
OpenVG with a 3D GPU (stencil)
• Path subdivision is computationally simpler than path tessellation
• Stencil buffer rasterization consumes a lot of memory bandwidth
CPU
GPUTriangles are rasterized
into stencil buffer to determine path areas
Stencil-based implementations require path subdivision in the software driver
© Copyright Khronos Group, 2010 - Page 8
OpenVG with Multimedia Hardware
• Using double buffer, fast image processing, BitBlt•
CPU
MM
Most of rasterization (Vector Graphics)
Selective hardware acceleration
© Copyright Khronos Group, 2010 - Page 9
Implementations
• Conformant Products
- Takumi GV series
- DMP SMAPH-F
- Vivante GC series
- ARM Mali series
- Inst. for Information Industry DeltaVG
- Imagination PowerVR SGX, MBX with VGP
- Broadcom – VideoCore III
- HUONE – AlexVG engine
- NVIDIA – NVIDIA AP
© Copyright Khronos Group, 2010 - Page 10
Implementations
• Not conformant but based on OpenVG
- ShivaVG – Open Source OpenVG on OpenGL
- Mazatech – AmanithVG (Software and on OpenGL ES)
- Hooked Wireless – Hooked OpenVG (on OpenGL ES)
- HUONE – AlexVG forge (on OpenGL ES)
© Copyright Khronos Group, 2010 - Page 11
Applications
• GUI
- Mobile Devices GUI – Samsung- Bitmap Graphics, Flash lite, OpenVG, Flash lite on OpenVG
- Qt Rendering on OpenVG
• Mapping
- GPS, map drawing
• Flash lite player
- Flash 10.1 Accelerating on OpenGL ES 2.0
• SVG Mobile Player
- MMS, DCD, MPEG4-LASeR, WAP, eBook, WebKit
- Java Bindings - JSR226, JSR271, JSR287
• Games
© Copyright Khronos Group, 2010 - Page 12
Applications: GUIs
TouchWiz GUI Operator’s Requirement
(MyFaves)
Croix GUI Magic Touch GUI
Multimedia Player BEAT DJ Simplified Main Menu Other GUIs & Appl.
Photo Crop
© Copyright Khronos Group, 2010 - Page 15
Vector Graphics and Other Technologies
LinuxCairo
SVG
OpenVG
CPU’sGeneral CPU’S
ARM, CortexIntel, Marvell, MIPS
On 3D HWnVidia, imagenation,
AMD, ARM, Samsung
MM HWMultimedia HW
mTekVision, Corelogic,
STEricsson, TI
OVG HWARM, nvidia, AMD,
Qualcomm, vivante
GTK+
WebKit
HTML5Canvas
SVG
GNU Plot
PDF render
Web BrowserseBOOK
OMA StandardsWAP, MMS, DCD
Java JSRs271(MIDP3), 226, 287
GUI PlatformAmple, Altcanvas, Qt,
vividUI, uiONE,
Rich MediaMPEG4 Part 20
© Copyright Khronos Group, 2010 - Page 16
OpenVG Roadmap
• OpenVG Inari – Future Version
- Investigations- Various features including “shading language” (like Adobe PixelBender)
• OpenVG Express – Streamlined, refactored
- Investigations- No Addition of feature
- No Removal of feature
- Reduce HW and SW complexity
- More easy to accelerate on existing devices.
- Target Application – SVGTiny 1.1/1.2 , Flash Lite Player
© Copyright Khronos Group, 2010 - Page 17
HTML 5 Canvas
• New HTML Element
- Draw graphics via scripting(usually Javascript)
- Most of web browser supported with Cairo
• Features
- 2D Context- Save, Restore : push or pop graphics state stack
- Transformation
- Global alpha
- Shapes : Fill and Stroke Path
- Canvas State : Fill and Stroke Style, Matrix, Clipping region…
- Image
- Text
• Hardware Accelerated Canvas Element