Home | History | Annotate | Download | only in gpu

Lines Matching defs:bytes

458     size_t bytes = 0;
466 bytes += entry->resource()->gpuMemorySize();
468 return bytes;
471 static bool both_zero_or_nonzero(int count, size_t bytes) {
472 return (count == 0 && bytes == 0) || (count > 0 && bytes > 0);
505 size_t bytes = countBytes(fList);
506 SkASSERT(bytes == fEntryBytes - fClientDetachedBytes);
508 bytes = countBytes(fExclusiveList);
509 SkASSERT(bytes == fClientDetachedBytes);
532 SkDebugf("Budget: %d items %d bytes\n", fMaxCount, fMaxBytes);
535 SkDebugf("\t\tEntry Bytes: current %d high %d\n",
539 SkDebugf("\t\tDetached Bytes: current %d high %d\n",