/third_party/skia/src/gpu/ |
H A D | GrWritePixelsRenderTask.cpp | 19 const GrMipLevel texels[], in Make() 26 texels, in Make() 35 const GrMipLevel texels[], in GrWritePixelsTask() 42 std::copy_n(texels, levelCount, fLevels.get()); in GrWritePixelsTask() 14 Make(GrDrawingManager* dm, sk_sp<GrSurfaceProxy> dst, SkIRect rect, GrColorType srcColorType, GrColorType dstColorType, const GrMipLevel texels[], int levelCount) Make() argument 30 GrWritePixelsTask(GrDrawingManager* dm, sk_sp<GrSurfaceProxy> dst, SkIRect rect, GrColorType srcColorType, GrColorType dstColorType, const GrMipLevel texels[], int levelCount) GrWritePixelsTask() argument
|
H A D | GrGpu.cpp | 54 const GrMipLevel* texels, int mipLevelCount, const GrCaps* caps) { in validate_texel_levels() 56 bool hasBasePixels = texels[0].fPixels; in validate_texel_levels() 62 if (texels[currentMipLevel].fPixels) { in validate_texel_levels() 65 if (texels[currentMipLevel].fRowBytes < minRowBytes) { in validate_texel_levels() 68 if (texels[currentMipLevel].fRowBytes % bpp) { in validate_texel_levels() 72 if (texels[currentMipLevel].fRowBytes != minRowBytes) { in validate_texel_levels() 191 const GrMipLevel texels[], in createTexture() 195 if (!validate_texel_levels(dimensions, srcColorType, texels, texelLevelCount, in createTexture() 206 if (!texels->fPixels) { in createTexture() 228 if (texelLevelCount && texels[ in createTexture() 53 validate_texel_levels(SkISize dimensions, GrColorType texelColorType, const GrMipLevel* texels, int mipLevelCount, const GrCaps* caps) validate_texel_levels() argument 182 createTexture(SkISize dimensions, const GrBackendFormat& format, GrTextureType textureType, GrRenderable renderable, int renderTargetSampleCnt, SkBudgeted budgeted, GrProtected isProtected, GrColorType textureColorType, GrColorType srcColorType, const GrMipLevel texels[], int texelLevelCount) createTexture() argument 477 writePixels(GrSurface* surface, SkIRect rect, GrColorType surfaceColorType, GrColorType srcColorType, const GrMipLevel texels[], int mipLevelCount, bool prepForTexSampling) writePixels() argument [all...] |
H A D | GrResourceProvider.cpp | 53 const GrMipLevel texels[]) { in createTexture() 74 bool hasPixels = texels[0].fPixels; in createTexture() 87 return this->writePixels(std::move(scratch), colorType, dimensions, texels, numMipLevels); in createTexture() 93 tempColorType = this->prepareLevels(format, colorType, dimensions, texels, numMipLevels, in createTexture() 806 const GrMipLevel texels[], in prepareLevels() 810 SkASSERT(mipLevelCount && texels && texels[0].fPixels); in prepareLevels() 822 if (!prepare_level(texels[i], size, rowBytesSupport, colorType, allowedColorType, in prepareLevels() 834 const GrMipLevel texels[], in writePixels() 839 SkASSERT(mipLevelCount && texels in writePixels() 44 createTexture(SkISize dimensions, const GrBackendFormat& format, GrTextureType textureType, GrColorType colorType, GrRenderable renderable, int renderTargetSampleCnt, SkBudgeted budgeted, GrMipmapped mipmapped, GrProtected isProtected, const GrMipLevel texels[]) createTexture() argument 803 prepareLevels(const GrBackendFormat& format, GrColorType colorType, SkISize baseSize, const GrMipLevel texels[], int mipLevelCount, TempLevels* tempLevels, TempLevelDatas* tempLevelDatas) const prepareLevels() argument 831 writePixels(sk_sp<GrTexture> texture, GrColorType colorType, SkISize baseSize, const GrMipLevel texels[], int mipLevelCount) const writePixels() argument [all...] |
H A D | GrProxyProvider.cpp | 398 std::unique_ptr<GrMipLevel[]> texels(new GrMipLevel[mipLevelCount]); in createMippedProxyFromBitmap() 401 texels[0].fPixels = bitmap.getPixels(); in createMippedProxyFromBitmap() 402 texels[0].fRowBytes = bitmap.rowBytes(); in createMippedProxyFromBitmap() 407 texels[i].fPixels = generatedMipLevel.fPixmap.addr(); in createMippedProxyFromBitmap() 408 texels[i].fRowBytes = generatedMipLevel.fPixmap.rowBytes(); in createMippedProxyFromBitmap() 409 SkASSERT(texels[i].fPixels); in createMippedProxyFromBitmap() 422 texels.get())); in createMippedProxyFromBitmap()
|
H A D | GrResourceProvider.h | 95 const GrMipLevel texels[]); 371 const GrMipLevel texels[], 384 const GrMipLevel texels[],
|
H A D | GrGpu.h | 125 * @param texels array of mipmap levels containing texel data to load. 129 * If texels[i].fPixels == nullptr for all i <= mipLevelCount or 134 * If mipLevelCount > 1 and texels[i].fPixels != nullptr for any i > 0 139 * @param srcColorType The color type of data in texels[]. 140 * @param texelLevelCount the number of levels in 'texels'. May be 0, 1, or 155 const GrMipLevel texels[], 275 * @param texels array of mipmap levels containing texture data. Row bytes must be a 278 * @param mipLevelCount number of levels in 'texels' 296 const GrMipLevel texels[],
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/examples/ |
H A D | fractal.cpp | 82 bool writeBMP(const Color<uint8_t>* texels, in writeBMP() argument 126 auto& texel = texels[x + y * width]; in writeBMP()
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_mpeg12_decoder.h | 101 short *texels; member
|
H A D | vl_mpeg12_decoder.c | 461 memcpy(buf->texels, mb->blocks, 64 * sizeof(short) * num_blocks); in UploadYcbcrBlocks() 462 buf->texels += 64 * num_blocks; in UploadYcbcrBlocks() 630 buf->texels = in vl_mpeg12_begin_frame()
|
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DGpu.cpp | 668 const GrMipLevel texels[], in onWritePixels() 677 if (!mipLevelCount || !texels[0].fPixels) { in onWritePixels() 688 success = this->uploadToTexture(d3dTex, rect, srcColorType, texels, mipLevelCount); in onWritePixels() 700 const GrMipLevel* texels, in uploadToTexture() 723 if (1 == mipLevelCount && !texels[0].fPixels) { in uploadToTexture() 729 if (!texels[i].fPixels) { in uploadToTexture() 756 if (texels[currentMipLevel].fPixels) { in uploadToTexture() 759 const size_t srcRowBytes = texels[currentMipLevel].fRowBytes; in uploadToTexture() 764 const char* src = (const char*)texels[currentMipLevel].fPixels; in uploadToTexture() 664 onWritePixels(GrSurface* surface, SkIRect rect, GrColorType surfaceColorType, GrColorType srcColorType, const GrMipLevel texels[], int mipLevelCount, bool prepForTexSampling) onWritePixels() argument 697 uploadToTexture(GrD3DTexture* tex, SkIRect rect, GrColorType colorType, const GrMipLevel* texels, int mipLevelCount) uploadToTexture() argument
|
H A D | GrD3DGpu.h | 280 const GrMipLevel texels[],
|
/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnGpu.cpp | 185 const GrMipLevel texels[], in onWritePixels() 192 this->uploadTextureData(srcColorType, texels, mipLevelCount, rect, texture->texture()); in onWritePixels() 356 void GrDawnGpu::uploadTextureData(GrColorType srcColorType, const GrMipLevel texels[], in uploadTextureData() argument 365 const void* src = texels[i].fPixels; in uploadTextureData() 366 size_t srcRowBytes = texels[i].fRowBytes; in uploadTextureData() 181 onWritePixels(GrSurface* surface, SkIRect rect, GrColorType surfaceColorType, GrColorType srcColorType, const GrMipLevel texels[], int mipLevelCount, bool prepForTexSampling) onWritePixels() argument
|
H A D | GrDawnGpu.h | 225 void uploadTextureData(GrColorType srcColorType, const GrMipLevel texels[], int mipLevelCount,
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkGpu.cpp | 501 const GrMipLevel texels[], in onWritePixels() 511 if (!mipLevelCount || !texels[0].fPixels) { in onWritePixels() 537 texels[0].fPixels, in onWritePixels() 538 texels[0].fRowBytes); in onWritePixels() 544 texels, in onWritePixels() 924 const GrMipLevel texels[], in uploadTexDataOptimal() 945 // texels is const. in uploadTexDataOptimal() 947 // Because of this we need to make a non-const shallow copy of texels. in uploadTexDataOptimal() 949 std::copy_n(texels, mipLevelCount, texelsShallowCopy.get()); in uploadTexDataOptimal() 497 onWritePixels(GrSurface* surface, SkIRect rect, GrColorType surfaceColorType, GrColorType srcColorType, const GrMipLevel texels[], int mipLevelCount, bool prepForTexSampling) onWritePixels() argument 921 uploadTexDataOptimal(GrVkImage* texImage, SkIRect rect, GrColorType dataColorType, const GrMipLevel texels[], int mipLevelCount) uploadTexDataOptimal() argument
|
H A D | GrVkGpu.h | 393 const GrMipLevel texels[],
|
/third_party/skia/src/gpu/gl/ |
H A D | GrGLGpu.h | 300 // The texture is populated with |texels|, if it is non-null. 482 const GrMipLevel texels[], 503 const GrMipLevel texels[],
|
H A D | GrGLGpu.cpp | 828 const GrMipLevel texels[], in onWritePixels() 863 texels, in onWritePixels() 971 const GrMipLevel texels[], in uploadColorTypeTexData() 988 this->uploadTexData(texDims, target, dstRect, externalFormat, externalType, bpp, texels, in uploadColorTypeTexData() 1039 const GrMipLevel texels[], in uploadTexData() 1057 if (!texels[level].fPixels) { in uploadTexData() 1061 const size_t rowBytes = texels[level].fRowBytes; in uploadTexData() 1072 externalFormat, externalType, texels[level].fPixels)); in uploadTexData() 824 onWritePixels(GrSurface* surface, SkIRect rect, GrColorType surfaceColorType, GrColorType srcColorType, const GrMipLevel texels[], int mipLevelCount, bool prepForTexSampling) onWritePixels() argument 965 uploadColorTypeTexData(GrGLFormat textureFormat, GrColorType textureColorType, SkISize texDims, GrGLenum target, SkIRect dstRect, GrColorType srcColorType, const GrMipLevel texels[], int mipLevelCount) uploadColorTypeTexData() argument 1033 uploadTexData(SkISize texDims, GrGLenum target, SkIRect dstRect, GrGLenum externalFormat, GrGLenum externalType, size_t bpp, const GrMipLevel texels[], int mipLevelCount) uploadTexData() argument
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | ComputeShaderTest.cpp | 1131 GLuint texels[kHeight][kWidth] = {{0}}; in TEST_P() local 1136 texels[y][x] = x + y * kWidth; in TEST_P() 1141 texels); in TEST_P() 1203 GLuint texels[kHeight][kWidth] = {{0}}; in TEST_P() local 1208 texels[y][x] = x + y * kWidth; in TEST_P() 1213 texels); in TEST_P() 3287 GLuint texels[kHeight][kWidth] = {{0}}; in TEST_P() local 3292 texels[y][x] = x + y * kWidth; in TEST_P() 3297 texels); in TEST_P()
|
/third_party/skia/src/gpu/mtl/ |
H A D | GrMtlGpu.h | 255 const GrMipLevel texels[],
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_sample_soa.c | 1235 * use valid texels in the filter). in lp_build_sample_image_linear() 1349 /* get x0/x1 texels */ in lp_build_sample_image_linear() 1388 /* get x0/x1 texels at y1 */ in lp_build_sample_image_linear() 1684 /* get x0/x1/y0/y1 texels at z1 */ in lp_build_sample_image_linear() 2585 * per-sample conversion of texels to floats instead), but it would need in lp_build_sample_common() 2665 * Compute integer mipmap level(s) to fetch texels from: ilevel0, ilevel1 in lp_build_sample_common() 2949 LLVMValueRef texels[4]; in lp_build_sample_general() local 2973 texels[chan] = lp_build_alloca(bld->gallivm, bld->texel_bld.vec_type, ""); in lp_build_sample_general() 2974 lp_build_name(texels[chan], "sampler%u_texel_%c_var", sampler_unit, "xyzw"[chan]); in lp_build_sample_general() 2980 ilevel1, lod_fpart, texels); in lp_build_sample_general() [all...] |
/third_party/astc-encoder/Source/ |
H A D | astcenc_entry.cpp | 62 * @brief The static presets for high bandwidth encodings (x < 25 texels per block). 87 * @brief The static presets for medium bandwidth encodings (25 <= x < 64 texels per block). 112 * @brief The static presets for low bandwidth encodings (64 <= x texels per block). 469 float texels = static_cast<float>(block_x * block_y * block_z); in astcenc_config_init() local 470 float ltexels = logf(texels) / logf(10.0f); in astcenc_config_init()
|
/third_party/mesa3d/include/GLES/ |
H A D | glext.h | 889 typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); 898 GL_API void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels);
|
/third_party/openGLES/api/GLES/ |
H A D | glext.h | 870 typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); 879 GL_API void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels);
|
/third_party/skia/third_party/externals/swiftshader/include/GLES/ |
H A D | glext.h | 889 typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); 898 GL_API void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels);
|
/third_party/skia/third_party/externals/opengl-registry/api/GLES/ |
H A D | glext.h | 889 typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); 898 GL_API void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels);
|