Lines Matching refs:w
243 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) { in validate2DRange() argument
247 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { in validate2DRange()
253 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument
255 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom()
258 … w, h, data, w * h * mType->getElement()->getSizeBytes(), in copy2DRangeFrom()
259 w * mType->getElement()->getSizeBytes())); in copy2DRangeFrom()
262 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument
264 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom()
267 … w, h, data->getIDSafe(), dataXoff, dataYoff, in copy2DRangeFrom()
271 void Allocation::copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeTo() argument
273 validate2DRange(xoff, yoff, w, h); in copy2DRangeTo()
275 mSelectedLOD, mSelectedFace, w, h, data, in copy2DRangeTo()
276 w * h * mType->getElement()->getSizeBytes(), in copy2DRangeTo()
277 w * mType->getElement()->getSizeBytes())); in copy2DRangeTo()
280 void Allocation::copy2DStridedFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DStridedFrom() argument
282 validate2DRange(xoff, yoff, w, h); in copy2DStridedFrom()
284 mSelectedLOD, mSelectedFace, w, h, data, in copy2DStridedFrom()
285 … w * h * mType->getElement()->getSizeBytes(), stride)); in copy2DStridedFrom()
292 void Allocation::copy2DStridedTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DStridedTo() argument
294 validate2DRange(xoff, yoff, w, h); in copy2DStridedTo()
296 mSelectedLOD, mSelectedFace, w, h, data, in copy2DStridedTo()
297 … w * h * mType->getElement()->getSizeBytes(), stride)); in copy2DStridedTo()
304 void Allocation::validate3DRange(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, in validate3DRange() argument
309 … if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY) || ((zoff + d) > mCurrentDimZ)) { in validate3DRange()
315 void Allocation::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, in copy3DRangeFrom() argument
317 validate3DRange(xoff, yoff, zoff, w, h, d); in copy3DRangeFrom()
319 mSelectedLOD, w, h, d, data, in copy3DRangeFrom()
320 w * h * d * mType->getElement()->getSizeBytes(), in copy3DRangeFrom()
321 w * mType->getElement()->getSizeBytes())); in copy3DRangeFrom()
324 void Allocation::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, uint32_t … in copy3DRangeFrom() argument
328 mSelectedLOD, w, h, d, data->getIDSafe(), in copy3DRangeFrom()