-
- Downloads
Bug 1696967: Only snapshot before unlocking canvas texture when caching a data surface. r=jrmuizel
Doing this every frame causes issues for older GPUs with the extra bitmap creation, copy and destruction. Instead the TextureRecorded now only takes a snapshot when it is going to cache a data surface to improve getting data back at the start of a frame. Differential Revision: https://phabricator.services.mozilla.com/D108500
Showing
- gfx/layers/PersistentBufferProvider.cpp 8 additions, 31 deletionsgfx/layers/PersistentBufferProvider.cpp
- gfx/layers/PersistentBufferProvider.h 0 additions, 1 deletiongfx/layers/PersistentBufferProvider.h
- gfx/layers/client/TextureRecorded.cpp 14 additions, 2 deletionsgfx/layers/client/TextureRecorded.cpp
- gfx/layers/client/TextureRecorded.h 1 addition, 0 deletionsgfx/layers/client/TextureRecorded.h
Please register or sign in to comment