diff options
author | clayjohn <claynjohn@gmail.com> | 2022-05-18 08:04:41 -0700 |
---|---|---|
committer | clayjohn <claynjohn@gmail.com> | 2022-05-24 11:00:34 -0700 |
commit | 3e20c1347db323438a76693bb9f7eea87f3a305d (patch) | |
tree | 98ed91197c8eaf8e4604089eea44c3c420ef5d22 /drivers/gles3/storage/config.h | |
parent | d81c5eab8cfd1d91ef2cf1599a6b929ccbed0a3a (diff) | |
download | redot-engine-3e20c1347db323438a76693bb9f7eea87f3a305d.tar.gz |
Add clipping, backbuffer, and CanvasGroups to 2D GLES3 renderer
As well as significant consequent cleanup in the RenderTarget, Texture, and Canvas renderer code
Diffstat (limited to 'drivers/gles3/storage/config.h')
-rw-r--r-- | drivers/gles3/storage/config.h | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/drivers/gles3/storage/config.h b/drivers/gles3/storage/config.h index c93c030498..db76aa79fb 100644 --- a/drivers/gles3/storage/config.h +++ b/drivers/gles3/storage/config.h @@ -53,6 +53,8 @@ private: public: bool use_nearest_mip_filter = false; bool use_skeleton_software = false; + bool use_depth_prepass = true; + bool use_rgba_2d_shadows = false; int max_vertex_texture_image_units = 0; int max_texture_image_units = 0; @@ -69,38 +71,15 @@ public: bool float_texture_supported = false; bool s3tc_supported = false; - bool latc_supported = false; bool rgtc_supported = false; bool bptc_supported = false; - bool etc_supported = false; bool etc2_supported = false; - bool srgb_decode_supported = false; - - bool keep_original_textures = false; bool force_vertex_shading = false; - bool use_rgba_2d_shadows = false; - bool use_rgba_3d_shadows = false; - - bool support_32_bits_indices = false; - bool support_write_depth = false; - bool support_npot_repeat_mipmap = false; - bool support_depth_cubemaps = false; - bool support_shadow_cubemaps = false; bool support_anisotropic_filter = false; float anisotropic_level = 0.0f; - GLuint depth_internalformat = 0; - GLuint depth_type = 0; - GLuint depth_buffer_internalformat = 0; - - // in some cases the legacy render didn't orphan. We will mark these - // so the user can switch orphaning off for them. - bool should_orphan = true; - - bool use_depth_prepass = true; - static Config *get_singleton() { return singleton; }; Config(); |