HomeSort by relevance Sort by last modified time
    Searched full:sampler (Results 101 - 125 of 1009) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/skia/src/gpu/vk/
GrVkSampler.cpp 62 VkSampler sampler; local
66 &sampler));
68 return new GrVkSampler(sampler);
  /external/llvm/test/CodeGen/AMDGPU/
sampler-resource-id.ll 10 %0 = call i32 @llvm.OpenCL.sampler.get.resource.id(i32 %in0) #0
22 %0 = call i32 @llvm.OpenCL.sampler.get.resource.id(i32 %in1) #0
34 %0 = call i32 @llvm.OpenCL.sampler.get.resource.id(i32 %in2) #0
40 declare i32 @llvm.OpenCL.sampler.get.resource.id(i32) #0
  /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/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...]
  /frameworks/compile/slang/tests/P_export_types_v20/
export_types.rs 24 rs_sampler sampler;
  /frameworks/native/opengl/tools/glgen/specs/gles11/
GLES31Ext.spec 31 void glSamplerParameterIivEXT ( GLuint sampler, GLenum pname, const GLint *param )
32 void glSamplerParameterIuivEXT ( GLuint sampler, GLenum pname, const GLuint *param )
33 void glGetSamplerParameterIivEXT ( GLuint sampler, GLenum pname, GLint *params )
34 void glGetSamplerParameterIuivEXT ( GLuint sampler, GLenum pname, GLuint *params )
  /frameworks/rs/
rsProgram.h 38 // Texture lookups go though a sampler which in effect converts normalized
47 Sampler **samplers;
71 void bindSampler(Context *, uint32_t slot, Sampler *);
75 ObjectBaseRef<Sampler> *mSamplers;
  /external/deqp/modules/glshared/
glsSamplerObjectTest.cpp 21 * \brief Sampler object testcases.
101 void TextureSamplerTest::setSamplerState (const glw::Functions& gl, SamplingState state, GLuint sampler)
103 gl.samplerParameteri(sampler, GL_TEXTURE_MIN_FILTER, state.minFilter);
104 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_MIN_FILTER, state.minFilter)");
105 gl.samplerParameteri(sampler, GL_TEXTURE_MAG_FILTER, state.magFilter);
106 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_MAG_FILTER, state.magFilter)");
107 gl.samplerParameteri(sampler, GL_TEXTURE_WRAP_S, state.wrapS);
108 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_WRAP_S, state.wrapS)");
109 gl.samplerParameteri(sampler, GL_TEXTURE_WRAP_T, state.wrapT);
110 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_WRAP_T, state.wrapT)")
514 GLuint sampler = -1; local
1077 GLuint sampler = -1; local
    [all...]
  /external/mesa3d/src/mesa/main/
texobj.c 126 /* sampler state */
129 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
    [all...]
  /external/mesa3d/src/gallium/tests/trivial/
quad-tex.c 73 struct pipe_sampler_state sampler; member in struct:program
154 /* sampler texture */
207 /* sampler */
208 memset(&p->sampler, 0, sizeof(p->sampler));
209 p->sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
210 p->sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
211 p->sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
212 p->sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE;
213 p->sampler.min_img_filter = PIPE_TEX_MIPFILTER_LINEAR
    [all...]
  /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;
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
ClearObjectTest.java 22 import android.renderscript.Sampler;
112 Sampler sampler = new Sampler.Builder(mRS).create(); local
115 ms_clear.set_sampler(sampler);
IsObjectTest.java 35 Sampler sampler; field in class:IsObjectTest
48 sampler = new Sampler.Builder(mRS).create();
128 mItem.sampler = sampler;
142 Assert.assertTrue("rsIsObject sampler test fail: " + "Expect 1;value "
  /external/caliper/caliper/src/main/java/com/google/caliper/worker/
AllAllocationsRecorder.java 23 import com.google.monitoring.runtime.instrumentation.Sampler;
38 private final Sampler sampler = new Sampler() { field in class:AllAllocationsRecorder
76 com.google.monitoring.runtime.instrumentation.AllocationRecorder.addSampler(sampler);
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Fisheye.java 21 import android.renderscript.Sampler;
103 mScript_approx_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS));
107 mScript_approx_full.set_sampler(Sampler.CLAMP_LINEAR(mRS));
112 mScript_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS));
116 mScript_full.set_sampler(Sampler.CLAMP_LINEAR(mRS));
  /frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Fisheye.java 21 import android.renderscript.Sampler;
108 mScript_approx_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS));
112 mScript_approx_full.set_sampler(Sampler.CLAMP_LINEAR(mRS));
117 mScript_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS));
121 mScript_full.set_sampler(Sampler.CLAMP_LINEAR(mRS));
  /external/deqp/modules/gles2/functional/
es2fTextureFormatTests.cpp 60 using tcu::Sampler;
154 renderParams.sampler = Sampler(Sampler::CLAMP_TO_EDGE, Sampler::CLAMP_TO_EDGE, Sampler::CLAMP_TO_EDGE, Sampler::NEAREST, Sampler::NEAREST);
325 renderParams.sampler = Sampler(Sampler::CLAMP_TO_EDGE, Sampler::CLAMP_TO_EDGE, Sampler::CLAMP_TO_EDGE, Sampler::NEAREST, Sampler: (…)
    [all...]
  /external/mesa3d/src/gallium/drivers/i915/
i915_state.c 220 const struct pipe_sampler_state *sampler)
223 const unsigned ws = sampler->wrap_s;
224 const unsigned wt = sampler->wrap_t;
225 const unsigned wr = sampler->wrap_r;
229 cso->templ = *sampler;
231 mipFilt = translate_mip_filter(sampler->min_mip_filter);
232 minFilt = translate_img_filter( sampler->min_img_filter );
233 magFilt = translate_img_filter( sampler->mag_img_filter );
235 if (sampler->max_anisotropy > 1)
238 if (sampler->max_anisotropy > 2)
    [all...]
  /external/deqp/framework/opengl/
gluTextureUtil.cpp 617 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
    [all...]
  /external/mesa3d/src/glsl/builtins/profiles/
110.glsl 293 vec4 texture1D (sampler1D sampler, float coord);
294 vec4 texture1DProj (sampler1D sampler, vec2 coord);
295 vec4 texture1DProj (sampler1D sampler, vec4 coord);
297 vec4 texture2D (sampler2D sampler, vec2 coord);
298 vec4 texture2DProj (sampler2D sampler, vec3 coord);
299 vec4 texture2DProj (sampler2D sampler, vec4 coord);
301 vec4 texture3D (sampler3D sampler, vec3 coord);
302 vec4 texture3DProj (sampler3D sampler, vec4 coord);
304 vec4 textureCube (samplerCube sampler, vec3 coord);
306 vec4 shadow1D (sampler1DShadow sampler, vec3 coord)
    [all...]
120.glsl 325 vec4 texture1D (sampler1D sampler, float coord);
326 vec4 texture1DProj (sampler1D sampler, vec2 coord);
327 vec4 texture1DProj (sampler1D sampler, vec4 coord);
329 vec4 texture2D (sampler2D sampler, vec2 coord);
330 vec4 texture2DProj (sampler2D sampler, vec3 coord);
331 vec4 texture2DProj (sampler2D sampler, vec4 coord);
333 vec4 texture3D (sampler3D sampler, vec3 coord);
334 vec4 texture3DProj (sampler3D sampler, vec4 coord);
336 vec4 textureCube (samplerCube sampler, vec3 coord);
338 vec4 shadow1D (sampler1DShadow sampler, vec3 coord)
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_blit.c 65 struct pipe_sampler_state sampler; member in struct:blit_state
125 ctx->sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
126 ctx->sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
127 ctx->sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
128 ctx->sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE;
129 ctx->sampler.min_img_filter = 0; /* set later */
130 ctx->sampler.mag_img_filter = 0; /* set later */
681 /* default sampler state */
682 ctx->sampler.normalized_coords = normalized;
683 ctx->sampler.min_img_filter = filter
    [all...]
  /external/deqp/android/cts/master/
gles31-master.txt     [all...]
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_mc.c 163 struct ureg_src tc[2], sampler; local
175 sampler = ureg_DECL_sampler(shader, 0);
192 * fragment.xyz = tex(ref, sampler[0])
214 ureg_TEX(shader, ureg_writemask(fragment, TGSI_WRITEMASK_XYZ), TGSI_TEXTURE_2D, ureg_src(ref), sampler);
333 * fragment.xyz = tex(tc, sampler) * scale + tc.z
374 struct pipe_sampler_state sampler; local
381 memset(&sampler, 0, sizeof(sampler));
382 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
383 sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE
    [all...]

Completed in 561 milliseconds

1 2 3 45 6 7 8 91011>>