/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::__anon19705 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::__anon19715 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
|
image.h | 47 struct pipe_sampler_state sampler; member in struct:vg_image
|
/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/mesa/drivers/dri/i965/ |
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/mesa3d/src/gallium/drivers/i915/ |
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/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);
|
sp_context.h | 146 struct pipe_sampler_state *sampler; member in struct:softpipe_context::__anon19777
|
/external/mesa3d/src/gallium/tests/graw/ |
graw_util.h | 290 void *sampler; local 304 sampler = info->ctx->create_sampler_state(info->ctx, &sampler_desc); 306 return sampler;
|
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);
|
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);
|
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/skia/src/codec/ |
SkSampledCodec.cpp | 185 SkSampler* sampler = this->codec()->getSampler(true); local 186 if (!sampler) { 195 if (sampler->setSampleX(sampleX) != info.width()) {
|
/external/caliper/lib/ |
java-allocation-instrumenter-2.0.jar | |
/external/deqp/framework/randomshaders/ |
rsgProgramExecutor.cpp | 178 void ProgramExecutor::setTexture (int samplerNdx, const tcu::Texture2D* texture, const tcu::Sampler& sampler) 180 m_samplers2D[samplerNdx] = Sampler2D(texture, sampler); 183 void ProgramExecutor::setTexture (int samplerNdx, const tcu::TextureCube* texture, const tcu::Sampler& sampler) 185 m_samplersCube[samplerNdx] = SamplerCube(texture, sampler);
|
/external/mesa3d/src/gallium/drivers/r600/ |
evergreen_compute_internal.h | 110 void evergreen_set_sampler_resource(struct r600_pipe_compute *pipe, struct compute_sampler_state *sampler, int id);
|
/external/mesa3d/src/glsl/ |
link_uniforms.cpp | 286 const unsigned s = this->uniforms[id].sampler + i; 306 this->uniforms[id].sampler = this->next_sampler; 308 /* Increment the sampler by 1 for non-arrays and by the number of 315 for (unsigned i = this->uniforms[id].sampler 324 this->uniforms[id].sampler = ~0; 533 * value of zero. This includes sampler uniforms. 538 * initializer, if present, or 0 if no initializer is present. Sampler
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i915_program.h | 118 GLuint sampler, GLuint coord, GLuint op);
|