Improve tcuTexture performance by caching pixel size.
authorMika Isojärvi <misojarvi@google.com>
Tue, 3 Feb 2015 22:34:22 +0000 (14:34 -0800)
committerMika Isojärvi <misojarvi@google.com>
Mon, 9 Feb 2015 17:52:05 +0000 (09:52 -0800)
commit29340067e919854db7d50bb8c0b666117b229f5e
treea5a17249d5b5b1506fdea0e1cc23206bd3b24cb2
parent9c4bd42ac552d42beab43bd1d60efc9274929189
Improve tcuTexture performance by caching pixel size.

Cache pixel size of the texture format to improve performance. On N6,
N7, N9 and my host machine this improves dEQP-GLES3.functional.texture
tests runtime by ~1-2%.

Change-Id: Ib804cfde7e24fa89a88b7ad907502d0ddded2cea
framework/common/tcuTexture.cpp
framework/common/tcuTexture.hpp