/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/src/gpu/ |
D | GrWritePixelsRenderTask.cpp | 19 const GrMipLevel texels[], in Make() argument 26 texels, in Make() 35 const GrMipLevel texels[], in GrWritePixelsTask() argument 42 std::copy_n(texels, levelCount, fLevels.get()); in GrWritePixelsTask()
|
D | GrGpu.cpp | 56 const GrMipLevel* texels, int mipLevelCount, const GrCaps* caps) { in validate_texel_levels() argument 58 bool hasBasePixels = texels[0].fPixels; in validate_texel_levels() 64 if (texels[currentMipLevel].fPixels) { in validate_texel_levels() 67 if (texels[currentMipLevel].fRowBytes < minRowBytes) { in validate_texel_levels() 70 if (texels[currentMipLevel].fRowBytes % bpp) { in validate_texel_levels() 74 if (texels[currentMipLevel].fRowBytes != minRowBytes) { in validate_texel_levels() 179 const GrMipLevel texels[], in createTexture() argument 183 if (!validate_texel_levels(dimensions, srcColorType, texels, texelLevelCount, in createTexture() 194 if (!texels->fPixels) { in createTexture() 209 if (texelLevelCount && texels[0].fPixels) { in createTexture() [all …]
|
D | GrResourceProvider.cpp | 51 const GrMipLevel texels[]) { in createTexture() argument 68 bool hasPixels = texels[0].fPixels; in createTexture() 75 return this->writePixels(std::move(scratch), colorType, dimensions, texels, numMipLevels); in createTexture() 81 tempColorType = this->prepareLevels(format, colorType, dimensions, texels, numMipLevels, in createTexture() 653 const GrMipLevel texels[], in prepareLevels() argument 657 SkASSERT(mipLevelCount && texels && texels[0].fPixels); in prepareLevels() 669 if (!prepare_level(texels[i], size, rowBytesSupport, colorType, allowedColorType, in prepareLevels() 681 const GrMipLevel texels[], in writePixels() argument 686 SkASSERT(mipLevelCount && texels && texels[0].fPixels); in writePixels() 690 auto tempColorType = this->prepareLevels(texture->backendFormat(), colorType, baseSize, texels, in writePixels()
|
D | GrResourceProvider.h | 91 const GrMipLevel texels[]); 340 const GrMipLevel texels[], 353 const GrMipLevel texels[],
|
/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/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/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;
|
/external/deqp/external/vulkancts/data/vulkan/amber/texture/texel_buffer/uniform/packed/ |
D | a8b8g8r8-sint-pack32.amber | 20 uniform layout(set=0, binding=0) isamplerBuffer texels; 24 color_out = texelFetch(texels, int(gl_FragCoord.x) % 4);
|
D | a8b8g8r8-snorm-pack32.amber | 20 uniform layout(set=0, binding=0) samplerBuffer texels; 24 color_out = texelFetch(texels, int(gl_FragCoord.x) % 4);
|
D | a2b10g10r10-unorm-pack32.amber | 20 uniform layout(set=0, binding=0) samplerBuffer texels; 24 color_out = texelFetch(texels, int(gl_FragCoord.x) % 4);
|
D | a8b8g8r8-uint-pack32.amber | 20 uniform layout(set=0, binding=0) usamplerBuffer texels; 24 color_out = texelFetch(texels, int(gl_FragCoord.x) % 4);
|
D | a8b8g8r8-unorm-pack32.amber | 20 uniform layout(set=0, binding=0) samplerBuffer texels; 24 color_out = texelFetch(texels, int(gl_FragCoord.x) % 4);
|
D | a2b10g10r10-uint-pack32.amber | 20 uniform layout(set=0, binding=0) usamplerBuffer texels; 24 color_out = texelFetch(texels, int(gl_FragCoord.x) % 4);
|
D | b10g11r11-ufloat-pack32.amber | 20 uniform layout(set=0, binding=0) samplerBuffer texels; 24 color_out = texelFetch(texels, int(gl_FragCoord.x) % 4);
|
/external/deqp-deps/amber/tests/cases/ |
D | draw_uniformtexelbuffer.amber | 20 uniform layout(set=0, binding=0) samplerBuffer texels; 24 color_out = texelFetch(texels, int(gl_FragCoord.x) % 4);
|
/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 …]
|
/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/deqp/external/vulkancts/data/vulkan/amber/texture/texel_buffer/uniform/snorm/ |
D | r16g16b16a16-snorm.amber | 20 uniform layout(set=0, binding=0) samplerBuffer texels; 24 color_out = (texelFetch(texels, int(gl_FragCoord.x) % 35) + vec4(1.0)) / vec4(2.0);
|
D | r8g8-snorm.amber | 20 uniform layout(set=0, binding=0) samplerBuffer texels; 24 color_out = (texelFetch(texels, int(gl_FragCoord.x) % 39) + vec4(1.0)) / vec4(2.0);
|
D | r16g16-snorm.amber | 20 uniform layout(set=0, binding=0) samplerBuffer texels; 24 color_out = (texelFetch(texels, int(gl_FragCoord.x) % 35) + vec4(1.0)) / vec4(2.0);
|