An overview of the new PowerVR Framework

Share on linkedin
Share on twitter
Share on facebook
Share on google

It is 2016, and a new year brings new developments in the field of APIs! In preparation for these, we have created the PowerVR Framework. But what exactly is it?

Simply put, the Framework is a cross-platform and cross-API framework which is fully optimised for PowerVR. It supports PowerVR assets and shows you how to use a variety of PowerVR techniques such as Pixel Local Storage, and also can work as scaffolding around which to build your own render engine. It comes with the MIT industry-standard open source license, which lets you use not only our Framework but also our latest PowerVR Graphics SDK freely for commercial and non-commercial purposes.

The premise behind our Framework is that explicit APIs (such as Vulkan) are becoming more and more widespread – and whilst they are very powerful tools, they are also very verbose and difficult to get to grips with. As a result, intermediate layers have become more important, since the APIs themselves offer less guidance to developers.

Therefore, the PowerVR Framework was designed with the goal of making the developer’s job easier, by offering better support for explicit APIs through the addition of a facilitation layer enabling cross-API development.

The PowerVR Framework modules

The Framework consists of several modules compiled as static libraries and divided by functionality. These modules are:

  • PVRCore
  • PVRAssets
  • PVRShell
  • PVRAPI
  • PVRUIRenderer
PVRCore

PVRCore is the supporting code that is used by the rest of the Framework. It features not only interfaces that bind other modules together (e.g. GraphicsContext.h, OSManager.h), but also utility classes and specialized data structures used by the Framework (RingBuffer.h, ListOfInterfaces.h).

This module also provides the main Smart Pointer class used by the Framework (RefCounted.h), the data streams (e.g. FileStream.h, MemoryStream.h), as well as logging and error reporting (Log.h). It also deals with any required special math (bounding boxes, shadow volumes).

PVRAssets

PVRAssets is one of the most important modules within the PowerVR Framework. It contains classes and functions to work with objects like Model, Mesh, Texture, Effect, Animation, Camera and others. It provides built-in support for handling all PowerVR deployment formats (PVR textures, POD models and PFX effects), usually with a single line of code. PVRAssets also works to provide you with flexible classes that you can dynamically adapt for your own use.

PVRShell

PVRShell is the foundation on top of which the SDK applications are written. This module abstracts the display system and contains, among others, the application’s entry point, command line arguments, events, main loop, etc., abstracting the native platform. PVRShell effectively makes it easier to develop your application on Windows, Linux and OS X desktop OS’s with emulation and deploy to iOS, Android and Linux devices.

PVRAPI

PVRAPI leverages PVRAssets and PVRShell in order to abstract the graphics API. PVRAPI is very ambitious in that it provides a graphics API abstraction layer inspired by modern APIs such as Vulkan and Mantle, while also supporting existing APIs such as OpenGL ES. The 4.0 SDK includes an OpenGL ES back-end that utilises OpenGL ES 2.0, 3.0 & 3.1 features. Future SDK releases will include new back-ends. Combined with PVRShell (which provides a common codebase across platforms), PVRAPI supports the cross-platform, cross-API nature of the Framework.

PVRAPI - PowerVR frameworkGnomes!

PVRUIRenderer

PVRUIRenderer makes use of PVRAPI to provide a simple, platform- and API-agnostic library for rendering 2D elements in a 3D environment. Specifically, PVRUIRenderer was written with text and sprites in mind.

PVRCamera

PVRCamera provides an easy-to-use interface between the platform’s hardware camera system and the rest of the Framework.

PVRCamera - texture streaming

The latest PowerVR Tools and SDK installers (Windows, OS X and Linux) can be downloaded from here. For a full list of the latest features and fixes, please check out our comprehensive release notes page.

Remember to also follow us on Twitter (@ImaginationTech, @PowerVRInsider) for  the latest news and announcements from the PowerVR Insider team.

Please leave a comment below

Comment policy: We love comments and appreciate the time that readers spend to share ideas and give feedback. However, all comments are manually moderated and those deemed to be spam or solely promotional will be deleted. We respect your privacy and will not publish your personal details.

Blog Contact

If you have any enquiries regarding any of our blog posts, please contact:

United Kingdom

benny.har-even@imgtec.com
Tel: +44 (0)1923 260 511

Search by Tag

Search for posts by tag.

Search by Author

Search for posts by one of our authors.

Featured posts
Popular posts

Related blog articles

Three great reasons to visit the Imagination booth at GDC 2019

The Game Developer Conference is a highlight of the year for anyone involved in the graphics world and naturally, Imagination is there, located at booth S763, at the Moscone Center, in San Francisco. If you’re looking to find out a

Making Unreal Engine and Unity profiling on PowerVR easier

The PowerVR Developer Technology team has always been fully committed to making development for PowerVR easier, by continually improving our groundbreaking tools and SDK. Our ecosystem is very important to us, so we’re focusing on the things developers really need

Product and event round-up from the experts in GPU and AI

It’s certainly been a busy few months for Imagination. Towards the latter end of last year, we released a raft of new products and initiatives, and a new CEO took the helm giving us real momentum for 2019. At the

Stay up-to-date with Imagination

Sign up to receive the latest news and product updates from Imagination straight to your inbox.

  • This field is for validation purposes and should be left unchanged.