lixqopensorce / softart

Automatically exported from code.google.com/p/softart
Other
0 stars 0 forks source link

Render context for each stage/function #235

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Description:
  Now our rendering parameters is too long to maintaince.
  We will try to use types of rendering contexts to instead long parameter list.

Original issue reported on code.google.com by wuye9036 on 15 Apr 2013 at 2:54

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 15 Apr 2013 at 2:54

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 11 May 2013 at 1:42

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 482745390e60.

SALVIA:
    Split rasterizer_state to raster_state.
    Rename rasterizer_state to raster_state.
    Rename rasterizer_desc to raster_desc.
    Clipper now hold clip_context not state-less longer .
    Move raster_state::clip and raster_state::triangle_rast_func to clipper and rasterizer.

Original comment by wuye9036 on 10 Jun 2013 at 4:41

GoogleCodeExporter commented 8 years ago
This issue was updated by revision b73691c72ba1.

SALVIA:
  rename h_xxxxxx to xxxxx_ptr.
  Replace include guard to pragma once.

Original comment by wuye9036 on 10 Jun 2013 at 4:41

GoogleCodeExporter commented 8 years ago
This issue was updated by revision a23cbf973066.

SALVIA:
  Remove handles.h.

Original comment by wuye9036 on 10 Jun 2013 at 4:41

GoogleCodeExporter commented 8 years ago
This issue was updated by revision c9a2e720cd0c.

SALVIA:
  Rename backbuffer_pixel_out to pixel_accessor

Original comment by wuye9036 on 10 Jun 2013 at 4:41

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 1a9f4b92f2b6.

SALVIA:
  Rename vertex_shader to cpp_vertex_shader.
  Rename pixel_shader to cpp_pixel_shader.
  Rename blend_shader to cpp_blend_shader.

Original comment by wuye9036 on 10 Jun 2013 at 4:41

GoogleCodeExporter commented 8 years ago
This issue was updated by revision fd512124074b.

SALVIA:
  Re-format for rasterizer.h
  Update git_push.

Original comment by wuye9036 on 10 Jun 2013 at 4:41

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 2bd9e5877f23.

SALVIA:
  Re-format rasterizer.h.
  Add geom_setup_engine and thread_context file but not used yet.

Original comment by wuye9036 on 10 Jun 2013 at 4:41

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 537c34c31847.

SALVIA:
  Add geom_setup_engine files to project but not be used yet.

Original comment by wuye9036 on 10 Jun 2013 at 4:41

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 1400cf4047e5.

SALVIA:
  geom_setup_engine is available.
  Refactor dispatch functions, rasterize functions.
  Tiny signature changes for draw functions.
  Fixed bugs in thread_context.
  Sponza works in Debug mode.

Original comment by wuye9036 on 10 Jun 2013 at 4:41

GoogleCodeExporter commented 8 years ago
This issue was updated by revision dcb54c066b01.

SALVIA:
  Fixed a bug that front information is not returned as result.
  Fixed a bug of renderer_impl::set_vs_sampler.
  Add float copy function to interp_shim.

Original comment by wuye9036 on 10 Jun 2013 at 4:41

GoogleCodeExporter commented 8 years ago
This issue was updated by revision b9292e3df2ea.

SALVIA:
  Add try_lock to spinlock.
  Add map_mode_none to map_mode.
  Add prototype code to async_renderer.
  Add missed file which will caused build failure.

Original comment by wuye9036 on 25 Jun 2013 at 2:55

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 974e089fe637.

SALVIA:
  Add enum map_result.
  Add resource_usage.
  buffer_manager and texture_manager are combined to resource_manager.
  Add resource_data to replace old buffer implementation.

Original comment by wuye9036 on 25 Jun 2013 at 2:55

GoogleCodeExporter commented 8 years ago
This issue was updated by revision fa5359dd748e.

SALVIA:
  Update prototype code in async_renderer.cpp.

Original comment by wuye9036 on 29 Jun 2013 at 7:04

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 3bd1a3afda13.

SALVIA:
  Replace macro guard with pragma once.

Original comment by wuye9036 on 12 Jul 2013 at 2:16

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 8aa875bd47ed.

SALVIA:
  Add brand_renderer and render_state.h.

Original comment by wuye9036 on 12 Jul 2013 at 2:16

GoogleCodeExporter commented 8 years ago
This issue was updated by revision fbd345228843.

SALVIA:
  Add brand_renderer as prototype. just compiled but not be tested.

Original comment by wuye9036 on 12 Jul 2013 at 2:16

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 9310667961f1.

SALVIA:
  Now render_impl use render_state to instead sparse render states.
  Add render_stages to salvia.

Original comment by wuye9036 on 12 Jul 2013 at 2:16

GoogleCodeExporter commented 8 years ago
This issue was updated by revision f742a32307db.

SALVIA:
  Remove render_stage.
  Add initialize(stages) and update(state) to stages.

Original comment by wuye9036 on 12 Jul 2013 at 2:16

GoogleCodeExporter commented 8 years ago
This issue was updated by revision f4730e0b59b1.

SALVIA:
  Refactor index_fetcher.

Original comment by wuye9036 on 13 Jul 2013 at 5:43

GoogleCodeExporter commented 8 years ago
This issue was updated by revision c242d5ae514f.

SALVIA:
  Re-format style of codes.

Original comment by wuye9036 on 13 Jul 2013 at 5:43

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 9e1418d5521a.

SALVIA:
  Remove set/get_render_target_available from renderer.
  Refactor framebuffer.
  Continue work on brand_renderer.
  Add clearing data to render_state.

Original comment by wuye9036 on 13 Jul 2013 at 5:43

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 4cd55f2efc69.

SALVIA:
  Rename renderer_impl to sync_renderer.

Original comment by wuye9036 on 13 Jul 2013 at 5:43

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 538dd4c4e8f8.

SALVIA:
  Remove unused function of sync_renderer.
  Fixed a warning.

Original comment by wuye9036 on 13 Jul 2013 at 5:43

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 4fdf64d0c55b.

SALVIA:
  Add shader_cbuffer and shader_cbuffer_impl to hold shader constant data.
  Rename constant in render_capacity.h,
  Improve usage of shader_object::native_function.
  Refactor stream_assembler.
  Rename render_impl to sync_renderer.
  Remove unsued prototype code from async renderer.
  Refactor host, it is now receiving render_stages and render_state for update.
  Reduce the memory footprint of default_vertex_cache.

Original comment by wuye9036 on 17 Jul 2013 at 2:34

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 49ecfbc9c80a.

SALVIA:
  Fixed bugs of set_variable.

Original comment by wuye9036 on 17 Jul 2013 at 2:34

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 8 Aug 2013 at 2:49

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 750c533f08bb.

SALVIA:
  Add renderer_impl into salviar which is the base class of renderers.
  Now depth and stencil target are merged to depth_stencil_target.
  Implements clear functions in render_core.
  Implements renderer_impl.
  Remove texture1d.cpp.

Original comment by wuye9036 on 30 Aug 2013 at 7:26

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 3c4ed5e2a7a1.

SALVIA:
  CANNOT PASS TESTS!
  Remove render target management from frame buffer.
  Remove target clear from framebuffer.
  Reimplements depth and stencil read/write.
  Remove unused renderer_parameters from render_core, renderer, renderer_impl and sync/async renderer.
  Add copy_using_state to render_state.h.
  clear_* functions and set_render_targets is similar with D3D11 api.
  Cannot get framebuffer information from renderer any more.
  Renaming on pixel_accessor.
  Remove stencil/depth read/write function from pixel_accessor.
  Add surface::texel_address().
  Rename surface::get_texel_addr() -> surface::texel_offset()
  Pull some implements from sync_renderer to renderer_impl.
  Rename texutre::get_num_samples to sample_count.
  Implements async_renderer.

Original comment by wuye9036 on 30 Aug 2013 at 7:26

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 0e67d97dc7eb.

SALVIA:
  Fixed error that framebuffer::mask_stencil_ is uninitialized when stencil is disabled.
  Add backend update call into render core.
  ComplexMesh works.

Original comment by wuye9036 on 30 Aug 2013 at 7:26

GoogleCodeExporter commented 8 years ago
This issue was updated by revision c9a134221ec9.

SALVIA:
  Add viewport check to renderer_impl.
  Add viewport setting to samples.

Original comment by wuye9036 on 30 Aug 2013 at 7:26

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 30 Aug 2013 at 7:29

GoogleCodeExporter commented 8 years ago
This issue was updated by revision b1c01d5532e6.

SALVIA:
  Add asynchronous object to salvia.
  Performance counter prototype is removed.
  Refactor renderer_impl and sync/async_renderer. Draw*, clear*, begin, end functions were pulled up to renderer_impl.
  Add commmit_state_and_command to renderer_impl as implementation.

Original comment by wuye9036 on 1 Sep 2013 at 2:20