Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2017-05-20Merge branch 'master' into blender2.8Campbell Barton
2017-05-20CMake: Use GCC7's -Wimplicit-fallthrough=5Campbell Barton
Use to avoid accidental missing break statements, use ATTR_FALLTHROUGH to suppress.
2017-04-22OpenGL: remove use of GLEW MXMike Erwin
MX (Multiple conteXt) support was dropped from the GLEW 2.0 library to make core profile support cleaner. Our WITH_GLEW_MX build option was OFF by default already; this commit removes the inactive code paths. I'm working on a plan for multiple GPUs, contexts, resource sharing, etc. This commit gives us a cleaner starting point for that upcoming work. Tested on Mac, will test on Linux & Windows immediately after pushing.
2017-03-11Merge branch 'master' into blender2.8Campbell Barton
2017-03-11Cleanup: code style & cmakeCampbell Barton
2017-02-28skip OpenGL debug logic on AppleMike Erwin
ifdef out most debugging code since Apple does not implement any debug extensions. We can revisit this if they ever do (don't expect that). Changed output message so Mac users don't think --debug-gpu is broken.
2017-02-28OpenGL: enable use of AMD_debug_outputMike Erwin
This extension is the best we have on some older supported GPU + OS combinations. All the code was in place, just disabled.
2017-02-28OpenGL: remove GPU_state_print functionMike Erwin
I was removing deprecated/obsolete state from this function. About halfway through I started questioning the need for the whole thing. GPU_state_print is not called anywhere, but is (was) available as a development aid. External GL debugging tools are really good these days! We should use those to examine state & not roll our own.
2016-11-13OpenGL: simplify debug, use only newer featuresMike Erwin
Drop SciTech support & workarounds for WinCE and OpenGL ES. AMD_debug_output is still in the code but disabled. Once I verify the newer extensions are available on all the GPU + OS combos we support we can delete this disabled code.
2016-08-19OpenGL: don't poll for errors, rely on KHR_debugMike Erwin
Errors are caught & reported by our GL debug callback. This gives us way more useful information than sporadic calls to glGetError. I removed almost all use of glGetError, including our own GPU_ASSERT_NO_GL_ERRORS and GPU_CHECK_ERRORS_AROUND macros. Still used in rna_Image_gl_load because it passes unvalidated input to OpenGL functions. Still used in gpu_state_print_fl_ex as an exception handling hack -- will rewrite this soon. The optimism embodied by this commit will not prevent OpenGL errors. We need to analyze what would cause GL to fail at certain points and proactively intercept these failures. Or guarantee they can't happen.
2016-08-17fix #includes for GPU debugMike Erwin
Can now build release and debug. Close to final version in master (which took several commits).
2016-08-16Fix redundant declarations after recent changes in GPU debugSergey Sharybin
2016-08-15OpenGL: ignore deprecated API warningsMike Erwin
Reduces noise from --debug-gpu so we can spot serious errors. Blender 2.7x uses OpenGL 2.1, we don't care if features are deprecated. I'll re-enable these warnings for blender2.8 after next merge.
2016-08-15Fix OpenGL backtrace build errors, without disabling warnings.Brecht Van Lommel
2016-08-15Tentative compile fix after recent gpu debug changesJens Verwiebe
2016-08-15OpenGL: backtrace on errors (--debug-gpu)Mike Erwin
Backtrace so we can pinpoint where the GL error came from. Then fflush on severe errors in case it's severe enough to crash Blender.
2016-08-15OpenGL: enhance debug outputMike Erwin
When running blender --debug-gpu Display which debug facilities are available. One of these, in order of preference: - OpenGL 4.3 - KHR_debug - ARB_debug_output - AMD_debug_output All messages are logged now, not just errors. Will probably turn some of these off later. GL_DEBUG_OUTPUT_SYNCHRONOUS lets us break on errors and backtrace to the exact trouble spot. Callers of GPU_string_marker no longer pass in a message length, just the message itself (null terminated). Apple provides no GL debug logging features.
2016-08-15OpenGL: backtrace on errors (--debug-gpu)Mike Erwin
Backtrace so we can pinpoint where the GL error came from. Then fflush on severe errors in case it's severe enough to crash Blender.
2016-08-09OpenGL: enhance debug outputMike Erwin
When running blender --debug-gpu Display which debug facilities are available. One of these, in order of preference: - OpenGL 4.3 - KHR_debug - ARB_debug_output - AMD_debug_output All messages are logged now, not just errors. Will probably turn some of these off later. GL_DEBUG_OUTPUT_SYNCHRONOUS lets us break on errors and backtrace to the exact trouble spot. Callers of GPU_string_marker no longer pass in a message length, just the message itself (null terminated). Apple provides no GL debug logging features.
2016-03-15Cleanup some warningsSergey Sharybin
2016-01-17Revert "Fix compile error in gpu_debug (incompatible-pointer-type)."Campbell Barton
This reverts commit 75cfc81ec39ac9953f25eb0ae5f9e70d3c24ee7e.
2016-01-17Fix compile error in gpu_debug (incompatible-pointer-type).Kévin Dietrich
2016-01-09Cleanup: style, gpu moduleCampbell Barton
2015-11-24OpenGL: clean up use of old extensionsMike Erwin
2015-10-16Cleanup: styleCampbell Barton
Also use gcc style file:line: syntax for errors.
2015-10-11Cleanup: warning with new glewCampbell Barton
2015-10-10Fix various compiler warnings.Brecht Van Lommel
2015-08-25Quiet warning with arg typesCampbell Barton
2015-07-22GPU debug: Only flush stderr if needed.Antony Riakiotakis
2015-07-20Filter the debug callback to only report errors unless debug value isAntony Riakiotakis
20. stderr was getting flooded with too many error messages, most of which were not really relevant.
2015-07-02Make OpenGL debug contexts a flag --debug-gpu instead of a compile timeAntony Riakiotakis
option. This makes sense, since contexts get created at runtime, there is little reason to require recompilation for this. Only works on linux currently, will be doing more OSs later
2015-07-02Text effect strip for sequencer.Antony Riakiotakis
Is pretty much what it says :) Easy subtitles for everyone! Supports size, positioning, a cheap shadow effect (probably will need more work), and autocentering on x axis. Now you can go wild with long spanish names in your soap opera videos. Will probably be refined as days go by, but at least it's now ready for testing.
2015-06-27OpenGL debug contexts:Antony Riakiotakis
Enable debug output in debug contexts for gl 4.3+
2015-06-26Make code compile with GPU_DEBUGAntony Riakiotakis
2015-05-01Fix a couple of harmless compiler warnings.Brecht Van Lommel
2015-03-23cleanup: use spaces for alignmentMike Erwin
while studying GPU lib
2015-03-16CleanupCampbell Barton
2015-02-23Fix compilation error after recent GPU debug changesSergey Sharybin
2015-02-23Debug GPU functionality from soc-viewport_fx by Jason WilkinsAntony Riakiotakis
patch number D706 with changes: - WITH_GPU_DEBUG just creates a debug context (and enables the debug messaging system functions) but leaves the checks we had intact. Old patch added the debug functionality only if we had the flag on to save some performance. Rationale here is that we might not want to recompile blender just to get the extra information, and having users start blender with a -d flag to get the extra information is also useful for bug reports. Those checks already existed and most expensive ones are hidden behind a debug mode check so performance should not be that bad. - Did some cleanup of existing functionality: When things go wrong blender side, just print the error, don't check for GL errors first. - Did not port changes needed for GLES to regular glew.h - Got rid of duplicate or very similar new functionality. Generally, code is more moving things around/cleanup and should work exactly as before apart from the debug context, so it's safe to add even now. It also provides a nice substitute function for glu error descriptions