/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
H A D | xa_renderer.c | 421 /* 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 D | xa_tgsi.c | 146 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 D | 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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
H A D | xorg_exa_tgsi.c | 123 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 D | xorg_xv.c | 468 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 D | xvmc_private.h | 88 struct pipe_sampler_view *sampler; member in struct:__anon13240
|
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
H A D | fs-test.c | 49 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 D | graw_util.h | 290 void *sampler; local 304 sampler = info->ctx->create_sampler_state(info->ctx, &sampler_desc); 306 return sampler;
|
H A D | gs-test.c | 51 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 D | quad-sample.c | 35 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 D | 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);
|
H A D | 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 */
|
H A D | 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);
|
H A D | vs-test.c | 49 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 D | 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 [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
H A D | cpumonitor_unittest.cc | 183 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 D | Compiler.cpp | 215 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 D | OutputHLSL.h | 111 TBasicType sampler; member in struct:sh::OutputHLSL::TextureFunction 179 int samplerRegister(TIntermSymbol *sampler);
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
H A D | Context.cpp | 271 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 D | ResourceManager.cpp | 138 // 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 D | Texture.cpp | 263 void Texture::getSamplerState(SamplerState *sampler) argument 265 *sampler = mSamplerState; 270 sampler->baseLevel = topLevel + mSamplerState.baseLevel;
|
H A D | libGLESv2.cpp | 9036 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 D | Blit11.cpp | 217 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 D | color_analysis.cc | 220 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 D | color_analysis_unittest.cc | 260 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));
|