chromium/third_party/angle/src/libANGLE/renderer/gl/glx/WindowSurfaceGLX.cpp

//
// Copyright 2015 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//

// WindowSurfaceGLX.cpp: GLX implementation of egl::Surface for windows

#include "common/debug.h"

#include "libANGLE/renderer/gl/glx/DisplayGLX.h"

#include "libANGLE/renderer/gl/glx/FunctionsGLX.h"
#include "libANGLE/renderer/gl/glx/WindowSurfaceGLX.h"

namespace rx
{

static int IgnoreX11Errors(Display *, XErrorEvent *)
{}

WindowSurfaceGLX::WindowSurfaceGLX(const egl::SurfaceState &state,
                                   const FunctionsGLX &glx,
                                   DisplayGLX *glxDisplay,
                                   Window window,
                                   Display *display,
                                   glx::FBConfig fbConfig)
    :{}

WindowSurfaceGLX::~WindowSurfaceGLX()
{}

egl::Error WindowSurfaceGLX::initialize(const egl::Display *display)
{}

egl::Error WindowSurfaceGLX::makeCurrent(const gl::Context *context)
{}

egl::Error WindowSurfaceGLX::swap(const gl::Context *context)
{}

egl::Error WindowSurfaceGLX::postSubBuffer(const gl::Context *context,
                                           EGLint x,
                                           EGLint y,
                                           EGLint width,
                                           EGLint height)
{}

egl::Error WindowSurfaceGLX::querySurfacePointerANGLE(EGLint attribute, void **value)
{}

egl::Error WindowSurfaceGLX::bindTexImage(const gl::Context *context,
                                          gl::Texture *texture,
                                          EGLint buffer)
{}

egl::Error WindowSurfaceGLX::releaseTexImage(const gl::Context *context, EGLint buffer)
{}

void WindowSurfaceGLX::setSwapInterval(EGLint interval)
{}

EGLint WindowSurfaceGLX::getWidth() const
{}

EGLint WindowSurfaceGLX::getHeight() const
{}

EGLint WindowSurfaceGLX::isPostSubBufferSupported() const
{}

EGLint WindowSurfaceGLX::getSwapBehavior() const
{}

egl::Error WindowSurfaceGLX::checkForResize()
{}

glx::Drawable WindowSurfaceGLX::getDrawable() const
{}

bool WindowSurfaceGLX::getWindowDimensions(Window window,
                                           unsigned int *width,
                                           unsigned int *height) const
{}

egl::Error WindowSurfaceGLX::getSyncValues(EGLuint64KHR *ust, EGLuint64KHR *msc, EGLuint64KHR *sbc)
{}

egl::Error WindowSurfaceGLX::getMscRate(EGLint *numerator, EGLint *denominator)
{}

}  // namespace rx