mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
Must lock hardware around call to intelEmitCopyBlit()
This commit is contained in:
parent
5ac3ad7722
commit
ec30116c9f
1 changed files with 6 additions and 1 deletions
|
|
@ -372,7 +372,9 @@ void intel_region_cow( struct intel_context *intel,
|
|||
/* Now blit from the texture buffer to the new buffer:
|
||||
*/
|
||||
|
||||
/* LOCKING??? */
|
||||
intel_batchbuffer_flush( intel->batch );
|
||||
|
||||
LOCK_HARDWARE(intel);
|
||||
intelEmitCopyBlit( intel,
|
||||
region->cpp,
|
||||
region->pitch,
|
||||
|
|
@ -383,6 +385,9 @@ void intel_region_cow( struct intel_context *intel,
|
|||
0,0,
|
||||
region->pitch,
|
||||
region->height );
|
||||
|
||||
intel_batchbuffer_flush( intel->batch );
|
||||
UNLOCK_HARDWARE(intel);
|
||||
}
|
||||
|
||||
struct buffer *intel_region_buffer( struct intel_context *intel,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue