Lines Matching refs:h
225 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) { in validate2DRange() argument
229 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { in validate2DRange()
235 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument
237 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom()
240 … w, h, data, w * h * mType->getElement()->getSizeBytes(), in copy2DRangeFrom()
244 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument
246 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom()
249 … w, h, data->getIDSafe(), dataXoff, dataYoff, in copy2DRangeFrom()
253 void Allocation::copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeTo() argument
255 validate2DRange(xoff, yoff, w, h); in copy2DRangeTo()
257 mSelectedLOD, mSelectedFace, w, h, data, in copy2DRangeTo()
258 w * h * mType->getElement()->getSizeBytes(), in copy2DRangeTo()
262 void Allocation::copy2DStridedFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DStridedFrom() argument
264 validate2DRange(xoff, yoff, w, h); in copy2DStridedFrom()
266 mSelectedLOD, mSelectedFace, w, h, data, in copy2DStridedFrom()
267 … w * h * mType->getElement()->getSizeBytes(), stride)); in copy2DStridedFrom()
274 void Allocation::copy2DStridedTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DStridedTo() argument
276 validate2DRange(xoff, yoff, w, h); in copy2DStridedTo()
278 mSelectedLOD, mSelectedFace, w, h, data, in copy2DStridedTo()
279 … w * h * mType->getElement()->getSizeBytes(), stride)); in copy2DStridedTo()
287 uint32_t h, uint32_t d) { in validate3DRange() argument
291 … if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY) || ((zoff + d) > mCurrentDimZ)) { in validate3DRange()
298 uint32_t h, uint32_t d, const void* data) { in copy3DRangeFrom() argument
299 validate3DRange(xoff, yoff, zoff, w, h, d); in copy3DRangeFrom()
301 mSelectedLOD, w, h, d, data, in copy3DRangeFrom()
302 w * h * d * mType->getElement()->getSizeBytes(), in copy3DRangeFrom()
306 …n::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, uint32_t h, uint32_t d, in copy3DRangeFrom() argument
310 mSelectedLOD, w, h, d, data->getIDSafe(), in copy3DRangeFrom()