/external/grub/lib/ |
D | device.c | 136 get_drive_geometry (struct geometry *geom, char **map, int drive) in get_drive_geometry() argument 140 if (geom->flags == -1) in get_drive_geometry() 146 fd = geom->flags; in get_drive_geometry() 149 geom->sector_size = SECTOR_SIZE; in get_drive_geometry() 164 geom->cylinders = hdg.cylinders; in get_drive_geometry() 165 geom->heads = hdg.heads; in get_drive_geometry() 166 geom->sectors = hdg.sectors; in get_drive_geometry() 167 geom->total_sectors = nr; in get_drive_geometry() 187 geom->total_sectors = media_size / sector_size; in get_drive_geometry() 190 geom->sectors = tmp; in get_drive_geometry() [all …]
|
/external/jmonkeyengine/engine/src/test/jme3test/tools/ |
D | TestOctree.java | 112 for (Geometry geom : globalGeomList){ in simpleInitApp() 113 geom.addLight(dl); in simpleInitApp() 114 geom.addLight(dl2); in simpleInitApp() 115 geom.updateGeometricState(); in simpleInitApp() 145 for (Geometry geom : renderSet){ in postQueue() 146 tris += geom.getTriangleCount(); in postQueue() 148 rq.addToQueue(geom, geom.getQueueBucket()); in postQueue()
|
/external/grub/stage2/ |
D | common.c | 260 struct geometry geom; in init_bios_info() local 265 if (get_diskinfo (drive, &geom)) in init_bios_info() 281 info->drive_mode = ((geom.flags & BIOSDISK_FLAG_LBA_EXTENSION) in init_bios_info() 283 info->drive_cylinders = geom.cylinders; in init_bios_info() 284 info->drive_heads = geom.heads; in init_bios_info() 285 info->drive_sectors = geom.sectors; in init_bios_info() 325 struct geometry geom; in init_bios_info() local 328 if (get_diskinfo (boot_drive, &geom) in init_bios_info() 329 || ! (geom.flags & BIOSDISK_FLAG_CDROM)) in init_bios_info()
|
/external/jmonkeyengine/engine/src/test/jme3test/light/ |
D | TestTransparentShadow.java | 69 Geometry geom = new Geometry("floor", q); in simpleInitApp() local 71 geom.setMaterial(mat); in simpleInitApp() 73 geom.rotate(-FastMath.HALF_PI, 0, 0); in simpleInitApp() 74 geom.center(); in simpleInitApp() 75 geom.setShadowMode(ShadowMode.Receive); in simpleInitApp() 76 rootNode.attachChild(geom); in simpleInitApp() 85 public void visit(Geometry geom) { in simpleInitApp() 88 geom.addControl(lodCtrl); in simpleInitApp()
|
D | TestEnvironmentMapping.java | 36 for (Spatial geom : buggy.getChildren()) { in simpleInitApp() 37 if (geom instanceof Geometry) { in simpleInitApp() 38 Material m = ((Geometry) geom).getMaterial(); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/test/jme3test/post/ |
D | TestTransparentSSAO.java | 35 Geometry geom = new Geometry("floor", q); in simpleInitApp() local 37 geom.setMaterial(mat); in simpleInitApp() 39 geom.rotate(-FastMath.HALF_PI, 0, 0); in simpleInitApp() 40 geom.center(); in simpleInitApp() 41 geom.setShadowMode(ShadowMode.Receive); in simpleInitApp() 42 rootNode.attachChild(geom); in simpleInitApp()
|
D | TestTransparentCartoonEdge.java | 37 Geometry geom = new Geometry("floor", q); in simpleInitApp() local 39 geom.setMaterial(mat); in simpleInitApp() 41 geom.rotate(-FastMath.HALF_PI, 0, 0); in simpleInitApp() 42 geom.center(); in simpleInitApp() 43 geom.setShadowMode(ShadowMode.Receive); in simpleInitApp() 44 rootNode.attachChild(geom); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/ |
D | TestExpandingTorus.java | 17 private Geometry geom; field in TestExpandingTorus 27 geom = new Geometry("Torus", torus); in simpleInitApp() 29 geom.setMaterial(mat); in simpleInitApp() 30 rootNode.attachChild(geom); in simpleInitApp()
|
D | TestBox.java | 51 Geometry geom = new Geometry("Box", b); in simpleInitApp() local 54 geom.setMaterial(mat); in simpleInitApp() 55 rootNode.attachChild(geom); in simpleInitApp()
|
D | TestCylinder.java | 52 Geometry geom = new Geometry("Cylinder", t); in simpleInitApp() local 61 geom.setMaterial(mat); in simpleInitApp() 63 rootNode.attachChild(geom); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
D | GeometryBatchFactory.java | 105 for (Geometry geom : geometries) { in mergeGeometries() 106 totalVerts += geom.getVertexCount(); in mergeGeometries() 107 totalTris += geom.getTriangleCount(); in mergeGeometries() 108 totalLodLevels = Math.min(totalLodLevels, geom.getMesh().getNumLodLevels()); in mergeGeometries() 112 switch (geom.getMesh().getMode()) { in mergeGeometries() 133 for (VertexBuffer vb : geom.getMesh().getBufferList().getArray()){ in mergeGeometries() 176 for (Geometry geom : geometries) { in mergeGeometries() 177 Mesh inMesh = geom.getMesh(); in mergeGeometries() 178 geom.computeWorldMatrix(); in mergeGeometries() 179 Matrix4f worldMatrix = geom.getWorldMatrix(); in mergeGeometries() [all …]
|
D | TextureAtlas.java | 416 public boolean applyCoords(Geometry geom) { in applyCoords() argument 417 return applyCoords(geom, 0, geom.getMesh()); in applyCoords() 428 public boolean applyCoords(Geometry geom, int offset, Mesh outMesh) { in applyCoords() argument 429 Mesh inMesh = geom.getMesh(); in applyCoords() 430 geom.computeWorldMatrix(); in applyCoords() 439 Texture tex = getMaterialTexture(geom, "DiffuseMap"); in applyCoords() 441 tex = getMaterialTexture(geom, "ColorMap"); in applyCoords() 493 Geometry geom = new Geometry(); in makeAtlasBatch() local 499 geom.setMesh(mesh); in makeAtlasBatch() 517 geom.setMaterial(mat); in makeAtlasBatch() [all …]
|
D | Octnode.java | 275 Geometry geom = new Geometry("bound", box); in renderBounds() local 276 geom.setLocalTranslation(bbox2.getCenter()); in renderBounds() 277 geom.setLocalScale(bbox2.getXExtent(), bbox2.getYExtent(), in renderBounds() 279 geom.updateGeometricState(); in renderBounds() 280 geom.setMaterial(mat); in renderBounds() 281 rq.addToQueue(geom, Bucket.Opaque); in renderBounds() 283 geom = null; in renderBounds()
|
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/ |
D | HelloJME3.java | 55 Geometry geom = new Geometry("Box", b); // create cube geometry from the shape in simpleInitApp() local 59 geom.setMaterial(mat); // set the cube's material in simpleInitApp() 60 rootNode.attachChild(geom); // make the cube appear in the scene in simpleInitApp()
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/ |
D | PhysicsCollisionObject.java | 235 Geometry geom = ((Geometry) spatial1); in getDebugShape() local 236 geom.setMaterial(debugMaterialBlue); in getDebugShape() 237 geom.setCullHint(Spatial.CullHint.Never); in getDebugShape() 240 Geometry geom = ((Geometry) spatial); in getDebugShape() local 241 geom.setMaterial(debugMaterialBlue); in getDebugShape() 242 geom.setCullHint(Spatial.CullHint.Never); in getDebugShape()
|
/external/jmonkeyengine/engine/src/test/jme3test/app/ |
D | TestReleaseDirectMemory.java | 54 Geometry geom = new Geometry("Box", b); in simpleInitApp() local 57 geom.setMaterial(mat); in simpleInitApp() 58 rootNode.attachChild(geom); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
D | BatchNode.java | 139 protected Transform getTransforms(Geometry geom) { in getTransforms() argument 140 return geom.getWorldTransform(); in getTransforms() 382 for (Geometry geom : geometries) { in mergeGeometries() 383 totalVerts += geom.getVertexCount(); in mergeGeometries() 384 totalTris += geom.getTriangleCount(); in mergeGeometries() 385 totalLodLevels = Math.min(totalLodLevels, geom.getMesh().getNumLodLevels()); in mergeGeometries() 386 if (maxVertCount < geom.getVertexCount()) { in mergeGeometries() 387 maxVertCount = geom.getVertexCount(); in mergeGeometries() 391 switch (geom.getMesh().getMode()) { in mergeGeometries() 412 for (VertexBuffer vb : geom.getMesh().getBufferList().getArray()) { in mergeGeometries() [all …]
|
D | SceneGraphVisitorAdapter.java | 18 public void visit(Geometry geom) {} in visit() argument 25 public void visit(Node geom) {} in visit() argument
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/util/ |
D | DebugShapeFactory.java | 105 Geometry geom = new Geometry(); in createDebugShape() local 106 geom.setMesh(DebugShapeFactory.getDebugMesh(shape)); in createDebugShape() 108 geom.updateModelBound(); in createDebugShape() 109 return geom; in createDebugShape()
|
/external/jmonkeyengine/engine/src/test/jme3test/texture/ |
D | TestTexture3DLoading.java | 32 Geometry geom = new Geometry("Quad", q); in simpleInitApp() local 48 geom.setMaterial(material); in simpleInitApp() 50 rootNode.attachChild(geom); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/ |
D | PhysicsCollisionObject.java | 255 Geometry geom = ((Geometry) spatial1); in getDebugShape() local 256 geom.setMaterial(debugMaterialBlue); in getDebugShape() 257 geom.setCullHint(Spatial.CullHint.Never); in getDebugShape() 260 Geometry geom = ((Geometry) spatial); in getDebugShape() local 261 geom.setMaterial(debugMaterialBlue); in getDebugShape() 262 geom.setCullHint(Spatial.CullHint.Never); in getDebugShape()
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
D | PlaceholderAssets.java | 58 Geometry geom = new Geometry("placeholder", box); in getPlaceholderModel() local 59 geom.setMaterial(getPlaceholderMaterial(assetManager)); in getPlaceholderModel() 60 return geom; in getPlaceholderModel()
|
/external/jmonkeyengine/engine/src/test/jme3test/niftygui/ |
D | TestNiftyGui.java | 57 Geometry geom = new Geometry("Box", b); in simpleInitApp() local 60 geom.setMaterial(mat); in simpleInitApp() 61 rootNode.attachChild(geom); in simpleInitApp()
|
D | TestNiftyToMesh.java | 83 Geometry geom = new Geometry("Box", b); in simpleInitApp() local 86 geom.setMaterial(mat); in simpleInitApp() 87 rootNode.attachChild(geom); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/util/ |
D | CollisionShapeFactory.java | 210 private static MeshCollisionShape createSingleMeshShape(Geometry geom, Spatial parent) { in createSingleMeshShape() argument 211 Mesh mesh = geom.getMesh(); in createSingleMeshShape() 212 Transform trans = getTransform(geom, parent); in createSingleMeshShape() 238 private static HullCollisionShape createSingleDynamicMeshShape(Geometry geom, Spatial parent) { in createSingleDynamicMeshShape() argument 239 Mesh mesh = geom.getMesh(); in createSingleDynamicMeshShape() 240 Transform trans = getTransform(geom, parent); in createSingleDynamicMeshShape()
|