/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture_desc.c | 91 static boolean r300_texture_macro_switch(struct r300_resource *tex, in r300_texture_macro_switch() argument 98 tile = r300_get_pixel_alignment(tex->b.b.format, tex->b.b.nr_samples, in r300_texture_macro_switch() 99 tex->tex.microtile, RADEON_LAYOUT_TILED, dim, 0); in r300_texture_macro_switch() 101 texdim = u_minify(tex->tex.width0, level); in r300_texture_macro_switch() 103 texdim = u_minify(tex->tex.height0, level); in r300_texture_macro_switch() 119 struct r300_resource *tex, in r300_texture_get_stride() argument 127 if (tex->tex.stride_in_bytes_override) in r300_texture_get_stride() 128 return tex->tex.stride_in_bytes_override; in r300_texture_get_stride() 131 if (level > tex->b.b.last_level) { in r300_texture_get_stride() 133 __FUNCTION__, level, tex->b.b.last_level); in r300_texture_get_stride() [all …]
|
D | r300_texture.c | 801 struct r300_resource *tex, in r300_texture_setup_format_state() argument 808 struct pipe_resource *pt = &tex->b.b; in r300_texture_setup_format_state() 809 struct r300_texture_desc *desc = &tex->tex; in r300_texture_setup_format_state() 886 struct r300_resource *tex = r300_resource(surf->base.texture); in r300_texture_setup_fb_state() local 887 unsigned level = surf->base.u.tex.level; in r300_texture_setup_fb_state() 889 r300_stride_to_width(surf->base.format, tex->tex.stride_in_bytes[level]); in r300_texture_setup_fb_state() 895 R300_DEPTHMACROTILE(tex->tex.macrotile[level]) | in r300_texture_setup_fb_state() 896 R300_DEPTHMICROTILE(tex->tex.microtile); in r300_texture_setup_fb_state() 898 surf->pitch_zmask = tex->tex.zmask_stride_in_pixels[level]; in r300_texture_setup_fb_state() 899 surf->pitch_hiz = tex->tex.hiz_stride_in_pixels[level]; in r300_texture_setup_fb_state() [all …]
|
D | r300_transfer.c | 55 struct pipe_resource *tex = transfer->resource; in r300_copy_from_tiled_texture() local 59 tex, transfer->level, &transfer->box); in r300_copy_from_tiled_texture() 67 struct pipe_resource *tex = transfer->resource; in r300_copy_into_tiled_texture() local 71 ctx->resource_copy_region(ctx, tex, transfer->level, in r300_copy_into_tiled_texture() 87 struct r300_resource *tex = r300_resource(texture); in r300_texture_get_transfer() local 93 r300->rws->cs_is_buffer_referenced(r300->cs, tex->cs_buf, RADEON_USAGE_READWRITE); in r300_texture_get_transfer() 98 r300->rws->buffer_is_busy(tex->buf, RADEON_USAGE_READWRITE); in r300_texture_get_transfer() 112 if (tex->tex.microtile || tex->tex.macrotile[level] || in r300_texture_get_transfer() 166 if (!tex->tex.microtile && !tex->tex.macrotile[level]) { in r300_texture_get_transfer() 178 assert(!trans->linear_texture->tex.microtile && in r300_texture_get_transfer() [all …]
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_resource_texture.c | 133 i915_texture_set_level_info(struct i915_texture *tex, in i915_texture_set_level_info() argument 136 assert(level < Elements(tex->nr_images)); in i915_texture_set_level_info() 138 assert(!tex->image_offset[level]); in i915_texture_set_level_info() 140 tex->nr_images[level] = nr_images; in i915_texture_set_level_info() 141 tex->image_offset[level] = MALLOC(nr_images * sizeof(struct offset_pair)); in i915_texture_set_level_info() 142 tex->image_offset[level][0].nblocksx = 0; in i915_texture_set_level_info() 143 tex->image_offset[level][0].nblocksy = 0; in i915_texture_set_level_info() 146 INLINE unsigned i915_texture_offset(struct i915_texture *tex, in i915_texture_offset() argument 150 x = tex->image_offset[level][layer].nblocksx in i915_texture_offset() 151 * util_format_get_blocksize(tex->b.b.format); in i915_texture_offset() [all …]
|
D | i915_state_static.c | 104 struct i915_texture *tex = i915_texture(cbuf_surface->texture); in update_framebuffer() local 105 assert(tex); in update_framebuffer() 107 i915->current.cbuf_bo = tex->buffer; in update_framebuffer() 109 BUF_3D_PITCH(tex->stride) | /* pitch in bytes */ in update_framebuffer() 110 buf_3d_tiling_bits(tex->tiling); in update_framebuffer() 112 layer = cbuf_surface->u.tex.first_layer; in update_framebuffer() 114 x = tex->image_offset[cbuf_surface->u.tex.level][layer].nblocksx; in update_framebuffer() 115 y = tex->image_offset[cbuf_surface->u.tex.level][layer].nblocksy; in update_framebuffer() 125 struct i915_texture *tex = i915_texture(depth_surface->texture); in update_framebuffer() local 126 unsigned offset = i915_texture_offset(tex, depth_surface->u.tex.level, in update_framebuffer() [all …]
|
D | i915_surface.c | 215 struct i915_texture *tex = i915_texture(dst->texture); in i915_clear_render_target_blitter() local 216 struct pipe_resource *pt = &tex->b.b; in i915_clear_render_target_blitter() 218 unsigned offset = i915_texture_offset(tex, dst->u.tex.level, dst->u.tex.first_layer); in i915_clear_render_target_blitter() 227 (unsigned short) tex->stride, in i915_clear_render_target_blitter() 228 tex->buffer, offset, in i915_clear_render_target_blitter() 243 struct i915_texture *tex = i915_texture(dst->texture); in i915_clear_depth_stencil_blitter() local 244 struct pipe_resource *pt = &tex->b.b; in i915_clear_depth_stencil_blitter() 247 unsigned offset = i915_texture_offset(tex, dst->u.tex.level, dst->u.tex.first_layer); in i915_clear_depth_stencil_blitter() 266 (unsigned short) tex->stride, in i915_clear_depth_stencil_blitter() 267 tex->buffer, offset, in i915_clear_depth_stencil_blitter() [all …]
|
/external/libunwind/doc/ |
D | Makefile.am | 28 libunwind.tex libunwind-dynamic.tex libunwind-ia64.tex \ 29 libunwind-ptrace.tex libunwind-setjmp.tex \ 30 unw_backtrace.tex \ 31 unw_flush_cache.tex \ 32 unw_get_accessors.tex \ 33 unw_get_proc_info.tex \ 34 unw_get_proc_info_by_ip.tex \ 35 unw_get_proc_name.tex \ 36 unw_get_fpreg.tex \ 37 unw_get_reg.tex \ [all …]
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_surface.c | 105 struct svga_texture *tex, in svga_texture_view_surface() argument 126 key->size.width = u_minify(tex->b.b.width0, start_mip); in svga_texture_view_surface() 127 key->size.height = u_minify(tex->b.b.height0, start_mip); in svga_texture_view_surface() 128 key->size.depth = zslice_pick < 0 ? u_minify(tex->b.b.depth0, start_mip) : 1; in svga_texture_view_surface() 132 if (tex->b.b.target == PIPE_TEXTURE_CUBE && face_pick < 0) { in svga_texture_view_surface() 161 if (tex->defined[j + face_pick][i + start_mip]) { in svga_texture_view_surface() 163 u_minify(tex->b.b.depth0, i + start_mip) : in svga_texture_view_surface() 167 tex->handle, in svga_texture_view_surface() 172 u_minify(tex->b.b.width0, i + start_mip), in svga_texture_view_surface() 173 u_minify(tex->b.b.height0, i + start_mip), in svga_texture_view_surface() [all …]
|
D | svga_resource_texture.c | 220 struct svga_texture *tex = (struct svga_texture *)pt; in svga_texture_destroy() local 224 svga_sampler_view_reference(&tex->cached_view, NULL); in svga_texture_destroy() 229 SVGA_DBG(DEBUG_DMA, "unref sid %p (texture)\n", tex->handle); in svga_texture_destroy() 230 svga_screen_surface_destroy(ss, &tex->key, &tex->handle); in svga_texture_destroy() 232 FREE(tex); in svga_texture_destroy() 359 struct svga_texture *tex = svga_texture(transfer->resource); in svga_texture_transfer_destroy() local 377 tex->view_age[transfer->level] = ++(tex->age); in svga_texture_transfer_destroy() 379 tex->defined[transfer->box.z][transfer->level] = TRUE; in svga_texture_transfer_destroy() 381 tex->defined[0][transfer->level] = TRUE; in svga_texture_transfer_destroy() 409 struct svga_texture *tex = CALLOC_STRUCT(svga_texture); in svga_texture_create() local [all …]
|
D | svga_sampler_view.c | 61 struct svga_texture *tex = svga_texture(pt); in svga_get_tex_sampler_view() local 93 if (tex->cached_view && in svga_get_tex_sampler_view() 94 tex->cached_view->min_lod == min_lod && in svga_get_tex_sampler_view() 95 tex->cached_view->max_lod == max_lod) { in svga_get_tex_sampler_view() 96 svga_sampler_view_reference(&sv, tex->cached_view); in svga_get_tex_sampler_view() 128 sv->handle = tex->handle; in svga_get_tex_sampler_view() 143 sv->age = tex->age; in svga_get_tex_sampler_view() 144 sv->handle = svga_texture_view_surface(svga, tex, flags, format, in svga_get_tex_sampler_view() 153 sv->handle = tex->handle; in svga_get_tex_sampler_view() 160 svga_sampler_view_reference(&tex->cached_view, sv); in svga_get_tex_sampler_view() [all …]
|
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/ |
D | MultiSample.glsllib | 20 vec4 textureFetch(in sampler2DMS tex,in vec2 texC, in int numSamples){ 21 ivec2 iTexC = ivec2(texC * textureSize(tex)); 24 color += texelFetch(tex, iTexC, i); 29 vec4 fetchTextureSample(in sampler2DMS tex,in vec2 texC,in int sample){ 30 ivec2 iTexC = ivec2(texC * textureSize(tex)); 31 return texelFetch(tex, iTexC, sample); 34 vec4 getColor(in sampler2DMS tex, in vec2 texC){ 35 return textureFetch(tex, texC, m_NumSamples); 38 vec4 getColorSingle(in sampler2DMS tex, in vec2 texC){ 39 ivec2 iTexC = ivec2(texC * textureSize(tex)); [all …]
|
D | Shadow.glsllib | 11 //float shadowDepth = texture2DProj(tex, projCoord); 17 float Shadow_DoShadowCompareOffset(in SHADOWMAP tex, vec4 projCoord, vec2 offset){ 18 return step(projCoord.z, SHADOWTEX(tex, SHADCOORD(projCoord.xy + offset * pixSize2)).r); 21 float Shadow_DoShadowCompare(in SHADOWMAP tex, vec4 projCoord){ 22 return step(projCoord.z, SHADOWTEX(tex, SHADCOORD(projCoord.xy)).r); 44 float Shadow_DoDither_2x2(in SHADOWMAP tex, in vec4 projCoord){ 47 shadow += Shadow_DoShadowCompareOffset(tex,projCoord,vec2(-1.5, 1.5) + o); 48 shadow += Shadow_DoShadowCompareOffset(tex,projCoord,vec2( 0.5, 1.5) + o); 49 shadow += Shadow_DoShadowCompareOffset(tex,projCoord,vec2(-1.5, -0.5) + o); 50 shadow += Shadow_DoShadowCompareOffset(tex,projCoord,vec2( 0.5, -0.5) + o); [all …]
|
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Shadow/ |
D | PostShadowPSSM15.frag | 7 #define SHADOWCOMPAREOFFSET(tex,coord,offset) textureProjOffset(tex, coord, offset) 8 #define SHADOWCOMPARE(tex,coord) textureProj(tex, coord) 9 #define SHADOWGATHER(tex,coord) textureGather(tex, coord.xy, coord.z) 12 …#define SHADOWCOMPAREOFFSET(tex,coord,offset) step(coord.z, textureProjOffset(tex, coord, offset).… 13 #define SHADOWCOMPARE(tex,coord) step(coord.z, textureProj(tex, coord).r) 14 #define SHADOWGATHER(tex,coord) step(coord.z, textureGather(tex, coord.xy)) 62 float Shadow_DoDither_2x2(in SHADOWMAP tex, in vec4 projCoord){ 67 ivec2 texSize = textureSize(tex, 0); 72 shadow += SHADOWCOMPARE(tex, vec4(projCoord.xy+pixSize*(vec2(-1.5, 1.5)+o), projCoord.zw)); 73 shadow += SHADOWCOMPARE(tex, vec4(projCoord.xy+pixSize*(vec2( 0.5, 1.5)+o), projCoord.zw)); [all …]
|
D | PostShadowPSSM.frag | 3 #define SHADOWCOMPARE(tex,coord) shadow2DProj(tex, coord).r 6 #define SHADOWCOMPARE(tex,coord) step(coord.z, texture2DProj(tex, coord).r) 50 float Shadow_DoShadowCompareOffset(in SHADOWMAP tex, in vec4 projCoord, in vec2 offset){ 52 return SHADOWCOMPARE(tex, coord); 55 float Shadow_DoShadowCompare(in SHADOWMAP tex, vec4 projCoord){ 56 return SHADOWCOMPARE(tex, projCoord); 66 float Shadow_DoDither_2x2(in SHADOWMAP tex, in vec4 projCoord){ 69 shadow += Shadow_DoShadowCompareOffset(tex,projCoord,vec2(-1.5, 1.5) + o); 70 shadow += Shadow_DoShadowCompareOffset(tex,projCoord,vec2( 0.5, 1.5) + o); 71 shadow += Shadow_DoShadowCompareOffset(tex,projCoord,vec2(-1.5, -0.5) + o); [all …]
|
/external/mesa3d/src/gallium/winsys/sw/wrapper/ |
D | wrapper_sw_winsys.c | 61 struct pipe_resource *tex; member 91 struct pipe_resource *tex = wdt->tex; in wsw_dt_get_stride() local 94 tr = pipe_get_transfer(pipe, tex, 0, 0, in wsw_dt_get_stride() 96 0, 0, wdt->tex->width0, wdt->tex->height0); in wsw_dt_get_stride() 110 struct pipe_resource *tex, unsigned *stride) in wsw_dt_wrap_texture() argument 116 wdt->tex = tex; in wsw_dt_wrap_texture() 127 pipe_resource_reference(&tex, NULL); in wsw_dt_wrap_texture() 141 struct pipe_resource *tex; in wsw_dt_create() local 157 tex = wsw->screen->resource_create(wsw->screen, &templ); in wsw_dt_create() 158 if (!tex) in wsw_dt_create() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/texture/ |
D | FrameBuffer.java | 91 Texture tex; field in FrameBuffer.RenderBuffer 108 return tex; in getTexture() 137 if (tex != null){ in createDestructableClone() 148 if (tex != null){ in toString() 235 private void checkSetTexture(Texture tex, boolean depth){ in checkSetTexture() argument 236 Image img = tex.getImage(); in checkSetTexture() 250 if (samples != tex.getImage().getMultiSamples()) in checkSetTexture() 313 public void setColorTexture(Texture2D tex){ in setColorTexture() argument 315 addColorTexture(tex); in setColorTexture() 334 public void addColorTexture(Texture2D tex) { in addColorTexture() argument [all …]
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
D | xorg_exa.c | 205 if (!priv || !priv->tex) in ExaDownloadFromScreen() 208 transfer = pipe_get_transfer(exa->pipe, priv->tex, 0, 0, in ExaDownloadFromScreen() 216 util_copy_rect((unsigned char*)dst, priv->tex->format, dst_pitch, 0, 0, in ExaDownloadFromScreen() 237 if (!priv || !priv->tex) in ExaUploadToScreen() 240 transfer = pipe_get_transfer(exa->pipe, priv->tex, 0, 0, in ExaUploadToScreen() 249 priv->tex->format, transfer->stride, 0, 0, w, h, in ExaUploadToScreen() 272 if (!priv->tex) in ExaPrepareAccess() 279 assert(pPix->drawable.width <= priv->tex->width0); in ExaPrepareAccess() 280 assert(pPix->drawable.height <= priv->tex->height0); in ExaPrepareAccess() 283 pipe_get_transfer(exa->pipe, priv->tex, 0, 0, in ExaPrepareAccess() [all …]
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | HudSystem.java | 283 Texture tex = mFuelDrawable.getTexture(); in update() local 284 mFuelDrawable.resize(tex.width, tex.height); in update() 323 Texture tex = bitmap.getTexture(); in update() local 324 bitmap.resize(tex.width, tex.height); in update() 341 Texture tex = bitmap.getTexture(); in update() local 342 bitmap.resize(tex.width, tex.height); in update() 343 bitmap.setWidth((int)(tex.width * STOMP_BUTTON_SCALE)); in update() 344 bitmap.setHeight((int)(tex.height * STOMP_BUTTON_SCALE)); in update() 355 Texture tex = mMovementSliderBaseDrawable.getTexture(); in update() local 356 mMovementSliderBaseDrawable.resize(tex.width, tex.height); in update() [all …]
|
/external/iproute2/doc/ |
D | Plan | 4 1.1 IP Command reference (ip-cref.tex, published) 5 1.2 TC Command reference (tc-cref.tex) 6 1.3 IP tunnels (ip-tunnels.tex, published) 9 2.1 RTNETLINK (api-rtnl.tex) 10 2.2 Path MTU Discovery (api-pmtudisc.tex) 11 2.3 IPv6 Flow Labels (api-ip6-flowlabels.tex, published) 12 2.4 Miscellaneous extensions (api-misc.tex) 15 3.1 NetDev --- Networking Devices and netdev... (iki-netdev.tex) 16 3.2 Neighbour cache and destination cache. (iki-neighdst.tex)
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
D | TextureGeneratorMusgrave.java | 61 …protected Texture generate(Structure tex, int width, int height, int depth, BlenderContext blender… in generate() argument 62 int stype = ((Number) tex.getFieldValue("stype")).intValue(); in generate() 63 float noisesize = ((Number) tex.getFieldValue("noisesize")).floatValue(); in generate() 68 float[][] colorBand = this.computeColorband(tex, blenderContext); in generate() 71 MusgraveData musgraveData = new MusgraveData(tex); in generate() 73 BrightnessAndContrastData bacd = new BrightnessAndContrastData(tex); in generate() 126 public MusgraveData(Structure tex) { in MusgraveData() argument 127 stype = ((Number) tex.getFieldValue("stype")).intValue(); in MusgraveData() 128 outscale = ((Number) tex.getFieldValue("ns_outscale")).floatValue(); in MusgraveData() 129 h = ((Number) tex.getFieldValue("mg_H")).floatValue(); in MusgraveData() [all …]
|
/external/libvorbis/doc/ |
D | Makefile.am | 56 Vorbis_I_spec.tex \ 57 01-introduction.tex \ 58 02-bitpacking.tex \ 59 03-codebook.tex \ 60 04-codec.tex \ 61 05-comment.tex \ 62 06-floor0.tex \ 63 07-floor1.tex \ 64 08-residue.tex \ 65 09-helper.tex \ [all …]
|
/external/skia/src/gpu/effects/ |
D | GrBicubicEffect.h | 39 static GrFragmentProcessor* Create(GrTexture* tex, const SkScalar coefficients[16], 44 return Create(tex, coefficients, GrCoordTransform::MakeDivByTextureWHMatrix(tex), 47 return SkNEW_ARGS(GrBicubicEffect, (tex, coefficients, 48 GrCoordTransform::MakeDivByTextureWHMatrix(tex), 56 static GrFragmentProcessor* Create(GrTexture* tex, const SkMatrix& matrix, in Create() argument 58 return Create(tex, gMitchellCoefficients, matrix, tileModes); in Create() 65 static GrFragmentProcessor* Create(GrTexture* tex, const SkScalar coefficients[16], in Create() argument 68 return SkNEW_ARGS(GrBicubicEffect, (tex, coefficients, matrix, tileModes)); in Create() 74 static GrFragmentProcessor* Create(GrTexture* tex, const SkMatrix& matrix, in Create() argument 76 return SkNEW_ARGS(GrBicubicEffect, (tex, gMitchellCoefficients, matrix, domain)); in Create()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | r600_blit.c | 132 surf_tmpl.u.tex.level = level; in si_blit_uncompress_depth() 133 surf_tmpl.u.tex.first_layer = layer; in si_blit_uncompress_depth() 134 surf_tmpl.u.tex.last_layer = layer; in si_blit_uncompress_depth() 164 struct r600_resource_texture *tex; in si_flush_depth_textures() local 169 tex = (struct r600_resource_texture *)view->base.texture; in si_flush_depth_textures() 170 if (!tex->depth) in si_flush_depth_textures() 173 if (tex->is_flushing_texture) in si_flush_depth_textures() 176 si_blit_uncompress_depth(&rctx->context, tex); in si_flush_depth_textures() 181 struct r600_resource_texture *tex; in si_flush_depth_textures() local 182 tex = (struct r600_resource_texture *)rctx->framebuffer.cbufs[i]->texture; in si_flush_depth_textures() [all …]
|
/external/llvm/test/CodeGen/R600/ |
D | llvm.AMDGPU.tex.ll | 22 %res1 = call <4 x float> @llvm.AMDGPU.tex(<4 x float> %addr, i32 0, i32 0, i32 1) 23 %res2 = call <4 x float> @llvm.AMDGPU.tex(<4 x float> %res1, i32 0, i32 0, i32 2) 24 %res3 = call <4 x float> @llvm.AMDGPU.tex(<4 x float> %res2, i32 0, i32 0, i32 3) 25 %res4 = call <4 x float> @llvm.AMDGPU.tex(<4 x float> %res3, i32 0, i32 0, i32 4) 26 %res5 = call <4 x float> @llvm.AMDGPU.tex(<4 x float> %res4, i32 0, i32 0, i32 5) 27 %res6 = call <4 x float> @llvm.AMDGPU.tex(<4 x float> %res5, i32 0, i32 0, i32 6) 28 %res7 = call <4 x float> @llvm.AMDGPU.tex(<4 x float> %res6, i32 0, i32 0, i32 7) 29 %res8 = call <4 x float> @llvm.AMDGPU.tex(<4 x float> %res7, i32 0, i32 0, i32 8) 30 %res9 = call <4 x float> @llvm.AMDGPU.tex(<4 x float> %res8, i32 0, i32 0, i32 9) 31 %res10 = call <4 x float> @llvm.AMDGPU.tex(<4 x float> %res9, i32 0, i32 0, i32 10) [all …]
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_blit.c | 191 surf_tmpl.u.tex.level = level; in r600_blit_decompress_depth() 192 surf_tmpl.u.tex.first_layer = layer; in r600_blit_decompress_depth() 193 surf_tmpl.u.tex.last_layer = layer; in r600_blit_decompress_depth() 199 surf_tmpl.u.tex.level = level; in r600_blit_decompress_depth() 200 surf_tmpl.u.tex.first_layer = layer; in r600_blit_decompress_depth() 201 surf_tmpl.u.tex.last_layer = layer; in r600_blit_decompress_depth() 238 struct r600_texture *tex; in r600_decompress_depth_textures() local 245 tex = (struct r600_texture *)view->texture; in r600_decompress_depth_textures() 246 assert(tex->is_depth && !tex->is_flushing_texture); in r600_decompress_depth_textures() 248 r600_blit_decompress_depth(&rctx->context, tex, NULL, in r600_decompress_depth_textures() [all …]
|