/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
fisheye.rsh | 18 rs_sampler sampler; 55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
|
fisheye_approx.rsh | 18 rs_sampler sampler; 55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
|
/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);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen7_vs_state.c | 51 OUT_BATCH(brw->sampler.offset); 90 ((ALIGN(brw->sampler.count, 4)/4) << GEN6_VS_SAMPLER_COUNT_SHIFT));
|
brw_wm_state.c | 140 wm->wm4.sampler_count = (brw->sampler.count + 1) / 4; 143 if (brw->sampler.count) { 146 brw->sampler.offset) >> 5; 235 /* Emit sampler state relocation */ 236 if (brw->sampler.count != 0) { 240 intel->batch.bo, (brw->sampler.offset |
|
/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/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 )
|
/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...] |
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...] |
glsShaderRenderCase.cpp | 69 TextureBinding::TextureBinding (const glu::Texture2D* tex2D, const tcu::Sampler& sampler) 71 , m_sampler (sampler) 76 TextureBinding::TextureBinding (const glu::TextureCube* texCube, const tcu::Sampler& sampler) 78 , m_sampler (sampler) 83 TextureBinding::TextureBinding (const glu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler) 85 , m_sampler (sampler) 90 TextureBinding::TextureBinding (const glu::Texture3D* tex3D, const tcu::Sampler& sampler 490 const tcu::Sampler& sampler = tex.getSampler(); local [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_simple_shaders.c | 120 struct ureg_src sampler; local 131 sampler = ureg_DECL_sampler( ureg, 0 ); 149 tex_target, tex, sampler ); 182 struct ureg_src sampler; local 191 sampler = ureg_DECL_sampler( ureg, 0 ); 211 tex_target, tex, sampler );
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_tex_sample.c | 547 * Compute lambda for a vertex texture sampler. 602 return samp->sampler->border_color.f; 696 return samp->sampler->border_color.f; 713 return samp->sampler->border_color.f; 734 return samp->sampler->border_color.f; 1980 const struct pipe_sampler_state *sampler = samp->sampler; local [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_compositor.c | 133 struct ureg_src sampler[3]; local 145 sampler[i] = ureg_DECL_sampler(shader, i); 151 * texel.xyz = tex(tc, sampler[i]) 155 ureg_TEX(shader, ureg_writemask(texel, TGSI_WRITEMASK_X << i), TGSI_TEXTURE_3D, tc, sampler[i]); 176 struct ureg_src sampler[3]; local 191 sampler[i] = ureg_DECL_sampler(shader, i); 228 TGSI_TEXTURE_3D, src, sampler[j]); 268 struct ureg_src sampler; local 282 sampler = ureg_DECL_sampler(shader, 0); 289 * texel = tex(tc, sampler) 315 struct ureg_src tc, color, sampler; local 398 struct pipe_sampler_state sampler; local [all...] |
vl_zscan.c | 267 struct pipe_sampler_state sampler; local 299 memset(&sampler, 0, sizeof(sampler)); 300 sampler.wrap_s = PIPE_TEX_WRAP_REPEAT; 301 sampler.wrap_t = PIPE_TEX_WRAP_REPEAT; 302 sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 303 sampler.min_img_filter = PIPE_TEX_FILTER_NEAREST; 304 sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; 305 sampler.mag_img_filter = PIPE_TEX_FILTER_NEAREST; 306 sampler.compare_mode = PIPE_TEX_COMPARE_NONE [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
shaders_cache.c | 132 struct ureg_src *sampler = NULL; local 200 sampler = (struct ureg_src *) malloc(sizeof(struct ureg_src) * end_sampler); 202 sampler[i] = ureg_DECL_sampler(ureg, i); 211 sampler, 218 sampler, 245 if (sampler) 246 free(sampler);
|
/external/skia/src/codec/ |
SkCodec.cpp | 341 uint32_t colorOrIndex, SkCodec::ZeroInitialized zeroInit, SkSampler* sampler) { 342 if (sampler) { 343 sampler->fill(info, dst, rowBytes, colorOrIndex, zeroInit); 355 SkSampler* sampler = this->getSampler(false); local 367 fill_proc(fillInfo, fillDst, rowBytes, fillValue, zeroInit, sampler); 373 fill_proc(fillInfo, fillDst, rowBytes, fillValue, zeroInit, sampler); 381 fill_proc(fillInfo, fillDst, rowBytes, fillValue, zeroInit, sampler);
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pipe_aaline.c | 109 void *sampler[PIPE_MAX_SAMPLERS]; member in struct:aaline_stage::__anon19558 140 int freeSampler; /** an available sampler for the pstipple */ 149 * Look for a free sampler, a free input attrib, and two free temp regs. 216 /* find free sampler */ 249 /* declare new sampler */ 492 * Create the sampler CSO that'll be used for antialiasing. 499 struct pipe_sampler_state sampler; local 502 memset(&sampler, 0, sizeof(sampler)); 503 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE [all...] |
/external/v8/test/cctest/ |
test-log.cc | 219 class TestSampler : public v8::internal::Sampler { 222 : Sampler(isolate, 0, true, true), 250 TestSampler* sampler = NULL; 253 sampler = new TestSampler(CcTest::i_isolate()); 254 sampler->Start(); 255 CHECK(sampler->IsActive()); 263 CHECK(!sampler->WasSampleStackCalled()); 266 CHECK(sampler->WaitForTick()); 267 CHECK(sampler->WasSampleStackCalled()); 268 sampler->Reset() [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_state_sampler.c | 46 const struct pipe_sampler_state *sampler) 48 struct pipe_sampler_state *state = mem_dup(sampler, sizeof *sampler); 160 /* set the new sampler views */ 241 void *sampler) 243 FREE( sampler );
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_state_fs.c | 210 assert(svga->curr.sampler[i]); 213 if (!svga->curr.sampler[i]->normalized_coords) { 229 if (svga->curr.sampler[i]) { 230 key->tex[i].compare_mode = svga->curr.sampler[i]->compare_mode; 231 key->tex[i].compare_func = svga->curr.sampler[i]->compare_func;
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_tex_validate.c | 21 struct gl_sampler_object *sampler) 25 if (sampler->MinFilter == GL_NEAREST || 26 sampler->MinFilter == GL_LINEAR) { 41 struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit); local 57 intel_update_max_level(intelObj, sampler);
|
/external/mesa3d/src/gallium/tests/graw/ |
quad-tex.c | 15 static void *sampler = NULL; variable 171 sampler = graw_util_create_simple_sampler(&info, 174 info.ctx->bind_fragment_sampler_states(info.ctx, 1, &sampler);
|
tex-srgb.c | 163 void *sampler; local 164 sampler = graw_util_create_simple_sampler(&info, 167 info.ctx->bind_fragment_sampler_states(info.ctx, 1, &sampler); 170 /* linear sampler view */ 185 /* srgb sampler view */
|
tex-swizzle.c | 12 static void *sampler = NULL; variable 150 sampler = graw_util_create_simple_sampler(&info, 154 info.ctx->bind_fragment_sampler_states(info.ctx, 1, &sampler);
|
/external/skia/src/gpu/effects/ |
GrTextureDomain.cpp | 52 const GrGLSLTextureSampler& sampler, 72 builder->appendTextureLookupAndModulate(inModulateColor, sampler, 83 builder->appendTextureLookupAndModulate(inModulateColor, sampler, 102 builder->appendTextureLookupAndModulate(inModulateColor, sampler, 127 builder->appendTextureLookupAndModulate(inModulateColor, sampler, 140 builder->appendTextureLookupAndModulate(inModulateColor, sampler,
|