/external/skqp/tools/fiddle/ |
D | fiddle_main.cpp | 155 std::unique_ptr<GrMipLevel[]> texels(new GrMipLevel[mipLevelCount]); in setup_backend_objects() local 157 texels[0].fPixels = pixmap->addr(); in setup_backend_objects() 158 texels[0].fRowBytes = pixmap->rowBytes(); in setup_backend_objects() 161 texels[i].fPixels = nullptr; in setup_backend_objects() 162 texels[i].fRowBytes = 0; in setup_backend_objects() 165 backingTexture = resourceProvider->createTexture(backingDesc, SkBudgeted::kNo, texels.get(), in setup_backend_objects() 210 std::unique_ptr<GrMipLevel[]> texels(new GrMipLevel[mipLevelCount]); in setup_backend_objects() local 212 texels[0].fPixels = data.get(); in setup_backend_objects() 213 texels[0].fRowBytes = backingDesc.fWidth*sizeof(uint32_t); in setup_backend_objects() 216 texels[i].fPixels = nullptr; in setup_backend_objects() [all …]
|
/external/skia/tools/fiddle/ |
D | fiddle_main.cpp | 160 std::unique_ptr<GrMipLevel[]> texels(new GrMipLevel[mipLevelCount]); in setup_backend_objects() local 162 texels[0].fPixels = pixmap->addr(); in setup_backend_objects() 163 texels[0].fRowBytes = pixmap->rowBytes(); in setup_backend_objects() 166 texels[i].fPixels = nullptr; in setup_backend_objects() 167 texels[i].fRowBytes = 0; in setup_backend_objects() 172 SkBudgeted::kNo, GrProtected::kNo, texels.get(), mipLevelCount); in setup_backend_objects() 217 std::unique_ptr<GrMipLevel[]> texels(new GrMipLevel[mipLevelCount]); in setup_backend_objects() local 219 texels[0].fPixels = data.get(); in setup_backend_objects() 220 texels[0].fRowBytes = offscreenDims.width()*sizeof(uint32_t); in setup_backend_objects() 223 texels[i].fPixels = nullptr; in setup_backend_objects() [all …]
|
/external/skia/src/gpu/ |
D | GrResourceProvider.cpp | 53 const GrMipLevel texels[], in createTexture() argument 69 bool hasPixels = mipLevelCount && texels[0].fPixels; in createTexture() 76 return this->writePixels(std::move(scratch), colorType, dimensions, texels, mipLevelCount); in createTexture() 82 tempColorType = this->prepareLevels(format, colorType, dimensions, texels, mipLevelCount, in createTexture() 592 const GrMipLevel texels[], in prepareLevels() argument 596 SkASSERT(mipLevelCount && texels && texels[0].fPixels); in prepareLevels() 608 if (!prepare_level(texels[i], size, rowBytesSupport, colorType, allowedColorType, in prepareLevels() 620 const GrMipLevel texels[], in writePixels() argument 625 SkASSERT(mipLevelCount && texels && texels[0].fPixels); in writePixels() 629 auto tempColorType = this->prepareLevels(texture->backendFormat(), colorType, baseSize, texels, in writePixels()
|
D | GrGpu.cpp | 106 const GrMipLevel* texels, int mipLevelCount, const GrCaps* caps) { in validate_texel_levels() argument 108 bool hasBasePixels = texels[0].fPixels; in validate_texel_levels() 114 if (texels[currentMipLevel].fPixels) { in validate_texel_levels() 117 if (texels[currentMipLevel].fRowBytes < minRowBytes) { in validate_texel_levels() 120 if (texels[currentMipLevel].fRowBytes % bpp) { in validate_texel_levels() 124 if (texels[currentMipLevel].fRowBytes != minRowBytes) { in validate_texel_levels() 229 const GrMipLevel texels[], in createTexture() argument 233 if (!validate_texel_levels(dimensions, srcColorType, texels, texelLevelCount, in createTexture() 244 if (!texels->fPixels) { in createTexture() 259 if (texelLevelCount && texels[0].fPixels) { in createTexture() [all …]
|
D | GrResourceProvider.h | 89 const GrMipLevel texels[], 341 const GrMipLevel texels[], 354 const GrMipLevel texels[],
|
D | GrProxyProvider.cpp | 345 std::unique_ptr<GrMipLevel[]> texels(new GrMipLevel[mipLevelCount]); in createMippedProxyFromBitmap() local 347 texels[0].fPixels = bitmap.getPixels(); in createMippedProxyFromBitmap() 348 texels[0].fRowBytes = bitmap.rowBytes(); in createMippedProxyFromBitmap() 354 texels[i].fPixels = generatedMipLevel.fPixmap.addr(); in createMippedProxyFromBitmap() 355 texels[i].fRowBytes = generatedMipLevel.fPixmap.rowBytes(); in createMippedProxyFromBitmap() 356 SkASSERT(texels[i].fPixels); in createMippedProxyFromBitmap() 361 GrProtected::kNo, texels.get(), mipLevelCount)); in createMippedProxyFromBitmap()
|
D | GrGpu.h | 123 const GrMipLevel texels[], 265 const GrMipLevel texels[], int mipLevelCount, bool prepForTexSampling = false); 717 const GrMipLevel texels[], int mipLevelCount,
|
/external/skia/src/gpu/dawn/ |
D | GrDawnTexture.cpp | 131 void GrDawnTexture::upload(GrColorType srcColorType, const GrMipLevel texels[], in upload() argument 133 this->upload(srcColorType, texels, mipLevels, SkIRect::MakeWH(width(), height()), in upload() 137 void GrDawnTexture::upload(GrColorType srcColorType, const GrMipLevel texels[], in upload() argument 148 const void* src = texels[i].fPixels; in upload() 149 size_t srcRowBytes = texels[i].fRowBytes; in upload()
|
D | GrDawnTexture.h | 34 void upload(GrColorType, const GrMipLevel texels[], int mipLevels, 36 void upload(GrColorType, const GrMipLevel texels[], int mipLevels,
|
/external/mesa3d/src/mesa/swrast/ |
D | s_texcombine.c | 558 swizzle_texels(GLuint swizzle, GLuint count, float4_array texels) in swizzle_texels() argument 571 vector[SWIZZLE_X] = texels[i][0]; in swizzle_texels() 572 vector[SWIZZLE_Y] = texels[i][1]; in swizzle_texels() 573 vector[SWIZZLE_Z] = texels[i][2]; in swizzle_texels() 574 vector[SWIZZLE_W] = texels[i][3]; in swizzle_texels() 575 texels[i][RCOMP] = vector[swzR]; in swizzle_texels() 576 texels[i][GCOMP] = vector[swzG]; in swizzle_texels() 577 texels[i][BCOMP] = vector[swzB]; in swizzle_texels() 578 texels[i][ACOMP] = vector[swzA]; in swizzle_texels() 659 float4_array texels = get_texel_array(swrast, unit); in _swrast_texture_span() local [all …]
|
/external/mesa3d/docs/gallium/cso/ |
D | sampler.rst | 6 Texture units have many options for selecting texels from loaded textures; 48 The image filter to use when minifying texels. One of PIPE_TEX_FILTER_*. 50 The image filter to use when magnifying texels. One of PIPE_TEX_FILTER_*. 56 * ``PIPE_TEX_FILTER_LINEAR``: Two, four or eight texels (depending on the 71 * ``PIPE_TEX_MIPFILTER_NONE``: Mipmap filtering is disabled. All texels 109 if max_anisotropy=4, a region of up to 1 by 4 texels will be sampled.
|
/external/skqp/src/gpu/ |
D | GrProxyProvider.cpp | 341 std::unique_ptr<GrMipLevel[]> texels(new GrMipLevel[mipLevelCount]); in createMipMapProxyFromBitmap() local 348 texels[0].fPixels = pixmap.addr(); in createMipMapProxyFromBitmap() 349 texels[0].fRowBytes = pixmap.rowBytes(); in createMipMapProxyFromBitmap() 354 texels[i].fPixels = generatedMipLevel.fPixmap.addr(); in createMipMapProxyFromBitmap() 355 texels[i].fRowBytes = generatedMipLevel.fPixmap.rowBytes(); in createMipMapProxyFromBitmap() 356 SkASSERT(texels[i].fPixels); in createMipMapProxyFromBitmap() 359 return resourceProvider->createTexture(desc, SkBudgeted::kYes, texels.get(), in createMipMapProxyFromBitmap() 429 GrMipLevel texels; in createProxy() local 430 texels.fPixels = data->data(); in createProxy() 431 texels.fRowBytes = GrBytesPerPixel(desc.fConfig)*desc.fWidth; in createProxy() [all …]
|
D | GrGpu.cpp | 106 const GrMipLevel texels[], int mipLevelCount) { in createTexture() argument 131 sk_sp<GrTexture> tex = this->onCreateTexture(desc, budgeted, texels, mipLevelCount); in createTexture() 138 if (texels[0].fPixels) { in createTexture() 269 GrColorType srcColorType, const GrMipLevel texels[], int mipLevelCount) { in writePixels() argument 289 if (!texels[currentMipLevel].fPixels ) { in writePixels() 295 if (this->onWritePixels(surface, left, top, width, height, srcColorType, texels, in writePixels()
|
D | GrGpu.h | 96 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted, const GrMipLevel texels[], 191 GrColorType srcColorType, const GrMipLevel texels[], int mipLevelCount); 458 const GrMipLevel texels[], int mipLevelCount) = 0; 479 const GrMipLevel texels[], int mipLevelCount) = 0;
|
D | GrSurfaceProxy.cpp | 163 std::unique_ptr<GrMipLevel[]> texels(new GrMipLevel[mipCount]); in createSurfaceImpl() local 167 texels[i].fPixels = nullptr; in createSurfaceImpl() 168 texels[i].fRowBytes = 0; in createSurfaceImpl() 171 surface = resourceProvider->createTexture(desc, fBudgeted, texels.get(), mipCount); in createSurfaceImpl()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | fetch_jit.cpp | 114 void ConvertFormat(SWR_FORMAT format, Value* texels[4]); 474 void FetchJit::ConvertFormat(SWR_FORMAT format, Value* texels[4]) in ConvertFormat() 500 texels[compIndex] = BITCAST(texels[compIndex], mSimdInt32Ty); in ConvertFormat() 501 texels[compIndex] = SI_TO_FP(texels[compIndex], mSimdFP32Ty); in ConvertFormat() 502 texels[compIndex] = FMUL(texels[compIndex], vScale); in ConvertFormat() 517 texels[compIndex] = BITCAST(texels[compIndex], mSimdInt32Ty); in ConvertFormat() 518 texels[compIndex] = SI_TO_FP(texels[compIndex], mSimdFP32Ty); in ConvertFormat() 519 texels[compIndex] = FDIV(texels[compIndex], vScale); in ConvertFormat() 525 texels[compIndex] = BITCAST(texels[compIndex], mSimdInt32Ty); in ConvertFormat() 526 texels[compIndex] = UI_TO_FP(texels[compIndex], mSimdFP32Ty); in ConvertFormat() [all …]
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlGpu.mm | 148 GrColorType dataColorType, const GrMipLevel texels[], 188 size_t rowBytes = texels[currentMipLevel].fRowBytes ? texels[currentMipLevel].fRowBytes 190 SkASSERT(texels[currentMipLevel].fPixels); 196 withBytes: texels[currentMipLevel].fPixels 239 const GrMipLevel texels[], int mipLevelCount) { 277 mipMapsStatus = texels[0].fPixels ? GrMipMapsStatus::kValid : GrMipMapsStatus::kDirty; 281 SkASSERT(texels[i].fPixels); 283 SkASSERT(!texels[i].fPixels); 301 if (mipLevelCount && texels[0].fPixels) { 302 if (!this->uploadToTexture(tex.get(), 0, 0, desc.fWidth, desc.fHeight, colorType, texels, [all …]
|
D | GrMtlGpu.h | 133 const GrMipLevel texels[], int mipLevelCount) override; 171 GrColorType dataColorType, const GrMipLevel texels[], int mipLevels);
|
/external/deqp/external/openglcts/docs/specs/ |
D | CTS_ARB_texture_filter_minmax.txt | 40 * The filter parameters are used to identify the set of texels used to 42 these texels are combined. 71 value is computed by using implementation-dependent set of texels and
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpu.h | 188 const GrMipLevel texels[], int mipLevelCount) override; 212 GrGLTexture::SamplerParams* initialTexParams, const GrMipLevel texels[], 233 const GrMipLevel texels[], int mipLevelCount) override; 384 GrPixelConfig dataConfig, const GrMipLevel texels[], int mipLevelCount, 391 const GrMipLevel texels[], int mipLevelCount,
|
/external/skqp/src/gpu/vk/ |
D | GrVkGpu.h | 208 const GrMipLevel texels[], int mipLevelCount) override; 250 GrColorType colorType, const GrMipLevel texels[], int mipLevelCount); 252 GrColorType dataColorType, const GrMipLevel texels[],
|
D | GrVkGpu.cpp | 384 GrColorType srcColorType, const GrMipLevel texels[], in onWritePixels() argument 392 if (!mipLevelCount || !texels[0].fPixels) { in onWritePixels() 414 texels[0].fPixels, texels[0].fRowBytes); in onWritePixels() 417 success = this->uploadTexDataOptimal(vkTex, left, top, width, height, srcColorType, texels, in onWritePixels() 592 GrColorType dataColorType, const GrMipLevel texels[], in uploadTexDataOptimal() argument 638 memcpy(texelsShallowCopy.get(), texels, mipLevelCount*sizeof(GrMipLevel)); in uploadTexDataOptimal() 798 GrColorType dataColorType, const GrMipLevel texels[], in uploadTexDataCompressed() argument 827 if (!texels[0].fPixels) { in uploadTexDataCompressed() 837 if (texels[currentMipLevel].fPixels) { in uploadTexDataCompressed() 869 if (texels[currentMipLevel].fPixels) { in uploadTexDataCompressed() [all …]
|
/external/swiftshader/third_party/marl/examples/ |
D | fractal.cpp | 82 bool writeBMP(const Color<uint8_t>* texels, in writeBMP() argument 124 auto& texel = texels[x + y * width]; in writeBMP()
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_mpeg12_decoder.h | 101 short *texels; member
|
/external/angle/extensions/ |
D | ANGLE_robust_resource_initialization.txt | 99 texels are undefined. 108 Otherwise, the contents of texels are undefined.
|