201 LPDIRECT3DDEVICE9 _d3d_device;
202 IDirect3DSwapChain9 *_swap_chain;
206 DWORD _max_available_video_memory;
208 ushort _depth_buffer_bitdepth;
209 bool _can_direct_disable_color_writes;
210 bool _is_low_memory_card;
212 bool _can_use_hw_vertex_shaders;
213 bool _can_use_pixel_shaders;
214 UINT _supported_screen_depths_mask;
215 UINT _supported_tex_formats_mask;
216 bool _supports_rgba16f_texture_format;
217 bool _supports_rgba32_texture_format;
219 D3DDISPLAYMODE _display_mode;
220 D3DPRESENT_PARAMETERS _presentation_params;
221 D3DADAPTER_IDENTIFIER9 _dx_device_id;
222 D3DFORMAT _render_to_texture_d3d_format;
223 D3DFORMAT _framebuffer_d3d_format;
227 int _managed_textures;
228 int _managed_vertex_buffers;
229 int _managed_index_buffers;
231 bool _supports_dynamic_textures;
232 bool _supports_automatic_mipmap_generation;
233 bool _intel_compressed_texture_bug;