llvmpipe: rename MAXWIDTH, MAXHEIGHT

This commit is contained in:
Brian Paul 2010-04-23 09:10:18 -06:00
parent 2de31f2bf2
commit 4a72ec49f6
3 changed files with 6 additions and 6 deletions

View file

@ -54,8 +54,8 @@
/**
* Max drawing surface size is the max texture size
*/
#define MAXHEIGHT (1 << (LP_MAX_TEXTURE_LEVELS - 1))
#define MAXWIDTH (1 << (LP_MAX_TEXTURE_LEVELS - 1))
#define LP_MAX_HEIGHT (1 << (LP_MAX_TEXTURE_LEVELS - 1))
#define LP_MAX_WIDTH (1 << (LP_MAX_TEXTURE_LEVELS - 1))
#endif /* LP_LIMITS_H */

View file

@ -44,8 +44,8 @@ struct lp_scene_queue;
/* We're limited to 2K by 2K for 32bit fixed point rasterization.
* Will need a 64-bit version for larger framebuffers.
*/
#define TILES_X (MAXWIDTH / TILE_SIZE)
#define TILES_Y (MAXHEIGHT / TILE_SIZE)
#define TILES_X (LP_MAX_WIDTH / TILE_SIZE)
#define TILES_Y (LP_MAX_HEIGHT / TILE_SIZE)
#define CMD_BLOCK_MAX 128

View file

@ -52,8 +52,8 @@ llvmpipe_set_framebuffer_state(struct pipe_context *pipe,
boolean changed = !util_framebuffer_state_equal(&lp->framebuffer, fb);
assert(fb->width <= MAXWIDTH);
assert(fb->height <= MAXHEIGHT);
assert(fb->width <= LP_MAX_WIDTH);
assert(fb->height <= LP_MAX_HEIGHT);
if (changed) {