HomeSort by relevance Sort by last modified time
    Searched defs:sampler (Results 101 - 125 of 272) sorted by null

1 2 3 45 6 7 8 91011

  /external/skqp/src/gpu/glsl/
GrGLSLProgramBuilder.cpp 223 // GrProcessor::TextureSampler sampler(dstTexture);
257 const GrResourceIOProcessor::TextureSampler& sampler = processor.textureSampler(t); local
259 GrSLType samplerType = sampler.peekTexture()->texturePriv().samplerType();
263 // We shouldn't ever create a GrGLTexture that requires external sampler type
265 this->addFeature(sampler.visibility(),
270 samplerType, sampler.peekTexture()->config(), name.c_str(), sampler.visibility()));
352 // If the same sampler is used in two different shaders, it counts as two combined samplers.
  /external/skqp/src/gpu/vk/
GrVkCopyManager.cpp 253 // UPDATE SAMPLER DESCRIPTOR SET
259 GrVkSampler* sampler = resourceProv.findOrCreateCompatibleSampler( local
264 imageInfo.sampler = sampler->sampler();
347 // Uniform DescriptorSet, Sampler DescriptorSet, and vertex shader uniformBuffer
353 // One sampler, texture view, and texture
355 descriptorResources.push_back(sampler);
396 sampler->unref(gpu);
GrVkGpuCommandBuffer.cpp 604 const GrResourceIOProcessor::TextureSampler& sampler = processor.textureSampler(i); local
605 GrVkTexture* vkTexture = static_cast<GrVkTexture*>(sampler.peekTexture());
610 gpu->onResolveRenderTarget(texRT, sampler.proxy()->origin());
614 if (GrSamplerState::Filter::kMipMap == sampler.samplerState().filter()) {
616 gpu->generateMipmap(vkTexture, sampler.proxy()->origin());
GrVkResourceProvider.cpp 173 GrVkSampler* sampler = fSamplers.find(GrVkSampler::GenerateKey(params, maxMipLevel)); local
174 if (!sampler) {
175 sampler = GrVkSampler::Create(fGpu, params, maxMipLevel);
176 fSamplers.add(sampler);
178 SkASSERT(sampler);
179 sampler->ref();
180 return sampler;
  /external/skqp/src/shaders/
SkImageShader.cpp 134 // communicates between its matrix-proc and its sampler-proc. Until we can
204 // Must set wrap and filter on the sampler before requesting a texture. In two places below
393 SkJumper_SamplerCtx* sampler = nullptr; local
395 sampler = alloc->make<SkJumper_SamplerCtx>();
400 p->append(setup_x, sampler);
401 p->append(setup_y, sampler);
403 p->append(SkRasterPipeline::accumulate, sampler);
410 p->append(SkRasterPipeline::save_xy, sampler);
420 p->append(SkRasterPipeline::save_xy, sampler);
  /external/v8/src/profiler/
cpu-profiler.h 15 #include "src/libsampler/sampler.h"
131 // methods called by event producers: VM and stack sampler threads.
160 sampler::Sampler* sampler() { return sampler_.get(); } function in class:v8::internal::ProfilerEventsProcessor
174 std::unique_ptr<sampler::Sampler> sampler_;
  /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/rs/support/java/src/android/support/v8/renderscript/
Sampler.java 31 * Sampler object that defines how Allocations can be read as textures within a
35 * Any Allocation used with a Sampler must have been created with {@link
37 * Sampler on an {@link android.support.v8.renderscript.Allocation} that was not
42 public class Sampler extends BaseObj {
65 Sampler(long id, RenderScript rs) {
70 * @return minification setting for the sampler
77 * @return magnification setting for the sampler
84 * @return S wrapping mode for the sampler
91 * @return T wrapping mode for the sampler
98 * @return anisotropy setting for the sampler
334 Sampler sampler = new Sampler(id, mRS); local
    [all...]
  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/
Initialize.cpp 4026 TSampler sampler; local
    [all...]
  /external/deqp/external/openglcts/modules/common/
glcSampleVariablesTests.cpp 66 std::string const& sampler = "", std::string const& outType = "")
71 args["SAMPLER"] = sampler;
182 GLenum internalFormat, tcu::TextureFormat const& texFormat, const char* sampler,
207 tcu::TextureFormat const& texFormat, const char* sampler,
213 , m_sampler(sampler)
407 "uniform highp ${SAMPLER} u_tex;\n"
408 "uniform highp ${SAMPLER}MS u_texMS;\n"
441 // only MS sampler needed, TU 1 is not used
447 // only non-MS sampler needed, TU 1 is not use
884 char const* sampler; member in struct:deqp::Format
    [all...]
glcShaderMultisampleInterpolationTests.cpp 66 std::string const& sampler = "", std::string const& outType = "",
73 args["SAMPLER"] = sampler;
250 tcu::TextureFormat const& texFormat, const char* sampler, const char* outType, GLfloat min, GLfloat max,
260 , m_sampler(sampler)
438 "uniform highp ${SAMPLER}MS u_texMS;\n"
635 char const* sampler; member in struct:deqp::Format
659 formats[format].internalFormat, formats[format].textureFormat, formats[format].sampler,
glcShaderRenderCase.hpp 104 TextureBinding(const glu::Texture2D* tex2D, const tcu::Sampler& sampler);
105 TextureBinding(const glu::TextureCube* texCube, const tcu::Sampler& sampler);
106 TextureBinding(const glu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler);
107 TextureBinding(const glu::Texture3D* tex3D, const tcu::Sampler& sampler);
110 void setSampler(const tcu::Sampler& sampler);
170 tcu::Sampler sampler; member in struct:deqp::ShaderEvalContext::ShaderSampler
    [all...]
  /external/deqp/external/openglcts/modules/gl/
gl4cES31CompatibilitySampleVariablesTests.cpp 69 std::string const& sampler = "", std::string const& outType = "")
74 args["SAMPLER"] = sampler;
189 GLenum internalFormat, tcu::TextureFormat const& texFormat, const char* sampler,
214 tcu::TextureFormat const& texFormat, const char* sampler,
220 , m_sampler(sampler)
405 "uniform highp ${SAMPLER} u_tex;\n"
406 "uniform highp ${SAMPLER}MS u_texMS;\n"
439 // only MS sampler needed, TU 1 is not used
445 // only non-MS sampler needed, TU 1 is not use
882 char const* sampler; member in struct:gl4cts::es31compatibility::Format
    [all...]
  /external/deqp/framework/opengl/simplereference/
sglrShaderProgram.hpp 216 } sampler; member in struct:sglr::UniformSlot
222 sampler.ptr = DE_NULL;
  /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...]
glsStateChangePerfTestCases.cpp 454 GLuint sampler; local
455 gl.genSamplers(1, &sampler);
457 m_samplers.push_back(sampler);
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_idct.c 116 struct ureg_src sampler, bool resource3d)
118 ureg_TEX(shader, m[0], resource3d ? TGSI_TEXTURE_3D : TGSI_TEXTURE_2D, addr[0], sampler);
119 ureg_TEX(shader, m[1], resource3d ? TGSI_TEXTURE_3D : TGSI_TEXTURE_2D, addr[1], sampler);
510 struct pipe_sampler_state sampler; local
544 memset(&sampler, 0, sizeof(sampler));
545 sampler.wrap_s = PIPE_TEX_WRAP_REPEAT;
546 sampler.wrap_t = PIPE_TEX_WRAP_REPEAT;
547 sampler.wrap_r = PIPE_TEX_WRAP_REPEAT;
548 sampler.min_img_filter = PIPE_TEX_FILTER_NEAREST
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/a3xx/
fd3_emit.c 153 /* output sampler state: */
163 const struct fd3_sampler_stateobj *sampler = tex->samplers[i] ? local
167 OUT_RING(ring, sampler->texsamp0);
168 OUT_RING(ring, sampler->texsamp1);
170 needs_border |= sampler->needs_border;
266 /* output sampler state: */
306 /* The restore blit_zs shader expects stencil in sampler 0, and depth
307 * in sampler 1
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/a4xx/
fd4_emit.c 150 /* output sampler state: */
160 const struct fd4_sampler_stateobj *sampler = tex->samplers[i] ? local
163 OUT_RING(ring, sampler->texsamp0);
164 OUT_RING(ring, sampler->texsamp1);
166 needs_border |= sampler->needs_border;
269 /* output sampler state: */
299 /* The restore blit_zs shader expects stencil in sampler 0,
300 * and depth in sampler 1
316 * (The same applies for z32_s8x24, since for stencil sampler
  /external/mesa3d/src/gallium/drivers/freedreno/a5xx/
fd5_emit.c 193 struct pipe_sampler_state *sampler = tex->samplers[i]; local
196 if (!sampler)
199 bc = &sampler->border_color;
207 * 1:1 correspondence between sampler and texture. Take advantage
286 /* output sampler state: */
297 const struct fd5_sampler_stateobj *sampler = tex->samplers[i] ? local
300 OUT_RING(ring, sampler->texsamp0);
301 OUT_RING(ring, sampler->texsamp1);
302 OUT_RING(ring, sampler->texsamp2 |
304 OUT_RING(ring, sampler->texsamp3)
    [all...]
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_setup.c 947 const struct pipe_sampler_state *sampler = i < num ? samplers[i] : NULL; local
949 if (sampler) {
953 jit_sam->min_lod = sampler->min_lod;
954 jit_sam->max_lod = sampler->max_lod;
955 jit_sam->lod_bias = sampler->lod_bias;
956 COPY_4V(jit_sam->border_color, sampler->border_color.f);
    [all...]
  /external/mesa3d/src/gallium/drivers/r300/
r300_state_derived.c 792 struct r300_sampler_state *sampler; local
814 sampler = state->sampler_states[i];
818 texstate->filter0 = sampler->filter0;
819 texstate->filter1 = sampler->filter1;
824 sampler->state.border_color.f,
829 min_level = sampler->min_lod;
830 level_count = MIN3(sampler->max_lod,
    [all...]
  /external/mesa3d/src/gallium/state_trackers/va/
va_private.h 220 struct pipe_sampler_view *sampler; member in struct:__anon30231
  /external/mesa3d/src/gallium/state_trackers/xa/
xa_renderer.c 438 /* sampler */
440 struct pipe_sampler_state sampler; local
441 const struct pipe_sampler_state *p_sampler = &sampler;
443 memset(&sampler, 0, sizeof(sampler));
444 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
445 sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
446 sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
447 sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE;
448 sampler.min_img_filter = PIPE_TEX_FILTER_NEAREST
    [all...]
  /external/mesa3d/src/gallium/tests/graw/
gs-test.c 51 static void *sampler = NULL; variable
460 sampler = ctx->create_sampler_state(ctx, &sampler_desc);
461 if (sampler == NULL)
464 ctx->bind_sampler_states(ctx, PIPE_SHADER_FRAGMENT, 0, 1, &sampler);

Completed in 782 milliseconds

1 2 3 45 6 7 8 91011