/frameworks/compile/slang/tests/P_kernel_cpp/ |
kernel_cpp.rs | 17 rs_sampler sampler;
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
UT_apitest.java | 48 Sampler sampler = Sampler.CLAMP_NEAREST(pRS); local 53 s.set_samplerNonNull(sampler);
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
UT_apitest.java | 48 Sampler sampler = Sampler.CLAMP_NEAREST(pRS); local 53 s.set_samplerNonNull(sampler);
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/ |
YVURenderer.h | 32 // Sampler location
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
set_object.rs | 27 rs_sampler sampler; 33 rsSetObject(&dst,in->sampler); 34 *out = ( dst.p == in->sampler.p ? 1 : 0 );
|
/external/deqp/framework/common/ |
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 (…) [all...] |
/external/llvm/test/CodeGen/NVPTX/ |
tex-read.ll | 8 define void @foo(i64 %img, i64 %sampler, float* %red, i32 %idx) { 10 %val = tail call { float, float, float, float } @llvm.nvvm.tex.1d.v4f32.s32(i64 %img, i64 %sampler, i32 %idx) 20 !3 = !{void (i64, i64, float*, i32)* @foo, !"sampler", i32 1}
|
/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...] |
/frameworks/rs/driver/ |
rsdSampler.cpp | 36 bool rsdSamplerInit(const Context *, const Sampler *s) { 41 const android::renderscript::Sampler *s) { 45 const Sampler *alloc,
|
rsdSampler.h | 24 const android::renderscript::Sampler *); 27 const android::renderscript::Sampler *); 30 const android::renderscript::Sampler *,
|
/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/ |
SampleRSActivity.java | 30 import android.renderscript.Sampler; 45 private Sampler mSampler; 47 TextureViewUpdater(Allocation outAlloc, Sampler sampler) { 49 mSampler = sampler; 119 TextureViewUpdater updater = new TextureViewUpdater(outAlloc, Sampler.WRAP_LINEAR(mRS)); 125 updater = new TextureViewUpdater(outAlloc, Sampler.CLAMP_LINEAR(mRS)); 131 updater = new TextureViewUpdater(outAlloc, Sampler.WRAP_NEAREST(mRS)); 137 updater = new TextureViewUpdater(outAlloc, Sampler.CLAMP_NEAREST(mRS)); 155 private synchronized void filterAlloc(Allocation alloc, Sampler sampler) [all...] |
/external/mesa3d/src/mesa/main/ |
samplerobj.c | 65 /* Unreference the old sampler */ 89 /* reference new sampler */ 92 /* this sampler's being deleted (look just above) */ 94 _mesa_problem(NULL, "referencing deleted sampler object"); 111 * Initialize the fields of the given sampler object. 184 /* Insert the ID and pointer to new sampler object into hash table */ 228 _mesa_IsSampler(GLuint sampler) 235 if (sampler == 0) 238 sampObj = _mesa_lookup_samplerobj(ctx, sampler); 245 _mesa_BindSampler(GLuint unit, GLuint sampler) [all...] |
samplerobj.h | 34 if (ctx->Texture.Unit[unit].Sampler) 35 return ctx->Texture.Unit[unit].Sampler; 37 return &ctx->Texture.Unit[unit]._Current->Sampler; 83 _mesa_BindSampler(GLuint unit, GLuint sampler); 92 _mesa_SamplerParameteri(GLuint sampler, GLenum pname, GLint param);
|
texparam.c | 259 if (texObj->Sampler.MinFilter == params[0]) 265 texObj->Sampler.MinFilter = params[0]; 274 texObj->Sampler.MinFilter = params[0]; 284 if (texObj->Sampler.MagFilter == params[0]) 290 texObj->Sampler.MagFilter = params[0]; 298 if (texObj->Sampler.WrapS == params[0]) 302 texObj->Sampler.WrapS = params[0]; 308 if (texObj->Sampler.WrapT == params[0]) 312 texObj->Sampler.WrapT = params[0]; 318 if (texObj->Sampler.WrapR == params[0] [all...] |
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))
|
/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...] |
/external/mesa3d/src/mesa/program/ |
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, 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/deqp/modules/glshared/ |
glsShaderRenderCase.hpp | 88 TextureBinding (const glu::Texture2D* tex2D, const tcu::Sampler& sampler); 89 TextureBinding (const glu::TextureCube* texCube, const tcu::Sampler& sampler); 90 TextureBinding (const glu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler); 91 TextureBinding (const glu::Texture3D* tex3D, const tcu::Sampler& sampler); 94 void setSampler (const tcu::Sampler& sampler); 133 tcu::Sampler sampler; member in struct:deqp::gls::ShaderEvalContext::ShaderSampler [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/v8/src/profiler/ |
sampler.cc | 5 #include "src/profiler/sampler.h" 243 class Sampler::PlatformData : public PlatformDataCommon { 255 // Win32 profiler support. On Cygwin we use the same sampler implementation as 258 class Sampler::PlatformData : public PlatformDataCommon { 262 // going to use it in the sampler thread. Using GetThreadHandle() will 427 Sampler* sampler = isolate->logger()->sampler(); local 428 if (sampler == NULL) return; 562 sampler->SampleStack(state) 630 Sampler* sampler = active_samplers_.at(i); local [all...] |
/external/deqp/modules/gles31/functional/ |
es31fTextureGatherTests.cpp | 508 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DView& texture, const tcu::Sampler& sampler, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4]) 510 return texture.gatherOffsets(sampler, coord.x(), coord.y(), componentNdx, offsets).cast<ColorScalarType>(); 514 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4]) 516 return texture.gatherOffsets(sampler, coord.x(), coord.y(), coord.z(), componentNdx, offsets).cast<ColorScalarType>(); 520 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4]) 524 return texture.gather(sampler, coord.x(), coord.y(), coord.z(), componentNdx).cast<ColorScalarType>(); 527 static Vec4 gatherOffsetsCompare (const tcu::Texture2DView& texture, const tcu::Sampler& sampler, float refZ, const Vec2& coord, const IVec2 (&offsets)[4] 1489 tcu::Sampler sampler; local [all...] |
/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;
|
/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
|
/external/libxml2/test/schemas/ |
bug321475_1.xsd | 16 <xs:element ref="sampler" maxOccurs="unbounded"/> 24 <xs:element ref="sampler" maxOccurs="unbounded"/> 40 <xs:element name="sampler"/>
|