diff options
author | Brian Paul <[email protected]> | 2016-02-08 09:59:40 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-02-09 11:27:48 -0700 |
commit | 7d18faf8e7509a575f39b0a409b8167db7561153 (patch) | |
tree | 1713633190ec8657a32f11e0a4017da867396a0a /src/mesa/state_tracker/st_texture.c | |
parent | a5799de3dc8ddf0e90c2e64438664df3ce84f5ae (diff) |
st/mesa: don't allocate bitmap drawing state until needed
Most apps don't use glBitmap so don't allocate the bitmap cache or
gallium state objects/shaders/etc until the first call to st_Bitmap().
v2: simplify a conditional, per Gustaw Smolarczyk.
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_texture.c')
0 files changed, 0 insertions, 0 deletions