/external/deqp/framework/common/ |
tcuTexVerifierUtil.hpp | 57 // Sampler introspection 59 inline bool isNearestMipmapFilter (const Sampler::FilterMode mode) 61 return mode == Sampler::NEAREST_MIPMAP_NEAREST || mode == Sampler::LINEAR_MIPMAP_NEAREST; 64 inline bool isLinearMipmapFilter (const Sampler::FilterMode mode) 66 return mode == Sampler::NEAREST_MIPMAP_LINEAR || mode == Sampler::LINEAR_MIPMAP_LINEAR; 69 inline bool isMipmapFilter (const Sampler::FilterMode mode) 74 inline bool isLinearFilter (const Sampler::FilterMode mode) 76 return mode == Sampler::LINEAR || mode == Sampler::LINEAR_MIPMAP_NEAREST || mode == Sampler::LINEAR_MIPMAP_LINEAR [all...] |
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) [all...] |
tcuTexture.cpp | [all...] |
tcuTexLookupVerifier.cpp | 39 static bool isSamplerSupported (const Sampler& sampler) 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) 61 return sampleTextureBorder<ScalarType>(access.getFormat(), sampler); 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 [all...] |
tcuTexture.hpp | 174 class Sampler 256 Sampler (WrapMode wrapS_, 283 Sampler (void) 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 [all...] |
tcuTexCompareVerifier.cpp | 38 static bool isSamplerSupported (const Sampler& sampler) 40 return sampler.compare != Sampler::COMPAREMODE_NONE && 41 isWrapModeSupported(sampler.wrapS) && 42 isWrapModeSupported(sampler.wrapT) && 43 isWrapModeSupported(sampler.wrapR); 59 static CmpResultSet execCompare (const Sampler::CompareMode compareMode, 73 case Sampler::COMPAREMODE_LESS: 78 case Sampler::COMPAREMODE_LESS_OR_EQUAL [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_wm_sampler_state.c | 82 upload_default_color(struct brw_context *brw, struct gl_sampler_object *sampler, 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 state for a single unit based off of the sampler ke [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
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) 161 FREE(sampler); 181 struct draw_llvm_sampler_soa *sampler = (struct draw_llvm_sampler_soa *)base; local 186 &sampler->dynamic_state.static_state[unit] 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/ |
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) 166 FREE(sampler); 186 struct lp_llvm_sampler_soa *sampler = (struct lp_llvm_sampler_soa *)base; local 196 &sampler->dynamic_state.static_state[unit] 217 struct lp_llvm_sampler_soa *sampler = (struct lp_llvm_sampler_soa *)base; local 235 struct lp_llvm_sampler_soa *sampler; local [all...] |
/frameworks/base/rs/java/android/renderscript/ |
Sampler.java | 20 * Sampler object that defines how Allocations can be read as textures within a 24 * Any Allocation used with a Sampler must have been created with {@link 25 * android.renderscript.Allocation#USAGE_GRAPHICS_TEXTURE}; using a Sampler on 29 public class Sampler extends BaseObj { 52 Sampler(long id, RenderScript rs) { 58 * @return minification setting for the sampler 65 * @return magnification setting for the sampler 72 * @return S wrapping mode for the sampler 79 * @return T wrapping mode for the sampler 86 * @return anisotropy setting for the sampler 378 Sampler sampler = new Sampler(id, mRS); local [all...] |
/frameworks/rs/cpp/ |
Sampler.cpp | 23 Sampler::Sampler(sp<RS> rs, void* id): 33 Sampler::Sampler(sp<RS> rs, void* id, RsSamplerValue min, RsSamplerValue mag, 44 RsSamplerValue Sampler::getMinification() { 48 RsSamplerValue Sampler::getMagnification() { 52 RsSamplerValue Sampler::getWrapS() { 56 RsSamplerValue Sampler::getWrapT() { 60 float Sampler::getAnisotropy() { 64 sp<Sampler> Sampler::create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
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->normalized_coords = 1 229 struct pipe_sampler_state *sampler = samplers + unit; local [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
Sampler.java | 31 * Sampler object that defines how Allocations can be read as textures within a 35 * Any Allocation used with a Sampler must have been created with {@link 37 * Sampler on an {@link android.support.v8.renderscript.Allocation} that was not 42 public class Sampler extends BaseObj { 65 Sampler(long id, RenderScript rs) { 70 * @return minification setting for the sampler 77 * @return magnification setting for the sampler 84 * @return S wrapping mode for the sampler 91 * @return T wrapping mode for the sampler 98 * @return anisotropy setting for the sampler 334 Sampler sampler = new Sampler(id, mRS); local [all...] |
/external/mesa3d/src/mapi/glapi/gen/ |
ARB_sampler_objects.xml | 21 <param name="sampler" type="GLuint"/> 27 <param name="sampler" type="GLuint"/> 31 <param name="sampler" type="GLuint"/> 37 <param name="sampler" type="GLuint"/> 43 <param name="sampler" type="GLuint"/> 49 <param name="sampler" type="GLuint"/> 55 <param name="sampler" type="GLuint"/> 61 <param name="sampler" type="GLuint"/> 67 <param name="sampler" type="GLuint"/> 73 <param name="sampler" type="GLuint"/ [all...] |
/external/skia/src/gpu/vk/ |
GrVkSampler.h | 23 VkSampler sampler() const { return fSampler; } function in class:GrVkSampler 26 GrVkSampler(VkSampler sampler) : INHERITED(), fSampler(sampler) {}
|
/external/mesa3d/src/gallium/drivers/svga/ |
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->wrap_r) [all...] |
/external/deqp/doc/testspecs/GLES3/ |
functional.texture.sampler.txt | 19 Sampler tests 22 + dEQP-GLES2.functional.texture.sampler.* 25 + Creating and deleting sampler objects 26 + Setting sampler parameters 30 + Verify that sampler state supercedes texture state 35 + Sampler queries 40 Sampler tests construct a sampler object with selected parameters. Sampler
|
/external/skia/src/images/ |
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;
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
clear_object.rs | 20 rs_sampler sampler; 24 rsClearObject( &sampler ); 25 *out = ( NULL == sampler.p ? 1 : 0 );
|
/cts/tests/tests/rscpp/librscpptest/ |
clear_object.rs | 20 rs_sampler sampler; 24 rsClearObject( &sampler ); 25 *out = ( NULL == sampler.p ? 1 : 0 );
|
/frameworks/rs/ |
rsSampler.h | 37 class Sampler : public ObjectBase { 56 static ObjectBaseRef<Sampler> getSampler(Context *, 68 static Sampler *createFromStream(Context *rsc, IStream *stream); 74 virtual ~Sampler(); 77 Sampler(Context *); 78 Sampler(Context *, 90 ObjectBaseRef<Sampler> mSamplers[RS_MAX_SAMPLER_SLOT]; 99 Vector<Sampler *> mAllSamplers;
|
/ndk/docs/Additional_library_docs/renderscript/ |
classandroid_1_1RSC_1_1Sampler.html | 6 <title>android::RSC::Sampler Class Reference</title> 28 <li class="navelem"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> </li> 37 <div class="title">android::RSC::Sampler Class Reference</div> </div> 40 <!-- doxytag: class="android::RSC::Sampler" --><!-- doxytag: inherits="android::RSC::BaseObj" --> 43 Inheritance diagram for android::RSC::Sampler:</div> 61 <tr><td class="memItemLeft" align="right" valign="top">static sp< <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a579e236fabaca164d0639bcb9c95a169">create</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy)</td></tr> 62 <tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a0518c8081002dd7c5633c85a79e9c2f6">CLAMP_NEAREST</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 63 <tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a06c0a2b5a1c589855bdfa568ab3af5d7">CLAMP_LINEAR</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 64 <tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a3eab76d9b2f713959e69e54dc5041ba8">CLAMP_LINEAR_MIP_LINEAR</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 65 <tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RS (…) [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkImageUtil.hpp | 48 tcu::Sampler mapVkSampler (const VkSamplerCreateInfo& samplerCreateInfo); 49 tcu::Sampler::CompareMode mapVkSamplerCompareOp (VkCompareOp compareOp); 50 tcu::Sampler::WrapMode mapVkSamplerAddressMode (VkSamplerAddressMode addressMode); 51 tcu::Sampler::FilterMode mapVkMinTexFilter (VkFilter filter, VkSamplerMipmapMode mipMode); 52 tcu::Sampler::FilterMode mapVkMagTexFilter (VkFilter filter); 57 VkFilter mapFilterMode (tcu::Sampler::FilterMode filterMode); 58 VkSamplerMipmapMode mapMipmapMode (tcu::Sampler::FilterMode filterMode); 59 VkSamplerAddressMode mapWrapMode (tcu::Sampler::WrapMode wrapMode); 60 VkCompareOp mapCompareMode (tcu::Sampler::CompareMode mode); 62 VkSamplerCreateInfo mapSampler (const tcu::Sampler& sampler, const tcu::TextureFormat& format) [all...] |
/external/v8/src/profiler/ |
sampler.h | 21 // Sampler 23 // A sampler periodically samples the state of the VM and optionally 62 class Sampler { 64 // Initializes the Sampler support. Called once at VM startup. 68 // Initialize sampler. 69 Sampler(Isolate* isolate, int interval); 70 virtual ~Sampler(); 78 // Start and stop sampler. 82 // Whether the sampling thread should use this Sampler for CPU profiling? 90 // Whether the sampler is running (that is, consumes resources) [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
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...] |