Home | History | Annotate | Download | only in gpu

Lines Matching defs:bytes

71         // need to trim off the extra bytes per row
148 const uint8_t *bytes = data->bytes();
149 if (etc1_pkm_is_valid(bytes)) {
150 uint32_t encodedWidth = etc1_pkm_get_width(bytes);
151 uint32_t encodedHeight = etc1_pkm_get_height(bytes);
161 bytes += ETC_PKM_HEADER_SIZE;
163 } else if (SkKTXFile::is_ktx(bytes)) {
177 bytes = ktx.pixelData();
188 GrTexture* result = ctx->createTexture(params, desc, cacheID, bytes, 0, &key);