Home
last modified time | relevance | path

Searched refs:tileHeight (Results 1 – 12 of 12) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DTiledVertexGrid.java40 public TiledVertexGrid(Texture texture, int width, int height, int tileWidth, int tileHeight) { in TiledVertexGrid() argument
43 mTileHeight = tileHeight; in TiledVertexGrid()
61 final int tileHeight = mTileHeight; in generateGrid() local
63 final int tilesDown = height / tileHeight; in generateGrid()
68 final int textureTilesDown = texture.height / tileHeight; in generateGrid()
90 final float offsetY = tileY * tileHeight; in generateGrid()
97 int textureOffsetY = (tileIndex / textureTilesAcross) * tileHeight; in generateGrid()
101 textureOffsetY > texture.height - tileHeight) { in generateGrid()
108 … final float v2 = ((textureOffsetY + tileHeight - GL_MAGIC_OFFSET) * texelHeight); in generateGrid()
112 final float[] p2 = { offsetX, offsetY + tileHeight, 0.0f }; in generateGrid()
[all …]
DLevelBuilder.java120 int width, int height, int tileWidth, int tileHeight, TiledWorld world, in addTileMapLayer() argument
157 width, height, tileWidth, tileHeight); in addTileMapLayer()
DCollisionSystem.java86 public void initialize(TiledWorld world, int tileWidth, int tileHeight) { in initialize() argument
90 mTileHeight = tileHeight; in initialize()
631 public void setup(Vector2 movementDirection, int tileWidth, int tileHeight) { in setup() argument
639 mTileHeight = tileHeight; in setup()
DGameObjectFactory.java574 public void spawnFromWorld(TiledWorld world, int tileWidth, int tileHeight) {
576 final float worldHeight = world.getHeight() * tileHeight;
586 final float worldY = worldHeight - ((y + 1) * tileHeight);
589 if (object.height < tileHeight) {
592 object.getPosition().y += (tileHeight - object.height) / 2.0f;
/external/dng_sdk/source/
Ddng_tile_iterator.cpp125 int32 tileHeight = tile.b - vOffset; in Initialize() local
128 fTileHeight = tileHeight; in Initialize()
136 fTopPage = (fArea.t - vOffset ) / tileHeight; in Initialize()
137 fBottomPage = (fArea.b - vOffset - 1) / tileHeight; in Initialize()
142 fTileTop = fVerticalPage * tileHeight + vOffset; in Initialize()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c88 unsigned tileWidth, tileHeight; in get_texture_image_size() local
90 get_tile_size(format, &tileWidth, &tileHeight); in get_texture_image_size()
91 tileHeight--; in get_texture_image_size()
93 height = (height + tileHeight) & ~tileHeight; in get_texture_image_size()
109 unsigned tileWidth, tileHeight; in get_texture_image_row_stride() local
110 get_tile_size(format, &tileWidth, &tileHeight); in get_texture_image_row_stride()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c88 unsigned tileWidth, tileHeight; in get_texture_image_size() local
90 get_tile_size(format, &tileWidth, &tileHeight); in get_texture_image_size()
91 tileHeight--; in get_texture_image_size()
93 height = (height + tileHeight) & ~tileHeight; in get_texture_image_size()
109 unsigned tileWidth, tileHeight; in get_texture_image_row_stride() local
110 get_tile_size(format, &tileWidth, &tileHeight); in get_texture_image_row_stride()
/external/mesa3d/src/amd/addrlib/src/core/
Daddrlib1.cpp3980 UINT_32 tileHeight = 0; in ComputePrtInfo() local
3989 tileHeight = 256; in ComputePrtInfo()
3994 tileHeight = 128; in ComputePrtInfo()
3999 tileHeight = 128; in ComputePrtInfo()
4005 tileHeight = 256; in ComputePrtInfo()
4010 tileHeight = 64; in ComputePrtInfo()
4017 tileHeight = 256; in ComputePrtInfo()
4022 tileHeight = 64; in ComputePrtInfo()
4033 tileHeight = tileHeight / 2; in ComputePrtInfo()
4038 tileHeight = tileHeight / 2; in ComputePrtInfo()
[all …]
/external/skia/src/shaders/
DSkPerlinNoiseShader.cpp270 SkScalar tileHeight = SkIntToScalar(fTileSize.height()); in stitch() local
271 SkASSERT(tileWidth > 0 && tileHeight > 0); in stitch()
289 SkScalarFloorToScalar(tileHeight * fBaseFrequency.fY) / tileHeight; in stitch()
291 SkScalarCeilToScalar(tileHeight * fBaseFrequency.fY) / tileHeight; in stitch()
301 tileHeight * fBaseFrequency.fY); in stitch()
/external/skqp/src/shaders/
DSkPerlinNoiseShader.cpp271 SkScalar tileHeight = SkIntToScalar(fTileSize.height()); in stitch() local
272 SkASSERT(tileWidth > 0 && tileHeight > 0); in stitch()
290 SkScalarFloorToScalar(tileHeight * fBaseFrequency.fY) / tileHeight; in stitch()
292 SkScalarCeilToScalar(tileHeight * fBaseFrequency.fY) / tileHeight; in stitch()
302 tileHeight * fBaseFrequency.fY); in stitch()
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp4071 const deUint32 tileHeight = de::min(tileSize, imageHeight - tileSize * y); in generateChessboardCopyRegions() local
4076 (deInt32)y * (deInt32)tileHeight, // deInt32 y in generateChessboardCopyRegions()
4083 tileHeight, // deUint32 height in generateChessboardCopyRegions()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c1964 const GLint tileHeight = MIN2(tileSize, height - j); in tiled_draw_pixels() local
1969 _mesa_meta_DrawPixels(ctx, tileX, tileY, tileWidth, tileHeight, in tiled_draw_pixels()