mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
Disable zero-copy texturing for now as it isn't such a win with the
newest memory manager code.
This commit is contained in:
parent
5dbadd418c
commit
269219dc05
1 changed files with 5 additions and 3 deletions
|
|
@ -417,9 +417,12 @@ intelTexImage(GLcontext * ctx,
|
|||
DBG("trying pbo upload\n");
|
||||
|
||||
/* Attempt to texture directly from PBO data (zero copy upload).
|
||||
* This is about twice as fast as regular uploads:
|
||||
*
|
||||
* Currently disable as it can lead to worse as well as better
|
||||
* performance (in particular when intel_region_cow() is
|
||||
* required).
|
||||
*/
|
||||
if (intelObj->mt == intelImage->mt &&
|
||||
if (0 && intelObj->mt == intelImage->mt &&
|
||||
intelObj->mt->first_level == level &&
|
||||
intelObj->mt->last_level == level) {
|
||||
|
||||
|
|
@ -434,7 +437,6 @@ intelTexImage(GLcontext * ctx,
|
|||
|
||||
|
||||
/* Otherwise, attempt to use the blitter for PBO image uploads.
|
||||
* This is about 20% faster than regular uploads:
|
||||
*/
|
||||
if (try_pbo_upload(intel, intelImage, unpack,
|
||||
internalFormat,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue