surfaceflinger: remove all direct use of EGL
SurfaceFlinger now uses EGL/GLES only indirectly through
RenderEngine and GLConsumer.
Test: SurfaceFlinger_test
Change-Id: I78418b00168b79594979212eb488f530e738498d
diff --git a/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp b/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp
index dba6f7c..cde96e4 100644
--- a/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp
+++ b/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp
@@ -244,8 +244,7 @@
VDS_LOGV("onFrameCommitted: release scratch sslot=%d", sslot);
addReleaseFenceLocked(sslot, mProducerBuffers[mFbProducerSlot],
retireFence);
- releaseBufferLocked(sslot, mProducerBuffers[mFbProducerSlot],
- EGL_NO_DISPLAY, EGL_NO_SYNC_KHR);
+ releaseBufferLocked(sslot, mProducerBuffers[mFbProducerSlot]);
}
if (mOutputProducerSlot >= 0) {