Lines Matching refs:mContents
30 mContents = 0; in Buffer()
41 if(mContents) in ~Buffer()
43 mContents->destruct(); in ~Buffer()
49 if(mContents) in bufferData()
51 mContents->destruct(); in bufferData()
52 mContents = 0; in bufferData()
61 mContents = new sw::Resource(size + padding); in bufferData()
63 if(!mContents) in bufferData()
70 char *buffer = (char*)mContents->data(); in bufferData()
78 if(mContents && data) in bufferSubData()
80 char *buffer = (char*)mContents->lock(sw::PUBLIC); in bufferSubData()
82 mContents->unlock(); in bufferSubData()
88 if(mContents) in mapRange()
90 char* buffer = (char*)mContents->lock(sw::PUBLIC); in mapRange()
102 if(mContents) in unmap()
104 mContents->unlock(); in unmap()
115 return mContents; in getResource()