/external/mesa3d/src/glsl/builtins/profiles/ |
H A D | ARB_shader_texture_lod.frag | 5 vec4 texture1DLod (sampler1D sampler, float coord, float lod); 6 vec4 texture1DProjLod(sampler1D sampler, vec2 coord, float lod); 7 vec4 texture1DProjLod(sampler1D sampler, vec4 coord, float lod); 8 vec4 texture2DLod (sampler2D sampler, vec2 coord, float lod); 9 vec4 texture2DProjLod(sampler2D sampler, vec3 coord, float lod); 10 vec4 texture2DProjLod(sampler2D sampler, vec4 coord, float lod); 11 vec4 texture3DLod (sampler3D sampler, vec3 coord, float lod); 12 vec4 texture3DProjLod(sampler3D sampler, vec4 coord, float lod); 13 vec4 textureCubeLod (samplerCube sampler, vec3 coord, float lod); 14 vec4 shadow1DLod (sampler1DShadow sampler, vec [all...] |
H A D | ARB_shader_texture_lod.glsl | 2 vec4 texture1DGradARB (sampler1D sampler, 4 vec4 texture1DProjGradARB (sampler1D sampler, 6 vec4 texture1DProjGradARB (sampler1D sampler, 9 vec4 texture2DGradARB (sampler2D sampler, 11 vec4 texture2DProjGradARB (sampler2D sampler, 13 vec4 texture2DProjGradARB (sampler2D sampler, 16 vec4 texture3DGradARB (sampler3D sampler, 18 vec4 texture3DProjGradARB (sampler3D sampler, 21 vec4 textureCubeGradARB (samplerCube sampler, 24 vec4 shadow1DGradARB (sampler1DShadow sampler, [all...] |
/external/mesa3d/src/mesa/program/ |
H A D | sampler.h | 27 _mesa_get_sampler_uniform_value(class ir_dereference *sampler,
|
H A D | sampler.cpp | 77 /* GLSL 1.10 and 1.20 allowed variable sampler array indices, 85 "warning: Variable sampler array index unsupported.\n" 107 _mesa_get_sampler_uniform_value(class ir_dereference *sampler, argument 111 get_sampler_name getname(sampler, shader_program); 113 sampler->accept(&getname); 118 "failed to find sampler named %s.\n", getname.name); 122 return shader_program->UniformStorage[location].sampler + getname.offset;
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | gen7_sampler_state.c | 33 * Sets the sampler state for a single unit. 37 struct gen7_sampler_state *sampler) 52 sampler->ss0.min_filter = BRW_MAPFILTER_NEAREST; 53 sampler->ss0.mip_filter = BRW_MIPFILTER_NONE; 57 sampler->ss0.min_filter = BRW_MAPFILTER_LINEAR; 58 sampler->ss0.mip_filter = BRW_MIPFILTER_NONE; 61 sampler->ss0.min_filter = BRW_MAPFILTER_NEAREST; 62 sampler->ss0.mip_filter = BRW_MIPFILTER_NEAREST; 65 sampler->ss0.min_filter = BRW_MAPFILTER_LINEAR; 66 sampler 36 gen7_update_sampler_state(struct brw_context *brw, int unit, int ss_index, struct gen7_sampler_state *sampler) argument [all...] |
H A D | brw_wm_sampler_state.c | 82 upload_default_color(struct brw_context *brw, struct gl_sampler_object *sampler, argument 97 color[0] = sampler->BorderColor.f[0]; 98 color[1] = sampler->BorderColor.f[0]; 99 color[2] = sampler->BorderColor.f[0]; 100 color[3] = sampler->BorderColor.f[0]; 102 color[0] = sampler->BorderColor.f[0]; 103 color[1] = sampler->BorderColor.f[1]; 104 color[2] = sampler->BorderColor.f[2]; 105 color[3] = sampler->BorderColor.f[3]; 156 * Sets the sampler stat 159 brw_update_sampler_state(struct brw_context *brw, int unit, int ss_index, struct brw_sampler_state *sampler) argument [all...] |
H A D | gen6_sampler_state.c | 44 OUT_BATCH(brw->sampler.offset); /* VS */ 46 OUT_BATCH(brw->sampler.offset);
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_llvm_sample.c | 51 * This provides the bridge between the sampler state store in 52 * lp_jit_context and lp_jit_texture and the sampler code 54 * the texture sampler code generator in terms of the state stored in 68 * This is the bridge between our sampler and the TGSI translator. 127 * fetch the members of lp_jit_texture to fulfill the sampler code 131 * sampler code generator a reusable module without dependencies to 159 draw_llvm_sampler_soa_destroy(struct lp_build_sampler_soa *sampler) argument 161 FREE(sampler); 181 struct draw_llvm_sampler_soa *sampler = (struct draw_llvm_sampler_soa *)base; local 186 &sampler 208 struct draw_llvm_sampler_soa *sampler = (struct draw_llvm_sampler_soa *)base; local 225 struct draw_llvm_sampler_soa *sampler; local [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_tex_sample.c | 56 * This provides the bridge between the sampler state store in 57 * lp_jit_context and lp_jit_texture and the sampler code 59 * the texture sampler code generator in terms of the state stored in 73 * This is the bridge between our sampler and the TGSI translator. 132 * fetch the members of lp_jit_texture to fulfill the sampler code 136 * sampler code generator a reusable module without dependencies to 164 lp_llvm_sampler_soa_destroy(struct lp_build_sampler_soa *sampler) argument 166 FREE(sampler); 186 struct lp_llvm_sampler_soa *sampler = (struct lp_llvm_sampler_soa *)base; local 196 &sampler 217 struct lp_llvm_sampler_soa *sampler = (struct lp_llvm_sampler_soa *)base; local 235 struct lp_llvm_sampler_soa *sampler; local [all...] |
/external/skia/src/gpu/vk/ |
H A D | GrVkSampler.h | 23 VkSampler sampler() const { return fSampler; } function in class:GrVkSampler 26 GrVkSampler(VkSampler sampler) : INHERITED(), fSampler(sampler) {} argument
|
/external/mesa3d/src/mesa/swrast/ |
H A D | s_texfilter.h | 39 const struct gl_sampler_object *sampler);
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_sampler.c | 128 struct pipe_sampler_state *sampler, 142 memset(sampler, 0, sizeof(*sampler)); 143 sampler->wrap_s = gl_wrap_xlate(msamp->WrapS); 144 sampler->wrap_t = gl_wrap_xlate(msamp->WrapT); 145 sampler->wrap_r = gl_wrap_xlate(msamp->WrapR); 147 sampler->min_img_filter = gl_filter_to_img_filter(msamp->MinFilter); 148 sampler->min_mip_filter = gl_filter_to_mip_filter(msamp->MinFilter); 149 sampler->mag_img_filter = gl_filter_to_img_filter(msamp->MagFilter); 152 sampler 127 convert_sampler(struct st_context *st, struct pipe_sampler_state *sampler, GLuint texUnit) argument 229 struct pipe_sampler_state *sampler = samplers + unit; local [all...] |
/external/deqp/framework/common/ |
H A D | tcuTexLookupVerifier.hpp | 108 bool isLookupResultValid (const Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& result); 109 bool isLookupResultValid (const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result); 110 bool isLookupResultValid (const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result); 111 bool isLookupResultValid (const Texture1DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result); 112 bool isLookupResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result); 113 bool isLookupResultValid (const Texture3DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result); 114 bool isLookupResultValid (const TextureCubeArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const IVec4& coordBits, const Vec4& coord, const Vec2& lodBounds, const Vec4& result); 116 bool isLevel1DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const float coordX, const int coordY, const Vec4& result); 117 bool isLevel1DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const float coordX, const int coordY, const IVec4& result); 118 bool isLevel1DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMod [all...] |
H A D | tcuTexCompareVerifier.hpp | 55 bool isTexCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const Vec2& lodBounds, const float cmpReference, const float result); 56 bool isTexCompareResultValid (const TextureCubeView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float result); 57 bool isTexCompareResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float result); 59 bool isGatherOffsetsCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result); 60 bool isGatherOffsetsCompareResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result); 62 bool isGatherCompareResultValid (const TextureCubeView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, float cmpReference, const Vec4& result);
|
H A D | tcuTexLookupVerifier.cpp | 39 static bool isSamplerSupported (const Sampler& sampler) argument 41 return sampler.compare == Sampler::COMPAREMODE_NONE && 42 isWrapModeSupported(sampler.wrapS) && 43 isWrapModeSupported(sampler.wrapT) && 44 isWrapModeSupported(sampler.wrapR); 56 inline Vector<ScalarType, 4> lookup (const ConstPixelBufferAccess& access, const Sampler& sampler, int i, int j, int k) argument 61 return sampleTextureBorder<ScalarType>(access.getFormat(), sampler); 65 inline Vector<float, 4> lookup (const ConstPixelBufferAccess& access, const Sampler& sampler, int i, int j, int k) argument 74 return sampleTextureBorder<float>(access.getFormat(), sampler); 101 static void lookupQuad (ColorQuad& dst, const ConstPixelBufferAccess& level, const Sampler& sampler, in argument 115 lookupLine(ColorLine& dst, const ConstPixelBufferAccess& level, const Sampler& sampler, int x0, int x1, int y) argument 520 isNearestSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const float coordX, const int coordY, const Vector<ScalarType, 4>& result) argument 547 isNearestSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec2& coord, const int coordZ, const Vector<ScalarType, 4>& result) argument 582 isNearestSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec3& coord, const Vector<ScalarType, 4>& result) argument 622 isLinearSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const LookupPrecision& prec, const float coordX, const int coordY, const Vec4& result) argument 665 isLinearSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec4& result) argument 725 isLinearSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec4& result) argument 796 isNearestMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const float coord, const int coordY, const Vec2& fBounds, const Vec4& result) argument 832 isNearestMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec2& fBounds, const Vec4& result) argument 882 isNearestMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& fBounds, const Vec4& result) argument 945 isLinearMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const float coordX, const int coordY, const Vec2& fBounds, const Vec4& result) argument 1024 isLinearMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec2& fBounds, const Vec4& result) argument 1126 isLinearMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& fBounds, const Vec4& result) argument 1253 isLevelSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const Sampler::FilterMode filterMode, const LookupPrecision& prec, const float coordX, const int coordY, const Vec4& result) argument 1267 isLevelSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const Sampler::FilterMode filterMode, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec4& result) argument 1281 isMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const Sampler::FilterMode levelFilter, const LookupPrecision& prec, const float coordX, const int coordY, const Vec2& fBounds, const Vec4& result) argument 1297 isMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const Sampler::FilterMode levelFilter, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec2& fBounds, const Vec4& result) argument 1313 isLookupResultValid(const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result) argument 1378 isLookupResultValid(const Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& result) argument 1444 const Sampler& sampler, member in namespace:tcu 1508 const Sampler& sampler, member in namespace:tcu 1622 const Sampler& sampler, member in namespace:tcu 1641 const Sampler& sampler, member in namespace:tcu 1665 isLookupResultValid(const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) argument 1768 isLookupResultValid(const Texture1DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result) argument 1838 isLookupResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) argument 1908 isLevelSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const Sampler::FilterMode filterMode, const LookupPrecision& prec, const Vec3& coord, const Vec4& result) argument 1921 isMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const Sampler::FilterMode levelFilter, const LookupPrecision& prec, const Vec3& coord, const Vec2& fBounds, const Vec4& result) argument 1936 isLookupResultValid(const Texture3DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) argument 2013 isLookupResultValid(const TextureCubeArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const IVec4& coordBits, const Vec4& coord, const Vec2& lodBounds, const Vec4& result) argument 2213 isLevel1DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const float coordX, const int coordY, const Vec4& result) argument 2225 isLevel1DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const float coordX, const int coordY, const IVec4& result) argument 2238 isLevel1DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const float coordX, const int coordY, const UVec4& result) argument 2251 isLevel2DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec4& result) argument 2263 isLevel2DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec2& coord, const int coordZ, const IVec4& result) argument 2276 isLevel2DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec2& coord, const int coordZ, const UVec4& result) argument 2289 isLevel3DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const Vec3& coord, const Vec4& result) argument 2300 isLevel3DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const IVec4& result) argument 2312 isLevel3DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const UVec4& result) argument 2325 isGatherOffsetsResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec2& coord, int coordZ, int componentNdx, const IVec2 (&offsets)[4], const Vector<ScalarType, 4>& result) argument 2367 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const Vec4& result) argument 2378 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result) argument 2389 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result) argument 2401 is2DArrayGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const PrecType& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const Vector<ScalarType, 4>& result) argument 2418 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const Vec4& result) argument 2429 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result) argument 2440 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result) argument 2452 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const PrecType& prec, const CubeFaceFloatCoords& coords, int componentNdx, const Vector<ScalarType, 4>& result) argument 2509 isCubeGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const PrecType& prec, const Vec3& coord, int componentNdx, const Vector<ScalarType, 4>& result) argument 2535 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, int componentNdx, const Vec4& result) argument 2545 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec4& result) argument 2555 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const UVec4& result) argument [all...] |
H A D | tcuTexture.hpp | 348 Vec4 sample1D (const Sampler& sampler, Sampler::FilterMode filter, float s, int level) const; 349 Vec4 sample2D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, int depth) const; 350 Vec4 sample3D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, float r) const; 352 Vec4 sample1DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, const IVec2& offset) const; 353 Vec4 sample2DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, const IVec3& offset) const; 354 Vec4 sample3DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, float r, const IVec3& offset) const; 356 float sample1DCompare (const Sampler& sampler, Sampler::FilterMode filter, float ref, float s, const IVec2& offset) const; 357 float sample2DCompare (const Sampler& sampler, Sampler::FilterMode filter, float ref, float s, float t, const IVec3& offset) const; 435 Vec4 sampleLevelArray1D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, int level, float lod); 436 Vec4 sampleLevelArray2D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, floa 513 sample(const Sampler& sampler, float s, float lod) const argument 518 sampleOffset(const Sampler& sampler, float s, float lod, deInt32 offset) const argument 523 sampleCompare(const Sampler& sampler, float ref, float s, float lod) const argument 528 sampleCompareOffset(const Sampler& sampler, float ref, float s, float lod, deInt32 offset) const argument 567 sample(const Sampler& sampler, float s, float t, float lod) const argument 572 sampleOffset(const Sampler& sampler, float s, float t, float lod, const IVec2& offset) const argument 577 sampleCompare(const Sampler& sampler, float ref, float s, float t, float lod) const argument 582 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float lod, const IVec2& offset) const argument 587 gatherOffsets(const Sampler& sampler, float s, float t, int componentNdx, const IVec2 (&offsets)[4]) const argument 592 gatherOffsetsCompare(const Sampler& sampler, float ref, float s, float t, const IVec2 (&offsets)[4]) const argument 664 sample(const Sampler& sampler, float s, float lod) const argument 669 sampleOffset(const Sampler& sampler, float s, float lod, deInt32 offset) const argument 715 sample(const Sampler& sampler, float s, float t, float lod) const argument 720 sampleOffset(const Sampler& sampler, float s, float t, float lod, const IVec2& offset) const argument 725 sampleCompare(const Sampler& sampler, float ref, float s, float t, float lod) const argument 730 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float lod, const IVec2& offset) const argument 735 gatherOffsets(const Sampler& sampler, float s, float t, int componentNdx, const IVec2 (&offsets)[4]) const argument 740 gatherOffsetsCompare(const Sampler& sampler, float ref, float s, float t, const IVec2 (&offsets)[4]) const argument 811 sample(const Sampler& sampler, float s, float t, float p, float lod) const argument 816 sampleCompare(const Sampler& sampler, float ref, float s, float t, float r, float lod) const argument 821 gather(const Sampler& sampler, float s, float t, float r, int componentNdx) const argument 826 gatherCompare(const Sampler& sampler, float ref, float s, float t, float r) const argument 923 sample(const Sampler& sampler, float s, float t, float lod) const argument 928 sampleOffset(const Sampler& sampler, float s, float t, float lod, deInt32 offset) const argument 933 sampleCompare(const Sampler& sampler, float ref, float s, float t, float lod) const argument 938 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float lod, deInt32 offset) const argument 984 sample(const Sampler& sampler, float s, float t, float r, float lod) const argument 989 sampleOffset(const Sampler& sampler, float s, float t, float r, float lod, const IVec2& offset) const argument 994 sampleCompare(const Sampler& sampler, float ref, float s, float t, float r, float lod) const argument 999 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float r, float lod, const IVec2& offset) const argument 1004 gatherOffsets(const Sampler& sampler, float s, float t, float r, int componentNdx, const IVec2 (&offsets)[4]) const argument 1009 gatherOffsetsCompare(const Sampler& sampler, float ref, float s, float t, float r, const IVec2 (&offsets)[4]) const argument 1037 sample(const Sampler& sampler, float s, float t, float r, float lod) const argument 1042 sampleOffset(const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset) const argument 1083 sample(const Sampler& sampler, float s, float t, float r, float lod) const argument 1088 sampleOffset(const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset) const argument 1156 sample(const Sampler& sampler, float s, float t, float r, float q, float lod) const argument 1161 sampleOffset(const Sampler& sampler, float s, float t, float r, float q, float lod, const IVec2& offset) const argument 1166 sampleCompare(const Sampler& sampler, float ref, float s, float t, float r, float q, float lod) const argument 1171 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float r, float q, float lod, const IVec2& offset) const argument [all...] |
H A D | tcuTexCompareVerifier.cpp | 38 static bool isSamplerSupported (const Sampler& sampler) argument 40 return sampler.compare != Sampler::COMPAREMODE_NONE && 41 isWrapModeSupported(sampler.wrapS) && 42 isWrapModeSupported(sampler.wrapT) && 43 isWrapModeSupported(sampler.wrapR); 134 static float lookupDepth (const tcu::ConstPixelBufferAccess& access, const Sampler& sampler, int i, int j, int k) 139 return sampleTextureBorder<float>(access.getFormat(), sampler).x(); 143 static float lookupDepthNoBorder (const tcu::ConstPixelBufferAccess& access, const Sampler& sampler, int i, int j, int k = 0) 145 DE_UNREF(sampler); 541 const Sampler& sampler, [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_pipe_sampler.c | 96 const struct pipe_sampler_state *sampler) 104 cso->mipfilter = translate_mip_filter(sampler->min_mip_filter); 105 cso->magfilter = translate_img_filter( sampler->mag_img_filter ); 106 cso->minfilter = translate_img_filter( sampler->min_img_filter ); 107 cso->aniso_level = MAX2( sampler->max_anisotropy, 1 ); 108 if(sampler->max_anisotropy) 110 cso->lod_bias = sampler->lod_bias; 111 cso->addressu = translate_wrap_mode(sampler->wrap_s); 112 cso->addressv = translate_wrap_mode(sampler->wrap_t); 113 cso->addressw = translate_wrap_mode(sampler 95 svga_create_sampler_state(struct pipe_context *pipe, const struct pipe_sampler_state *sampler) argument 191 svga_bind_fragment_sampler_states(struct pipe_context *pipe, unsigned num, void **sampler) argument 198 svga_delete_sampler_state(struct pipe_context *pipe, void *sampler) argument [all...] |
/external/skia/src/images/ |
H A D | SkImageDecoder_ktx.cpp | 70 // Setup the sampler... 71 SkScaledBitmapSampler sampler(width, height, this->getSampleSize()); 108 const int w = sampler.scaledWidth(); 109 const int h = sampler.scaledHeight(); 112 const int w = sampler.scaledWidth(); 113 const int h = sampler.scaledHeight(); 130 if (!sampler.begin(bm, SkScaledBitmapSampler::kGray, *this)) { 148 const int dstHeight = sampler.scaledHeight(); 150 srcRow += sampler.srcY0() * srcRowBytes; 152 sampler [all...] |
H A D | SkImageDecoder_pkm.cpp | 50 // Setup the sampler... 51 SkScaledBitmapSampler sampler(width, height, this->getSampleSize()); 54 bm->setInfo(SkImageInfo::MakeN32(sampler.scaledWidth(), sampler.scaledHeight(), 67 if (!sampler.begin(bm, SkScaledBitmapSampler::kRGB, *this)) { 87 const int dstHeight = sampler.scaledHeight(); 89 srcRow += sampler.srcY0() * srcRowBytes; 91 sampler.next(srcRow); 92 srcRow += sampler.srcDY() * srcRowBytes;
|
H A D | SkImageDecoder_libbmp.cpp | 137 SkScaledBitmapSampler sampler(width, height, getSampleSize()); 139 bm->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.scaledHeight(), 152 if (!sampler.begin(bm, SkScaledBitmapSampler::kRGB, *this)) { 157 const int dstHeight = sampler.scaledHeight(); 160 srcRow += sampler.srcY0() * srcRowBytes; 162 sampler.next(srcRow); 163 srcRow += sampler.srcDY() * srcRowBytes;
|
/external/v8/test/cctest/libsampler/ |
H A D | test-sampler.cc | 4 // Tests of sampler functionalities. 6 #include "src/libsampler/v8-sampler.h" 13 namespace sampler { namespace in namespace:v8 21 explicit TestSamplingThread(Sampler* sampler) argument 24 sampler_(sampler) {} 77 TestSampler* sampler = new TestSampler(env->GetIsolate()); local 78 TestSamplingThread* thread = new TestSamplingThread(sampler); 79 sampler->IncreaseProfilingDepth(); 80 sampler->Start(); 81 sampler [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_state_sampler.c | 41 * There is a circular dependancy between the sampler state 50 * is set on the map state instead of the sampler state. That is 55 * we need to change the sampler state when map state is changed. 64 const struct i915_sampler_state *sampler, 84 const struct i915_sampler_state *sampler, 91 state[0] = sampler->state[0]; 92 state[1] = sampler->state[1]; 93 state[2] = sampler->state[2]; 111 const unsigned ws = sampler->templ->wrap_s; 112 const unsigned wt = sampler 82 update_sampler(struct i915_context *i915, uint unit, const struct i915_sampler_state *sampler, const struct i915_texture *tex, unsigned state[3]) argument 294 update_map(struct i915_context *i915, uint unit, const struct i915_texture *tex, const struct i915_sampler_state *sampler, const struct pipe_sampler_view* view, uint state[2]) argument [all...] |
/external/deqp/framework/randomshaders/ |
H A D | rsgSamplers.hpp | 43 Sampler2D (const tcu::Texture2D* texture, const tcu::Sampler& sampler) argument 45 , m_sampler (sampler) 68 SamplerCube (const tcu::TextureCube* texture, const tcu::Sampler& sampler) argument 70 , m_sampler (sampler)
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
H A D | pp_program.c | 97 p->sampler.wrap_s = p->sampler.wrap_t = p->sampler.wrap_r = 100 p->sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; 101 p->sampler.min_img_filter = p->sampler.mag_img_filter = 103 p->sampler.normalized_coords = 1;
|