Page MenuHome
Feed Advanced Search

Apr 27 2017

Mike Erwin (merwin) committed rB0d5c5a8438ba: OpenGL: early exit from functions that don't mix with core profile (authored by Mike Erwin (merwin)).
OpenGL: early exit from functions that don't mix with core profile
Apr 27 2017, 8:35 PM
Mike Erwin (merwin) committed rB99fde39f4905: OpenGL: fix color logic op (authored by Mike Erwin (merwin)).
OpenGL: fix color logic op
Apr 27 2017, 8:20 PM
Mike Erwin (merwin) committed rB75fac519c053: Gawain: safely orphan immediate mode's VBO (authored by Mike Erwin (merwin)).
Gawain: safely orphan immediate mode's VBO
Apr 27 2017, 5:47 PM
Mike Erwin (merwin) committed rB741ed16d13b3: OpenGL: don't glGet(GL_RED_BITS) in core profile (authored by Mike Erwin (merwin)).
OpenGL: don't glGet(GL_RED_BITS) in core profile
Apr 27 2017, 5:47 PM
Mike Erwin (merwin) committed rBbfaf7a3eb15e: OpenGL: stop enabling GL_TEXTURE (authored by Mike Erwin (merwin)).
OpenGL: stop enabling GL_TEXTURE
Apr 27 2017, 5:29 PM
Mike Erwin (merwin) committed rBa49708a69181: OpenGL: stop using GL_NORMALIZE (authored by Mike Erwin (merwin)).
OpenGL: stop using GL_NORMALIZE
Apr 27 2017, 5:29 PM
Mike Erwin (merwin) committed rB34c808287e17: Gawain: fix pointer arithmetic warning (authored by Mike Erwin (merwin)).
Gawain: fix pointer arithmetic warning
Apr 27 2017, 4:02 PM
Mike Erwin (merwin) committed rB9a193a28c4fc: fix Clay compatibility comment (authored by Mike Erwin (merwin)).
fix Clay compatibility comment
Apr 27 2017, 3:32 PM
Mike Erwin (merwin) committed rB5c7b8cfffa5d: OpenGL: remove GL_MAP1_VERTEX_3 (authored by Mike Erwin (merwin)).
OpenGL: remove GL_MAP1_VERTEX_3
Apr 27 2017, 3:32 PM
Mike Erwin (merwin) committed rB1dbb41f19517: OpenGL: restore all 8 lights (authored by Mike Erwin (merwin)).
OpenGL: restore all 8 lights
Apr 27 2017, 3:32 PM
Mike Erwin (merwin) committed rB6f0cf4a80403: support OpenGL 3.0 on Linux only when WITH_LEGACY_OPENGL=ON (authored by Mike Erwin (merwin)).
support OpenGL 3.0 on Linux only when WITH_LEGACY_OPENGL=ON
Apr 27 2017, 3:32 PM

Apr 25 2017

Mike Erwin (merwin) updated the task description for T51164: Deprecated OpenGL Migration, the home stretch!.
Apr 25 2017, 4:38 AM · BF Blender: 2.8
Mike Erwin (merwin) committed rB75a759ea5e9a: OpenGL: better context creation on Windows (authored by Mike Erwin (merwin)).
OpenGL: better context creation on Windows
Apr 25 2017, 4:32 AM
Mike Erwin (merwin) committed rB9c87bb124a57: group WITH_LEGACY_OPENGL with the other GL options (authored by Mike Erwin (merwin)).
group WITH_LEGACY_OPENGL with the other GL options
Apr 25 2017, 4:32 AM

Apr 24 2017

Mike Erwin (merwin) updated the task description for T51164: Deprecated OpenGL Migration, the home stretch!.
Apr 24 2017, 4:13 AM · BF Blender: 2.8
Mike Erwin (merwin) added a comment to T51301: Remove MinGW support.

+1 for removing it

Apr 24 2017, 4:11 AM · Platform: Windows, BF Blender
Mike Erwin (merwin) awarded T51301: Remove MinGW support a Like token.
Apr 24 2017, 3:53 AM · Platform: Windows, BF Blender

Apr 23 2017

Mike Erwin (merwin) added a comment to T51164: Deprecated OpenGL Migration, the home stretch!.

@Mike Erwin (merwin) about the runtime problem with OSX. I had to update the extern glew to 2.0. Blender has a build option to use either the system glew or Blender's. So make sure you use Blender's glew for your tests!

Apr 23 2017, 4:59 PM · BF Blender: 2.8
Mike Erwin (merwin) updated the task description for T51164: Deprecated OpenGL Migration, the home stretch!.
Apr 23 2017, 4:55 PM · BF Blender: 2.8

Apr 22 2017

Mike Erwin (merwin) added a comment to rBL61849: Attempted fix for macOS 10.9 libraries missing _getentropy symbol error..

Confirmed working on 10.9.5 (latest update). I tried both a version I built on 10.12 and the latest nightly build from blender.org.

Apr 22 2017, 7:52 PM
Mike Erwin (merwin) added a comment to T51152: Blender won't start after updating Nvidia drivers.

FYI @Gal (Gal) and @Christian Baumeister (BeautyOfTechnology) I just ordered some NVIDIA cards so will be able to debug (and hopefully fix) this in a few days.

Apr 22 2017, 7:24 PM · BF Blender: Unconfirmed, GPU / Viewport
Mike Erwin (merwin) committed rB9fe9cf826107: fix omission from previous commit (authored by Mike Erwin (merwin)).
fix omission from previous commit
Apr 22 2017, 6:59 AM
Mike Erwin (merwin) committed rBef640ecf1004: OpenGL: remove use of GLEW MX (authored by Mike Erwin (merwin)).
OpenGL: remove use of GLEW MX
Apr 22 2017, 6:38 AM
Mike Erwin (merwin) added a comment to rB28ed66552bbb: Fix debug checks were enabled for release builds only.

Thanks, I got this reversed in b0351bd3bdaa16f7dec75fe90bcd66569564608a

Apr 22 2017, 5:55 AM
Mike Erwin (merwin) awarded rB28ed66552bbb: Fix debug checks were enabled for release builds only a Piece of Eight token.
Apr 22 2017, 5:54 AM

Apr 21 2017

Mike Erwin (merwin) committed rB1beed61b761d: OpenGL/GHOST: don't request accum buffer on Mac (authored by Mike Erwin (merwin)).
OpenGL/GHOST: don't request accum buffer on Mac
Apr 21 2017, 10:11 PM
Mike Erwin (merwin) committed rB12261aa047f4: fix unitizialized use warning (authored by Mike Erwin (merwin)).
fix unitizialized use warning
Apr 21 2017, 10:11 PM
Mike Erwin (merwin) committed rBdcda9b41365e: Eevee/OpenGL: fix shader for core profile (authored by Mike Erwin (merwin)).
Eevee/OpenGL: fix shader for core profile
Apr 21 2017, 10:11 PM
Mike Erwin (merwin) added a comment to rB8e0c57a812e8: Gawain: fix immediate mode drawing exceeding IMM_BUFFER_SIZE.

There are multiple ways to orphan a buffer resource, and this code picks 1 of 3 ways based on which OpenGL version we're running.

Apr 21 2017, 8:53 PM

Apr 20 2017

Mike Erwin (merwin) updated the task description for T51164: Deprecated OpenGL Migration, the home stretch!.
Apr 20 2017, 7:21 PM · BF Blender: 2.8
Mike Erwin (merwin) claimed T51251: Odd Graphic in 2.80 User Preferences > System.

Awesome! It's the spheres from the Solid OpenGL Lights section. Should be easy to fix.

Apr 20 2017, 2:13 AM · BF Blender: 2.8, BF Blender

Apr 18 2017

Mike Erwin (merwin) accepted rB88fddd118fbf: Draw Manager: replace varargs with a pointer array.

0610bc88a3b0e0bef3c2fba22b45fdfd233389f6 by @Clément Foucault (fclem) fixes this. All good now!

Apr 18 2017, 11:25 PM
Mike Erwin (merwin) raised a concern with rB88fddd118fbf: Draw Manager: replace varargs with a pointer array.
Apr 18 2017, 10:06 PM
Mike Erwin (merwin) committed rB94789e30a587: Gawain: fix building WITH_GL_PROFILE_CORE (authored by Mike Erwin (merwin)).
Gawain: fix building WITH_GL_PROFILE_CORE
Apr 18 2017, 9:09 PM
Mike Erwin (merwin) committed rB26e171c4d95f: OpenGL: don't require legacy extensions when using WITH_GL_PROFILE_CORE (authored by Mike Erwin (merwin)).
OpenGL: don't require legacy extensions when using WITH_GL_PROFILE_CORE
Apr 18 2017, 9:09 PM
Mike Erwin (merwin) committed rB473c2b1c9408: Gawain: fix stupid APPLE_LEGACY mistake (authored by Mike Erwin (merwin)).
Gawain: fix stupid APPLE_LEGACY mistake
Apr 18 2017, 6:44 PM
Mike Erwin (merwin) committed rB53c56dcd080d: Gawain: enable 10.10.10 vertex format for core profile (any platform) (authored by Mike Erwin (merwin)).
Gawain: enable 10.10.10 vertex format for core profile (any platform)
Apr 18 2017, 6:11 PM
Mike Erwin (merwin) committed rB45b3555cba99: OpenGL: fix compatibility with Mac & Mesa (authored by Mike Erwin (merwin)).
OpenGL: fix compatibility with Mac & Mesa
Apr 18 2017, 6:11 PM
Mike Erwin (merwin) committed rBb0351bd3bdaa: Gawain: define feature macros in a more compatible way (authored by Mike Erwin (merwin)).
Gawain: define feature macros in a more compatible way
Apr 18 2017, 6:11 PM
Mike Erwin (merwin) added a comment to T51219: Gawain API general consistency RFC.

@Mike Erwin (merwin) ... surprised you're against using a common prefix.

Apr 18 2017, 8:59 AM · BF Blender: 2.8
Mike Erwin (merwin) added a comment to rBL61849: Attempted fix for macOS 10.9 libraries missing _getentropy symbol error..

Silly Apple... @Brecht Van Lommel (brecht) did you confirm this gets 10.9 working? I keep a Mavericks backup drive and can test if needed.

Apr 18 2017, 6:33 AM
Mike Erwin (merwin) claimed T51122: Blender 2.8 - linux - File browser glitches out .
Apr 18 2017, 5:59 AM · BF Blender: 2.8
Mike Erwin (merwin) added a comment to T51122: Blender 2.8 - linux - File browser glitches out .

@Aaron Carlisle (Blendify) I fixed something else in the file browser (vertical divider lines) but not this.

Apr 18 2017, 5:59 AM · BF Blender: 2.8

Apr 17 2017

Mike Erwin (merwin) committed rBc6e8a004a144: Gawain: fix for last commit (authored by Mike Erwin (merwin)).
Gawain: fix for last commit
Apr 17 2017, 10:02 AM
Mike Erwin (merwin) committed rB3bc6b831d827: Gawain: shrink ShaderInterface name buffer (authored by Mike Erwin (merwin)).
Gawain: shrink ShaderInterface name buffer
Apr 17 2017, 7:46 AM
Mike Erwin (merwin) committed rBb3e38cfc6b63: Gawain: look up uniforms by name quicker (authored by Mike Erwin (merwin)).
Gawain: look up uniforms by name quicker
Apr 17 2017, 7:21 AM

Apr 16 2017

Mike Erwin (merwin) committed rB47e0d2b23528: OpenGL: tweak GPU_texture_create_nD (authored by Mike Erwin (merwin)).
OpenGL: tweak GPU_texture_create_nD
Apr 16 2017, 9:13 PM
Mike Erwin (merwin) committed rB8dcf7a46a28d: OpenGL: fix GPU_SHADER_SIMPLE_LIGHTING_SMOOTH_COLOR (authored by Mike Erwin (merwin)).
OpenGL: fix GPU_SHADER_SIMPLE_LIGHTING_SMOOTH_COLOR
Apr 16 2017, 9:13 PM
Mike Erwin (merwin) committed rB6a2c82332b59: fix mistake from last commit (authored by Mike Erwin (merwin)).
fix mistake from last commit
Apr 16 2017, 9:13 PM
Mike Erwin (merwin) committed rBaf61b5eb0c1b: cleanup use of immUniformColor (authored by Mike Erwin (merwin)).
cleanup use of immUniformColor
Apr 16 2017, 7:45 PM
Mike Erwin (merwin) committed rBae071305404e: Gawain: add immUniformColor3ubvAlpha (authored by Mike Erwin (merwin)).
Gawain: add immUniformColor3ubvAlpha
Apr 16 2017, 7:45 PM
Mike Erwin (merwin) committed rB7041b99b5a90: use immUniformColor instead of immUniform("color" (authored by Mike Erwin (merwin)).
use immUniformColor instead of immUniform("color"
Apr 16 2017, 6:26 PM
Mike Erwin (merwin) committed rBbf441fcfacc1: Gawain: move AttribBinding funcs to private interface (authored by Mike Erwin (merwin)).
Gawain: move AttribBinding funcs to private interface
Apr 16 2017, 5:23 PM
Mike Erwin (merwin) committed rB4a41bc8ceac7: Gawain: fix compiler warnings (authored by Mike Erwin (merwin)).
Gawain: fix compiler warnings
Apr 16 2017, 5:23 PM
Mike Erwin (merwin) committed rB30249499c4ed: Gawain: fix compilation on MSVC 2013 (authored by Mike Erwin (merwin)).
Gawain: fix compilation on MSVC 2013
Apr 16 2017, 5:01 PM
Mike Erwin (merwin) added a comment to T50126: Modeling (mode edit) and stack overflow into the driver NVIDIA.

These error messages are harmless:

Apr 16 2017, 4:21 PM · GPU / Viewport
Mike Erwin (merwin) committed rB888e742f8463: OpenGL: minor cleanup & TODO (authored by Mike Erwin (merwin)).
OpenGL: minor cleanup & TODO
Apr 16 2017, 1:50 AM
Mike Erwin (merwin) committed rBda17928fd500: Gawain: look up builtin uniforms by enum, not by name (authored by Mike Erwin (merwin)).
Gawain: look up builtin uniforms by enum, not by name
Apr 16 2017, 1:20 AM
Mike Erwin (merwin) committed rBabd1934be6eb: Gawain: use ShaderInterface to manage vertex attribs (authored by Mike Erwin (merwin)).
Gawain: use ShaderInterface to manage vertex attribs
Apr 16 2017, 12:08 AM
Mike Erwin (merwin) committed rB2593ce9c3327: Gawain: remove 2D matrix uniforms from ShaderInterface (authored by Mike Erwin (merwin)).
Gawain: remove 2D matrix uniforms from ShaderInterface
Apr 16 2017, 12:07 AM

Apr 15 2017

Mike Erwin (merwin) committed rBea105bab2b8f: Gawain: fix header comments (authored by Mike Erwin (merwin)).
Gawain: fix header comments
Apr 15 2017, 9:43 PM
Mike Erwin (merwin) added a comment to T51219: Gawain API general consistency RFC.

people who are familiar with the details of Gawain might move on to other, non-Blender things.

I've been here for 7 years so far, and plan to be around a while :) But good point, it needs to stand on its own whether or not someone is around to explain it.

Apr 15 2017, 8:24 PM · BF Blender: 2.8
Mike Erwin (merwin) updated subscribers of T51219: Gawain API general consistency RFC.

Adding people who have used Gawain quite a bit and/or have suggested API changes.

Apr 15 2017, 7:34 PM · BF Blender: 2.8
Mike Erwin (merwin) added a comment to T51219: Gawain API general consistency RFC.

These functions are part of ElementListBuilder (aka IndexBufferBuilder):

void add_generic_vertex(ElementListBuilder*, unsigned v);
void add_point_vertex(ElementListBuilder*, unsigned v);
void add_line_vertices(ElementListBuilder*, unsigned v1, unsigned v2);
void add_triangle_vertices(ElementListBuilder*, unsigned v1, unsigned v2, unsigned v3);

ElementList (aka IndexBuffer) is immutable for fast drawing; the Builder adds vertex indices, validates, and converts to the final GPU-friendly form.

Apr 15 2017, 7:25 PM · BF Blender: 2.8
Mike Erwin (merwin) committed rB7c57ca510979: Gawain: move some VertexFormat funcs to private interface (authored by Mike Erwin (merwin)).
Gawain: move some VertexFormat funcs to private interface
Apr 15 2017, 7:10 PM
Mike Erwin (merwin) committed rB16f08b08fc29: Gawain: rename AttribBinding clear for consistency (authored by Mike Erwin (merwin)).
Gawain: rename AttribBinding clear for consistency
Apr 15 2017, 7:10 PM
Mike Erwin (merwin) added inline comments to rB8c0864b5edea: GPU matrix: add back type checks.
Apr 15 2017, 6:45 PM
Mike Erwin (merwin) awarded rB8c0864b5edea: GPU matrix: add back type checks a Piece of Eight token.
Apr 15 2017, 6:44 PM
Mike Erwin (merwin) added a comment to T51219: Gawain API general consistency RFC.

Sure, I can explain the current naming conventions, and we can talk about whether/how to change them. Many people have been working with Gawain since October (and a few before that). I've tweaked the API based on their feedback to get to where we're at. The prefix subject has been brought up before but otherwise most people seem happy with the design.

Apr 15 2017, 6:29 PM · BF Blender: 2.8
Mike Erwin (merwin) added a task to D2626: GPU Matrix API: stick to a single 4x4 matrix stick for 2D and 3D: T49450: replace OpenGL legacy matrix stacks.
Apr 15 2017, 7:45 AM · BF Blender: 2.8
Mike Erwin (merwin) added a revision to T49450: replace OpenGL legacy matrix stacks: D2626: GPU Matrix API: stick to a single 4x4 matrix stick for 2D and 3D.
Apr 15 2017, 7:45 AM · GPU / Viewport, BF Blender: 2.8
Mike Erwin (merwin) updated the task description for T51164: Deprecated OpenGL Migration, the home stretch!.
Apr 15 2017, 7:43 AM · BF Blender: 2.8
Mike Erwin (merwin) committed rB4b043994e879: GPU Matrix API: clean up after 2D-3D unification (authored by Mike Erwin (merwin)).
GPU Matrix API: clean up after 2D-3D unification
Apr 15 2017, 7:31 AM

Apr 14 2017

Mike Erwin (merwin) added a comment to T48238: Viewport Project: Wireframes for Blender 2.8.

Totally forgot we had a task open for this! I implemented a solution and presented early results at the 2016 Blender Conference:
discussion of problem and demo of solution

Apr 14 2017, 10:20 PM · User Interface, BF Blender: 2.8
Mike Erwin (merwin) accepted D2626: GPU Matrix API: stick to a single 4x4 matrix stick for 2D and 3D.

Tested on Mac, land it!

Apr 14 2017, 5:38 PM · BF Blender: 2.8
Mike Erwin (merwin) added a comment to D2626: GPU Matrix API: stick to a single 4x4 matrix stick for 2D and 3D.

This patch rejects a fundamental change I've been trying to make -- that 2D is different from 3D and deserves its own best implementation.

Apr 14 2017, 5:32 PM · BF Blender: 2.8
Mike Erwin (merwin) committed rB89e23c743e60: OpenGL: fix Mac crashing on startup (authored by Mike Erwin (merwin)).
OpenGL: fix Mac crashing on startup
Apr 14 2017, 4:43 PM
Mike Erwin (merwin) added a comment to rBbef2aab862b8: Gawain: fix crash when drawing batches (e.g., scale manipulator).

Thanks, I missed that!

Apr 14 2017, 4:41 PM
Mike Erwin (merwin) awarded rBbef2aab862b8: Gawain: fix crash when drawing batches (e.g., scale manipulator) a Piece of Eight token.
Apr 14 2017, 4:40 PM
Mike Erwin (merwin) committed rB26f25b1b27bd: OpenGL: use ShaderInterface to look up uniforms (authored by Mike Erwin (merwin)).
OpenGL: use ShaderInterface to look up uniforms
Apr 14 2017, 1:18 AM
Mike Erwin (merwin) committed rB532532afc731: Revert "OpenGL core: add some missing gpuBegin to allow clay with no UI" (authored by Dalai Felinto (dfelinto)).
Revert "OpenGL core: add some missing gpuBegin to allow clay with no UI"
Apr 14 2017, 1:18 AM
Mike Erwin (merwin) added a reverting change for rB1c01811cce00: OpenGL core: add some missing gpuBegin to allow clay with no UI: rB532532afc731: Revert "OpenGL core: add some missing gpuBegin to allow clay with no UI".
Apr 14 2017, 1:18 AM

Apr 13 2017

Mike Erwin (merwin) committed rB1c426d5b6cf7: OpenGL: implement 2D with 4x4 matrices (authored by Mike Erwin (merwin)).
OpenGL: implement 2D with 4x4 matrices
Apr 13 2017, 10:01 AM
Mike Erwin (merwin) raised a concern with rBf2f16a2568c2: Eevee: First Shadows implementation.
Apr 13 2017, 7:43 AM
Mike Erwin (merwin) committed rBfae01c3a54f1: use new 3D matrix impl in draw manager (authored by Mike Erwin (merwin)).
use new 3D matrix impl in draw manager
Apr 13 2017, 7:18 AM
Mike Erwin (merwin) committed rB56e9629d96f1: Gawain: look up array uniforms correctly (authored by Mike Erwin (merwin)).
Gawain: look up array uniforms correctly
Apr 13 2017, 7:18 AM
Mike Erwin (merwin) committed rBf7087109cefb: cleanup image drawing setup (authored by Mike Erwin (merwin)).
cleanup image drawing setup
Apr 13 2017, 7:18 AM
Mike Erwin (merwin) committed rBb02786ae6be7: Gawain: use ShaderInterface to manage uniforms (authored by Mike Erwin (merwin)).
Gawain: use ShaderInterface to manage uniforms
Apr 13 2017, 7:18 AM
Mike Erwin (merwin) committed rBc61b7b02635f: Gawain: add (temp) legacy GLSL support to ShaderInterface (authored by Mike Erwin (merwin)).
Gawain: add (temp) legacy GLSL support to ShaderInterface
Apr 13 2017, 7:18 AM
Mike Erwin (merwin) committed rB6bfb9b7b5f16: Gawain: add immUniform4iv (authored by Mike Erwin (merwin)).
Gawain: add immUniform4iv
Apr 13 2017, 7:18 AM
Mike Erwin (merwin) committed rB02fd9a1aaf14: Gawain: improve ShaderInterface (authored by Mike Erwin (merwin)).
Gawain: improve ShaderInterface
Apr 13 2017, 7:18 AM

Apr 12 2017

Mike Erwin (merwin) closed T51189: File Draw - Debug Error! - abort() has been called as Resolved.
Apr 12 2017, 8:23 PM · BF Blender: 2.8
Mike Erwin (merwin) committed rBc080702e73f1: fix drawing file column dividers (T51189) (authored by Mike Erwin (merwin)).
fix drawing file column dividers (T51189)
Apr 12 2017, 8:22 PM
Mike Erwin (merwin) updated subscribers of T51190: EEVEE/Clay crash when trying to enter edit mode.
Apr 12 2017, 7:51 PM · BF Blender: 2.8
Mike Erwin (merwin) claimed T51189: File Draw - Debug Error! - abort() has been called.
Apr 12 2017, 7:42 PM · BF Blender: 2.8
Mike Erwin (merwin) added a comment to T51188: Blender2.8: Compilation errors on Windows MSVC 2013 update 5.

@Germano Cavalcante (mano-wii) are MSVC2017 libraries available in SVN? I had heard that CUDA is not compatible yet.

Apr 12 2017, 7:30 PM · BF Blender: 2.8
Mike Erwin (merwin) added a comment to T51188: Blender2.8: Compilation errors on Windows MSVC 2013 update 5.

Do MSVC 2015 and 2017 also have this problem? If not we could consider dropping 2013 build support.

Apr 12 2017, 6:27 PM · BF Blender: 2.8
Mike Erwin (merwin) requested changes to D2619: GPU Matrix: Functions to handle 2D matrices.

We can't just drop rows & columns, the 2D matrices will be incorrect. I'm working in gpu_matrix.c so wait a little bit to make any big changes.

Apr 12 2017, 5:05 PM
Mike Erwin (merwin) committed rB42349f6efd79: fix compile warnings (authored by Mike Erwin (merwin)).
fix compile warnings
Apr 12 2017, 1:37 AM

Apr 11 2017

Mike Erwin (merwin) added a comment to D2615: Gawain: remove limit where drawing zero items fails.

Note that you can draw 0 vertices with

Apr 11 2017, 3:40 AM