/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_mpeg12_decoder.c | 774 struct pipe_sampler_state sampler; local 798 memset(&sampler, 0, sizeof(sampler)); 799 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 800 sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 801 sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_BORDER; 802 sampler.min_img_filter = PIPE_TEX_FILTER_NEAREST; 803 sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; 804 sampler.mag_img_filter = PIPE_TEX_FILTER_NEAREST; 805 sampler.compare_mode = PIPE_TEX_COMPARE_NONE 1007 struct ureg_src src, sampler; local [all...] |
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
module.hpp | 68 sampler enumerator in enum:clover::module::argument::type
|
/external/mesa3d/src/gallium/state_trackers/clover/tgsi/ |
compiler.cpp | 68 else if (tok == "sampler") 69 args.push_back({ module::argument::sampler, 0 });
|
/external/mesa3d/src/gallium/tests/graw/ |
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);
|
graw_util.h | 290 void *sampler; local 304 sampler = info->ctx->create_sampler_state(info->ctx, &sampler_desc); 306 return sampler;
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_cubemap_normalize.cpp | 51 if (ir->sampler->type->sampler_dimensionality != GLSL_SAMPLER_DIM_CUBE)
|
brw_wm.c | 453 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)
|
/external/deqp/modules/gles3/functional/ |
es3fNegativeShaderApiTests.cpp | 482 GLuint sampler; 483 glGenSamplers (-1, &sampler); 490 GLuint sampler; 492 glGenSamplers (1, &sampler); 495 glBindSampler (maxTexImageUnits, sampler); 499 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if sampler is not zero or a name previously returned from a call to glGenSamplers."); 504 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if sampler has been deleted by a call to glDeleteSamplers."); 505 glDeleteSamplers(1, &sampler); 506 glBindSampler (1, sampler); 520 GLuint sampler; [all...] |
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
tgsi_exec.h | 103 void (*get_samples)(struct tgsi_sampler *sampler, 110 void (*get_dims)(struct tgsi_sampler *sampler, int level, 112 void (*get_texel)(struct tgsi_sampler *sampler, const int i[TGSI_QUAD_SIZE],
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_context.h | 154 /* texture sampler state */ 155 unsigned sampler[I915_TEX_UNITS][3]; member in struct:i915_state 232 const struct i915_sampler_state *sampler[PIPE_MAX_SAMPLERS]; member in struct:i915_context 300 unsigned num, void **sampler);
|
i915_fpc_emit.c | 182 * \param sampler the i915 sampler register 189 uint sampler, 239 i915_emit_texld( p, tmp, A0_DEST_CHANNEL_ALL, sampler, coord, opcode, num_coord ); 262 T0_SAMPLER( sampler ));
|
/external/skia/src/images/ |
SkImageDecoder_libpng.cpp | 311 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize); 312 decodedBitmap->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.scaledHeight(), 398 if (!sampler.begin(decodedBitmap, sc, *this, colors)) { 417 base += sampler.srcY0() * rowBytes; 419 reallyHasAlpha |= sampler.next(base); 420 base += sampler.srcDY() * rowBytes; 425 skip_src_rows(png_ptr, srcRow, sampler.srcY0()); 430 reallyHasAlpha |= sampler.next(srcRow); 432 skip_src_rows(png_ptr, srcRow, sampler.srcDY() - 1) [all...] |
/external/webrtc/talk/app/webrtc/objc/ |
RTCOpenGLVideoRenderer.mm | 381 sampler:(GLint)sampler 387 // When setting texture sampler uniforms, the texture index is used not 389 glUniform1i(sampler, offset); 437 sampler:_ySampler 444 sampler:_uSampler 451 sampler:_vSampler
|
/external/webrtc/webrtc/api/objc/ |
RTCOpenGLVideoRenderer.mm | 363 sampler:(GLint)sampler 369 // When setting texture sampler uniforms, the texture index is used not 371 glUniform1i(sampler, offset); 419 sampler:_ySampler 426 sampler:_uSampler 433 sampler:_vSampler
|
/frameworks/base/opengl/java/android/opengl/ |
GLES30.java | [all...] |
/external/deqp/modules/gles31/functional/ |
es31fTextureGatherTests.cpp | 508 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DView& texture, const tcu::Sampler& sampler, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4]) 510 return texture.gatherOffsets(sampler, coord.x(), coord.y(), componentNdx, offsets).cast<ColorScalarType>(); 514 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4]) 516 return texture.gatherOffsets(sampler, coord.x(), coord.y(), coord.z(), componentNdx, offsets).cast<ColorScalarType>(); 520 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4]) 524 return texture.gather(sampler, coord.x(), coord.y(), coord.z(), componentNdx).cast<ColorScalarType>(); 527 static Vec4 gatherOffsetsCompare (const tcu::Texture2DView& texture, const tcu::Sampler& sampler, float refZ, const Vec2& coord, const IVec2 (&offsets)[4] 1489 tcu::Sampler sampler; local [all...] |
es31fTextureBorderClampTests.cpp | 93 bool isDepthFormat (deUint32 format, tcu::Sampler::DepthStencilMode mode) 111 DE_ASSERT(mode == tcu::Sampler::MODE_DEPTH); 114 else if (fmt.order == tcu::TextureFormat::DS && mode == tcu::Sampler::MODE_DEPTH) 121 bool isStencilFormat (deUint32 format, tcu::Sampler::DepthStencilMode mode) 139 DE_ASSERT(mode == tcu::Sampler::MODE_STENCIL); 142 else if (fmt.order == tcu::TextureFormat::DS && mode == tcu::Sampler::MODE_STENCIL) 149 tcu::TextureChannelClass getFormatChannelClass (deUint32 format, tcu::Sampler::DepthStencilMode mode) 288 if (isDepthFormat(texFormat, tcu::Sampler::MODE_DEPTH) || isStencilFormat(texFormat, tcu::Sampler::MODE_STENCIL)) 294 if (isDepthFormat(texFormat, tcu::Sampler::MODE_DEPTH) [all...] |
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_surface.c | 439 struct nv50_tsc_entry *sampler[2]; member in struct:nv50_blitctx::__anon19101 444 struct nv50_tsc_entry sampler[2]; /* nearest, bilinear */ member in struct:nv50_blitctx 600 blit->sampler[0].id = -1; 602 blit->sampler[0].tsc[0] = NV50_TSC_0_SRGB_CONVERSION_ALLOWED | 606 blit->sampler[0].tsc[1] = 611 blit->sampler[1].id = -1; 613 blit->sampler[1].tsc[0] = blit->sampler[0].tsc[0]; 614 blit->sampler[1].tsc[1] = 809 blit->saved.sampler[0] = nv50->samplers[2][0] [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_surface.c | 460 struct nv50_tsc_entry *sampler[2]; member in struct:nvc0_blitctx::__anon19111 465 struct nv50_tsc_entry sampler[2]; /* nearest, bilinear */ member in struct:nvc0_blitctx 666 blit->sampler[0].id = -1; 668 blit->sampler[0].tsc[0] = NV50_TSC_0_SRGB_CONVERSION_ALLOWED | 672 blit->sampler[0].tsc[1] = 677 blit->sampler[1].id = -1; 679 blit->sampler[1].tsc[0] = blit->sampler[0].tsc[0]; 680 blit->sampler[1].tsc[1] = 882 blit->saved.sampler[0] = nvc0->samplers[4][0] [all...] |
/external/mesa3d/src/gallium/state_trackers/xorg/ |
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/deqp/modules/glshared/ |
glsStateQueryUtil.hpp | 292 // sampler state 395 void querySamplerState (tcu::ResultCollector& result, glu::CallLogWrapper& gl, QueryType type, glw::GLuint sampler, glw::GLenum pname, QueriedState& state); 445 void verifyStateSamplerParamInteger (tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLuint sampler, glw::GLenum pname, int expected, QueryType type); 446 void verifyStateSamplerParamFloat (tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLuint sampler, glw::GLenum pname, float expected, QueryType type); 447 void verifyStateSamplerParamFloatVec4 (tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLuint sampler, glw::GLenum pname, const tcu::Vec4& expected, QueryType type); 448 void verifyStateSamplerParamNormalizedI32Vec4 (tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLuint sampler, glw::GLenum pname, const tcu::IVec4& expected, QueryType type); 449 void verifyStateSamplerParamIntegerVec4 (tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLuint sampler, glw::GLenum pname, const tcu::IVec4& expected, QueryType type); 450 void verifyStateSamplerParamUnsignedIntegerVec4 (tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLuint sampler, glw::GLenum pname, const tcu::UVec4& expected, QueryType type);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
mask.c | 284 struct pipe_sampler_state sampler; local 302 sampler = ctx->mask.sampler; 303 sampler.normalized_coords = 1; 304 samplers[0] = &sampler; 308 samplers[1] = &ctx->mask.sampler; 519 samplers[1] = &ctx->mask.sampler;
|
vg_context.c | 113 ctx->mask.sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 114 ctx->mask.sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 115 ctx->mask.sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 116 ctx->mask.sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; 117 ctx->mask.sampler.min_img_filter = PIPE_TEX_FILTER_NEAREST; 118 ctx->mask.sampler.mag_img_filter = PIPE_TEX_FILTER_NEAREST; 119 ctx->mask.sampler.normalized_coords = 0; 301 this texture and use it as a sampler, so while this wastes some
|
/external/deqp/framework/common/ |
tcuTestLog.cpp | 70 m_access = tcu::getEffectiveDepthStencilAccess(m_access, tcu::Sampler::MODE_DEPTH); 72 m_access = tcu::getEffectiveDepthStencilAccess(m_access, tcu::Sampler::MODE_STENCIL); 81 const ConstPixelBufferAccess depthAccess = tcu::getEffectiveDepthStencilAccess(m_access, tcu::Sampler::MODE_DEPTH); 82 const ConstPixelBufferAccess stencilAccess = tcu::getEffectiveDepthStencilAccess(m_access, tcu::Sampler::MODE_STENCIL); 111 m_access = tcu::getEffectiveDepthStencilAccess(access, tcu::Sampler::MODE_DEPTH); 113 m_access = tcu::getEffectiveDepthStencilAccess(access, tcu::Sampler::MODE_STENCIL); 129 const ConstPixelBufferAccess depthAccess = tcu::getEffectiveDepthStencilAccess(m_access, tcu::Sampler::MODE_DEPTH); 130 const ConstPixelBufferAccess stencilAccess = tcu::getEffectiveDepthStencilAccess(m_access, tcu::Sampler::MODE_STENCIL); 266 Sampler sampler (Sampler::CLAMP_TO_EDGE, Sampler::CLAMP_TO_EDGE, Sampler::CLAMP_TO_EDGE, Sampler::LINEAR, Sample (…) [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_context.c | 95 if (softpipe->pstipple.sampler) 96 pipe->delete_sampler_state(pipe, softpipe->pstipple.sampler); 328 /* create the polgon stipple sampler */ 329 softpipe->pstipple.sampler = util_pstipple_create_sampler(&softpipe->pipe);
|