Searched defs:sampler (Results 101 - 125 of 308) sorted by relevance

1234567891011>>

/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_wm.c453 struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit_id); local
471 if (sampler->MinFilter != GL_NEAREST &&
472 sampler->MagFilter != GL_NEAREST) {
473 if (sampler->WrapS == GL_CLAMP)
475 if (sampler->WrapT == GL_CLAMP)
477 if (sampler->WrapR == GL_CLAMP)
H A Dgen7_wm_surface_state.c265 * a separate cache and is just the sampler cache.
302 struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit); local
330 sampler->sRGBDecode);
440 * a separate cache and is just the sampler cache.
/external/mesa3d/src/mesa/main/
H A Dsamplerobj.c65 /* Unreference the old sampler */
89 /* reference new sampler */
92 /* this sampler's being deleted (look just above) */
94 _mesa_problem(NULL, "referencing deleted sampler object");
111 * Initialize the fields of the given sampler object.
184 /* Insert the ID and pointer to new sampler object into hash table */
228 _mesa_IsSampler(GLuint sampler) argument
235 if (sampler == 0)
238 sampObj = _mesa_lookup_samplerobj(ctx, sampler);
245 _mesa_BindSampler(GLuint unit, GLuint sampler) argument
603 _mesa_SamplerParameteri(GLuint sampler, GLenum pname, GLint param) argument
688 _mesa_SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) argument
774 _mesa_SamplerParameteriv(GLuint sampler, GLenum pname, const GLint *params) argument
866 _mesa_SamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *params) argument
953 _mesa_SamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *params) argument
1039 _mesa_SamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *params) argument
1125 _mesa_GetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params) argument
1203 _mesa_GetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params) argument
1281 _mesa_GetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params) argument
1360 _mesa_GetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params) argument
[all...]
H A Dtexstate.c576 struct gl_sampler_object *sampler = texUnit->Sampler ? local
579 if (!_mesa_is_texture_complete(texObj, sampler)) {
582 if (_mesa_is_texture_complete(texObj, sampler)) {
/external/skia/src/gpu/effects/
H A DGrTextureDomain.cpp46 const GrGLEffect::TextureSampler sampler,
53 builder->fsAppendTextureLookupAndModulate(inModulateColor, sampler,
75 builder->fsAppendTextureLookupAndModulate(inModulateColor, sampler, clampedCoords.c_str());
92 builder->fsAppendTextureLookupAndModulate(inModulateColor, sampler, inCoords.c_str());
108 builder->fsAppendTextureLookupAndModulate(inModulateColor, sampler, inCoords.c_str());
42 sampleTexture(GrGLShaderBuilder* builder, const GrTextureDomain& textureDomain, const char* outColor, const SkString& inCoords, const GrGLEffect::TextureSampler sampler, const char* inModulateColor) argument
/external/chromium_org/third_party/angle/src/compiler/translator/
H A DCompiler.cpp215 infoSink.info << "sampler array index is float loop index";
290 TPublicType sampler; local
291 sampler.primarySize = 1;
292 sampler.secondarySize = 1;
293 sampler.array = false;
307 // We set defaults for all the sampler types, even those that are
312 sampler.type = static_cast<TBasicType>(samplerType);
313 symbolTable.setDefaultPrecision(sampler, EbpLow);
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dcpumonitor_unittest.cc183 CpuSampler sampler; local
184 sampler.set_force_fallback(force_fallback);
185 EXPECT_TRUE(sampler.Init());
186 sampler.set_load_interval(100);
187 int cpus = sampler.GetMaxCpus();
191 sampler.GetProcessLoad();
192 sampler.GetSystemLoad();
198 proc_idle = sampler.GetProcessLoad();
201 sys_idle = sampler.GetSystemLoad();
220 sampler
337 CpuSampler sampler; local
363 CpuSampler sampler; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
H A Ddraw_pipe_pstipple.c127 int freeSampler; /** an available sampler for the pstipple */
136 * Look for a free sampler, a free input attrib, and two free temp regs.
211 /* find free sampler */
247 /* declare new sampler */
303 /* TEX texTemp, texTemp, sampler; */
468 * Create the sampler CSO that'll be used for stippling.
473 struct pipe_sampler_state sampler; local
476 memset(&sampler, 0, sizeof(sampler));
477 sampler
706 pstip_bind_sampler_states(struct pipe_context *pipe, unsigned num, void **sampler) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_tgsi_aos.c369 if (!bld->sampler) {
370 _debug_printf("warning: found texture instruction but no sampler generator supplied\n");
394 return bld->sampler->emit_fetch_texel(bld->sampler,
990 struct lp_build_sampler_aos *sampler,
1014 bld.sampler = sampler;
983 lp_build_tgsi_aos(struct gallivm_state *gallivm, const struct tgsi_token *tokens, struct lp_type type, const unsigned char swizzles[4], LLVMValueRef consts_ptr, const LLVMValueRef *inputs, LLVMValueRef *outputs, struct lp_build_sampler_aos *sampler, const struct tgsi_shader_info *info) argument
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
H A Dvl_zscan.c267 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
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
H A Di915_fpc_translate.c421 uint sampler = i915_emit_decl(p, REG_TYPE_S, unit, tex); local
427 sampler,
673 0, /* sampler */
688 0, /* sampler */
H A Di915_state_emit.c309 OUT_BATCH( i915->current.sampler[i][0] );
310 OUT_BATCH( i915->current.sampler[i][1] );
311 OUT_BATCH( i915->current.sampler[i][2] );
336 int sampler = tex_sampler(i915->fs->program + i); local
337 assert(sampler < I915_TEX_UNITS);
338 if ( i915->current.sampler_srgb[sampler] )
561 VALIDATE_ATOM(sampler, I915_HW_SAMPLER);
611 EMIT_ATOM(sampler, I915_HW_SAMPLER);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
H A Dr300_state_derived.c747 struct r300_sampler_state *sampler; local
769 sampler = state->sampler_states[i];
773 texstate->filter0 = sampler->filter0;
774 texstate->filter1 = sampler->filter1;
779 sampler->state.border_color.f,
784 min_level = sampler->min_lod;
785 level_count = MIN3(sampler->max_lod,
829 /* If compare mode is disabled, sampler view swizzles
833 if (sampler->state.compare_mode == PIPE_TEX_COMPARE_NONE) {
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
H A Dsp_context.h146 struct pipe_sampler_state *sampler; member in struct:softpipe_context::__anon12922
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/gd3d1x/
H A Dsm4_to_tgsi.cpp196 unsigned tex_target(unsigned resource, unsigned sampler) argument
198 unsigned shadow = sampler_modes[sampler];
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dvg_context.h115 struct pipe_sampler_state sampler; member in struct:vg_context::__anon13228
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/
H A Dfs-test.c49 static void *sampler = NULL; variable
415 sampler = ctx->create_sampler_state(ctx, &sampler_desc);
416 if (sampler == NULL)
419 ctx->bind_fragment_sampler_states(ctx, 1, &sampler);
H A Dgs-test.c51 static void *sampler = NULL; variable
479 sampler = ctx->create_sampler_state(ctx, &sampler_desc);
480 if (sampler == NULL)
483 ctx->bind_fragment_sampler_states(ctx, 1, &sampler);
H A Dvs-test.c49 static void *sampler = NULL; variable
366 sampler = ctx->create_sampler_state(ctx, &sampler_desc);
367 if (sampler == NULL)
370 ctx->bind_fragment_sampler_states(ctx, 1, &sampler);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
H A Di915_program.c221 GLuint sampler,
242 i915_emit_texld( p, 0, tmp, A0_DEST_CHANNEL_ALL, sampler, coord, op );
286 T0_SAMPLER( sampler ));
217 i915_emit_texld( struct i915_fragment_program *p, GLuint live_regs, GLuint dest, GLuint destmask, GLuint sampler, GLuint coord, GLuint op ) argument
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dgen7_blorp.cpp230 struct gen7_sampler_state *sampler = (struct gen7_sampler_state *) local
234 memset(sampler, 0, sizeof(*sampler));
236 sampler->ss0.min_filter = BRW_MAPFILTER_LINEAR;
237 sampler->ss0.mip_filter = BRW_MIPFILTER_NONE;
238 sampler->ss0.mag_filter = BRW_MAPFILTER_LINEAR;
240 sampler->ss3.r_wrap_mode = BRW_TEXCOORDMODE_CLAMP;
241 sampler->ss3.s_wrap_mode = BRW_TEXCOORDMODE_CLAMP;
242 sampler->ss3.t_wrap_mode = BRW_TEXCOORDMODE_CLAMP;
244 // sampler
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dcpumonitor_unittest.cc166 CpuSampler sampler; local
167 sampler.set_force_fallback(force_fallback);
168 EXPECT_TRUE(sampler.Init());
169 sampler.set_load_interval(100);
170 int cpus = sampler.GetMaxCpus();
174 sampler.GetProcessLoad();
175 sampler.GetSystemLoad();
181 proc_idle = sampler.GetProcessLoad();
184 sys_idle = sampler.GetSystemLoad();
203 sampler
320 CpuSampler sampler; local
346 CpuSampler sampler; local
[all...]
/external/chromium_org/v8/src/
H A Dcpu-profiler.cc25 Sampler* sampler,
29 sampler_(sampler),
439 Sampler* sampler = logger->sampler(); local
441 generator_, sampler, sampling_interval_);
452 sampler->SetHasProcessingThread(true);
453 sampler->IncreaseProfilingDepth();
485 Sampler* sampler = reinterpret_cast<Sampler*>(logger->ticker_); local
492 sampler->SetHasProcessingThread(false);
493 sampler
23 ProfilerEventsProcessor( ProfileGenerator* generator, Sampler* sampler, TimeDelta period) argument
[all...]
/external/deqp/framework/opengl/simplereference/
H A DsglrShaderProgram.hpp216 } sampler; member in struct:sglr::UniformSlot
222 sampler.ptr = DE_NULL;
/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);
133 tcu::Sampler sampler; member in struct:deqp::gls::ShaderEvalContext::ShaderSampler

Completed in 679 milliseconds

1234567891011>>