Qt 4.8
Classes | Macros | Functions | Variables
pvrqwsdrawable_p.h File Reference
#include <pvr2d.h>
#include "pvrqwsdrawable.h"

Go to the source code of this file.

Classes

struct  _PvrQwsDrawable
 
struct  PvrQwsDisplay
 
struct  PvrQwsScreenInfo
 

Macros

#define PVRQWS_MAX_BACK_BUFFERS   2
 
#define PVRQWS_MAX_FLIP_BUFFERS   2
 
#define PVRQWS_MAX_SCREENS   1
 
#define PVRQWS_MAX_VISIBLE_RECTS   32
 

Functions

int pvrQwsGetBuffers (PvrQwsDrawable *drawable, PVR2DMEMINFO **source, PVR2DMEMINFO **render)
 

Variables

PvrQwsDisplay pvrQwsDisplay
 

Macro Definition Documentation

◆ PVRQWS_MAX_BACK_BUFFERS

#define PVRQWS_MAX_BACK_BUFFERS   2

◆ PVRQWS_MAX_FLIP_BUFFERS

#define PVRQWS_MAX_FLIP_BUFFERS   2

Definition at line 66 of file pvrqwsdrawable_p.h.

Referenced by pvrQwsAddDrawable().

◆ PVRQWS_MAX_SCREENS

#define PVRQWS_MAX_SCREENS   1

◆ PVRQWS_MAX_VISIBLE_RECTS

#define PVRQWS_MAX_VISIBLE_RECTS   32

Definition at line 63 of file pvrqwsdrawable_p.h.

Referenced by pvrQwsSetVisibleRegion(), and pvrQwsSwapBuffers().

Function Documentation

◆ pvrQwsGetBuffers()

int pvrQwsGetBuffers ( PvrQwsDrawable drawable,
PVR2DMEMINFO **  source,
PVR2DMEMINFO **  render 
)

Definition at line 721 of file pvrqwsdrawable.c.

Referenced by pvrQwsInvalidateBuffers(), and wseglGetDrawableParameters().

722 {
723  if (!drawable->backBuffersValid)
724  return 0;
725  *render = drawable->backBuffers[drawable->currentBackBuffer];
726  *source = drawable->backBuffers
727  [(drawable->currentBackBuffer + PVRQWS_MAX_BACK_BUFFERS - 1) %
729  return 1;
730 }
PVR2DMEMINFO * backBuffers[PVRQWS_MAX_BACK_BUFFERS]
#define PVRQWS_MAX_BACK_BUFFERS

Variable Documentation

◆ pvrQwsDisplay

PvrQwsDisplay pvrQwsDisplay