open_toontown_panda3d/panda/src/dxgsg9
Zhao Huang bc900d2555 In Rev 1.130 of GraphicsOut.cxx by drwr, the query for render-to-texture support is no longer made to the gsg directly at line 368, but is instead routed through an internal GraphicsOut.get_supports_render_texture() which defaults to false. In the wgl path, the derived wglGraphicsBuffer supplies its own get_supports_render_texture() that queries the gsg. The DirectX equivalent classes do not supply an overriding get_supports_render_texture() and so fails everytime when trying to render_to_texture.
Hence, why distortion the sample is failing under Dx9.

This set of fixes patches in the requisite get_supports_render_texture() for wdxGraphicsBuffer9 and fixes a few typos between depth and color texture usages. It also fixes a depth buffer bug with render-to-textures where the depth check appeared to be missing.

Thanks to Jonah (11thpenguin) for these fixes.
2012-10-01 04:33:54 +00:00
..
Sources.pp rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
config_dxgsg9.cxx Compatibility with DX SDK August 2009 that shouldn't break older SDKs. SECURE_SCL settings restored in makepanda. 2010-02-04 04:27:35 +00:00
config_dxgsg9.h D3D9 multisampling can now be enabled with 'framebuffer-multisample' and 'multisamples' settings, and it doesn't crash anymore when an unsupported sampling level is requested. 2009-11-28 17:50:30 +00:00
dxGeomMunger9.I merge dev_slots_2008: slot-based RenderState implementation 2008-11-19 01:21:44 +00:00
dxGeomMunger9.cxx dx9 shader support from zhao 2011-09-28 18:42:58 +00:00
dxGeomMunger9.h we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
dxGraphicsDevice9.cxx fix crash at exit on dx9 2009-01-28 23:48:53 +00:00
dxGraphicsDevice9.h we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
dxGraphicsStateGuardian9.I move GSG::get_supports_render_texture() into GraphicsOutput to support render-to-texture on non-Windows platform. Also, further fixes to FBO render-to-texture. 2012-02-11 21:09:35 +00:00
dxGraphicsStateGuardian9.cxx move GSG::get_supports_render_texture() into GraphicsOutput to support render-to-texture on non-Windows platform. Also, further fixes to FBO render-to-texture. 2012-02-11 21:09:35 +00:00
dxGraphicsStateGuardian9.h move GSG::get_supports_render_texture() into GraphicsOutput to support render-to-texture on non-Windows platform. Also, further fixes to FBO render-to-texture. 2012-02-11 21:09:35 +00:00
dxIndexBufferContext9.I we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
dxIndexBufferContext9.cxx integrate with new adaptive lru 2008-09-05 00:35:06 +00:00
dxIndexBufferContext9.h integrate with new adaptive lru 2008-09-05 00:35:06 +00:00
dxInput9.cxx Partially apply typo fix patch I found somewhere on the web, by someone named Christoph Korn 2010-11-16 08:58:45 +00:00
dxInput9.h we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
dxOcclusionQueryContext9.I we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
dxOcclusionQueryContext9.cxx we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
dxOcclusionQueryContext9.h we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
dxShaderContext9.I we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
dxShaderContext9.cxx patch from teedee for dx9 custom vertex data 2011-11-24 14:34:35 +00:00
dxShaderContext9.h dx9 shader support from zhao 2011-09-28 18:42:58 +00:00
dxTextureContext9.I we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
dxTextureContext9.cxx In Rev 1.130 of GraphicsOut.cxx by drwr, the query for render-to-texture support is no longer made to the gsg directly at line 368, but is instead routed through an internal GraphicsOut.get_supports_render_texture() which defaults to false. In the wgl path, the derived wglGraphicsBuffer supplies its own get_supports_render_texture() that queries the gsg. The DirectX equivalent classes do not supply an overriding get_supports_render_texture() and so fails everytime when trying to render_to_texture. 2012-10-01 04:33:54 +00:00
dxTextureContext9.h stdfloat_double 2011-10-10 05:25:10 +00:00
dxVertexBufferContext9.I we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
dxVertexBufferContext9.cxx pipeline GraphicsOutput::set_active() to better support offscreen rendering in threaded mode 2011-10-03 20:23:17 +00:00
dxVertexBufferContext9.h dx9 shader support from zhao 2011-09-28 18:42:58 +00:00
dxgsg9base.h stdfloat_double 2011-10-10 05:25:10 +00:00
p3dxgsg9_composite1.cxx rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
vertexElementArray.cxx patch from teedee for dx9 custom vertex data 2011-11-24 14:34:35 +00:00
vertexElementArray.h patch from teedee for dx9 custom vertex data 2011-11-24 14:34:35 +00:00
wdxGraphicsBuffer9.I In Rev 1.130 of GraphicsOut.cxx by drwr, the query for render-to-texture support is no longer made to the gsg directly at line 368, but is instead routed through an internal GraphicsOut.get_supports_render_texture() which defaults to false. In the wgl path, the derived wglGraphicsBuffer supplies its own get_supports_render_texture() that queries the gsg. The DirectX equivalent classes do not supply an overriding get_supports_render_texture() and so fails everytime when trying to render_to_texture. 2012-10-01 04:33:54 +00:00
wdxGraphicsBuffer9.cxx In Rev 1.130 of GraphicsOut.cxx by drwr, the query for render-to-texture support is no longer made to the gsg directly at line 368, but is instead routed through an internal GraphicsOut.get_supports_render_texture() which defaults to false. In the wgl path, the derived wglGraphicsBuffer supplies its own get_supports_render_texture() that queries the gsg. The DirectX equivalent classes do not supply an overriding get_supports_render_texture() and so fails everytime when trying to render_to_texture. 2012-10-01 04:33:54 +00:00
wdxGraphicsBuffer9.h In Rev 1.130 of GraphicsOut.cxx by drwr, the query for render-to-texture support is no longer made to the gsg directly at line 368, but is instead routed through an internal GraphicsOut.get_supports_render_texture() which defaults to false. In the wgl path, the derived wglGraphicsBuffer supplies its own get_supports_render_texture() that queries the gsg. The DirectX equivalent classes do not supply an overriding get_supports_render_texture() and so fails everytime when trying to render_to_texture. 2012-10-01 04:33:54 +00:00
wdxGraphicsPipe9.I we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
wdxGraphicsPipe9.cxx In Rev 1.130 of GraphicsOut.cxx by drwr, the query for render-to-texture support is no longer made to the gsg directly at line 368, but is instead routed through an internal GraphicsOut.get_supports_render_texture() which defaults to false. In the wgl path, the derived wglGraphicsBuffer supplies its own get_supports_render_texture() that queries the gsg. The DirectX equivalent classes do not supply an overriding get_supports_render_texture() and so fails everytime when trying to render_to_texture. 2012-10-01 04:33:54 +00:00
wdxGraphicsPipe9.h pass GraphicsEngine through to constructors 2009-02-25 23:04:45 +00:00
wdxGraphicsWindow9.I we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
wdxGraphicsWindow9.cxx GraphicsWindow::_unexposed_draw 2012-01-15 20:13:16 +00:00
wdxGraphicsWindow9.h pass GraphicsEngine through to constructors 2009-02-25 23:04:45 +00:00