📄 attrib.def
字号:
/* -*- c-file-style: "img" -*-
<module>
* Name : attrib.def
* Title : Khronos EGL Attribute Definitions
* Author : Marcus Shawcroft
* Created : 23 Nov 2003
*
* Copyright : 2003 by Imagination Technologies Limited.
* All rights reserved. No part of this software, either
* material or conceptual may be copied or distributed,
* transmitted, transcribed, stored in a retrieval system
* or translated into any human or computer language in any
* form by any means, electronic, mechanical, manual or
* other-wise, or disclosed to third parties without the
* express written permission of Imagination Technologies
* Limited, Unit 8, HomePark Industrial Estate,
* King's Langley, Hertfordshire, WD4 8LZ, U.K.
*
* Description : Attribute Definitions
*
* Platform : ALL
*
</module>
*/
/* Fields are:
Attribute name.
Default attribute value.
Comparison criteria: smaller larger exact mask
Comparison priority
*/
A (EGL_BUFFER_SIZE, 0, smaller, 3)
A (EGL_ALPHA_SIZE, 0, larger, 2)
A (EGL_BLUE_SIZE, 0, larger, 2)
A (EGL_GREEN_SIZE, 0, larger, 2)
A (EGL_RED_SIZE, 0, larger, 2)
A (EGL_DEPTH_SIZE, 0, smaller, 6)
A (EGL_STENCIL_SIZE, 0, smaller, 7)
A (EGL_CONFIG_CAVEAT, EGL_DONT_CARE, exact, 1)
A (EGL_CONFIG_ID, EGL_DONT_CARE, exact, 9)
A (EGL_LEVEL, 0, exact, 0)
A (EGL_MAX_PBUFFER_HEIGHT, EGL_DONT_CARE, exact, 0)
A (EGL_MAX_PBUFFER_PIXELS, EGL_DONT_CARE, exact, 0)
A (EGL_MAX_PBUFFER_WIDTH, EGL_DONT_CARE, exact, 0)
#ifdef OES_SWAP_CONTROL
A (EGL_MAX_SWAP_INTERVAL_OES, EGL_DONT_CARE, exact, 0)
A (EGL_MIN_SWAP_INTERVAL_OES, EGL_DONT_CARE, exact, 0)
#endif
A (EGL_NATIVE_RENDERABLE, EGL_DONT_CARE, exact, 0)
A (EGL_NATIVE_VISUAL_ID, EGL_DONT_CARE, exact, 0)
A (EGL_NATIVE_VISUAL_TYPE, EGL_DONT_CARE, exact, 8)
/*
A (EGL_PRESERVED_RESOURCES, EGL_DONT_CARE, exact, 0)
*/
A (EGL_SAMPLES, 0, smaller, 5)
A (EGL_SAMPLE_BUFFERS, 0, smaller, 4)
A (EGL_SURFACE_TYPE, EGL_WINDOW_BIT, mask, 0)
A (EGL_TRANSPARENT_TYPE, EGL_NONE, exact, 0)
A (EGL_TRANSPARENT_BLUE_VALUE, EGL_DONT_CARE, exact, 0)
A (EGL_TRANSPARENT_GREEN_VALUE, EGL_DONT_CARE, exact, 0)
A (EGL_TRANSPARENT_RED_VALUE, EGL_DONT_CARE, exact, 0)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -