mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 804724 - Add an abort painting marker. r=ehsan
--HG-- extra : rebase_source : 10f327e91b15d673303eb607a361c1c4d14a1e92
This commit is contained in:
parent
1adbee29f9
commit
b91e942f5e
@ -274,6 +274,7 @@ BasicTiledThebesLayer::ComputeProgressiveUpdateRegion(const nsIntRegion& aInvali
|
||||
gfx::Rect viewport;
|
||||
float scaleX, scaleY;
|
||||
if (BasicManager()->ProgressiveUpdateCallback(!freshRegion.IsEmpty(), viewport, scaleX, scaleY)) {
|
||||
SAMPLE_MARKER("Abort painting");
|
||||
aRegionToPaint.SetEmpty();
|
||||
return aIsRepeated;
|
||||
}
|
||||
|
@ -424,6 +424,9 @@ inline void mozilla_sampler_call_exit(void *aHandle)
|
||||
|
||||
inline void mozilla_sampler_add_marker(const char *aMarker)
|
||||
{
|
||||
if (!stack_key_initialized)
|
||||
return;
|
||||
|
||||
ProfileStack *stack = tlsStack.get();
|
||||
if (!stack) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user