ARB_texture_rectangle for framebuffer
This commit is contained in:
parent
e1fb42b75b
commit
518e9eabf2
|
@ -30,6 +30,15 @@ char* _strdate(char* tmpbuf);
|
||||||
// GL_APPLE_client_storage
|
// GL_APPLE_client_storage
|
||||||
#define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
|
#define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
|
||||||
|
|
||||||
|
// GL_ARB_texture_rectangle
|
||||||
|
#define GL_TEXTURE_RECTANGLE_ARB 0x84F5
|
||||||
|
|
||||||
|
// GL_APPLE_texture_range
|
||||||
|
#define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
|
||||||
|
#define GL_STORAGE_PRIVATE_APPLE 0x85BD
|
||||||
|
#define GL_STORAGE_CACHED_APPLE 0x85BE
|
||||||
|
#define GL_STORAGE_SHARED_APPLE 0x85BF
|
||||||
|
|
||||||
// GL_ARB_multisample
|
// GL_ARB_multisample
|
||||||
// aglChoosePixelFormat
|
// aglChoosePixelFormat
|
||||||
#define AGL_SAMPLE_BUFFERS_ARB 55
|
#define AGL_SAMPLE_BUFFERS_ARB 55
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -63,6 +63,7 @@ protected:
|
||||||
inline TileUpdateState Convert1555Kto8888(FxU16* buffer1, register FxU32* buffer2, FxU32 register width, register FxU32 height, register FxU32 stride);
|
inline TileUpdateState Convert1555Kto8888(FxU16* buffer1, register FxU32* buffer2, FxU32 register width, register FxU32 height, register FxU32 stride);
|
||||||
inline TileUpdateState ConvertARGB8888Kto8888(FxU32* buffer1, register FxU32* buffer2, FxU32 register width, register FxU32 height, register FxU32 stride);
|
inline TileUpdateState ConvertARGB8888Kto8888(FxU32* buffer1, register FxU32* buffer2, FxU32 register width, register FxU32 height, register FxU32 stride);
|
||||||
bool m_use_client_storage;
|
bool m_use_client_storage;
|
||||||
|
bool m_useRectangleARB;
|
||||||
bool m_must_clear_buffer;
|
bool m_must_clear_buffer;
|
||||||
GrOriginLocation_t m_origin;
|
GrOriginLocation_t m_origin;
|
||||||
GLint m_glInternalFormat;
|
GLint m_glInternalFormat;
|
||||||
|
|
|
@ -196,6 +196,7 @@ void GlideSettings::defaults()
|
||||||
EXT_SGIS_texture_edge_clamp = true;
|
EXT_SGIS_texture_edge_clamp = true;
|
||||||
EXT_Client_Storage = true;
|
EXT_Client_Storage = true;
|
||||||
EXT_compiled_vertex_array = true;
|
EXT_compiled_vertex_array = true;
|
||||||
|
ARB_texture_rectangle = true;
|
||||||
EXT_texture_filter_anisotropic = true;
|
EXT_texture_filter_anisotropic = true;
|
||||||
ARB_multisample = true;
|
ARB_multisample = true;
|
||||||
NV_multisample_filter_hint = true;
|
NV_multisample_filter_hint = true;
|
||||||
|
@ -252,9 +253,10 @@ GlideSettings::IOErr GlideSettings::read_settings()
|
||||||
get("EnableFrameBufferUnderlays", &EnableFrameBufferUnderlays);
|
get("EnableFrameBufferUnderlays", &EnableFrameBufferUnderlays);
|
||||||
get("FramebufferIgnoreUnlock", &FramebufferIgnoreUnlock);
|
get("FramebufferIgnoreUnlock", &FramebufferIgnoreUnlock);
|
||||||
get("PedanticFrameBufferEmulation", &PedanticFrameBufferEmulation);
|
get("PedanticFrameBufferEmulation", &PedanticFrameBufferEmulation);
|
||||||
get("CompiledVertexArray", &EXT_compiled_vertex_array);
|
get("EXT_compiled_vertex_array", &EXT_compiled_vertex_array);
|
||||||
get("EnableMultiTextureEXT", &ARB_multitexture);
|
get("ARB_texture_rectangle", &ARB_texture_rectangle);
|
||||||
get("EnablePaletteEXT", &EXT_paletted_texture);
|
get("ARB_multitexture", &ARB_multitexture);
|
||||||
|
get("EXT_paletted_texture", &EXT_paletted_texture);
|
||||||
get("EXT_clip_volume_hint", &EXT_clip_volume_hint);
|
get("EXT_clip_volume_hint", &EXT_clip_volume_hint);
|
||||||
get("BoardType", &value);
|
get("BoardType", &value);
|
||||||
BoardType = static_cast<OpenGLideBoardType>(value);
|
BoardType = static_cast<OpenGLideBoardType>(value);
|
||||||
|
@ -495,9 +497,13 @@ GlideSettings::IOErr GlideSettings::saveSettings()
|
||||||
put("EnableFrameBufferUnderlays", EnableFrameBufferUnderlays);
|
put("EnableFrameBufferUnderlays", EnableFrameBufferUnderlays);
|
||||||
put("FramebufferIgnoreUnlock", FramebufferIgnoreUnlock);
|
put("FramebufferIgnoreUnlock", FramebufferIgnoreUnlock);
|
||||||
put("PedanticFrameBufferEmulation", PedanticFrameBufferEmulation);
|
put("PedanticFrameBufferEmulation", PedanticFrameBufferEmulation);
|
||||||
put("CompiledVertexArray", EXT_compiled_vertex_array);
|
put();
|
||||||
put("EnableMultiTextureEXT", ARB_multitexture);
|
put("Various optional opengl extensions");
|
||||||
put("EnablePaletteEXT", EXT_paletted_texture);
|
put();
|
||||||
|
put("EXT_compiled_vertex_array", EXT_compiled_vertex_array);
|
||||||
|
put("ARB_texture_rectangle", ARB_texture_rectangle);
|
||||||
|
put("ARB_multitexture", ARB_multitexture);
|
||||||
|
put("EXT_paletted_texture", EXT_paletted_texture);
|
||||||
put("EXT_clip_volume_hint", EXT_clip_volume_hint);
|
put("EXT_clip_volume_hint", EXT_clip_volume_hint);
|
||||||
put();
|
put();
|
||||||
put();
|
put();
|
||||||
|
|
|
@ -100,6 +100,7 @@ struct ConfigStruct
|
||||||
bool EXT_SGIS_texture_edge_clamp;
|
bool EXT_SGIS_texture_edge_clamp;
|
||||||
bool EXT_Client_Storage;
|
bool EXT_Client_Storage;
|
||||||
bool EXT_compiled_vertex_array;
|
bool EXT_compiled_vertex_array;
|
||||||
|
bool ARB_texture_rectangle;
|
||||||
#ifdef OPENGLIDE_SYSTEM_HAS_FOGCOORD
|
#ifdef OPENGLIDE_SYSTEM_HAS_FOGCOORD
|
||||||
bool EXT_fog_coord;
|
bool EXT_fog_coord;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue