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
2018-09-19Merge branch 'master' into blender2.8Brecht Van Lommel
2018-08-24Sculpt: Optimize Mask Overlay drawingClément Foucault
* Remove support for diffuse color in the pbvh buffers. * Upload raw data to GPU. * Only draw nodes that have mask data when drawing the overlay. This should fix T56466
2018-05-17Remove ViewLayer settings - cleanup 1/2Dalai Felinto
2018-04-30DRW: Remove DRWTextureFormat in favor or GPUTextureFormat.Clément Foucault
Because: - Less redundancy. - Better suffixes. Also a few modification to GPU_texture_create_* to simplify the API: - make the format explicit to the texture creation process. - remove the component count as it's specified in the GPUTextureFormat.
2018-04-16Depsgraph: remove EvaluationContext, pass Depsgraph instead.Brecht Van Lommel
The depsgraph was always created within a fixed evaluation context. Passing both risks the depsgraph and evaluation context not matching, and it complicates the Python API where we'd have to expose both which is not so easy to understand. This also removes the global evaluation context in main, which assumed there to be a single active scene and view layer. Differential Revision: https://developer.blender.org/D3152
2018-03-29Draw manager: Make evaluation context a part of context stateSergey Sharybin
This way we don't have to re-initialize the full evaluation context in every area we need it.
2018-01-30DRW / Render: Add support for render pipeline in drawmanager.Clément Foucault
For simplicity we choose to execute the rendering of Opengl engines in the main thread and block the interface. This might be addressed in the future at least for video rendering. A drawmanager wrapper (DRW_render_to_image) is called by the render pipeline to set up the Opengl state and then call the specific draw_engine->render_to_image function.
2017-11-29Draw manager: Cleanup, namingSergey Sharybin
Similar to previous commit in Eevee.
2017-09-25DRW : Add new view_update mechanism.Clément Foucault
This makes updates for the viewport cleaner and also add the possibility to add a new callback called when the scene is updated.
2017-07-21Pass EvaluationContext argument everywhereLuca Rood
Note that some little parts of code have been dissabled because eval_ctx was not available there. This should be resolved once DerivedMesh is replaced.
2017-05-17DWM: Add obact for convenienceCampbell Barton
Modes often need to check if the object is the active one.
2017-05-16Draw Manager: Texture Memory usage improvement.Clément Foucault
-Use 11_11_10 buffers for hdr content. -Eevee compositing share 1 buffer if bloom and DOF are both activated. -Fix slowdown when resizing EEVEE viewport. -Removed DRW_BUF_*** enums causing confusion.
2017-05-16Correct last commit, missing assignmentCampbell Barton
2017-05-16Fix sculpt dyntopo undo leaving PBVH at NULLCampbell Barton
2017-05-12Sculpt: Move sculpt drawing to engines.Clément Foucault
Only mask are handled by sculpt mode engine and are multiplied on top of the render. There is room for improvement: - Shaded meshes don't have correct tangents or uvs. - Masks are in range 0.8 - 0.2 thus always darkening at least 20% the render. - It only uses the first material slot of the mesh.
2017-05-11DWM: Use draw manager for sculpt PBVH drawingCampbell Barton
Add a shader-group type to draw generated geometry by running a callback.
2017-05-10DWM: Use Gawain for sculpt drawingCampbell Barton
Currently only uses the simple shader.
2017-04-29Cleanup: rename struct for private engine dataCampbell Barton
Also remove from pass list (there were some duplicate unused entries).
2017-04-18GPUFramebuffer: Allow to bind a specific texture mip to framebuffer.Clément Foucault
2017-04-13Use 'safe' macros for common free operationCampbell Barton
Same as MEM_SAFE_FREE macro, checks for NULL, runs free then sets NULL. Blocks of code that do this many times are noisy and likely errors here wouldn't be noticed immediately. Also NULL's static vars which were being left set.
2017-04-12Draw Engine: remove hard coded limit on array sizesCampbell Barton
This removes MAX_STORAGE, MAX_BUFFERS, MAX_TEXTURES, MAX_PASSES limits. Actual memory saving isn't so important, it just means we don't need to manually bump these based on changes to engines.
2017-04-12Cleanup: use DRW_cache_mesh prefix w/ mesh objectsCampbell Barton
Avoid confusion for non mesh types where verts/wire/surface might apply. Other object types use this convention already.
2017-04-10Draw Manager: Use Texture flag in Framebuffer init.Clément Foucault
2017-04-03Draw Manager: Use engine type pointer instead of engine name.Clément Foucault
Faster search
2017-03-27Draw Engines: Make g_data struct part of the viewport storageClément Foucault
This makes viewport cache construction independant from each others and will allow multithread down the road.
2017-03-27Draw Manager: Make Viewport Data passed by the manager call.Clément Foucault
2017-03-20Draw module: code style, encapsulate static varsClément Foucault
2017-03-14Cleanup: warningsCampbell Barton
2017-03-13Mode Engines: Fix MSVC compilation error.Clément Foucault
2017-03-12Clay Engine: Mode engine templates.Clément Foucault
Standard Engine layout easy to extend. Note that most of the work will also happen in mesh_render.c to create geometry batches.