Changeset 261751 in webkit
- Timestamp:
- May 15, 2020 11:33:21 AM (4 years ago)
- Location:
- trunk/Source/ThirdParty/ANGLE
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/ThirdParty/ANGLE/ChangeLog
r261750 r261751 1 2020-05-14 James Darpinian <jdarpinian@chromium.org> 2 3 REGRESSION (r259589): Google Maps background layer fades out and back in 4 https://bugs.webkit.org/show_bug.cgi?id=210992 5 6 Reviewed by Dean Jackson. 7 8 ANGLE rendering feedback loop detection was incorrect if a texture attached 9 to a framebuffer was also bound to an active texture unit, and then that texture 10 unit became inactive because a sampler uniform was set. 11 12 * src/libANGLE/Context.cpp: 13 (gl::Context::onSamplerUniformChange): 14 * src/libANGLE/State.cpp: 15 (gl::State::setTextureIndexInactive): 16 * src/libANGLE/State.h: 17 1 18 2020-05-14 Kenneth Russell <kbr@chromium.org> 2 19 -
trunk/Source/ThirdParty/ANGLE/src/libANGLE/Context.cpp
r261750 r261751 6467 6467 mState.onActiveTextureChange(this, textureUnitIndex); 6468 6468 mStateCache.onActiveTextureChange(this); 6469 if (!mState.getProgram()->getExecutable().getActiveSamplersMask()[textureUnitIndex]) { 6470 mState.setTextureIndexInactive(textureUnitIndex); 6471 } 6469 6472 } 6470 6473 -
trunk/Source/ThirdParty/ANGLE/src/libANGLE/State.cpp
r261750 r261751 598 598 } 599 599 600 void State::setTextureIndexInactive(size_t textureIndex) { 601 mActiveTexturesCache.reset(textureIndex); 602 } 603 600 604 ANGLE_INLINE void State::updateActiveTextureState(const Context *context, 601 605 size_t textureIndex, -
trunk/Source/ThirdParty/ANGLE/src/libANGLE/State.h
r261750 r261751 778 778 const Sampler *sampler, 779 779 Texture *texture); 780 void setTextureIndexInactive(size_t textureIndex); 780 781 Texture *getTextureForActiveSampler(TextureType type, size_t index); 781 782
Note: See TracChangeset
for help on using the changeset viewer.