package org.robolectric.shadows;

import android.opengl.GLSurfaceView;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;

/** Fake implementation of GLSurfaceView */
@Implements(GLSurfaceView.class)
public class ShadowGLSurfaceView extends ShadowSurfaceView {
  @Implementation
  protected void onPause() {}

  @Implementation
  protected void onResume() {}

  @Implementation
  protected void queueEvent(Runnable r) {
    r.run();
  }
}

package org.robolectric.shadows;

import android.opengl.GLSurfaceView;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;

/** Fake implementation of GLSurfaceView */
@Implements(GLSurfaceView.class)
public class ShadowGLSurfaceView extends ShadowSurfaceView {
  @Implementation
  protected void onPause() {}

  @Implementation
  protected void onResume() {}
}

Call queued events on GLSurfaceView shadow.
Call queued events on GLSurfaceView shadow.

PiperOrigin-RevId: 200648230
