/third_party/flutter/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 texels.get(), mipLevelCount); in setup_backend_objects() 215 std::unique_ptr<GrMipLevel[]> texels(new GrMipLevel[mipLevelCount]); in setup_backend_objects() local 217 texels[0].fPixels = data.get(); in setup_backend_objects() 218 texels[0].fRowBytes = backingDesc.fWidth*sizeof(uint32_t); in setup_backend_objects() 221 texels[i].fPixels = nullptr; in setup_backend_objects() [all …]
|
/third_party/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 | 54 const GrMipLevel* texels, int mipLevelCount, const GrCaps* caps) { in validate_texel_levels() argument 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() argument 195 if (!validate_texel_levels(dimensions, srcColorType, texels, texelLevelCount, in createTexture() 206 if (!texels->fPixels) { in createTexture() 228 if (texelLevelCount && texels[0].fPixels) { in createTexture() [all …]
|
D | GrResourceProvider.cpp | 53 const GrMipLevel texels[]) { in createTexture() argument 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() 800 const GrMipLevel texels[], in prepareLevels() argument 804 SkASSERT(mipLevelCount && texels && texels[0].fPixels); in prepareLevels() 816 if (!prepare_level(texels[i], size, rowBytesSupport, colorType, allowedColorType, in prepareLevels() 828 const GrMipLevel texels[], in writePixels() argument 833 SkASSERT(mipLevelCount && texels && texels[0].fPixels); in writePixels() 837 auto tempColorType = this->prepareLevels(texture->backendFormat(), colorType, baseSize, texels, in writePixels()
|
/third_party/skia/third_party/externals/opengl-registry/extensions/AMD/ |
D | AMD_texture_texture4.txt | 57 a 2x2 set of texels in the image array of level levelbase is selected. 58 These texels are selected in the same way as when the value of 59 TEXTURE_MIN_FILTER is LINEAR, but instead of these texels being 61 are derived directly from these four texels. 85 of texels in the image array of level levelbase is selected. These 86 texels are selected in the same way as when the value of TEXTURE_MIN_FILTER 87 is LINEAR, but instead of these texels being filtered to generate the 89 from these four texels, 196 the four nearest (unfiltered) texels. 219 and only texels in the baselevel can be returned. [all …]
|
D | AMD_compressed_ATC_texture.txt | 100 This format compresses blocks of source texels down to 4 bits per texel. 101 Assuming 8-bit component source texels, this represents a 8:1 compression 107 This format compresses blocks of source texels down to 8 bits per texel. 108 Assuming 8-bit component source texels, this represents a 4:1 compression 115 This format compresses blocks of source texels down to 8 bits per texel. 116 Assuming 8-bit component source texels, this represents a 4:1 compression
|
/third_party/openGLES/extensions/AMD/ |
D | AMD_texture_texture4.txt | 57 a 2x2 set of texels in the image array of level levelbase is selected. 58 These texels are selected in the same way as when the value of 59 TEXTURE_MIN_FILTER is LINEAR, but instead of these texels being 61 are derived directly from these four texels. 85 of texels in the image array of level levelbase is selected. These 86 texels are selected in the same way as when the value of TEXTURE_MIN_FILTER 87 is LINEAR, but instead of these texels being filtered to generate the 89 from these four texels, 196 the four nearest (unfiltered) texels. 219 and only texels in the baselevel can be returned. [all …]
|
D | AMD_compressed_ATC_texture.txt | 100 This format compresses blocks of source texels down to 4 bits per texel. 101 Assuming 8-bit component source texels, this represents a 8:1 compression 107 This format compresses blocks of source texels down to 8 bits per texel. 108 Assuming 8-bit component source texels, this represents a 4:1 compression 115 This format compresses blocks of source texels down to 8 bits per texel. 116 Assuming 8-bit component source texels, this represents a 4:1 compression
|
/third_party/flutter/skia/src/gpu/dawn/ |
D | GrDawnTexture.cpp | 120 void GrDawnTexture::upload(const GrMipLevel texels[], int mipLevels) { in upload() argument 121 upload(texels, mipLevels, SkIRect::MakeWH(width(), height())); in upload() 124 void GrDawnTexture::upload(const GrMipLevel texels[], int mipLevels, const SkIRect& rect) { in upload() argument 134 size_t origRowBytes = texels[i].fRowBytes; in upload() 147 SkPixmap srcPixmap(srcInfo, texels[i].fPixels, origRowBytes); in upload() 157 src = static_cast<const char*>(texels[i].fPixels); in upload() 177 src += texels[i].fRowBytes; in upload()
|
D | GrDawnTexture.h | 34 void upload(const GrMipLevel texels[], int mipLevels); 35 void upload(const GrMipLevel texels[], int mipLevels, const SkIRect& dstRect);
|
/third_party/flutter/skia/src/gpu/ |
D | GrGpu.cpp | 102 static bool validate_levels(int w, int h, const GrMipLevel texels[], int mipLevelCount, int bpp, in validate_levels() argument 105 bool hasBasePixels = texels[0].fPixels; in validate_levels() 108 if (texels[currentMipLevel].fPixels) { in validate_levels() 111 if (texels[currentMipLevel].fRowBytes < minRowBytes) { in validate_levels() 114 if (texels[currentMipLevel].fRowBytes % bpp) { in validate_levels() 118 if (texels[currentMipLevel].fRowBytes != minRowBytes) { in validate_levels() 153 const GrMipLevel texels[], in createTexture() argument 177 if (!validate_levels(desc.fWidth, desc.fHeight, texels, mipLevelCount, bpp, this->caps(), in createTexture() 192 texels, in createTexture() 200 if (texels[0].fPixels) { in createTexture() [all …]
|
/third_party/openGLES/extensions/EXT/ |
D | EXT_texture_filter_minmax.txt | 58 by computing an weighted average of a collection of texels in the 64 maximum (MAX) of the texels that would normally be averaged. The 66 parameters. The filter parameters are used to identify the set of texels 68 these texels are combined. 149 using anisotropic texture filtering, the values of multiple texels will 152 computing per-component minimum and maximum values over the set of texels 154 TEXTURE_REDUCTION_MODE_EXT controls the process by which multiple texels 184 components of the set of provided texels with non-zero weights. 204 selected texels and weights. When using reduction modes of MIN or MAX, a 209 where tau_1 through tau_N are the <N> texels that would be used with [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/ |
D | EXT_texture_filter_minmax.txt | 58 by computing an weighted average of a collection of texels in the 64 maximum (MAX) of the texels that would normally be averaged. The 66 parameters. The filter parameters are used to identify the set of texels 68 these texels are combined. 149 using anisotropic texture filtering, the values of multiple texels will 152 computing per-component minimum and maximum values over the set of texels 154 TEXTURE_REDUCTION_MODE_EXT controls the process by which multiple texels 184 components of the set of provided texels with non-zero weights. 204 selected texels and weights. When using reduction modes of MIN or MAX, a 209 where tau_1 through tau_N are the <N> texels that would be used with [all …]
|
/third_party/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 …]
|
/third_party/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.
|
/third_party/openGLES/extensions/ARB/ |
D | ARB_texture_gather.txt | 77 texels in the footprint. 116 return a vector derived from sampling a 2x2 block of texels in the image 118 filter are applied to identify the four selected texels. Each texel is 122 the swizzled texture source colors of the four texels, in the order 125 all four source texels. 237 <coord> to determine a set of four texels to sample from the texture 241 component from each of the four texels, returning: 273 language only. There is no ability to fetch four texels in 306 before "gathering". For each of the four texels sampled, the R, G, 309 of the four texels, so will return a vector with four
|
D | ARB_texture_filter_minmax.txt | 63 by computing an weighted average of a collection of texels in the 69 maximum (MAX) of the texels that would normally be averaged. The 71 parameters. The filter parameters are used to identify the set of texels 73 these texels are combined. 184 using anisotropic texture filtering, the values of multiple texels will 187 computing per-component minimum and maximum values over the set of texels 189 TEXTURE_REDUCTION_MODE_EXT controls the process by which multiple texels 219 components of the set of provided texels with non-zero weights. 239 selected texels and weights. When using reduction modes of MIN or MAX, a 244 where tau_1 through tau_N are the <N> texels that would be used with [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/ |
D | ARB_texture_gather.txt | 67 texels in the footprint. 106 return a vector derived from sampling a 2x2 block of texels in the image 108 filter are applied to identify the four selected texels. Each texel is 112 the swizzled texture source colors of the four texels, in the order 115 all four source texels. 227 <coord> to determine a set of four texels to sample from the texture 231 component from each of the four texels, returning: 263 language only. There is no ability to fetch four texels in 296 before "gathering". For each of the four texels sampled, the R, G, 299 of the four texels, so will return a vector with four
|
D | ARB_texture_filter_minmax.txt | 53 by computing an weighted average of a collection of texels in the 59 maximum (MAX) of the texels that would normally be averaged. The 61 parameters. The filter parameters are used to identify the set of texels 63 these texels are combined. 174 using anisotropic texture filtering, the values of multiple texels will 177 computing per-component minimum and maximum values over the set of texels 179 TEXTURE_REDUCTION_MODE_EXT controls the process by which multiple texels 209 components of the set of provided texels with non-zero weights. 229 selected texels and weights. When using reduction modes of MIN or MAX, a 234 where tau_1 through tau_N are the <N> texels that would be used with [all …]
|
/third_party/openGLES/extensions/NV/ |
D | NV_shader_texture_footprint.txt | 56 texels that may be accessed in order to return a filtered result for the 60 identify a small neighborhood of texels in the texture being accessed and 61 a bitfield that indicates which texels in that neighborhood would be used. 63 aligned block of texels would be fetched by the texture lookup. The size 72 texture lookup would access texels from only one mipmap level or from two 114 _texture footprint_. The texture footprint is a set of texels belonging 121 of texel groups containing one or more texels that would be accessed in an 137 (NEAREST_MIPMAP_LINEAR, LINEAR_MIPMAP_LINEAR) that averages texels from 146 and only if all accessed texels are in a single level of detail. 189 set of texels whose (u,v) coordinates satisfy the inequalities: [all …]
|
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/texture/texel_buffer/uniform/packed/ |
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 | 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-snorm-pack32.amber | 20 uniform layout(set=0, binding=0) samplerBuffer 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);
|
D | a8b8g8r8-sint-pack32.amber | 20 uniform layout(set=0, binding=0) isamplerBuffer texels; 24 color_out = texelFetch(texels, int(gl_FragCoord.x) % 4);
|