зеркало из https://github.com/AvaloniaUI/angle.git
Clean up PlatformMethods attribute enum
Centralize definition of EGL_PLATFORM_ANGLE_PLATFORM_METHODS_ANGLEX in Platform.h. Bug: angleproject:2528 Change-Id: Id2b022c4ea08d2e98cbd6c3b248b58d096c20dfb Reviewed-on: https://chromium-review.googlesource.com/1144265 Reviewed-by: Tobin Ehlis <tobine@google.com> Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
This commit is contained in:
Родитель
44b2c0b1d3
Коммит
1bf963b629
|
@ -12,6 +12,8 @@
|
|||
#include <stdint.h>
|
||||
#include <array>
|
||||
|
||||
#define EGL_PLATFORM_ANGLE_PLATFORM_METHODS_ANGLEX 0x3482
|
||||
|
||||
#if defined(_WIN32)
|
||||
# if !defined(LIBANGLE_IMPLEMENTATION)
|
||||
# define ANGLE_PLATFORM_EXPORT __declspec(dllimport)
|
||||
|
|
|
@ -250,9 +250,6 @@ std::string ToString(const T &value)
|
|||
#define GL_RGB10_A2_SSCALED_ANGLEX 0x6AEC
|
||||
#define GL_RGB10_A2_USCALED_ANGLEX 0x6AED
|
||||
|
||||
// TODO(jmadill): Clean this up at some point.
|
||||
#define EGL_PLATFORM_ANGLE_PLATFORM_METHODS_ANGLEX 0x9999
|
||||
|
||||
// This internal enum is used to filter internal errors that are already handled.
|
||||
// TODO(jmadill): Remove this when refactor is done. http://anglebug.com/2491
|
||||
#define GL_INTERNAL_ERROR_ANGLEX 0x6AEE
|
||||
|
|
|
@ -30,9 +30,6 @@
|
|||
|
||||
static_assert(EGL_DONT_CARE == -1, "Unexpected value for EGL_DONT_CARE");
|
||||
|
||||
// We should clean this up at some point by making it a properly exposed enum.
|
||||
#define EGL_PLATFORM_ANGLE_PLATFORM_METHODS_ANGLEX 0x9999
|
||||
|
||||
namespace tcu
|
||||
{
|
||||
ANGLEPlatform::ANGLEPlatform(angle::LogErrorFunc logErrorFunc)
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
#include "EGLWindow.h"
|
||||
#include "OSWindow.h"
|
||||
#include "common/debug.h"
|
||||
|
||||
// TODO(jmadill): Clean this up at some point.
|
||||
#define EGL_PLATFORM_ANGLE_PLATFORM_METHODS_ANGLEX 0x9999
|
||||
#include "platform/Platform.h"
|
||||
|
||||
EGLPlatformParameters::EGLPlatformParameters()
|
||||
: renderer(EGL_PLATFORM_ANGLE_TYPE_DEFAULT_ANGLE),
|
||||
|
|
Загрузка…
Ссылка в новой задаче