Home
last modified time | relevance | path

Searched refs:mShadowLutTexture (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/renderstate/
DTextureState.cpp53 if (mShadowLutTexture != nullptr) { in ~TextureState()
54 mShadowLutTexture->deleteTexture(); in ~TextureState()
73 if (mShadowLutTexture == nullptr) { in constructTexture()
74 mShadowLutTexture.reset(new Texture(caches)); in constructTexture()
81 mShadowLutTexture->upload(GL_ALPHA, SHADOW_LUT_SIZE, 1, GL_ALPHA, GL_UNSIGNED_BYTE, &bytes); in constructTexture()
82 mShadowLutTexture->setFilter(GL_LINEAR); in constructTexture()
83 mShadowLutTexture->setWrap(GL_CLAMP_TO_EDGE); in constructTexture()
DTextureState.h80 Texture* getShadowLutTexture() { return mShadowLutTexture.get(); } in getShadowLutTexture()
93 std::unique_ptr<Texture> mShadowLutTexture; variable