1
/****************************************************************************
3
* Copyright (c) 2002 - 2008 by Vivante Corp. All rights reserved.
5
* The material in this file is confidential and contains trade secrets
6
* of Vivante Corporation. This is proprietary information owned by
7
* Vivante Corporation. No part of this work may be disclosed,
8
* reproduced, copied, transmitted, or used in any way for any purpose,
9
* without the express written permission of Vivante Corporation.
11
*****************************************************************************
14
*****************************************************************************/
25
/* gcoCONTEXT structure that hold the current context. */
31
/* Pointer to gcoOS object. */
34
/* Pointer to gcoHARDWARE object. */
45
gctUINT32 pipe3DIndex;
46
gctUINT32 pipe2DIndex;
51
/* Context buffer used for commitment. */
53
gctPHYS_ADDR physical;
56
/* Pointer to final LINK command. */
59
/* Requested pipe select for context. */
60
gctUINT32 initialPipe;
62
gctUINT32 currentPipe;
64
/* Flag to specify whether PostCommit needs to be called. */
68
volatile gctBOOL * inUse;
70
/* Variables used for building state buffer. */
71
gctUINT32 lastAddress;
82
/* Pointer to gcoOS object. */
85
/* Pointer to gcoHARDWARE object. */
88
/* Physical address of command buffer. */
89
gctPHYS_ADDR physical;
91
/* Logical address of command buffer. */
94
/* Number of bytes in command buffer. */
97
/* Current offset into the command buffer. */
100
/* Number of free bytes in command buffer. */
103
/* Pointer to next command buffer or gcvNULL if this is the last one. */
107
typedef struct _gcsQUEUE * gcsQUEUE_PTR;
109
typedef struct _gcsQUEUE
111
/* Pointer to next gcsQUEUE structure. */
114
/* Event information. */
115
gcsHAL_INTERFACE interface;
125
/* Pointer to gcoOS object. */
128
/* Pointer to current event queue. */
133
#endif /* __context_h_ */