|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
#include <backend_opengl_private.h>
Data Fields | |
| SDL_GLContext | gl_context |
| GLuint | program |
| GLuint | vao |
| GLuint | vbo |
| GLuint | fbo |
| GLuint | fbo_color_tex |
| GLuint | fbo_depth_rbo |
| int | fbo_width |
| int | fbo_height |
| GLuint | gl_textures [DTTR_MAX_STAGED_TEXTURES] |
| GLuint | deferred_gl_destroys [DTTR_MAX_STAGED_TEXTURES] |
| int | deferred_gl_destroy_count |
| GLuint | gl_samplers [DTTR_SAMPLER_COUNT] |
| GLuint | dummy_texture |
| GLuint | video_texture |
| int | video_width |
| int | video_height |
| void * | vertex_staging |
| GLint | loc_mvp |
| GLint | loc_screen_size |
| GLint | loc_is_2d |
| GLint | loc_has_texture |
| GLint | loc_color_op |
| GLint | loc_color_arg1 |
| GLint | loc_color_arg2 |
| GLint | loc_alpha_op |
| GLint | loc_alpha_arg1 |
| GLint | loc_alpha_arg2 |
| GLint | loc_texture |
| GLuint | msaa_fbo |
| GLuint | msaa_color_rbo |
| GLuint | msaa_depth_rbo |
| int | msaa_samples |
| GLuint | pending_mipmap_textures [DTTR_MAX_STAGED_TEXTURES] |
| int | pending_mipmap_count |
Definition at line 10 of file backend_opengl_private.h.
| int opengl_backend_data::deferred_gl_destroy_count |
Definition at line 22 of file backend_opengl_private.h.
Referenced by defer_texture_destroy(), and release_deferred_gl_destroys().
| GLuint opengl_backend_data::deferred_gl_destroys[DTTR_MAX_STAGED_TEXTURES] |
Definition at line 21 of file backend_opengl_private.h.
Referenced by defer_texture_destroy(), and release_deferred_gl_destroys().
| GLuint opengl_backend_data::dummy_texture |
Definition at line 24 of file backend_opengl_private.h.
Referenced by cleanup(), dttr_graphics_opengl_init(), and replay_batch_records_gl().
| GLuint opengl_backend_data::fbo |
Definition at line 15 of file backend_opengl_private.h.
Referenced by create_fbo(), destroy_fbo(), end_frame(), and replay_batch_records_gl().
| GLuint opengl_backend_data::fbo_color_tex |
Definition at line 16 of file backend_opengl_private.h.
Referenced by create_fbo(), and destroy_fbo().
| GLuint opengl_backend_data::fbo_depth_rbo |
Definition at line 17 of file backend_opengl_private.h.
Referenced by create_fbo(), and destroy_fbo().
| int opengl_backend_data::fbo_height |
Definition at line 19 of file backend_opengl_private.h.
Referenced by create_fbo(), end_frame(), replay_batch_records_gl(), and resize_fbo().
| int opengl_backend_data::fbo_width |
Definition at line 18 of file backend_opengl_private.h.
Referenced by create_fbo(), end_frame(), replay_batch_records_gl(), and resize_fbo().
| SDL_GLContext opengl_backend_data::gl_context |
Definition at line 11 of file backend_opengl_private.h.
Referenced by cleanup(), and dttr_graphics_opengl_init().
| GLuint opengl_backend_data::gl_samplers[DTTR_SAMPLER_COUNT] |
Definition at line 23 of file backend_opengl_private.h.
Referenced by cleanup(), create_samplers(), and replay_batch_records_gl().
| GLuint opengl_backend_data::gl_textures[DTTR_MAX_STAGED_TEXTURES] |
Definition at line 20 of file backend_opengl_private.h.
Referenced by cleanup(), defer_texture_destroy(), replay_batch_records_gl(), and upload_pending_textures_gl().
| GLint opengl_backend_data::loc_alpha_arg1 |
Definition at line 37 of file backend_opengl_private.h.
Referenced by dttr_graphics_opengl_init(), present_video_frame_bgra(), and replay_batch_records_gl().
| GLint opengl_backend_data::loc_alpha_arg2 |
Definition at line 38 of file backend_opengl_private.h.
Referenced by dttr_graphics_opengl_init(), present_video_frame_bgra(), and replay_batch_records_gl().
| GLint opengl_backend_data::loc_alpha_op |
Definition at line 36 of file backend_opengl_private.h.
Referenced by dttr_graphics_opengl_init(), present_video_frame_bgra(), and replay_batch_records_gl().
| GLint opengl_backend_data::loc_color_arg1 |
Definition at line 34 of file backend_opengl_private.h.
Referenced by dttr_graphics_opengl_init(), present_video_frame_bgra(), and replay_batch_records_gl().
| GLint opengl_backend_data::loc_color_arg2 |
Definition at line 35 of file backend_opengl_private.h.
Referenced by dttr_graphics_opengl_init(), present_video_frame_bgra(), and replay_batch_records_gl().
| GLint opengl_backend_data::loc_color_op |
Definition at line 33 of file backend_opengl_private.h.
Referenced by dttr_graphics_opengl_init(), present_video_frame_bgra(), and replay_batch_records_gl().
| GLint opengl_backend_data::loc_has_texture |
Definition at line 32 of file backend_opengl_private.h.
Referenced by dttr_graphics_opengl_init(), present_video_frame_bgra(), and replay_batch_records_gl().
| GLint opengl_backend_data::loc_is_2d |
Definition at line 31 of file backend_opengl_private.h.
Referenced by dttr_graphics_opengl_init(), present_video_frame_bgra(), and replay_batch_records_gl().
| GLint opengl_backend_data::loc_mvp |
Definition at line 29 of file backend_opengl_private.h.
Referenced by dttr_graphics_opengl_init(), present_video_frame_bgra(), and replay_batch_records_gl().
| GLint opengl_backend_data::loc_screen_size |
Definition at line 30 of file backend_opengl_private.h.
Referenced by dttr_graphics_opengl_init(), present_video_frame_bgra(), and replay_batch_records_gl().
| GLint opengl_backend_data::loc_texture |
Definition at line 39 of file backend_opengl_private.h.
Referenced by dttr_graphics_opengl_init(), present_video_frame_bgra(), and replay_batch_records_gl().
| GLuint opengl_backend_data::msaa_color_rbo |
Definition at line 41 of file backend_opengl_private.h.
Referenced by create_msaa_fbo(), and destroy_msaa_fbo().
| GLuint opengl_backend_data::msaa_depth_rbo |
Definition at line 42 of file backend_opengl_private.h.
Referenced by create_msaa_fbo(), and destroy_msaa_fbo().
| GLuint opengl_backend_data::msaa_fbo |
Definition at line 40 of file backend_opengl_private.h.
Referenced by create_msaa_fbo(), destroy_msaa_fbo(), end_frame(), and replay_batch_records_gl().
| int opengl_backend_data::msaa_samples |
Definition at line 43 of file backend_opengl_private.h.
Referenced by create_msaa_fbo(), destroy_msaa_fbo(), end_frame(), replay_batch_records_gl(), and resize_fbo().
| int opengl_backend_data::pending_mipmap_count |
Definition at line 45 of file backend_opengl_private.h.
Referenced by upload_pending_textures_gl().
| GLuint opengl_backend_data::pending_mipmap_textures[DTTR_MAX_STAGED_TEXTURES] |
Definition at line 44 of file backend_opengl_private.h.
Referenced by upload_pending_textures_gl().
| GLuint opengl_backend_data::program |
Definition at line 12 of file backend_opengl_private.h.
Referenced by cleanup(), dttr_graphics_opengl_init(), present_video_frame_bgra(), and replay_batch_records_gl().
| GLuint opengl_backend_data::vao |
Definition at line 13 of file backend_opengl_private.h.
Referenced by cleanup(), dttr_graphics_opengl_init(), present_video_frame_bgra(), and replay_batch_records_gl().
| GLuint opengl_backend_data::vbo |
Definition at line 14 of file backend_opengl_private.h.
Referenced by cleanup(), dttr_graphics_opengl_init(), end_frame(), and present_video_frame_bgra().
| void* opengl_backend_data::vertex_staging |
Definition at line 28 of file backend_opengl_private.h.
Referenced by begin_frame(), cleanup(), dttr_graphics_opengl_init(), and end_frame().
| int opengl_backend_data::video_height |
Definition at line 27 of file backend_opengl_private.h.
Referenced by upload_video_texture().
| GLuint opengl_backend_data::video_texture |
Definition at line 25 of file backend_opengl_private.h.
Referenced by cleanup(), present_video_frame_bgra(), and upload_video_texture().
| int opengl_backend_data::video_width |
Definition at line 26 of file backend_opengl_private.h.
Referenced by upload_video_texture().