Revision 0e94d91 by Campbell Barton April 28, 2017, 12:31 (GMT) |
Draw Manager: pose-mode custom bone display |
Revision 06034b1 by Sergey Sharybin April 28, 2017, 12:10 (GMT) |
Cycles: Cleanup, spelling and braces |
Revision 8f4166e by Sergey Sharybin April 28, 2017, 12:04 (GMT) |
Cycles: Fix image textures were completely broken since recent unlimited textures commit The indexing was totally wrong in both image packing code and image sampling in kernel. Fixes T51341: Cycles OpenCL corruption in todays buildbot |
Revision e3fc945 by Sergey Sharybin April 28, 2017, 11:39 (GMT) |
Cycles: Cleanup, always use braces for blocks |
Revision 82e5f60 by Sergey Sharybin April 28, 2017, 11:24 (GMT) |
Cycles: Cleanup, indentation in preprocessor |
Revision 20ebeb1 by Sergey Sharybin April 28, 2017, 11:22 (GMT) |
Cycles: Cleanup, use ccl::vector instead of std::vector |
Revision 4245ed3 by Sergey Sharybin April 28, 2017, 11:21 (GMT) |
Cycles: Cleanup, indentaiton and trailing whitespace and wrapping |
Revision cc43dd0 by Campbell Barton April 28, 2017, 08:43 (GMT) |
Recent commit state broke lattice vertex drawing e4d856e3 caused lattice vertices not to draw in editmode. |
Revision 226b6e6 by Campbell Barton April 27, 2017, 19:22 (GMT) |
Fix draw manager draw-modes interfering with eachother |
Revision a680bcd by Campbell Barton April 27, 2017, 18:51 (GMT) |
Draw Manager: basic text overlay support |
Revision e4d856e by Mike Erwin April 27, 2017, 18:32 (GMT) |
OpenGL: manage legacy state only when WITH_LEGACY_OPENGL=ON - enabled lights - alpha test - texture environment - point sprites (always enabled in modern GL) Moved is_clip_plane for better struct packing, no functional change there. Part of T51164 |
Revision 079e0b5 by Mike Erwin April 27, 2017, 18:24 (GMT) |
OpenGL: don't set texture LoD bias via glTexEnvf Not supported in core profile. We could do this in GLSL if it's really needed. Part of T51164 |
Revision 0d5c5a8 by Mike Erwin April 27, 2017, 18:21 (GMT) |
OpenGL: early exit from functions that don't mix with core profile These parts will not be part of final viewport, but are called indirectly during the transition. To avoid runtime errors on core profile, exit early -- functions effectively do nothing. I put the early exits inside the functions to avoid cluttering the code that calls these. But (long term) the calling functions need to change. Basic shader's detect_options function was unused and full of old, so I deleted it. Part of T51164 |
Revision 99fde39 by Mike Erwin April 27, 2017, 18:19 (GMT) |
OpenGL: fix color logic op GL_LOGIC_OP is a synonym for GL_INDEX_LOGIC_OP, from OpenGL 1.0's indexed color drawing. It's not part of modern GL and causes an error in core profile. GL_COLOR_LOGIC_OP is still supported in the latest GL. It's the last stage before writing to the framebuffer. Part of T51164 |
Revision 87a6686 by Campbell Barton April 27, 2017, 17:05 (GMT) |
Add back text color for legacy drawing |
Revision 75fac51 by Mike Erwin April 27, 2017, 15:43 (GMT) |
Gawain: safely orphan immediate mode's VBO There are multiple ways to orphan a buffer resource, and this code picks the oldest/safest way no matter which OpenGL version we're running. TODO: use other (more recent) methods after thorough testing Follow up to 8e0c57a812e8 |
Revision 741ed16 by Mike Erwin April 27, 2017, 15:43 (GMT) |
OpenGL: don't glGet(GL_RED_BITS) in core profile or GREEN or BLUE. These are deprecated and cause errors under core profile. TODO: get color depth value another way Part of T51164 |
Revision bfaf7a3 by Mike Erwin April 27, 2017, 15:24 (GMT) |
OpenGL: stop enabling GL_TEXTURE Texturing is always enabled in GLSL. Simply use a sampler in the shader. Replaced gpu_generate_mipmap with glGenerateMipmap since the former just Enabled/Disabled the texture target and called the latter. Part of T51164 |
Revision a49708a by Mike Erwin April 27, 2017, 14:35 (GMT) |
OpenGL: stop using GL_NORMALIZE With GLSL there is no need for GL_NORMALIZE. We explicitly normalize in the shader, or (better) send in unit vectors. Part of T51164 |
Revision 34c8082 by Mike Erwin April 27, 2017, 13:59 (GMT) |
Gawain: fix pointer arithmetic warning void* + offset = ??? This Mac-only code works, but wasn't strictly correct. clang doesn't warn about this, gcc does. |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021