Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Unified Diff: gpu/ipc/service/image_transport_surface_overlay_mac.mm

Issue 2702403009: Make surface GetFormat pure virtual, add missing overrides. (Closed)
Patch Set: Add mac specific overrides Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/ipc/service/image_transport_surface_overlay_mac.mm
diff --git a/gpu/ipc/service/image_transport_surface_overlay_mac.mm b/gpu/ipc/service/image_transport_surface_overlay_mac.mm
index 85b432909e0733c7728185c40441fa9bf410b1e8..22e69682310bdeb06a13b9e273c30fabe76fe22c 100644
--- a/gpu/ipc/service/image_transport_surface_overlay_mac.mm
+++ b/gpu/ipc/service/image_transport_surface_overlay_mac.mm
@@ -304,6 +304,10 @@ void* ImageTransportSurfaceOverlayMac::GetHandle() {
return nullptr;
}
+GLSurfaceFormat ImageTransportSurfaceOverlayMac::GetFormat() {
+ return GLSurfaceFormat();
+}
+
bool ImageTransportSurfaceOverlayMac::OnMakeCurrent(gl::GLContext* context) {
// Ensure that the context is on the appropriate GL renderer. The GL renderer
// will generally only change when the GPU changes.

Powered by Google App Engine
This is Rietveld 408576698