Hash :
d89c027e
Author :
Date :
2022-08-22T11:40:40
Add unimplemented GLX entry points to desktop GL Test: Run glxgears and hit unimplemented in ANGLE Bug: angleproject:7533 Change-Id: Ic7ed7506b6d0c5ef5022ae6899cbd6c4d351b178 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3852631 Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Eddie Hatfield <eddiehatfield@google.com> Reviewed-by: Cody Northrop <cnorthrop@google.com>
//
// Copyright 2017 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.
//
// getProcAddress loader table:
// Mapping from a string entry point name to function address.
//
#ifndef LIBGL_GLX_PROC_TABLE_H_
#define LIBGL_GLX_PROC_TABLE_H_
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <angle_gl.h>
#include <stddef.h>
#include <utility>
using GLXPixmap = XID;
using GLXDrawable = XID;
using GLXPbuffer = XID;
using GLXContext = XID;
#include <GLX/glxext.h>
namespace glx
{
using ProcEntry = std::pair<const char *, __GLXextFuncPtr>;
extern const glx::ProcEntry g_procTable[];
extern const size_t g_numProcs;
} // namespace glx
#endif // LIBGL_GLX_PROC_TABLE_H_