Changes for opengl render to reflect new alpha premul pipeline
authorSergey Sharybin <sergey.vfx@gmail.com>
Sat, 5 Jan 2013 15:33:18 +0000 (15:33 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sat, 5 Jan 2013 15:33:18 +0000 (15:33 +0000)
commitfa0805e287e762df3638df1982297c794c4cf4b7
tree1b2a7d612bde64569aad2afd72410a43a8147f27
parente8b415bdb4ba282e3574cad1463bf2512fe5eb8f
Changes for opengl render to reflect new alpha premul pipeline
without hurting quick texture painting

- ED_view3d_draw_offscreen will now output buffer with
  transparent alpha, if sky needed it should be alpha-undered
  later.

- ED_view3d_draw_offscreen_imbuf now accepts alpha mode as an
  argument which could be either R_ADDSKY or R_PREMULALPHA

- OpenGL render and sequencer's opengl preview will now reflect
  scene's Alpha Mode

- Quick Edit will use OpenGL with transparent alpha mode
source/blender/blenkernel/intern/sequencer.c
source/blender/editors/include/ED_view3d.h
source/blender/editors/render/render_opengl.c
source/blender/editors/sculpt_paint/paint_image.c
source/blender/editors/space_view3d/view3d_draw.c
source/blender/imbuf/IMB_imbuf.h
source/blender/imbuf/intern/imageprocess.c
source/blender/windowmanager/intern/wm_files.c