diff options
Diffstat (limited to 'src/mesa/drivers/dri/intel')
| -rw-r--r-- | src/mesa/drivers/dri/intel/intel_screen.c | 2 | ||||
| -rw-r--r-- | src/mesa/drivers/dri/intel/intel_span.c | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c index 36dce171c6..9ed89906d5 100644 --- a/src/mesa/drivers/dri/intel/intel_screen.c +++ b/src/mesa/drivers/dri/intel/intel_screen.c @@ -55,7 +55,7 @@ PUBLIC const char __driConfigOptions[] = DRI_CONF_BEGIN DRI_CONF_SECTION_PERFORMANCE DRI_CONF_FTHROTTLE_MODE(DRI_CONF_FTHROTTLE_IRQS) - DRI_CONF_VBLANK_MODE(DRI_CONF_VBLANK_DEF_INTERVAL_0) + DRI_CONF_VBLANK_MODE(DRI_CONF_VBLANK_ALWAYS_SYNC) /* Options correspond to DRI_CONF_BO_REUSE_DISABLED, * DRI_CONF_BO_REUSE_ALL */ diff --git a/src/mesa/drivers/dri/intel/intel_span.c b/src/mesa/drivers/dri/intel/intel_span.c index 079b9e6a9d..edede3a74b 100644 --- a/src/mesa/drivers/dri/intel/intel_span.c +++ b/src/mesa/drivers/dri/intel/intel_span.c @@ -404,6 +404,7 @@ static uint32_t y_tile_swizzle(struct intel_renderbuffer *irb, /** ** 16-bit depthbuffer functions. **/ +#define VALUE_TYPE GLushort #define WRITE_DEPTH(_x, _y, d) \ pwrite_16(irb, no_tile_swizzle(irb, intel, _x, _y), d) #define READ_DEPTH(d, _x, _y) \ @@ -415,6 +416,7 @@ static uint32_t y_tile_swizzle(struct intel_renderbuffer *irb, /** ** 16-bit x tile depthbuffer functions. **/ +#define VALUE_TYPE GLushort #define WRITE_DEPTH(_x, _y, d) \ pwrite_16(irb, x_tile_swizzle(irb, intel, _x, _y), d) #define READ_DEPTH(d, _x, _y) \ @@ -425,6 +427,7 @@ static uint32_t y_tile_swizzle(struct intel_renderbuffer *irb, /** ** 16-bit y tile depthbuffer functions. **/ +#define VALUE_TYPE GLushort #define WRITE_DEPTH(_x, _y, d) \ pwrite_16(irb, y_tile_swizzle(irb, intel, _x, _y), d) #define READ_DEPTH(d, _x, _y) \ @@ -439,6 +442,8 @@ static uint32_t y_tile_swizzle(struct intel_renderbuffer *irb, ** The wrappers in main/depthstencil.c are used to extract the depth ** and stencil values. **/ +#define VALUE_TYPE GLuint + /* Change ZZZS -> SZZZ */ #define WRITE_DEPTH(_x, _y, d) \ pwrite_32(irb, no_tile_swizzle(irb, intel, _x, _y), \ @@ -460,6 +465,8 @@ static uint32_t y_tile_swizzle(struct intel_renderbuffer *irb, ** The wrappers in main/depthstencil.c are used to extract the depth ** and stencil values. **/ +#define VALUE_TYPE GLuint + /* Change ZZZS -> SZZZ */ #define WRITE_DEPTH(_x, _y, d) \ pwrite_32(irb, x_tile_swizzle(irb, intel, _x, _y), \ @@ -480,6 +487,8 @@ static uint32_t y_tile_swizzle(struct intel_renderbuffer *irb, ** The wrappers in main/depthstencil.c are used to extract the depth ** and stencil values. **/ +#define VALUE_TYPE GLuint + /* Change ZZZS -> SZZZ */ #define WRITE_DEPTH(_x, _y, d) \ pwrite_32(irb, y_tile_swizzle(irb, intel, _x, _y), \ |
