mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 14:18:31 +09:00
- The generic export stub returned (GLenum)1; dEQP reads any non-zero status as a lost device
- It is polled after every case (gl3cTestPackages.cpp:121) and sets QP_TEST_RESULT_DEVICE_LOST
- Under the default --deqp-terminate-on-device-lost=enable that tears the whole CTS run down
- MobileGL tracks no GPU resets, so GL_NO_ERROR ("no reset detected") is the honest, spec-correct answer
- Routed through GLImpl::GetGraphicsResetStatus like every other entry point, no inline body in Definitions.cpp
26 lines
1.0 KiB
C++
26 lines
1.0 KiB
C++
// MobileGL - MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.h
|
|
// Copyright (c) 2025-2026 MobileGL-Dev
|
|
// Licensed under the GNU Lesser General Public License v3.0:
|
|
// https://www.gnu.org/licenses/gpl-3.0.txt
|
|
// https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
// SPDX-License-Identifier: LGPL-3.0-only
|
|
// End of Source File Header
|
|
|
|
#pragma once
|
|
#include <Includes.h>
|
|
|
|
namespace MobileGL::MG_Impl::GLImpl {
|
|
/* @INSERTION_POINT:FUNCTION_DECLARATION@ */
|
|
const GLubyte* GetString(GLenum name);
|
|
const GLubyte* GetStringi(GLenum name, GLuint index);
|
|
void GetBooleanv(GLenum pname, GLboolean* params);
|
|
void GetFloatv(GLenum pname, GLfloat* params);
|
|
void GetDoublev(GLenum pname, GLdouble* params);
|
|
void GetIntegerv(GLenum pname, GLint* params);
|
|
void GetInteger64v(GLenum pname, GLint64* params);
|
|
void GetIntegeri_v(GLenum target, GLuint index, GLint* data);
|
|
void GetInteger64i_v(GLenum target, GLuint index, GLint64* data);
|
|
GLenum GetError();
|
|
GLenum GetGraphicsResetStatus();
|
|
} // namespace MobileGL::MG_Impl::GLImpl
|