/frameworks/native/opengl/tools/glgen/specs/gles11/ |
GLES30.spec | 88 GLboolean glIsSampler ( GLuint sampler ) 89 void glBindSampler ( GLuint unit, GLuint sampler ) 90 void glSamplerParameteri ( GLuint sampler, GLenum pname, GLint param ) 91 void glSamplerParameteriv ( GLuint sampler, GLenum pname, const GLint *param ) 92 void glSamplerParameterf ( GLuint sampler, GLenum pname, GLfloat param ) 93 void glSamplerParameterfv ( GLuint sampler, GLenum pname, const GLfloat *param ) 94 void glGetSamplerParameteriv ( GLuint sampler, GLenum pname, GLint *params ) 95 void glGetSamplerParameterfv ( GLuint sampler, GLenum pname, GLfloat *params )
|
/external/deqp/framework/randomshaders/ |
rsgExecutionContext.cpp | 74 const Sampler2D& ExecutionContext::getSampler2D (const Variable* sampler) const 76 const ExecValueStorage* samplerVal = m_varValues.find(sampler)->second; 78 int samplerNdx = samplerVal->getValue(sampler->getType()).asInt(0); 83 const SamplerCube& ExecutionContext::getSamplerCube (const Variable* sampler) const 85 const ExecValueStorage* samplerVal = m_varValues.find(sampler)->second; 87 int samplerNdx = samplerVal->getValue(sampler->getType()).asInt(0);
|
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/ |
AndroidGL30.java | 684 public boolean glIsSampler (int sampler) { 685 return GLES30.glIsSampler(sampler); 689 public void glBindSampler (int unit, int sampler) { 690 GLES30.glBindSampler(unit, sampler); 694 public void glSamplerParameteri (int sampler, int pname, int param) { 695 GLES30.glSamplerParameteri(sampler, pname, param); 700 // public void glSamplerParameteriv(int sampler, int pname, int[] param, int offset) { 701 // GLES30.glSamplerParameteriv(sampler, pname, param, offset); 705 public void glSamplerParameteriv (int sampler, int pname, java.nio.IntBuffer param) { 706 GLES30.glSamplerParameteriv(sampler, pname, param) [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_code.h | 144 * If the sampler is used as a shadow sampler, 153 * No matter what the sampler type is, 154 * this field turns it into a shadow sampler. 159 * If the sampler will receive non-normalized coords, 166 * This field specifies wrapping modes for the sampler.
|
/external/v8/src/profiler/ |
cpu-profiler.h | 15 #include "src/profiler/sampler.h" 127 // methods called by event producers: VM and stack sampler threads. 131 Sampler* sampler, 169 Sampler* sampler_; 217 // Invoked from stack sampler (thread or signal handler.)
|
cpu-profiler.cc | 24 Sampler* sampler, 28 sampler_(sampler), 456 Sampler* sampler = logger->sampler(); local 458 generator_, sampler, sampling_interval_); 469 sampler->SetHasProcessingThread(true); 470 sampler->IncreaseProfilingDepth(); 502 Sampler* sampler = reinterpret_cast<Sampler*>(logger->ticker_) 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/deqp/modules/gles3/functional/ |
es3fTextureFormatTests.cpp | 61 using tcu::Sampler; 171 renderParams.sampler = Sampler(Sampler::CLAMP_TO_EDGE, Sampler::CLAMP_TO_EDGE, Sampler::CLAMP_TO_EDGE, Sampler::NEAREST, Sampler::NEAREST); 356 renderParams.sampler = Sampler(Sampler::CLAMP_TO_EDGE, Sampler::CLAMP_TO_EDGE, Sampler::CLAMP_TO_EDGE, Sampler::NEAREST, Sampler: (…) [all...] |
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/deqp/modules/glshared/ |
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/draw/ |
draw_pipe_aaline.c | 109 void *sampler[PIPE_MAX_SAMPLERS]; member in struct:aaline_stage::__anon20396 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/mesa3d/src/gallium/docs/source/ |
context.rst | 27 * :ref:`Sampler`: Texture sampler states are bound separately for fragment, 28 vertex and geometry samplers. Note that sampler states are set en masse. 29 If M is the max number of sampler units supported by the driver and N 30 samplers are bound with ``bind_fragment_sampler_states`` then sampler 80 Sampler Views 84 its format, swizzle and LOD range in sampler view template. 94 The ``first_level`` and ``last_level`` fields of sampler view template specify 104 * ``set_fragment_sampler_views`` binds an array of sampler views to 106 to a respective sampler view and releases a reference to the previou [all...] |
/external/deqp/framework/common/ |
tcuTextureUtil.cpp | 767 clear(getEffectiveDepthStencilAccess(access, Sampler::MODE_DEPTH), tcu::Vec4(depth, 0.0f, 0.0f, 0.0f)); 774 clear(getEffectiveDepthStencilAccess(access, Sampler::MODE_STENCIL), tcu::UVec4(stencil, 0u, 0u, 0u)); [all...] |
/external/deqp/modules/gles2/functional/ |
es2fShaderTextureFunctionTests.cpp | 132 tcu::Sampler sampler; member in struct:deqp::gles2::Functional::__anon10767::TextureSpec 150 const tcu::Sampler& sampler_) 157 , sampler (sampler_) 187 inline Vec4 texture2D (const gls::ShaderEvalContext& c, float s, float t, float lod) { return c.textures[0].tex2D->sample(c.textures[0].sampler, s, t, lod); } 188 inline Vec4 textureCube (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].texCube->sample(c.textures[0].sampler, s, t, r, lod); } 357 m_textures.push_back(gls::TextureBinding(m_texture2D, m_textureSpec.sampler)); 402 m_textures.push_back(gls::TextureBinding(m_textureCube, m_textureSpec.sampler)); 572 static const tcu::Sampler samplerLinearNoMipmap (tcu::Sampler::REPEAT_GL, tcu::Sampler::REPEAT_GL, tcu::Sampler::REPEAT_GL [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
api_filters.c | 184 struct pipe_sampler_state sampler; local 187 memset(&sampler, 0, sizeof(sampler)); 188 sampler.min_img_filter = PIPE_TEX_FILTER_LINEAR; 189 sampler.mag_img_filter = PIPE_TEX_FILTER_LINEAR; 190 sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; 191 sampler.normalized_coords = 1; 197 memcpy(sampler.border_color.f, ctx->state.vg.tile_fill_color, 198 sizeof(sampler.border_color)); 215 sampler.wrap_s = tex_wrap [all...] |
/external/mesa3d/src/gallium/state_trackers/xa/ |
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.mag_img_filter = PIPE_TEX_FILTER_NEAREST [all...] |
/external/mesa3d/src/gallium/tests/graw/ |
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 */
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen6_blorp.cpp | 141 * If this isn't programmed to a real bound, the sampler border color 510 struct brw_sampler_state *sampler = (struct brw_sampler_state *) local 514 memset(sampler, 0, sizeof(*sampler)); 516 sampler->ss0.min_filter = BRW_MAPFILTER_LINEAR; 517 sampler->ss0.mip_filter = BRW_MIPFILTER_NONE; 518 sampler->ss0.mag_filter = BRW_MAPFILTER_LINEAR; 520 sampler->ss1.r_wrap_mode = BRW_TEXCOORDMODE_CLAMP; 521 sampler->ss1.s_wrap_mode = BRW_TEXCOORDMODE_CLAMP; 522 sampler->ss1.t_wrap_mode = BRW_TEXCOORDMODE_CLAMP [all...] |
gen7_blorp.cpp | 230 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->ss0.min_mag_neq = 1 [all...] |
/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/deqp/modules/gles31/functional/ |
es31fNegativeShaderApiTests.cpp | 578 GLuint sampler = 0; local 579 ctx.glGenSamplers (-1, &sampler); 587 GLuint sampler = 0; local 589 ctx.glGenSamplers (1, &sampler); 592 ctx.glBindSampler (maxTexImageUnits, sampler); 596 ctx.beginSection("GL_INVALID_OPERATION is generated if sampler is not zero or a name previously returned from a call to ctx.glGenSamplers."); 601 ctx.beginSection("GL_INVALID_OPERATION is generated if sampler has been deleted by a call to ctx.glDeleteSamplers."); 602 ctx.glDeleteSamplers(1, &sampler); 603 ctx.glBindSampler (1, sampler); 619 GLuint sampler = 0 local 638 GLuint sampler = 0; local 659 GLuint sampler = 0x1234; local 682 GLuint sampler = 0x1234; local 702 GLuint sampler = 0; local 730 GLuint sampler = 0; local 750 GLuint sampler = 0; local 778 GLuint sampler = 0; local 801 GLuint sampler; local 822 GLuint sampler; local [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_sample.c | 90 * Initialize lp_sampler_static_state object with the gallium sampler 97 const struct pipe_sampler_state *sampler) 103 if (!sampler || !view || !view->texture) 109 * We don't copy sampler state over unless it is actually enabled, to avoid 110 * spurious recompiles, as the sampler static state is part of the shader 131 state->wrap_s = sampler->wrap_s; 132 state->wrap_t = sampler->wrap_t; 133 state->wrap_r = sampler->wrap_r; 134 state->min_img_filter = sampler->min_img_filter; 135 state->mag_img_filter = sampler->mag_img_filter [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_bitmap.c | 211 * \param bitmap_sampler sampler number for the bitmap texture 222 uint sampler; local 226 * with the bitmap sampler/kill instructions. 228 sampler = find_free_bit(fpIn->Base.SamplersUsed); 231 newProg = make_bitmap_fragment_program_glsl(st, stfpIn, sampler); 233 bitmap_prog = make_bitmap_fragment_program(st->ctx, sampler); 254 *bitmap_sampler = sampler; 480 /* user samplers, plus our bitmap sampler */ 816 struct pipe_sampler_state *sampler = &st->bitmap.samplers[0]; local 820 /* init sampler state once * [all...] |
/external/deqp/doc/testspecs/GLES31/ |
functional.shaders.opaque_type_indexing.txt | 25 + Indexing of sampler arrays 26 - all sampler types 27 - single sampler array
|