15 #ifndef _COP2_CONTEXTDATA_H_
16 #define _COP2_CONTEXTDATA_H_
29 UT_SMALLOBJECT_CLEANPAGES_OFF, 31,
30 UT_SMALLOBJECT_THREADSAFE_ON, 512>
45 void setExpressionFlags(
bool plane,
bool array,
bool res);
47 bool hasPlaneExpr()
const {
return myExprPlane; }
48 bool hasArrayExpr()
const {
return myExprArray; }
49 bool hasResExpr()
const {
return myExprRes; }
51 short changeRefCount(
short count);
53 int64 getMemSize()
const;
56 unsigned char myExprPlane : 1,
66 UT_SMALLOBJECT_CLEANPAGES_OFF, 160,
67 UT_SMALLOBJECT_THREADSAFE_ON, 256>
79 int xres()
const {
return myXres; }
80 int yres()
const {
return myYres; }
95 void setImageBounds(
int x1,
int y1,
int x2,
int y2);
96 void enlargeImageBounds(
int x,
int y);
97 void enlargeImageBounds(
float x,
float y);
100 bool getImageBounds(
int &x1,
int &
y1,
int &
x2,
int &
y2);
109 bool dataMatch(
const TIL_Plane *plane,
int array,
float time,
110 int xres,
int yres,
int thread)
const;
112 bool contextMatch(
const TIL_Plane *plane,
int array,
float time,
113 int xres,
int yres,
int thread)
const;
115 void set(
const TIL_Plane *plane,
int arrayindex,
float t,
116 int xres,
int yres,
int thread,
bool ownsplane =
true);
119 void setPendingData(
bool pd) { myPendingData = pd; }
120 bool isPendingData()
const {
return myPendingData; }
122 int64 getMemSize()
const;
127 volatile unsigned myBoundsInit :1,
132 friend class COP2_CookScheduler;
virtual bool createPerThread() const
GT_API const UT_StringHolder time
virtual bool createPerRes() const
bool areBoundsSet() const
**Note that the tasks the is the thread number *for the or if it s being executed by a non pool thread(this *can happen in cases where the whole pool is occupied and the calling *thread contributes to running the work load).**Thread pool.Have fun
virtual bool createPerTime() const
virtual bool createPerPlane() const
const TIL_Plane * myPlane
GLdouble GLdouble GLdouble y2