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
2017-01-06Modifications to GPU_texture:Clément Foucault
-Remove NPOT check as it should be supported by default with OGL 3.3 -All custom texture creation follow the same path now -Now explicit texture format is required when creating a custom texture (Non RGBA8) -Support for arrays of textures
2017-01-03Beginning Clay Viewport Engine :Clément Foucault
- Added temporary draw_mesh function to render edit mesh - DRW_draw_batch_list allows to render a list of objects with optimal state change - All viewport rendering is done offscreen for the moment Signed-off-by: Clément Foucault <foucault.clem@gmail.com>
2016-09-23Merge branch 'master' into blender2.8Julian Eisel
Conflicts: intern/ghost/intern/GHOST_ContextCGL.mm intern/ghost/intern/GHOST_WindowCocoa.mm source/blender/makesrna/intern/rna_main.c
2016-09-21fix for potential pitfall with glMatrixModeMike Erwin
close D696 by @jwilkins The matrix mode should always be left in modelview mode, since a lot of code assumes it is before setting a matrix.
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-09OpenGL: fix FBO error messagesMike Erwin
Old code had a mix of framebuffer error codes from OpenGL ES, EXT_framebuffer_object, and desktop GL. We use desktop GL (or ARB_framebuffer_object which acts just like GL 3.x) so I made it compatible with that. Changed messages to the actual GL_FRAMEBUFFER_XXX symbols. These are less friendly and more accurate. Can easily look up what an error means, unfiltered by what a Blender dev thinks it means. Kept ES error codes around in case we support that one day. Just flip the #if or use a compile-time option.
2016-08-05OpenGL: transition to ARB FBOs, remove runtime checksMike Erwin
ARB_framebuffer_object replaces several related EXT extensions. The ARB version pulls GL 3 FBO features into GL 2.1, useful for Mac platform. Its functions and enums have no ARB suffix so transition to modern GL will be seamless! Extension is checked at startup, so is guaranteed to be true at runtime. Part of T49012
2016-06-08Cleanup: GPU headersCampbell Barton
2016-05-27OpenGL: use EXT version of FBOsMike Erwin
Blender 2.7x supports OpenGL 2.1 which has FBO only as an extension. It was working fine, but this is more correct.
2016-01-09Cleanup: style, gpu moduleCampbell Barton
2015-12-08OpenGL: split off framebuffer, shader and texture code into separate files.Brecht Van Lommel