Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-28 | Cleanup: sort forward declarations of enum & struct | Campbell Barton | |
Done using: source/tools/utils_maintenance/c_sort_blocks.py | |||
2019-01-26 | Cleanup: blank lines over doxy headers | Campbell Barton | |
2019-01-26 | Cleanup: remove redundant BKE/BLI/BIF headers | Campbell Barton | |
2019-01-26 | Cleanup: redundant defines | Campbell Barton | |
Comment or remove unused defines. | |||
2019-01-26 | DRW: support clipping for empty object | Campbell Barton | |
2019-01-26 | Cleanup: avoid static vars to store legacy shaders | Campbell Barton | |
2019-01-26 | GPU: refactor defines into GPUShaderStages | Campbell Barton | |
Code comment notes there are "just a few", now there are enough it's useful to include in GPUShaderStages. | |||
2019-01-26 | Cleanup: order GPUShaderStages (vert, geom, frag) | Campbell Barton | |
Use names for declarations to support adding defines, coming next. | |||
2019-01-25 | T60745: GPU texture alloc failed when opening Preference Windows | Clément Foucault | |
Was generating INVALID_FRAMEBUFFER here instead of failled texture alloc. Add safety asserts in gpu_texture.c and clamp minimum size to 1 inside GPU_offscreen_create. | |||
2019-01-25 | Cleanup: remove duplicated shaders that only added clipping checks | Campbell Barton | |
Originally I wanted to avoid adding draw manager specific ifdef's all over generic shaders however this isn't needed in so many places. Also there are shaders that are only used by the draw manager so duplicating them only to have the original unused doesn't make sense. | |||
2019-01-24 | DRW: support clipping for camera objects | Campbell Barton | |
2019-01-24 | Fix T59145: don't clamp color value in Hue Saturation Value node in eevee | Jacques Lucke | |
2019-01-23 | 3D View: draw clipping region | Campbell Barton | |
Only for workbench solid/wire modes. | |||
2019-01-23 | Cleanup: use eGPU prefix for GPU enum types | Campbell Barton | |
2019-01-21 | GPUShader: Add GPU_VERTEX/FRAGMENT/GEOMETRY_SHADER defines | Clément Foucault | |
This makes it possible to have some code specific to each shader inside a shader library. | |||
2019-01-21 | Cleanup: rename GPU function to set buffer length | Campbell Barton | |
2019-01-17 | GPUInterface: Add builtin check in uniform location request. | Clément Foucault | |
This is a compile time option to remove the unecessary uniform queries. | |||
2019-01-17 | DRW: Make missing uniform debuging print only once | Clément Foucault | |
2019-01-17 | DRW: Use name buffer to request uniform location before drawing. | Clément Foucault | |
This is in order to avoid GL call during the "cache creation" phase and support multithreading. | |||
2019-01-17 | GPU: Rename GPU_shader_get_uniform to GPU_shader_get_uniform_ensure | Clément Foucault | |
This is in order to make the API more multithread friendly inside the draw manager. GPU_shader_get_uniform will only serve to query the shader interface and not do any GL call, making it threadsafe. For now it only print a warning if the uniform was not queried before. | |||
2019-01-17 | Cleanup: unused code | Campbell Barton | |
2019-01-16 | Preferences: remove OpenGL select method preference. | Brecht Van Lommel | |
Deprecated GL_SELECT no longer works in OpenGL core profile, so there is no reason to have this. | |||
2019-01-16 | Preferences: remove unnecessary 16 bit textures preference. | Brecht Van Lommel | |
This is a leftover from a time when these were not supported on all GPUs. | |||
2019-01-16 | Preferences: always do GPU accelerated mipmapping, remove preference. | Brecht Van Lommel | |
This setting was added long ago to be cautious in case some GPUs did not support this propertly, no reason to have it anymore. | |||
2019-01-15 | Cleanup: commas at the end of enums | Campbell Barton | |
Without this clang-format may wrap them onto a single line. | |||
2019-01-14 | GPUMaterial: Cleanup | Clément Foucault | |
2019-01-12 | Drawing API: shgroup_instance and shgroup_instance_alpha clarification | Dalai Felinto | |
shgroup_instance_alpha was getting a color[4] but would only use the alpha defined upon creation of the shading group. This was very limiting since it wouldn't allow for different instances to have different alpha values. Patch made with Clément Foucault (he made the code of it, while I fixed all the parts of the code that were relying on shgroup_instance_alpha. | |||
2019-01-11 | UVEdit: Port texpaint_loop_wire to batch request | Clément Foucault | |
This removes code duplication and put an end to the old "create at request" batch creation. Also it uses the same vbo as the uv layer used for shading. Reducing VRAM usage. Also fixes the modified uv display in uv edit mode. | |||
2019-01-11 | UVEdit: Add back uv angle stretch aspect correction | Clément Foucault | |
This is now done in shader so that the batches are shared across ImageUV areas. | |||
2019-01-11 | GPUShader: Cleanup Unused shaders | Clément Foucault | |
2019-01-11 | GPUMaterial: Cleanup / optimization | Clément Foucault | |
2019-01-11 | GPUShader: Add selection id shader | Clément Foucault | |
This is to separate id drawing from standard color drawing. | |||
2019-01-10 | Fix use of uninitialized GPU context memory in release builds. | Brecht Van Lommel | |
Reported by valgrind, not sure it caused any real bugs. | |||
2019-01-07 | Cleanup: add trailing commas to structs | Campbell Barton | |
2019-01-06 | Cleanup: add trailing commas to structs | Campbell Barton | |
Needed for clang formatting to workaround bug/limit, see: T53211 | |||
2019-01-04 | Cleanup: Spelling | Sergey Sharybin | |
2019-01-04 | Provide more information on unknown GPU | Sergey Sharybin | |
2019-01-04 | Merge branch 'blender2.7' | Sergey Sharybin | |
2019-01-04 | Recognize llvmpipe renderer as software OpenGL | Sergey Sharybin | |
2019-01-03 | Revert "GPU: add negated normal conversion functions" | Campbell Barton | |
This reverts commit d28b29d428cc7fc7eb29f2302b5d80fc63a9f870. | |||
2019-01-03 | GPU: add negated normal conversion functions | Campbell Barton | |
Saves having to negate to a temporary variable. | |||
2019-01-02 | Fix T59773: Raise exception if the gpu module is used in backgound mode. | mano-wii | |
Instead of crashing, an error message is displayed if a function of the gpu module is called without a GPU context. Reviewers: brecht, campbellbarton, JacquesLucke, mont29 Subscribers: abdelmatinboulbayam, amir.shehata Differential Revision: https://developer.blender.org/D4143 | |||
2018-12-30 | Cleanup: remove non-existing function declarations | Campbell Barton | |
2018-12-30 | Cleanup: warnings (clang) | Campbell Barton | |
2018-12-25 | GPU: Add another driver to the list of unused_fb_slot_workaround | mano-wii | |
I start to think that an automatic detection would be a better solution. | |||
2018-12-24 | Fix/cleanup another bunch of UI messages issues. | Bastien Montagne | |
Also (mostly in comments): behaviour -> behavior (we use American English). | |||
2018-12-18 | DRW: Instance: Makes it possible to have instances of a non-init batch | Clément Foucault | |
2018-12-17 | Mesh Batch Cache: Port Texture paint batches to new batch request | Clément Foucault | |
2018-12-17 | GPU: Add Intel HD Graphics 530 to the list of buggy intel gpus | Clément Foucault | |
2018-12-15 | Fix T56185, T59351: bypass GL_PROXY_TEXTURE.. test on AMD GPU + windows | mano-wii | |
This replaces the test of consistency and capacity made with `GL_PROXY_TEXTURE_..` on AMD GPUs with one that checks only if the texture fits the limits of size and layer. Differential Revision: https://developer.blender.org/D4081 |