Lines Matching refs:mContents
30 mContents = 0; in Buffer()
37 if(mContents) in ~Buffer()
39 mContents->destruct(); in ~Buffer()
45 if(mContents) in bufferData()
47 mContents->destruct(); in bufferData()
48 mContents = 0; in bufferData()
57 mContents = new sw::Resource(size + padding); in bufferData()
59 if(!mContents) in bufferData()
66 memcpy((void*)mContents->data(), data, size); in bufferData()
73 if(mContents) in bufferSubData()
75 char *buffer = (char*)mContents->lock(sw::PUBLIC); in bufferSubData()
77 mContents->unlock(); in bufferSubData()
83 return mContents; in getResource()