mesa/src
Marek Olšák 1ffe77e7bb gallium: split transfer_inline_write into buffer and texture callbacks
to reduce the call indirections with u_resource_vtbl.

The worst call tree you could get was:
  - u_transfer_inline_write_vtbl
    - u_default_transfer_inline_write
      - u_transfer_map_vtbl
        - driver_transfer_map
      - u_transfer_unmap_vtbl
        - driver_transfer_unmap

That's 6 indirect calls. Some drivers only had 5. The goal is to have
1 indirect call for drivers that care. The resource type can be determined
statically at most call sites.

The new interface is:
  pipe_context::buffer_subdata(ctx, resource, usage, offset, size, data)
  pipe_context::texture_subdata(ctx, resource, level, usage, box, data,
                                stride, layer_stride)

v2: fix whitespace, correct ilo's behavior

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Acked-by: Roland Scheidegger <sroland@vmware.com>
2016-07-23 13:33:42 +02:00
..
compiler nir: Lower interp_var_at_* like a normal load_var for flat inputs. 2016-07-22 20:31:20 -07:00
egl egl/android: Stop leaking DRI images 2016-07-20 15:48:54 +01:00
gallium gallium: split transfer_inline_write into buffer and texture callbacks 2016-07-23 13:33:42 +02:00
gbm gbm: Fix comments 2016-06-23 13:55:03 -07:00
getopt
glx Avoid overflow in 'last' variable of FindGLXFunction(...) 2016-07-20 16:05:17 +01:00
gtest Remove wrongly repeated words in comments 2016-06-23 13:55:03 -07:00
hgl
intel anv/pipeline: Set up point coord enables 2016-07-22 16:48:54 -07:00
loader Android: move libdrm settings to top-level Android.common.mk 2016-06-13 15:31:29 +01:00
mapi mapi: fix typo in macro name 2016-07-22 10:14:00 -07:00
mesa gallium: split transfer_inline_write into buffer and texture callbacks 2016-07-23 13:33:42 +02:00
util list: fix list_replace() for empty lists 2016-07-06 10:17:30 -04:00
Makefile.am automake: don't mandate git_sha1.h/MESA_GIT_SHA1 2016-07-05 12:16:20 +01:00
SConscript scons: put the generated git_sha1.h file in top-level src/ directory 2016-06-17 10:33:00 -06:00