/external/mesa3d/src/gallium/auxiliary/util/ |
u_blit.c | 65 struct pipe_sampler_state sampler; member in struct:blit_state 125 ctx->sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 126 ctx->sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 127 ctx->sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 128 ctx->sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; 129 ctx->sampler.min_img_filter = 0; /* set later */ 130 ctx->sampler.mag_img_filter = 0; /* set later */ 681 /* default sampler state */ 682 ctx->sampler.normalized_coords = normalized; 683 ctx->sampler.min_img_filter = filter [all...] |
u_simple_shaders.c | 120 struct ureg_src sampler; local 131 sampler = ureg_DECL_sampler( ureg, 0 ); 149 tex_target, tex, sampler ); 182 struct ureg_src sampler; local 191 sampler = ureg_DECL_sampler( ureg, 0 ); 211 tex_target, tex, sampler );
|
/external/v8/src/libsampler/ |
v8-sampler.cc | 5 #include "src/libsampler/v8-sampler.h" 158 namespace sampler { namespace in namespace:v8 163 typedef std::vector<Sampler*> SamplerList; 210 class Sampler::PlatformData { 223 void AddSampler(Sampler* sampler) { 225 DCHECK(sampler->IsActive() || !sampler->IsRegistered()); 226 // Add sampler into map if needed. 227 pthread_t thread_id = sampler->platform_data()->vm_tid() 286 Sampler* sampler = samplers[i]; local [all...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
fisheye.rsh | 18 rs_sampler sampler; 55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
|
fisheye_approx.rsh | 18 rs_sampler sampler; 55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
fisheye.rsh | 18 rs_sampler sampler; 55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
|
fisheye_approx.rsh | 18 rs_sampler sampler; 55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
fisheye.rsh | 18 rs_sampler sampler; 55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
|
fisheye_approx.rsh | 18 rs_sampler sampler; 55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
AllAllocationsRecorder.java | 23 import com.google.monitoring.runtime.instrumentation.Sampler; 38 private final Sampler sampler = new Sampler() { field in class:AllAllocationsRecorder 76 com.google.monitoring.runtime.instrumentation.AllocationRecorder.addSampler(sampler);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen7_vs_state.c | 51 OUT_BATCH(brw->sampler.offset); 90 ((ALIGN(brw->sampler.count, 4)/4) << GEN6_VS_SAMPLER_COUNT_SHIFT));
|
/external/v8/src/ |
v8.cc | 17 #include "src/libsampler/v8-sampler.h" 50 sampler::Sampler::TearDown(); 78 sampler::Sampler::SetUp();
|
/frameworks/base/rs/java/android/renderscript/ |
Sampler.java | 20 * Sampler object that defines how Allocations can be read as textures within a 24 * Any Allocation used with a Sampler must have been created with {@link 25 * android.renderscript.Allocation#USAGE_GRAPHICS_TEXTURE}; using a Sampler on 29 public class Sampler extends BaseObj { 52 Sampler(long id, RenderScript rs) { 58 * @return minification setting for the sampler 65 * @return magnification setting for the sampler 72 * @return S wrapping mode for the sampler 79 * @return T wrapping mode for the sampler 86 * @return anisotropy setting for the sampler 378 Sampler sampler = new Sampler(id, mRS); local [all...] |
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
GLES31Ext.spec | 31 void glSamplerParameterIivEXT ( GLuint sampler, GLenum pname, const GLint *param ) 32 void glSamplerParameterIuivEXT ( GLuint sampler, GLenum pname, const GLuint *param ) 33 void glGetSamplerParameterIivEXT ( GLuint sampler, GLenum pname, GLint *params ) 34 void glGetSamplerParameterIuivEXT ( GLuint sampler, GLenum pname, GLuint *params )
|
/external/deqp/modules/glshared/ |
glsShaderRenderCase.hpp | 88 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 [all...] |
glsSamplerObjectTest.cpp | 21 * \brief Sampler object testcases. 101 void TextureSamplerTest::setSamplerState (const glw::Functions& gl, SamplingState state, GLuint sampler) 103 gl.samplerParameteri(sampler, GL_TEXTURE_MIN_FILTER, state.minFilter); 104 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_MIN_FILTER, state.minFilter)"); 105 gl.samplerParameteri(sampler, GL_TEXTURE_MAG_FILTER, state.magFilter); 106 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_MAG_FILTER, state.magFilter)"); 107 gl.samplerParameteri(sampler, GL_TEXTURE_WRAP_S, state.wrapS); 108 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_WRAP_S, state.wrapS)"); 109 gl.samplerParameteri(sampler, GL_TEXTURE_WRAP_T, state.wrapT); 110 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_WRAP_T, state.wrapT)") 514 GLuint sampler = -1; local 1077 GLuint sampler = -1; local [all...] |
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/drivers/softpipe/ |
sp_tex_sample.c | 547 * Compute lambda for a vertex texture sampler. 602 return samp->sampler->border_color.f; 696 return samp->sampler->border_color.f; 713 return samp->sampler->border_color.f; 734 return samp->sampler->border_color.f; 1980 const struct pipe_sampler_state *sampler = samp->sampler; 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/mesa3d/src/gallium/state_trackers/vega/ |
shaders_cache.c | 132 struct ureg_src *sampler = NULL; local 200 sampler = (struct ureg_src *) malloc(sizeof(struct ureg_src) * end_sampler); 202 sampler[i] = ureg_DECL_sampler(ureg, i); 211 sampler, 218 sampler, 245 if (sampler) 246 free(sampler);
|
/external/skia/src/codec/ |
SkCodec.cpp | 341 uint32_t colorOrIndex, SkCodec::ZeroInitialized zeroInit, SkSampler* sampler) { 342 if (sampler) { 343 sampler->fill(info, dst, rowBytes, colorOrIndex, zeroInit); 355 SkSampler* sampler = this->getSampler(false); local 367 fill_proc(fillInfo, fillDst, rowBytes, fillValue, zeroInit, sampler); 373 fill_proc(fillInfo, fillDst, rowBytes, fillValue, zeroInit, sampler); 381 fill_proc(fillInfo, fillDst, rowBytes, fillValue, zeroInit, sampler);
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pipe_aaline.c | 109 void *sampler[PIPE_MAX_SAMPLERS]; member in struct:aaline_stage::__anon18954 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/v8/test/cctest/ |
test-log.cc | 219 class TestSampler : public v8::internal::Sampler { 222 : Sampler(isolate, 0, true, true), 250 TestSampler* sampler = NULL; 253 sampler = new TestSampler(CcTest::i_isolate()); 254 sampler->Start(); 255 CHECK(sampler->IsActive()); 263 CHECK(!sampler->WasSampleStackCalled()); 266 CHECK(sampler->WaitForTick()); 267 CHECK(sampler->WasSampleStackCalled()); 268 sampler->Reset() [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_state_sampler.c | 46 const struct pipe_sampler_state *sampler) 48 struct pipe_sampler_state *state = mem_dup(sampler, sizeof *sampler); 160 /* set the new sampler views */ 241 void *sampler) 243 FREE( sampler );
|