Searched refs:Sampler (Results 1 - 25 of 135) sorted by relevance

123456

/external/deqp/framework/common/
H A DtcuTexVerifierUtil.hpp57 // 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
[all...]
H A DtcuTexLookupVerifier.hpp108 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
[all...]
H A DtcuTexCompareVerifier.hpp55 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 DtcuTexture.hpp174 class Sampler class in namespace:tcu
256 Sampler (WrapMode wrapS_, function in class:tcu::Sampler
283 Sampler (void) function in class:tcu::Sampler
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
[all...]
H A DtcuTexVerifierUtil.cpp113 Sampler getUnnormalizedCoordSampler (const Sampler& sampler)
115 Sampler copy = sampler;
131 int wrap (Sampler::WrapMode mode, int c, int size)
137 case tcu::Sampler::CLAMP_TO_BORDER:
140 case tcu::Sampler::CLAMP_TO_EDGE:
143 case tcu::Sampler::REPEAT_GL:
144 case tcu::Sampler::REPEAT_CL:
147 case tcu::Sampler::MIRRORED_ONCE:
151 case tcu::Sampler
[all...]
H A DtcuTexture.cpp1542 static inline int wrap (Sampler::WrapMode mode, int c, int size)
1546 case tcu::Sampler::CLAMP_TO_BORDER:
1549 case tcu::Sampler::CLAMP_TO_EDGE:
1552 case tcu::Sampler::REPEAT_GL:
1555 case tcu::Sampler::REPEAT_CL:
1558 case tcu::Sampler::MIRRORED_ONCE:
1562 case tcu::Sampler::MIRRORED_REPEAT_GL:
1565 case tcu::Sampler::MIRRORED_REPEAT_CL:
1575 static inline float unnormalize (Sampler::WrapMode mode, float c, int size)
1579 case tcu::Sampler
[all...]
H A DtcuTextureUtil.hpp127 void scale (const PixelBufferAccess& dst, const ConstPixelBufferAccess& src, Sampler::FilterMode filter);
160 TextureFormat getEffectiveDepthStencilTextureFormat (const TextureFormat& baseFormat, Sampler::DepthStencilMode mode);
165 PixelBufferAccess getEffectiveDepthStencilAccess (const PixelBufferAccess& baseAccess, Sampler::DepthStencilMode mode);
166 ConstPixelBufferAccess getEffectiveDepthStencilAccess (const ConstPixelBufferAccess& baseAccess, Sampler::DepthStencilMode mode);
171 tcu::Texture1DView getEffectiveTextureView (const tcu::Texture1DView& src, std::vector<tcu::ConstPixelBufferAccess>& storage, const tcu::Sampler& sampler);
172 tcu::Texture2DView getEffectiveTextureView (const tcu::Texture2DView& src, std::vector<tcu::ConstPixelBufferAccess>& storage, const tcu::Sampler& sampler);
173 tcu::Texture3DView getEffectiveTextureView (const tcu::Texture3DView& src, std::vector<tcu::ConstPixelBufferAccess>& storage, const tcu::Sampler& sampler);
174 tcu::Texture1DArrayView getEffectiveTextureView (const tcu::Texture1DArrayView& src, std::vector<tcu::ConstPixelBufferAccess>& storage, const tcu::Sampler& sampler);
175 tcu::Texture2DArrayView getEffectiveTextureView (const tcu::Texture2DArrayView& src, std::vector<tcu::ConstPixelBufferAccess>& storage, const tcu::Sampler& sampler);
176 tcu::TextureCubeView getEffectiveTextureView (const tcu::TextureCubeView& src, std::vector<tcu::ConstPixelBufferAccess>& storage, const tcu::Sampler
[all...]
H A DtcuTestLog.cpp70 m_access = tcu::getEffectiveDepthStencilAccess(m_access, tcu::Sampler::MODE_DEPTH);
72 m_access = tcu::getEffectiveDepthStencilAccess(m_access, tcu::Sampler::MODE_STENCIL);
81 const ConstPixelBufferAccess depthAccess = tcu::getEffectiveDepthStencilAccess(m_access, tcu::Sampler::MODE_DEPTH);
82 const ConstPixelBufferAccess stencilAccess = tcu::getEffectiveDepthStencilAccess(m_access, tcu::Sampler::MODE_STENCIL);
111 m_access = tcu::getEffectiveDepthStencilAccess(access, tcu::Sampler::MODE_DEPTH);
113 m_access = tcu::getEffectiveDepthStencilAccess(access, tcu::Sampler::MODE_STENCIL);
129 const ConstPixelBufferAccess depthAccess = tcu::getEffectiveDepthStencilAccess(m_access, tcu::Sampler::MODE_DEPTH);
130 const ConstPixelBufferAccess stencilAccess = tcu::getEffectiveDepthStencilAccess(m_access, tcu::Sampler::MODE_STENCIL);
266 Sampler sampler (Sampler
[all...]
/external/deqp/external/vulkancts/framework/vulkan/
H A DvkImageUtil.hpp48 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
[all...]
H A DvkImageUtil.cpp650 VkFilter mapFilterMode (tcu::Sampler::FilterMode filterMode)
652 DE_STATIC_ASSERT(tcu::Sampler::FILTERMODE_LAST == 6);
656 case tcu::Sampler::NEAREST: return VK_FILTER_NEAREST;
657 case tcu::Sampler::LINEAR: return VK_FILTER_LINEAR;
658 case tcu::Sampler::NEAREST_MIPMAP_NEAREST: return VK_FILTER_NEAREST;
659 case tcu::Sampler::NEAREST_MIPMAP_LINEAR: return VK_FILTER_NEAREST;
660 case tcu::Sampler::LINEAR_MIPMAP_NEAREST: return VK_FILTER_LINEAR;
661 case tcu::Sampler::LINEAR_MIPMAP_LINEAR: return VK_FILTER_LINEAR;
669 VkSamplerMipmapMode mapMipmapMode (tcu::Sampler::FilterMode filterMode)
671 DE_STATIC_ASSERT(tcu::Sampler
[all...]
/external/deqp/framework/randomshaders/
H A DrsgSamplers.hpp43 Sampler2D (const tcu::Texture2D* texture, const tcu::Sampler& sampler)
56 tcu::Sampler m_sampler;
68 SamplerCube (const tcu::TextureCube* texture, const tcu::Sampler& sampler)
81 tcu::Sampler m_sampler;
H A DrsgProgramExecutor.hpp48 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);
/external/v8/src/libsampler/
H A Dv8-sampler.h17 // Sampler
23 class Sampler { class in namespace:v8::sampler
28 // Initializes the Sampler support. Called once at VM startup.
33 explicit Sampler(Isolate* isolate);
34 virtual ~Sampler();
47 // Whether the sampling thread should use this Sampler for CPU profiling?
97 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler);
H A Dv8-sampler.cc163 typedef std::vector<Sampler*> SamplerList;
210 class Sampler::PlatformData {
223 void AddSampler(Sampler* sampler) {
252 void RemoveSampler(Sampler* sampler) {
286 Sampler* sampler = samplers[i];
314 class Sampler::PlatformData {
560 void Sampler::SetUp() {
567 void Sampler::TearDown() {
573 Sampler::Sampler(Isolat function in class:v8::sampler::Sampler
[all...]
/external/deqp/framework/opengl/
H A DgluTextureUtil.hpp64 tcu::Sampler mapGLSampler (deUint32 wrapS, deUint32 minFilter, deUint32 magFilter);
65 tcu::Sampler mapGLSampler (deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter);
66 tcu::Sampler mapGLSampler (deUint32 wrapS, deUint32 wrapT, deUint32 wrapR, deUint32 minFilter, deUint32 magFilter);
67 tcu::Sampler::CompareMode mapGLCompareFunc (deUint32 mode);
73 deUint32 getGLWrapMode (tcu::Sampler::WrapMode wrapMode);
74 deUint32 getGLFilterMode (tcu::Sampler::FilterMode filterMode);
75 deUint32 getGLCompareFunc (tcu::Sampler::CompareMode compareMode);
H A DgluTextureUtil.cpp617 static inline tcu::Sampler::WrapMode mapGLWrapMode (deUint32 wrapMode)
621 case GL_CLAMP_TO_EDGE: return tcu::Sampler::CLAMP_TO_EDGE;
622 case GL_CLAMP_TO_BORDER: return tcu::Sampler::CLAMP_TO_BORDER;
623 case GL_REPEAT: return tcu::Sampler::REPEAT_GL;
624 case GL_MIRRORED_REPEAT: return tcu::Sampler::MIRRORED_REPEAT_GL;
630 static inline tcu::Sampler::FilterMode mapGLMinFilterMode (deUint32 filterMode)
634 case GL_NEAREST: return tcu::Sampler::NEAREST;
635 case GL_LINEAR: return tcu::Sampler::LINEAR;
636 case GL_NEAREST_MIPMAP_NEAREST: return tcu::Sampler::NEAREST_MIPMAP_NEAREST;
637 case GL_NEAREST_MIPMAP_LINEAR: return tcu::Sampler
[all...]
/external/mesa3d/src/mesa/main/
H A Dtexparam.c259 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
[all...]
H A Dsamplerobj.h34 if (ctx->Texture.Unit[unit].Sampler)
35 return ctx->Texture.Unit[unit].Sampler;
37 return &ctx->Texture.Unit[unit]._Current->Sampler;
H A Dtexobj.c129 obj->Sampler.WrapS = GL_CLAMP_TO_EDGE;
130 obj->Sampler.WrapT = GL_CLAMP_TO_EDGE;
131 obj->Sampler.WrapR = GL_CLAMP_TO_EDGE;
132 obj->Sampler.MinFilter = GL_LINEAR;
135 obj->Sampler.WrapS = GL_REPEAT;
136 obj->Sampler.WrapT = GL_REPEAT;
137 obj->Sampler.WrapR = GL_REPEAT;
138 obj->Sampler.MinFilter = GL_NEAREST_MIPMAP_LINEAR;
140 obj->Sampler.MagFilter = GL_LINEAR;
141 obj->Sampler
[all...]
/external/v8/test/cctest/libsampler/
H A Dtest-sampler.cc21 explicit TestSamplingThread(Sampler* sampler)
35 Sampler* sampler_;
39 class TestSampler : public Sampler {
41 explicit TestSampler(Isolate* isolate) : Sampler(isolate) {}
44 void* frames[Sampler::kMaxFramesCount];
47 Sampler::kMaxFramesCount, &sample_info);
76 Sampler::SetUp();
92 Sampler::TearDown();
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
H A DAggregateAllocationsRecorder.java20 import com.google.monitoring.runtime.instrumentation.Sampler;
35 private final Sampler sampler = new Sampler() {
H A DAllAllocationsRecorder.java23 import com.google.monitoring.runtime.instrumentation.Sampler;
38 private final Sampler sampler = new Sampler() {
/external/deqp/modules/gles31/functional/
H A Des31fTextureGatherTests.cpp508 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DView& texture, const tcu::Sampler& sampler, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4])
514 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4])
520 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4])
527 static Vec4 gatherOffsetsCompare (const tcu::Texture2DView& texture, const tcu::Sampler& sampler, float refZ, const Vec2& coord, const IVec2 (&offsets)[4])
532 static Vec4 gatherOffsetsCompare (const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampler, float refZ, const Vec3& coord, const IVec2 (&offsets)[4])
537 static Vec4 gatherOffsetsCompare (const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, float refZ, const Vec3& coord, const IVec2 (&offsets)[4])
546 const tcu::Sampler& sampler,
559 const tcu::Sampler& sampler,
576 const tcu::Sampler& sampler,
656 const tcu::Sampler
[all...]
H A Des31fTextureBorderClampTests.cpp93 bool isDepthFormat (deUint32 format, tcu::Sampler::DepthStencilMode mode)
111 DE_ASSERT(mode == tcu::Sampler::MODE_DEPTH);
114 else if (fmt.order == tcu::TextureFormat::DS && mode == tcu::Sampler::MODE_DEPTH)
121 bool isStencilFormat (deUint32 format, tcu::Sampler::DepthStencilMode mode)
139 DE_ASSERT(mode == tcu::Sampler::MODE_STENCIL);
142 else if (fmt.order == tcu::TextureFormat::DS && mode == tcu::Sampler::MODE_STENCIL)
149 tcu::TextureChannelClass getFormatChannelClass (deUint32 format, tcu::Sampler::DepthStencilMode mode)
288 if (isDepthFormat(texFormat, tcu::Sampler::MODE_DEPTH) || isStencilFormat(texFormat, tcu::Sampler::MODE_STENCIL))
294 if (isDepthFormat(texFormat, tcu::Sampler
[all...]
/external/deqp/modules/glshared/
H A DglsShaderRenderCase.hpp88 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);
101 const tcu::Sampler& getSampler (void) const { return m_sampler; }
109 tcu::Sampler m_sampler;
133 tcu::Sampler sampler;

Completed in 1980 milliseconds

123456