BGL already almost has a mechanism for doing this the calls. The legacy calls are already separated out just the mechanism for enabling / disabling this has still to be decided.
Ill try and make a proposal to add some call to bgl itself to hide them or warn or something. On Sun, Nov 29, 2015 at 7:23 PM, Antony Riakiotakis <kal...@gmail.com> wrote: > When we switch to core profile, legacy GL calls will not be supported > at all from the driver. To solve this, Martijn proposed to have a > deprecation mode for a few versions that would prohibit use of > deprecated functions from python (probably error out when accessing > them with a warning). > > > On 29/11/2015, Dalai Felinto <dfeli...@gmail.com> wrote: > > Hi, > > A small question regarding the OpenGL project: > > > > > "Work now progresses on removing 'immediate mode' calls (glBegin, > > glEnd), and on defining how to use shaders everywhere" > > > > How does that affect Python addons? Can immediate mode still be used via > > bgl? Or it's not recommended (not guaranteed to work in all OSs)? > > > > Thanks, > > Dalai > > On Nov 29, 2015 14:02, "Ton Roosendaal" <t...@blender.org> wrote: > > > >> Hi all, > >> > >> Here are the (short) notes of today's meeting in irc.freenode.net > >> #blendercoders > >> > >> 1) Work on 2.77 > >> > >> - Project page with planning: > >> http://wiki.blender.org/index.php/Dev:Doc/Projects > >> (As agreed on, 2.77 has not been scheduled yet) > >> > >> - Bastien Montagne reports good progress on library referencing > >> improvements: > >> > >> > http://code.blender.org/2015/11/test-build-live-reloading-relocating-of-libraries/ > >> (Might go to 2.77 if testing goes well) > >> > >> 2) Other projects and 2.8 preparations > >> > >> - Migrating to OpenGL 2.1 has started. > >> > >> - We're now officially on 2.1 minimal! Meaning that the old 'extension' > >> (compatibility) API calls > >> are gone. Work now progresses on removing 'immediate mode' calls > >> (glBegin, > >> glEnd), and on defining > >> how to use shaders everywhere. > >> > >> - Mike Erwin will write (today!) a wiki page - to log and report on > >> OpenGL > >> work, also as dashboard to > >> give people insight what they can do to help. Code upgrading is fun work > >> for which a lot of people > >> can contribute. Check the wiki project page later today for the correct > >> page link. > >> > >> - If you want to get involved: join the coders IRC channel, or the > >> viewport list: > >> http://lists.blender.org/mailman/listinfo/bf-viewport > >> > >> - After the meeting, a group discussed key aspects of the work ahead... > >> viewport team members so-far: > >> Mike Erwin, Antony Ryakiotakis, Brecht van Lommel, Inez Almeida, Martijn > >> Berger. Thomas Dinges is > >> available to help. Jason Wilkins is inactive currently but welcome to > >> join! > >> > >> Laters, > >> > >> -Ton- > >> > >> -------------------------------------------------------- > >> Ton Roosendaal - t...@blender.org - www.blender.org > >> Chairman Blender Foundation - Producer Blender Institute > >> Entrepotdok 57A - 1018AD Amsterdam - The Netherlands > >> > >> > >> > >> _______________________________________________ > >> Bf-committers mailing list > >> Bf-committers@blender.org > >> http://lists.blender.org/mailman/listinfo/bf-committers > >> > > _______________________________________________ > > Bf-committers mailing list > > Bf-committers@blender.org > > http://lists.blender.org/mailman/listinfo/bf-committers > > > _______________________________________________ > Bf-committers mailing list > Bf-committers@blender.org > http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers