summaryrefslogtreecommitdiffstats
path: root/gfx/2d/RecordedEvent.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/2d/RecordedEvent.h')
-rw-r--r--gfx/2d/RecordedEvent.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gfx/2d/RecordedEvent.h b/gfx/2d/RecordedEvent.h
index a8801ddd1f..835460ff25 100644
--- a/gfx/2d/RecordedEvent.h
+++ b/gfx/2d/RecordedEvent.h
@@ -102,6 +102,12 @@ class Translator {
virtual already_AddRefed<SourceSurface> LookupExternalSurface(uint64_t aKey) {
return nullptr;
}
+ virtual already_AddRefed<SourceSurface>
+ LookupSourceSurfaceFromSurfaceDescriptor(
+ const layers::SurfaceDescriptor& aDesc) {
+ MOZ_ASSERT_UNREACHABLE("unexpected to be called");
+ return nullptr;
+ }
void DrawDependentSurface(uint64_t aKey, const Rect& aRect);
virtual void AddDrawTarget(ReferencePtr aRefPtr, DrawTarget* aDT) = 0;
virtual void RemoveDrawTarget(ReferencePtr aRefPtr) = 0;
@@ -389,6 +395,7 @@ class RecordedEvent {
MASK,
STROKE,
DRAWSURFACE,
+ DRAWSURFACEDESCRIPTOR,
DRAWDEPENDENTSURFACE,
DRAWSURFACEWITHSHADOW,
DRAWSHADOW,