History log of /external/mesa3d/src/gallium/drivers/vc4/vc4_tiling.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
69da8c32c78cf67a55f32c71932d89b01154d49c 06-Jan-2017 Eric Anholt <eric@anholt.net> vc4: Rewrite T image handling based on calling the LT handler.

The T images are composed of effectively swizzled-around blocks of LT (4x4
utile) images, so we can reduce the t_utile_address() calls by 16x by
calling into the simpler LT loop.

This also adds support for calling down with non-utile-aligned
coordinates, which will be part of lifting the utile alignment requirement
on our callers and avoiding the RMW on non-utile-aligned stores.

Improves 1024x1024 TexSubImage by 2.55014% +/- 1.18584% (n=46)
Improves 1024x1024 GetTexImage by 2.242% +/- 0.880954% (n=32)
/external/mesa3d/src/gallium/drivers/vc4/vc4_tiling.c
3a3a0d2d6cf37ff9d6e7f8ec9a6a78b24a353e08 06-Jan-2017 Eric Anholt <eric@anholt.net> vc4: Move the utile_width/height functions to header inlines.

I want these inlined in the callers, particularly with the tiling
changes coming up, but we're not building with lto so some caller
would suffer.
/external/mesa3d/src/gallium/drivers/vc4/vc4_tiling.c
6cf9ff8a6ce1a74260238d7f1fc6ab86c7eaea58 05-Jan-2017 Eric Anholt <eric@anholt.net> vc4: Make the load/store utile functions static.

They don't have any other callers outside of this file, and I'm hoping
they get inlined soon.
/external/mesa3d/src/gallium/drivers/vc4/vc4_tiling.c
e64b1169d37599a9ee1c5877aa457a41c5a8d726 04-Jan-2017 Eric Anholt <eric@anholt.net> vc4: Simplify the load/store utile functions.

They now have less of a dependency on the cpp, and don't have to do a
divide.

Hacking up mesa-demos teximage to do only one subtest and not draw
points, I saw 1024x1024 glTexSubImage2D() improve by 4.86939% +/-
1.40408% (n=30) and glGetTexImage() by 2.18978% +/- 0.140268% (n=5).
/external/mesa3d/src/gallium/drivers/vc4/vc4_tiling.c
f25fdf21e74416e11bc13973d7ec8d022e93c6e2 25-May-2016 Rhys Kidd <rhyskidd@gmail.com> vc4: Fix doxygen warnings

Now that vc4 automated code documentation can be generated with
doxygen, fix the warnings issued by Doxygen 1.8.11.

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
/external/mesa3d/src/gallium/drivers/vc4/vc4_tiling.c
f6d21bcd6b5cd5073a571034ec640177b0abf82d 15-Apr-2016 Eric Anholt <eric@anholt.net> vc4: Fix subimage accesses to LT textures.

This code started out like the T case, iterating over utile offsets, but I
had partially switched it to iterating over pixel offsets. I hadn't
caught this before because it's unusual to do piecemeal uploads to small
textures.

Fixes bad text rendering in QT5 apps, which use a 256x16 glyph cache.
Also fixes 6 piglit tests related to glTexSubImage() and
glGetTexSubImage().

Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/gallium/drivers/vc4/vc4_tiling.c
cd7dd45bfec9ad68719c5e4e04b66ea4bcc1a2c1 11-Jul-2015 Eric Anholt <eric@anholt.net> vc4: Fix compiler warnings on release builds.
/external/mesa3d/src/gallium/drivers/vc4/vc4_tiling.c
3a1efcc7f9f99d42cda191ded1eb78140366c708 19-Aug-2014 Eric Anholt <eric@anholt.net> vc4: Add support for texture tiling.

This still treats everything as RGBA8888 for the most part, same as
before. This is a prerequisite for handling other texture formats, since
only RGBA8888 has a raster-layout mode.
/external/mesa3d/src/gallium/drivers/vc4/vc4_tiling.c