/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_tex_sample.h | 47 typedef float (*compute_lambda_func)(const struct sp_sampler_variant *sampler, 96 const struct pipe_sampler_state *sampler; member in struct:sp_sampler_variant 137 /* Create a sampler variant for a given set of non-orthogonal state. Currently the 140 sp_create_sampler_variant( const struct pipe_sampler_state *sampler, 152 sp_sampler_variant(const struct tgsi_sampler *sampler) 154 return (struct sp_sampler_variant *) sampler;
|
sp_state_sampler.c | 50 static struct sp_sampler *sp_sampler( struct pipe_sampler_state *sampler ) 52 return (struct sp_sampler *)sampler; 58 const struct pipe_sampler_state *sampler) 62 sp_sampler->base = *sampler; 195 /* set the new sampler views */ 251 * sampler and tex unit. 253 * Note that the tex unit is significant. We can't re-use a sampler 254 * variant for multiple texture units because the sampler variant contains 256 * somewhere outside the sampler variant, we could re-use samplers for 261 struct sp_sampler *sampler, [all...] |
/external/deqp/framework/common/ |
tcuTexture.cpp | [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i915_texstate.c | 143 struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit); local 188 maxlod = MIN2(sampler->MaxLod, tObj->_MaxLevel - tObj->BaseLevel); 199 switch (sampler->MinFilter) { 228 if (sampler->MaxAnisotropy > 1.0) { 231 if (sampler->MaxAnisotropy > 2.0) 237 switch (sampler->MagFilter) { 249 lodbias = (int) ((tUnit->LodBias + sampler->LodBias) * 16.0); 265 if (sampler->CompareMode == GL_COMPARE_R_TO_TEXTURE_ARB && 272 intel_translate_shadow_compare_func(sampler->CompareFunc)); 285 GLenum ws = sampler->WrapS [all...] |
i830_texstate.c | 125 struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit); local 198 switch (sampler->MinFilter) { 227 if (sampler->MaxAnisotropy > 1.0) { 232 switch (sampler->MagFilter) { 244 lodbias = (int) ((tUnit->LodBias + sampler->LodBias) * 16.0); 264 minlod_fixed = U_FIXED(CLAMP(sampler->MinLod, 0.0, 11), 4); 265 maxlod = MIN2(sampler->MaxLod, tObj->_MaxLevel - tObj->BaseLevel); 284 GLenum ws = sampler->WrapS; 285 GLenum wt = sampler->WrapT; 305 CLAMPED_FLOAT_TO_UBYTE(border[0], sampler->BorderColor.f[0]) [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
asm_fill.h | 35 struct ureg_src *sampler, 43 struct ureg_src *sampler, 76 struct ureg_src *sampler, 93 ureg_TEX(ureg, *out, TGSI_TEXTURE_1D, ureg_src(temp[2]), sampler[0]); 100 struct ureg_src *sampler, 129 ureg_TEX(ureg, *out, TGSI_TEXTURE_1D, ureg_src(temp[0]), sampler[0]); 137 struct ureg_src *sampler, 160 ureg_TEX(ureg, *out, TGSI_TEXTURE_2D, ureg_src(temp[1]), sampler[0]); 167 struct ureg_src *sampler, 173 ureg_TEX(ureg, *out, TGSI_TEXTURE_1D, ureg_src(temp[1]), sampler[0]) [all...] |
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_yuv.c | 73 struct pipe_sampler_state sampler; local 77 memset(&sampler, 0, sizeof(struct pipe_sampler_state)); 79 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP; 80 sampler.wrap_t = PIPE_TEX_WRAP_CLAMP; 81 sampler.min_img_filter = PIPE_TEX_FILTER_LINEAR; 82 sampler.mag_img_filter = PIPE_TEX_FILTER_LINEAR; 83 sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NEAREST; 84 sampler.normalized_coords = 1; 87 samplers[i] = &sampler;
|
/external/deqp/framework/randomshaders/ |
rsgProgramExecutor.hpp | 48 void setTexture (int samplerNdx, const tcu::Texture2D* texture, const tcu::Sampler& sampler); 49 void setTexture (int samplerNdx, const tcu::TextureCube* texture, const tcu::Sampler& sampler);
|
rsgExecutionContext.cpp | 74 const Sampler2D& ExecutionContext::getSampler2D (const Variable* sampler) const 76 const ExecValueStorage* samplerVal = m_varValues.find(sampler)->second; 78 int samplerNdx = samplerVal->getValue(sampler->getType()).asInt(0); 83 const SamplerCube& ExecutionContext::getSamplerCube (const Variable* sampler) const 85 const ExecValueStorage* samplerVal = m_varValues.find(sampler)->second; 87 int samplerNdx = samplerVal->getValue(sampler->getType()).asInt(0);
|
/external/skia/src/images/ |
SkImageDecoder_astc.cpp | 120 // Setup the sampler... 121 SkScaledBitmapSampler sampler(width, height, this->getSampleSize()); 132 bm->setInfo(SkImageInfo::MakeN32(sampler.scaledWidth(), sampler.scaledHeight(), alphaType)); 145 if (!sampler.begin(bm, SkScaledBitmapSampler::kRGBA, *this)) { 162 const int dstHeight = sampler.scaledHeight(); 164 srcRow += sampler.srcY0() * srcRowBytes; 166 sampler.next(srcRow); 167 srcRow += sampler.srcDY() * srcRowBytes;
|
SkImageDecoder_libgif.cpp | 324 SkScaledBitmapSampler sampler(width, height, this->getSampleSize()); 326 bm->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.scaledHeight(), 396 SkIRect subsetRect(SkIRect::MakeXYWH(imageLeft / sampler.srcDX(), 397 imageTop / sampler.srcDY(), 398 innerWidth / sampler.srcDX(), 399 innerHeight / sampler.srcDY())); 403 // Update the sampler. We'll now be only sampling into the subset. 404 sampler = SkScaledBitmapSampler(innerWidth, innerHeight, this->getSampleSize()); 414 if (!sampler.begin(workingBitmap, SkScaledBitmapSampler::kIndex, *this)) [all...] |
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
pp_program.h | 46 struct pipe_sampler_state sampler; /* bilinear */ member in struct:program
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_matrix_filter.h | 43 void *sampler; member in struct:vl_matrix_filter
|
vl_median_filter.h | 51 void *sampler; member in struct:vl_median_filter
|
vl_matrix_filter.c | 83 struct ureg_src sampler; local 97 sampler = ureg_DECL_sampler(shader, 0); 107 * t_array[0..*] = tex(t_array[0..*], sampler) 123 ureg_TEX(shader, t_array[i], TGSI_TEXTURE_2D, src, sampler); 158 struct pipe_sampler_state sampler; local 190 memset(&sampler, 0, sizeof(sampler)); 191 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 192 sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 193 sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE [all...] |
vl_median_filter.c | 83 struct ureg_src sampler; local 109 sampler = ureg_DECL_sampler(shader, 0); 117 * t_array[0..*] = tex(t_array[0..*], sampler) 132 ureg_TEX(shader, t_array[i], TGSI_TEXTURE_2D, src, sampler); 244 struct pipe_sampler_state sampler; local 276 memset(&sampler, 0, sizeof(sampler)); 277 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 278 sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 279 sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE [all...] |
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
sampler.hpp | 30 typedef struct _cl_sampler sampler; typedef in namespace:clover
|
/external/mesa3d/src/glsl/ |
ir_uniform.h | 99 * Base sampler index 102 * this sampler. If \c ::array_elements is not zero, the array will use 103 * sampler indexes \c ::sampler through \c ::sampler + \c ::array_elements 106 uint8_t sampler; member in struct:gl_uniform_storage
|
/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/ |
sample.rs | 25 void setSampleData(rs_allocation dest, rs_allocation source, rs_sampler sampler) { 28 allocSampler = sampler;
|
/external/skia/src/gpu/glsl/ |
GrGLSLShaderBuilder.cpp | 60 const GrGLSLTextureSampler& sampler, 65 GrSLType samplerType = uniformHandler->getUniformVariable(sampler.fSamplerUniform).getType(); 71 uniformHandler->getUniformCStr(sampler.fSamplerUniform), 72 uniformHandler->getUniformCStr(sampler.fSamplerUniform), 78 uniformHandler->getUniformCStr(sampler.fSamplerUniform), 79 uniformHandler->getUniformCStr(sampler.fSamplerUniform), 86 uniformHandler->getUniformCStr(sampler.fSamplerUniform), 93 const GrSwizzle& configSwizzle = glslCaps->configTextureSwizzle(sampler.config()); 100 void GrGLSLShaderBuilder::appendTextureLookup(const GrGLSLTextureSampler& sampler, 103 this->appendTextureLookup(&this->code(), sampler, coordName, varyingType) [all...] |
/external/mesa3d/src/mesa/main/ |
texobj.h | 92 /** Is the texture "complete" with respect to the given sampler state? */ 95 const struct gl_sampler_object *sampler) 98 (sampler->MagFilter != GL_NEAREST || 99 (sampler->MinFilter != GL_NEAREST && 100 sampler->MinFilter != GL_NEAREST_MIPMAP_NEAREST))) { 105 if (_mesa_is_mipmap_filter(sampler))
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
SamplingProfiler.java | 76 * A sampler is created every time profiling starts and cleared 80 private Sampler sampler; field in class:SamplingProfiler 280 if (sampler != null) { 283 sampler = new Sampler(); 285 timer.scheduleAtFixedRate(sampler, 0, interval); 293 if (sampler == null) { 296 synchronized(sampler) { 297 sampler.stop = true [all...] |
/external/v8/src/profiler/ |
cpu-profiler.cc | 24 sampler::Sampler* sampler, 28 sampler_(sampler), 286 sampler::Sampler* sampler = logger->sampler(); local 288 processor_.reset(new ProfilerEventsProcessor(generator_.get(), sampler, 304 sampler->SetHasProcessingThread(true) 339 sampler::Sampler* sampler = local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineReferenceRenderer.hpp | 172 const tcu::Sampler m_sampler; 179 SamplerFragmentShader (const tcu::TextureFormat& colorFormat, const TextureType& texture, const tcu::Sampler& sampler, float lod, const tcu::Vec4& lookupScale, const tcu::Vec4& lookupBias, const tcu::UVec4& swizzle) 184 , m_sampler (sampler) 202 static tcu::Vec4 sampleTexture (const tcu::Texture1D& texture, const tcu::Sampler& sampler, const tcu::Vec4& texCoord, float lod) 204 return texture.sample(sampler, texCoord.x(), lod); 207 static tcu::Vec4 sampleTexture (const tcu::Texture1DArray& texture, const tcu::Sampler& sampler, const tcu::Vec4& texCoord, float lod) 209 return texture.sample(sampler, texCoord.x(), texCoord.y(), lod) [all...] |
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/ |
fisheye_approx_f.rsh | 18 static rs_sampler sampler; 25 sampler = sam; 58 const float4 fout = rsSample(in_alloc, sampler, new_coord);
|