mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-06-07 06:28:17 +02:00
drm-i915: Don't tile temporary image textures.
As uploading to a tiled buffer is much slower than linear memory, don't unless we expect to reuse the texture. This is not true for sub-image clones, which are single shot affairs.
This commit is contained in:
parent
f75b7c4c11
commit
6848c7c850
1 changed files with 1 additions and 1 deletions
|
|
@ -1274,7 +1274,7 @@ i915_surface_clone_subimage (i915_device_t *device,
|
|||
image->base.content,
|
||||
extents->width,
|
||||
extents->height,
|
||||
I915_TILING_DEFAULT,
|
||||
I915_TILING_NONE,
|
||||
FALSE);
|
||||
if (unlikely (clone->intel.drm.base.status))
|
||||
return clone->intel.drm.base.status;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue