blender/intern
Sergey Sharybin 9c49e71216 Bunch of fixes for GLSL display transform
- GLSL shader wasn't aware of alpha predivide option,
  always assuming alpha is straight. Gave wrong results
  when displaying transparent float buffers.

- GLSL display wasn't aware of float buffers with number
  of channels different from 4, crashing when trying to
  display image with different number of channels.

  This required a bit larger changes, namely now it's
  possible to pass format (GL_RGB, GL_RGBAm GL_LUMINANCE)
  to glaDrawPixelsTex, This also implied adding format to
  glaDrawPixelsAuto and modifying all places where this
  functions are called.

  Now GLSL will handle both 3 and 4 channels buffers,
  single channel images are handled by CPU.

- Replaced hack for render result displaying with a bit
  different hack.

  Namely CPU conversion will happen only during render,
  once render is done GLSL would be used for displaying
  render result on a screen.

  This is so because of the way renderer updates parts
  of the image -- it happens without respect to active
  render layer in image user. This is harmless because
  only display buffer is modifying, but this is tricky
  because we don't have original buffer opened during
  rendering.

  One more related fix here was about when rendering
  multiple layers, wrong image would be displaying when
  rendering is done. Added a signal to invalidate
  display buffer once rendering is done (only happens
  when using multiple layers). This solves issue with
  wrong buffer stuck on the display when using regular
  CPU display space transform and if GLSL is available
  it'll make image displayed with a GLSL shader.

- As an additional change, byte buffers now also uses
  GLSL display transform.

  So now only dutehr and RGB curves are stoppers for
  using GLSL for all kind of display transforms.
2013-04-03 15:59:54 +00:00
..
audaspace Bugfix for [#34845] FFmpeg: .wav file playback crashes Blender since r55693 2013-04-02 15:48:09 +00:00
bsp style cleanup: also some typos 2013-02-11 00:49:00 +00:00
container Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00
cycles Cycles: small code cleanup + fix SSS closure mixed with other closures doing 2013-04-02 16:37:28 +00:00
dualcon misc minor edits. 2013-03-29 06:25:22 +00:00
elbeem Elbeem fluid: Remove hardcoded 16GB RAM limit on 64bit systems 2013-03-30 20:50:28 +00:00
ffmpeg Fix FFMPEG build error with older versions after planar formats commit. 2013-04-01 20:51:52 +00:00
ghost Fix incorrect OS X warning message in console when using multisample antialiasing 2013-04-02 19:18:38 +00:00
guardedalloc code cleanup: quiet warnings building with mingw. 2013-03-29 00:50:52 +00:00
iksolver Fix various warnings with clang build, and adjust cmake clang warnings flags 2013-02-26 21:58:06 +00:00
itasc style cleanup 2013-03-18 11:44:56 +00:00
locale OSX/locale: a further cleanup 2013-03-04 10:31:01 +00:00
memutil Prefetching for movie clips 2013-03-20 17:03:20 +00:00
mikktspace Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00
moto Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00
opencl Move opencl and reigidbody from source/blender/ to intern/ 2013-02-01 06:24:49 +00:00
opencolorio Bunch of fixes for GLSL display transform 2013-04-03 15:59:54 +00:00
opennl code cleanup: quiet warnings building with mingw. 2013-03-29 00:50:52 +00:00
raskter code cleanup: use NULL rather then 0 for pointers, and make vars static where possible. 2013-03-22 05:34:10 +00:00
rigidbody code cleanup: misc warnings/style 2013-03-21 02:58:21 +00:00
smoke Smoke Bugfix /enhancement: Load pre 2.65 pointcaches. 2013-03-18 21:33:48 +00:00
string fix for buffer out-of-bounds reading for STR_String comparisons with char arrays. 2013-03-22 21:26:59 +00:00
utfconv misc minor edits. 2013-03-29 06:25:22 +00:00
CMakeLists.txt Move opencl and reigidbody from source/blender/ to intern/ 2013-02-01 06:24:49 +00:00
SConscript Move opencl and reigidbody from source/blender/ to intern/ 2013-02-01 06:24:49 +00:00