Searched defs:sampler (Results 276 - 300 of 308) sorted by last modified time

<<111213

/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/
H A Dxa_renderer.c421 /* sampler */
423 struct pipe_sampler_state sampler; local
425 memset(&sampler, 0, sizeof(sampler));
426 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
427 sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
428 sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
429 sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE;
430 sampler.min_img_filter = PIPE_TEX_FILTER_NEAREST;
431 sampler
[all...]
H A Dxa_tgsi.c146 struct ureg_src sampler,
183 ureg_TEX(ureg, out, TGSI_TEXTURE_1D, ureg_src(temp2), sampler);
197 struct ureg_src sampler,
251 ureg_TEX(ureg, out, TGSI_TEXTURE_1D, ureg_src(temp2), sampler);
375 struct ureg_src sampler,
396 ureg_TEX(ureg, tmp1, TGSI_TEXTURE_2D, coords, sampler);
413 ureg_TEX(ureg, tmp, TGSI_TEXTURE_2D, coords, sampler);
420 ureg_TEX(ureg, dst, TGSI_TEXTURE_2D, coords, sampler);
143 linear_gradient(struct ureg_program *ureg, struct ureg_dst out, struct ureg_src pos, struct ureg_src sampler, struct ureg_src coords, struct ureg_src const0124, struct ureg_src matrow0, struct ureg_src matrow1, struct ureg_src matrow2) argument
194 radial_gradient(struct ureg_program *ureg, struct ureg_dst out, struct ureg_src pos, struct ureg_src sampler, struct ureg_src coords, struct ureg_src const0124, struct ureg_src matrow0, struct ureg_src matrow1, struct ureg_src matrow2) argument
372 xrender_tex(struct ureg_program *ureg, struct ureg_dst dst, struct ureg_src coords, struct ureg_src sampler, struct ureg_src imm0, boolean repeat_none, boolean swizzle, boolean set_alpha) argument
H A Dxa_yuv.c73 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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/
H A Dxorg_exa_tgsi.c123 struct ureg_src sampler,
168 TGSI_TEXTURE_1D, ureg_src(temp2), sampler);
183 struct ureg_src sampler,
253 ureg_src(temp2), sampler);
396 struct ureg_src sampler,
420 ureg_TEX(ureg, tmp1, TGSI_TEXTURE_2D, coords, sampler);
437 ureg_TEX(ureg, tmp, TGSI_TEXTURE_2D, coords, sampler);
445 ureg_TEX(ureg, dst, TGSI_TEXTURE_2D, coords, sampler);
120 linear_gradient(struct ureg_program *ureg, struct ureg_dst out, struct ureg_src pos, struct ureg_src sampler, struct ureg_src coords, struct ureg_src const0124, struct ureg_src matrow0, struct ureg_src matrow1, struct ureg_src matrow2) argument
180 radial_gradient(struct ureg_program *ureg, struct ureg_dst out, struct ureg_src pos, struct ureg_src sampler, struct ureg_src coords, struct ureg_src const0124, struct ureg_src matrow0, struct ureg_src matrow1, struct ureg_src matrow2) argument
393 xrender_tex(struct ureg_program *ureg, struct ureg_dst dst, struct ureg_src coords, struct ureg_src sampler, struct ureg_src imm0, boolean repeat_none, boolean swizzle, boolean set_alpha) argument
H A Dxorg_xv.c468 struct pipe_sampler_state sampler; local
471 memset(&sampler, 0, sizeof(struct pipe_sampler_state));
473 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP;
474 sampler.wrap_t = PIPE_TEX_WRAP_CLAMP;
475 sampler.min_img_filter = PIPE_TEX_FILTER_LINEAR;
476 sampler.mag_img_filter = PIPE_TEX_FILTER_LINEAR;
477 sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NEAREST;
478 sampler.normalized_coords = 1;
480 samplers[0] = &sampler;
481 samplers[1] = &sampler;
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/
H A Dxvmc_private.h88 struct pipe_sampler_view *sampler; member in struct:__anon13240
/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 Dgraw_util.h290 void *sampler; local
304 sampler = info->ctx->create_sampler_state(info->ctx, &sampler_desc);
306 return 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 Dquad-sample.c35 static void *sampler = NULL; variable
288 sampler = ctx->create_sampler_state(ctx, &sampler_desc);
289 if (sampler == NULL)
292 ctx->bind_fragment_sampler_states(ctx, 1, &sampler);
H A Dquad-tex.c15 static void *sampler = NULL; variable
171 sampler = graw_util_create_simple_sampler(&info,
174 info.ctx->bind_fragment_sampler_states(info.ctx, 1, &sampler);
H A Dtex-srgb.c163 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 */
H A Dtex-swizzle.c12 static void *sampler = NULL; variable
150 sampler = graw_util_create_simple_sampler(&info,
154 info.ctx->bind_fragment_sampler_states(info.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/gallium/tests/trivial/
H A Dquad-tex.c73 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
[all...]
/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/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);
H A DOutputHLSL.h111 TBasicType sampler; member in struct:sh::OutputHLSL::TextureFunction
179 int samplerRegister(TIntermSymbol *sampler);
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DContext.cpp271 for (int sampler = 0; sampler < IMPLEMENTATION_MAX_COMBINED_TEXTURE_IMAGE_UNITS; sampler++)
273 mState.samplerTexture[type][sampler].set(NULL);
1026 void Context::deleteSampler(GLuint sampler) argument
1028 if (mResourceManager->getSampler(sampler))
1030 detachSampler(sampler);
1033 mResourceManager->deleteSampler(sampler);
1258 void Context::bindSampler(GLuint textureUnit, GLuint sampler) argument
1261 mResourceManager->checkSamplerAllocation(sampler);
1615 getSamplerTexture(unsigned int sampler, TextureType type) const argument
2505 const SamplerState &sampler = samplers[samplerIndex]; local
3479 detachSampler(GLuint sampler) argument
[all...]
H A DResourceManager.cpp138 // Returns an unused sampler name
232 void ResourceManager::deleteSampler(GLuint sampler) argument
234 auto samplerObject = mSamplerMap.find(sampler);
330 auto sampler = mSamplerMap.find(handle); local
332 if (sampler == mSamplerMap.end())
338 return sampler->second;
414 void ResourceManager::checkSamplerAllocation(GLuint sampler) argument
416 if (sampler != 0 && !getSampler(sampler))
418 Sampler *samplerObject = new Sampler(sampler);
424 isSampler(GLuint sampler) argument
[all...]
H A DTexture.cpp263 void Texture::getSamplerState(SamplerState *sampler) argument
265 *sampler = mSamplerState;
270 sampler->baseLevel = topLevel + mSamplerState.baseLevel;
H A DlibGLESv2.cpp9036 GLboolean __stdcall glIsSampler(GLuint sampler) argument
9038 EVENT("(GLuint sampler = %u)", sampler);
9051 return context->isSampler(sampler);
9062 void __stdcall glBindSampler(GLuint unit, GLuint sampler) argument
9064 EVENT("(GLuint unit = %u, GLuint sampler = %u)", unit, sampler);
9077 if (sampler != 0 && !context->isSampler(sampler))
9087 context->bindSampler(unit, sampler);
9096 glSamplerParameteri(GLuint sampler, GLenum pname, GLint param) argument
9135 glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint* param) argument
9140 glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) argument
9179 glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat* param) argument
9184 glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint* params) argument
9218 glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat* params) argument
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d11/
H A DBlit11.cpp217 d3d11::SetDebugName(mPointSampler, "Blit11 point sampler");
236 d3d11::SetDebugName(mLinearSampler, "Blit11 linear sampler");
606 ID3D11SamplerState *sampler = NULL; local
609 case GL_NEAREST: sampler = mPointSampler; break;
610 case GL_LINEAR: sampler = mLinearSampler; break;
613 deviceContext->PSSetSamplers(0, 1, &sampler);
/external/chromium_org/ui/gfx/
H A Dcolor_analysis.cc220 KMeanImageSampler* sampler) {
233 int pixel_pos = sampler->GetSample(img_width, img_height) %
360 KMeanImageSampler* sampler) {
378 sampler);
384 GridSampler sampler; local
386 png, kDefaultLowerHSLBound, kDefaultUpperHSLBound, &sampler);
392 KMeanImageSampler* sampler) {
405 sampler);
409 GridSampler sampler; local
411 bitmap, kDefaultLowerHSLBound, kDefaultUpperHSLBound, &sampler);
215 CalculateKMeanColorOfBuffer(uint8_t* decoded_data, int img_width, int img_height, const HSL& lower_bound, const HSL& upper_bound, KMeanImageSampler* sampler) argument
357 CalculateKMeanColorOfPNG(scoped_refptr<base::RefCountedMemory> png, const HSL& lower_bound, const HSL& upper_bound, KMeanImageSampler* sampler) argument
389 CalculateKMeanColorOfBitmap(const SkBitmap& bitmap, const HSL& lower_bound, const HSL& upper_bound, KMeanImageSampler* sampler) argument
[all...]
H A Dcolor_analysis_unittest.cc260 GridSampler sampler; local
264 EXPECT_EQ(1 + 1 * kWidth, sampler.GetSample(kWidth, kHeight));
265 EXPECT_EQ(1 + 4 * kWidth, sampler.GetSample(kWidth, kHeight));
266 EXPECT_EQ(1 + 7 * kWidth, sampler.GetSample(kWidth, kHeight));
267 EXPECT_EQ(1 + 10 * kWidth, sampler.GetSample(kWidth, kHeight));
269 EXPECT_EQ(4 + 1 * kWidth, sampler.GetSample(kWidth, kHeight));
270 EXPECT_EQ(4 + 4 * kWidth, sampler.GetSample(kWidth, kHeight));
271 EXPECT_EQ(4 + 7 * kWidth, sampler.GetSample(kWidth, kHeight));
272 EXPECT_EQ(4 + 10 * kWidth, sampler.GetSample(kWidth, kHeight));

Completed in 267 milliseconds

<<111213