Lines Matching refs:mContents
29 mContents = 0; in Buffer()
36 if(mContents) in ~Buffer()
38 mContents->destruct(); in ~Buffer()
44 if(mContents) in bufferData()
46 mContents->destruct(); in bufferData()
47 mContents = 0; in bufferData()
56 mContents = new sw::Resource(size + padding); in bufferData()
58 if(!mContents) in bufferData()
65 memcpy((void*)mContents->data(), data, size); in bufferData()
72 if(mContents) in bufferSubData()
74 char *buffer = (char*)mContents->lock(sw::PUBLIC); in bufferSubData()
76 mContents->unlock(); in bufferSubData()
82 return mContents; in getResource()