HomeSort by relevance Sort by last modified time
    Searched refs:mShadowLutTexture (Results 1 - 2 of 2) sorted by null

  /frameworks/base/libs/hwui/renderstate/
TextureState.cpp 29 // Width of mShadowLutTexture, defines how accurate the shadow alpha lookup table is
53 if (mShadowLutTexture != nullptr) {
54 mShadowLutTexture->deleteTexture();
73 if (mShadowLutTexture == nullptr) {
74 mShadowLutTexture.reset(new Texture(caches));
81 mShadowLutTexture->upload(GL_ALPHA, SHADOW_LUT_SIZE, 1, GL_ALPHA, GL_UNSIGNED_BYTE, &bytes);
82 mShadowLutTexture->setFilter(GL_LINEAR);
83 mShadowLutTexture->setWrap(GL_CLAMP_TO_EDGE);
TextureState.h 80 Texture* getShadowLutTexture() { return mShadowLutTexture.get(); }
93 std::unique_ptr<Texture> mShadowLutTexture;

Completed in 84 milliseconds