Lines Matching defs:PVRShell
3 @file Shell/PVRShell.h
14 /*! @mainpage PVRShell
22 PVRShell is a C++ class used to make programming for PowerVR platforms easier and more portable.
23 PVRShell takes care of all API and OS initialisation for the user and handles adapters, devices, screen/windows modes,
26 PVRShell consists of 3 files: PVRShell.cpp, PVRShellOS.cpp and PVRShellAPI.cpp.
30 PVRShell.cpp is where the common code resides and it interacts with the user application through an abstraction layer.
32 A new application must link to these three files and must create a class that will inherit the PVRShell class.
38 class MyApplication: public PVRShell
48 PVRShell* NewDemo()
60 InitApplication() will be called by PVRShell once per run, before the graphic context is created.
62 QuitApplication() will be called by PVRShell once per run, just before exiting the program.
65 InitView() will be called by PVRShell upon creation or change in the rendering context.
67 ReleaseView() will be called by PVRShell before changing to a new rendering context or
71 PVRShell will call this function every frame and will manage relevant OS events.
73 There are other PVRShell functions which allow the user to set his/her preferences and get data back from the devices:
75 PVRShellSet() and PVRShellGet() are used to pass data to and from PVRShell. PVRShellSet() is recommended to be used
105 There are a few other helper functions supplied by PVRShell as well. These functions allow you to read the timer, to output debug information and to
138 Across all platforms, PVRShell takes a set of command-line arguments which allow things like the position and size of the demo
367 @brief PVRShell implementation Prototypes and definitions
386 @class PVRShell
388 @details PVRShell is the main Shell class that an application uses. An
389 application should supply a class which inherits PVRShell and supplies
390 implementations of the virtual functions of PVRShell (InitApplication(),
395 The other, non-virtual, functions of PVRShell are utility functions that the
398 class PVRShell
411 PVRShell();
416 virtual ~PVRShell();
419 PVRShell functions that the application should implement.
425 will be called by PVRShell once, only at the beginning of
426 the PVRShell WinMain()/main() function. This function
438 will be called by PVRShell just before finishing the
448 will be called by PVRShell after the OS and rendering API
483 PVRShell functions available for the application to use.
487 @brief This function is used to pass preferences to the PVRShell.
496 @brief This function is used to pass preferences to the PVRShell.
505 @brief This function is used to pass preferences to the PVRShell.
514 @brief This function is used to pass preferences to the PVRShell.
523 @brief This function is used to pass preferences to the PVRShell.
532 @brief This function is used to get parameters from the PVRShell.
540 @brief This function is used to get parameters from the PVRShell.
548 @brief This function is used to get parameters from the PVRShell.
556 @brief This function is used to get parameters from the PVRShell.
564 @brief This function is used to get parameters from the PVRShell
640 are mapped to the PVRShell-supported keys (listed in @a PVRShellKeyName) in
656 @details The user should return its PVRShell object defining the
660 PVRShell* NewDemo();
665 End of file (PVRShell.h)