Searched defs:lod (Results 1 - 25 of 38) sorted by relevance

12

/external/jmonkeyengine/engine/src/test/jme3test/stress/
H A DTestBatchLod.java46 private boolean lod = false; field in class:TestBatchLod
/external/skia/src/utils/
H A DSkPatchGrid.cpp164 SkISize lod = SkPatchUtils::GetLevelOfDetail(cubics, &matrix); local
165 maxCols[x] = SkMax32(maxCols[x], lod.width());
166 maxRows[y] = SkMax32(maxRows[y], lod.height());
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
H A DStatistics.java124 public void onMeshDrawn(Mesh mesh, int lod){ argument
126 numTriangles += mesh.getTriangleCount(lod);
H A DRenderer.java267 * @param lod The LOD level to use, see {@link Mesh#setLodLevels(com.jme3.scene.VertexBuffer[]) }.
270 public void renderMesh(Mesh mesh, int lod, int count); argument
/external/clang/test/CodeGen/
H A D2008-03-24-BitField-And-Alloca.c54 unsigned int lod : 2; member in struct:_Key::__anon1716
68 if(((iospec.key_io.lod == G_B) &&
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
H A DGeometry.java148 * @param lod The lod level to set
151 public void setLodLevel(int lod) { argument
156 if (lod < 0 || lod >= mesh.getNumLodLevels()) {
157 throw new IllegalArgumentException("LOD level is out of range: " + lod);
160 lodLevel = lod;
H A DNode.java484 public void setLodLevel(int lod){ argument
485 super.setLodLevel(lod);
487 child.setLodLevel(lod);
H A DMesh.java386 * index buffer, returns zero if there are no lod levels.
393 * Returns the lod level at the given index.
395 * @param lod The lod level index, this does not include
404 public VertexBuffer getLodLevel(int lod){ argument
405 return lodLevels[lod];
702 * @param lod The lod level to look up
705 public int getTriangleCount(int lod){ argument
707 if (lod <
[all...]
H A DSpatial.java1077 * @param lod The lod level to set.
1079 public void setLodLevel(int lod) { argument
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
H A DLODGeomap.java84 public Mesh createMesh(Vector3f scale, Vector2f tcScale, Vector2f tcOffset, float offsetAmount, int totalSize, boolean center, int lod, boolean rightLod, boolean topLod, boolean leftLod, boolean bottomLod) { argument
88 IntBuffer ib = writeIndexArrayLodDiff(null, lod, rightLod, topLod, leftLod, bottomLod);
148 * @param lod level of detail of the mesh
155 public IntBuffer writeIndexArrayLodDiff(IntBuffer store, int lod, boolean rightLod, boolean topLod, boolean leftLod, boolean bottomLod) { argument
158 int numIndexes = calculateNumIndexesLodDiff(lod);
166 //System.out.println("for (x="+lod+"; x<"+(getWidth()-(2*lod))+"; x+="+lod+")");
167 //System.out.println(" for (z="+lod+"; z<"+(getWidth()-(1*lod))
358 writeIndexArrayLodVariable(IntBuffer store, int lod, int rightLod, int topLod, int leftLod, int bottomLod) argument
605 calculateNumIndexesLodDiff(int lod) argument
[all...]
H A DTerrainPatch.java83 protected int lod = -1; // this terrain patch's LOD field in class:TerrainPatch
217 * The maximum lod supported by this terrain patch.
731 return lod;
734 public void setLod(int lod) { argument
735 this.lod = lod;
/external/jmonkeyengine/engine/src/core/com/jme3/system/
H A DNullRenderer.java137 public void renderMesh(Mesh mesh, int lod, int count) { argument
/external/deqp/modules/egl/
H A DteglGLES2SharingTests.cpp615 float lod = 0.0f; local
617 tcu::Vec4 color = m_texture.sample(tcu::Sampler(tcu::Sampler::REPEAT_GL, tcu::Sampler::REPEAT_GL, tcu::Sampler::REPEAT_GL, tcu::Sampler::LINEAR, tcu::Sampler::LINEAR), t, s, lod);
/external/mesa3d/src/mesa/program/
H A Dprog_execute.c1716 GLfloat texcoord[4], color[4], lod; local
1721 lod = texcoord[3];
1723 machine->FetchTexelLod(ctx, texcoord, lod,
/external/skia/src/core/
H A DSkDevice.cpp114 SkISize lod = SkPatchUtils::GetLevelOfDetail(cubics, draw.fMatrix); local
118 if (SkPatchUtils::getVertexData(&data, cubics, colors, texCoords, lod.width(), lod.height())) {
/external/deqp/modules/gles2/functional/
H A Des2fShaderTextureFunctionTests.cpp163 float lod; member in struct:deqp::gles2::Functional::__anon3202::TexLookupParams
168 : lod (0.0f)
192 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); } argument
193 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); } argument
196 static void evalTexture2D (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod)*p.scale + p.bias; }
197 static void evalTextureCube (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod)*p.scale + p.bias; }
199 static void evalTexture2DBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod+c.in[1].x())*p.scale + p.bias; }
200 static void evalTextureCubeBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod
[all...]
H A Des2fFboRenderTest.cpp163 const float lod = 0.0f; local
165 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, this->m_uniforms[0].sampler.tex2D->sample(v_coord.x(), v_coord.y(), lod));
226 const float lod = 0.0f; local
228 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, this->m_uniforms[0].sampler.tex2D->sample(v_coord.x(), v_coord.y(), lod) * 0.5f
229 + this->m_uniforms[1].sampler.tex2D->sample(v_coord.x(), v_coord.y(), lod) * 0.5f);
H A Des2fVertexTextureTests.cpp356 static inline Vec4 sample (const tcu::Texture2D& tex, const Vec2& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), lod); } argument
357 static inline Vec4 sample (const tcu::TextureCube& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), coord.z(), lod); } argument
360 void computeReference (const typename TexTypeTcuClass<TexType>::t& texture, float lod, const tcu::Sampler& sampler, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst, const Rect& dstRegion) argument
371 quadColors[ndx] = sample(texture, coord, lod, sampler);
402 void setupShaderInputs (int textureNdx, float lod, const Grid& grid) const;
403 void renderCell (int textureNdx, float lod, const Grid& grid) const;
404 void computeReferenceCell (int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const;
602 const float lod local
630 setupShaderInputs(int textureNdx, float lod, const Grid& grid) const argument
677 renderCell(int textureNdx, float lod, const Grid& grid) const argument
683 computeReferenceCell(int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const argument
934 const float lod = calculateLod(rend.texCoordScale, rend.region.size().asFloat(), rend.textureNdx); local
962 setupShaderInputs(int textureNdx, float lod, const Grid& grid) const argument
1009 renderCell(int textureNdx, float lod, const Grid& grid) const argument
1016 computeReferenceCell(int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const argument
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fTextureFilteringTests.cpp682 tcu::Vec2 lod; member in struct:deqp::gles3::Functional::Texture2DArrayFilteringCase::FilterCase
693 , lod (lod_)
848 m_testCtx.getLog() << TestLog::Message << "Approximate lod per axis = " << curCase.lod << ", offset = " << curCase.offset << TestLog::EndMessage;
851 const float lodX = curCase.lod.x();
852 const float lodY = curCase.lod.y();
948 tcu::Vec3 lod; member in struct:deqp::gles3::Functional::Texture3DFilteringCase::FilterCase
958 , lod (lod_)
1088 m_testCtx.getLog() << TestLog::Message << "Approximate lod per axis = " << curCase.lod << ", offse
[all...]
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
H A DLwjglGL1Renderer.java1047 private void renderMeshDefault(Mesh mesh, int lod, int count) { argument
1057 indices = mesh.getLodLevel(lod);
1091 public void renderMesh(Mesh mesh, int lod, int count) { argument
1122 statistics.onMeshDrawn(mesh, lod);
1128 renderMeshDefault(mesh, lod, count);
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample_soa.c980 * Calculate cube face, lod, mip levels.
1029 /* Need to compute lod either to choose mipmap levels or to
1123 * depending on the lod being > 0 or <= 0, respectively.
1128 /* minify = lod >= 0.0 */
1567 LLVMValueRef lod; local
1597 lod = LLVMBuildExtractElement(gallivm->builder, explicit_lod, lp_build_const_int32(gallivm, 0), "");
1599 lod = lp_build_broadcast_scalar(&bld_int_vec,
1600 LLVMBuildAdd(gallivm->builder, lod, first_level, "lod"));
1603 lod
[all...]
/external/mesa3d/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_lowering_nv50.cpp582 const int lod = i->tex.target.isShadow() ? (arg + 1) : arg; local
584 // dref comes before bias/lod
587 i->swapSources(dref, lod);
626 // Bias must be equal for all threads of a quad or lod calculation will fail.
696 Value *lod = i->getSrc(i->tex.target.getArgCount()); local
697 if (lod->isUniform())
711 bld.mkQuadop(qop, pred, l, lod, lod)->flagsDef = 0;
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_fs_visitor.cpp751 fs_reg shadow_c, fs_reg lod, fs_reg dPdy)
776 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen), lod);
792 fs_reg &dPdx = lod;
829 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen, BRW_REGISTER_TYPE_UD), lod);
832 /* Oh joy. gen4 doesn't have SIMD8 non-shadow-compare bias/lod
851 /* lod/bias appears after u/v/r. */
854 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen, lod.type), lod);
920 fs_reg shadow_c, fs_reg lod, fs_reg lod2)
976 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen), lod);
750 emit_texture_gen4(ir_texture *ir, fs_reg dst, fs_reg coordinate, fs_reg shadow_c, fs_reg lod, fs_reg dPdy) argument
919 emit_texture_gen5(ir_texture *ir, fs_reg dst, fs_reg coordinate, fs_reg shadow_c, fs_reg lod, fs_reg lod2) argument
1039 emit_texture_gen7(ir_texture *ir, fs_reg dst, fs_reg coordinate, fs_reg shadow_c, fs_reg lod, fs_reg lod2) argument
1304 fs_reg lod, lod2; local
[all...]
/external/deqp/framework/common/
H A DtcuTexture.hpp216 float lodThreshold; // lod <= lodThreshold ? magnified : minified
417 Vec4 sampleLevelArray1D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, int level, float lod);
418 Vec4 sampleLevelArray2D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, int depth, float lod);
419 Vec4 sampleLevelArray3D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, float r, float lod);
421 Vec4 sampleLevelArray1DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float lod, const IVec2& offset);
422 Vec4 sampleLevelArray2DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, float lod, const IVec3& offset);
423 Vec4 sampleLevelArray3DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset);
425 float sampleLevelArray1DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float ref, float s, float lod, const IVec2& offset);
426 float sampleLevelArray2DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float ref, float s, float t, float lod, const IVec3& offset);
478 Vec4 sample (const Sampler& sampler, float s, float lod) cons
500 sampleOffset(const Sampler& sampler, float s, float lod, deInt32 offset) const argument
510 sampleCompareOffset(const Sampler& sampler, float ref, float s, float lod, deInt32 offset) const argument
554 sampleOffset(const Sampler& sampler, float s, float t, float lod, const IVec2& offset) const argument
564 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float lod, const IVec2& offset) const argument
651 sampleOffset(const Sampler& sampler, float s, float lod, deInt32 offset) const argument
702 sampleOffset(const Sampler& sampler, float s, float t, float lod, const IVec2& offset) const argument
712 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float lod, const IVec2& offset) const argument
910 sampleOffset(const Sampler& sampler, float s, float t, float lod, deInt32 offset) const argument
920 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float lod, deInt32 offset) const argument
971 sampleOffset(const Sampler& sampler, float s, float t, float r, float lod, const IVec2& offset) const argument
981 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float r, float lod, const IVec2& offset) const argument
1024 sampleOffset(const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset) const argument
1070 sampleOffset(const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset) const argument
1143 sampleOffset(const Sampler& sampler, float s, float t, float r, float q, float lod, const IVec2& offset) const argument
1153 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float r, float q, float lod, const IVec2& offset) const argument
[all...]
/external/deqp/framework/randomshaders/
H A DrsgExpression.cpp1651 ExecConstValueAccess lod = m_lodBiasExpr->getValue(); local
1657 float l = lod.component(0).asFloat(i);
1684 ExecConstValueAccess lod = m_lodBiasExpr->getValue(); local
1691 float l = lod.component(0).asFloat(i);
1718 ExecConstValueAccess lod = m_lodBiasExpr->getValue(); local
1725 float l = lod.component(0).asFloat(i);

Completed in 617 milliseconds

12