[PATCH xserver] glamor: Use GL_MESA_tile_raster_order for overlapping blits.

Eric Anholt eric at anholt.net
Wed Oct 11 16:56:28 UTC 2017


Keith Packard <keithp at keithp.com> writes:

> [ Unknown signature status ]
> Eric Anholt <eric at anholt.net> writes:
>
>> +/* Include the enums here for the moment, to keep from needing to bump epoxy. */
>> +#ifndef GL_TILE_RASTER_ORDER_FIXED_MESA
>> +#define GL_TILE_RASTER_ORDER_FIXED_MESA          0x8BB8
>> +#define GL_TILE_RASTER_ORDER_INCREASING_X_MESA   0x8BB9
>> +#define GL_TILE_RASTER_ORDER_INCREASING_Y_MESA   0x8BBA
>> +#endif
>
> Yuck, but whatever.
>> @@ -611,34 +633,36 @@ glamor_copy_needs_temp(DrawablePtr src,
>>      if (!glamor_priv->has_nv_texture_barrier)
>>          return TRUE;
>
> Looks like you're also requiring nv_texture_barrier to use the new
> extension?

texture_barrier is an explicit requirement of the new extension (it's
how get caches flushed between different overlapping blits).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20171011/9fea62ca/attachment.sig>


More information about the xorg-devel mailing list