Lines Matching refs:WindowSurfaceMtl
382 // WindowSurfaceMtl implementation.
383 WindowSurfaceMtl::WindowSurfaceMtl(DisplayMtl *display,
393 WindowSurfaceMtl::~WindowSurfaceMtl() {}
395 void WindowSurfaceMtl::destroy(const egl::Display *display)
402 // If we created metal layer in WindowSurfaceMtl::initialize(),
409 egl::Error WindowSurfaceMtl::initialize(const egl::Display *display)
456 FramebufferImpl *WindowSurfaceMtl::createDefaultFramebuffer(const gl::Context *context,
464 egl::Error WindowSurfaceMtl::swap(const gl::Context *context)
471 void WindowSurfaceMtl::setSwapInterval(EGLint interval)
479 EGLint WindowSurfaceMtl::getWidth() const
484 EGLint WindowSurfaceMtl::getHeight() const
489 EGLint WindowSurfaceMtl::getSwapBehavior() const
494 angle::Result WindowSurfaceMtl::initializeContents(const gl::Context *context,
508 angle::Result WindowSurfaceMtl::getAttachmentRenderTarget(const gl::Context *context,
520 angle::Result WindowSurfaceMtl::ensureCurrentDrawableObtained(const gl::Context *context)
524 angle::Result WindowSurfaceMtl::ensureCurrentDrawableObtained(const gl::Context *context,
540 angle::Result WindowSurfaceMtl::ensureCompanionTexturesSizeCorrect(const gl::Context *context)
552 angle::Result WindowSurfaceMtl::ensureColorTextureReadyForReadPixels(const gl::Context *context)
568 CGSize WindowSurfaceMtl::calcExpectedDrawableSize() const
578 bool WindowSurfaceMtl::checkIfLayerResized(const gl::Context *context)
607 angle::Result WindowSurfaceMtl::obtainNextDrawable(const gl::Context *context)
654 angle::Result WindowSurfaceMtl::swapImpl(const gl::Context *context)