Searched refs:Sampler (Results 1 - 25 of 144) 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 DtcuTexture.hpp124 class Sampler class in namespace:tcu
190 Sampler (WrapMode wrapS_, function in class:tcu::Sampler
215 Sampler (void) function in class:tcu::Sampler
271 Vec4 sample1D (const Sampler& sampler, Sampler::FilterMode filter, float s, int level) const;
272 Vec4 sample2D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, int depth) const;
273 Vec4 sample3D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, float r) const;
275 Vec4 sample1DOffset (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.cpp1110 static inline int wrap (Sampler::WrapMode mode, int c, int size)
1114 case tcu::Sampler::CLAMP_TO_BORDER:
1117 case tcu::Sampler::CLAMP_TO_EDGE:
1120 case tcu::Sampler::REPEAT_GL:
1123 case tcu::Sampler::REPEAT_CL:
1126 case tcu::Sampler::MIRRORED_REPEAT_GL:
1129 case tcu::Sampler::MIRRORED_REPEAT_CL:
1139 static inline float unnormalize (Sampler::WrapMode mode, float c, int size)
1143 case tcu::Sampler::CLAMP_TO_EDGE:
1144 case tcu::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_REPEAT_GL:
148 case tcu::Sampler
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dsampler.cc59 // Statics for Sampler
60 double Sampler::log_table_[1<<kFastlogNumBits];
65 void Sampler::PopulateFastLog2Table() {
72 int Sampler::GetSamplePeriod() {
77 void Sampler::Init(uint32_t seed) {
95 // Initialize the Statics for the Sampler class
96 void Sampler::InitStatics() {
111 size_t Sampler::PickNextSamplingPoint() {
H A Dsampler.h50 // Sampler to decide when to create a sample trace for an allocation
102 class PERFTOOLS_DLL_DECL Sampler { class in namespace:tcmalloc
117 // Initialize the statics for the Sampler class
140 inline bool Sampler::SampleAllocation(size_t k) {
155 inline uint64_t Sampler::NextRandom(uint64_t rnd) {
166 inline double Sampler::FastLog2(const double & d) {
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dsampler.cc59 // Statics for Sampler
60 double Sampler::log_table_[1<<kFastlogNumBits];
65 void Sampler::PopulateFastLog2Table() {
72 int Sampler::GetSamplePeriod() {
77 void Sampler::Init(uint32_t seed) {
95 // Initialize the Statics for the Sampler class
96 void Sampler::InitStatics() {
111 size_t Sampler::PickNextSamplingPoint() {
H A Dsampler.h50 // Sampler to decide when to create a sample trace for an allocation
102 class PERFTOOLS_DLL_DECL Sampler { class in namespace:tcmalloc
117 // Initialize the statics for the Sampler class
140 inline bool Sampler::SampleAllocation(size_t k) {
155 inline uint64_t Sampler::NextRandom(uint64_t rnd) {
166 inline double Sampler::FastLog2(const double & d) {
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DSampler.cpp7 // Sampler.cpp : Implements the Sampler class, which represents a GLES 3
8 // sampler object. Sampler objects store some state needed to sample textures.
10 #include "libGLESv2/Sampler.h"
16 Sampler::Sampler(GLuint id) function in class:gl::Sampler
30 void Sampler::getState(SamplerState *samplerState) const
/external/deqp/framework/opengl/
H A DgluTextureUtil.hpp62 tcu::Sampler mapGLSampler (deUint32 wrapS, deUint32 minFilter, deUint32 magFilter);
63 tcu::Sampler mapGLSampler (deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter);
64 tcu::Sampler mapGLSampler (deUint32 wrapS, deUint32 wrapT, deUint32 wrapR, deUint32 minFilter, deUint32 magFilter);
65 tcu::Sampler::CompareMode mapGLCompareFunc (deUint32 mode);
71 deUint32 getGLWrapMode (tcu::Sampler::WrapMode wrapMode);
72 deUint32 getGLFilterMode (tcu::Sampler::FilterMode filterMode);
73 deUint32 getGLCompareFunc (tcu::Sampler::CompareMode compareMode);
H A DgluTextureUtil.cpp494 static inline tcu::Sampler::WrapMode mapGLWrapMode (deUint32 wrapMode)
498 case GL_CLAMP_TO_EDGE: return tcu::Sampler::CLAMP_TO_EDGE;
499 case GL_CLAMP_TO_BORDER: return tcu::Sampler::CLAMP_TO_BORDER;
500 case GL_REPEAT: return tcu::Sampler::REPEAT_GL;
501 case GL_MIRRORED_REPEAT: return tcu::Sampler::MIRRORED_REPEAT_GL;
507 static inline tcu::Sampler::FilterMode mapGLFilterMode (deUint32 filterMode)
511 case GL_NEAREST: return tcu::Sampler::NEAREST;
512 case GL_LINEAR: return tcu::Sampler::LINEAR;
513 case GL_NEAREST_MIPMAP_NEAREST: return tcu::Sampler::NEAREST_MIPMAP_NEAREST;
514 case GL_NEAREST_MIPMAP_LINEAR: return 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/chromium_org/third_party/mesa/src/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/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/chromium_org/v8/src/
H A Dsampler.h18 // Sampler
56 class Sampler { class in namespace:v8::internal
58 // Initializes the Sampler support. Called once at VM startup.
63 Sampler(Isolate* isolate, int interval);
64 virtual ~Sampler();
76 // Whether the sampling thread should use this Sampler for CPU profiling?
123 DISALLOW_IMPLICIT_CONSTRUCTORS(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...]
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dsampler_test.cc53 #include "sampler.h" // The Sampler class being tested
119 TEST(Sampler, TestGetSamplePeriod) {
120 tcmalloc::Sampler sampler;
224 tcmalloc::Sampler sampler;
255 TEST(Sampler, TestNextRandom_MultipleValues) {
267 tcmalloc::Sampler sampler;
298 TEST(Sampler, TestPickNextSample_MultipleValues) {
312 tcmalloc::Sampler sampler;
331 TEST(Sampler, FastLog2) {
332 tcmalloc::Sampler sample
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dsampler_test.cc53 #include "sampler.h" // The Sampler class being tested
119 TEST(Sampler, TestGetSamplePeriod) {
120 tcmalloc::Sampler sampler;
224 tcmalloc::Sampler sampler;
255 TEST(Sampler, TestNextRandom_MultipleValues) {
267 tcmalloc::Sampler sampler;
298 TEST(Sampler, TestPickNextSample_MultipleValues) {
312 tcmalloc::Sampler sampler;
331 TEST(Sampler, FastLog2) {
332 tcmalloc::Sampler sample
[all...]

Completed in 1548 milliseconds

123456