Revision ab95cda by Clément Foucault September 5, 2020, 15:49 (GMT) |
GPUTexture: Change texture creation API This is to modernize the API: - Add meaningful name to all textures (except DRW textures). - Remove unused err_out argument: only used for offscreen python. - Add mipmap count to creation functions for future changes. - Clarify the data usage in creation functions. This is a cleanup commit, there is no functional change. # Conflicts: # source/blender/gpu/GPU_texture.h |
Revision bac4606 by Clément Foucault September 5, 2020, 15:49 (GMT) |
Cleanup: GPUTexture: Remove use of GPU_texture_create_nD Use creation + update function instead. |
Revision 7d4adbd by Clément Foucault September 5, 2020, 15:49 (GMT) |
GLTexture: Add validation for empty slots before drawing This is to have better error detection in debug builds. This is not a replacement for a full check like in renderdoc but it might catch some issues early on. |
Revision 541de20 by Clément Foucault September 5, 2020, 15:49 (GMT) |
OCIO: Use GPUTexture instead of OpenGL calls and remove gl dependency Simple cleanup. Part of the Vulkan Port T68990. |
Revision cc04101 by Clément Foucault September 5, 2020, 15:49 (GMT) |
GPUTexture: Implement back 3D texture resize But this time implement it outside the texture module. This makes more sense as only the volume textures need this feature. |
Revision 78dcd92 by Clément Foucault September 5, 2020, 15:49 (GMT) |
BLI: Math: Add equals_v3v3_int |
Revision 895ec05 by Clément Foucault September 5, 2020, 15:49 (GMT) |
Cleanup: GPUTexture: Clean framebuffer attachment |
Revision 13305fb by Clément Foucault September 5, 2020, 15:49 (GMT) |
Cleanup: GPUFrameBuffer: Use Texture class instead of gl calls |
Revision b100b77 by Clément Foucault September 5, 2020, 15:49 (GMT) |
GLTexture: Add back texture proxy check Cleanup the feature itself: - Check 3D textures size against the correct limit. - Add check for compressed textures. |
Revision 31c77a1 by Clément Foucault September 5, 2020, 15:49 (GMT) |
GPUTexture: Add support for samplers This just add back the support. This commit also includes a bit of cleanup. # Conflicts: # source/blender/gpu/GPU_texture.h |
Revision c766d9b by Clément Foucault September 5, 2020, 15:49 (GMT) |
GPUTexture: GL Backend Isolation This is a massive cleanup needed for vulkan support T68990. It provides: - More meaningful enums with conversion functions. - Less hacky supports of arrays and cubemaps (all considered layered). - More inline with the stateless design of vulkan and modern GL. - Methods Fallbacks are using framebuffer functions that are wrapped instead of implementing inside the texture module. What is not in there: - API change. - Samplers support (breaks a few effects). # Conflicts: # source/blender/gpu/GPU_texture.h |
Revision db21c12 by Clément Foucault September 5, 2020, 15:49 (GMT) |
GPUFramebuffer: Encapsulate single attachement clear This is in preparation of using it to clear single texture. Also includes minor cleanups about not using tex target in assert and adding enum operators. |
Revision 22a84a6 by Clément Foucault September 5, 2020, 15:49 (GMT) |
Cleanup: EEVEE: Use correct array size and use equals_v2v2_int |
Revision a92d77a by Clément Foucault September 5, 2020, 15:49 (GMT) |
GPUTexture: Add skeleton of the new GLTexture class |
Revision f72c1c4 by Clément Foucault September 5, 2020, 15:49 (GMT) |
GPUTexture: Remove bind to edit calls This is going to be unecessary after the GPU opengl texture backend refactor. For now add a save/restore mechanism to leave the state untouched. Also remove some calls where the caller would bind to particular binding point and set the shader uniform. |
Revision c598e93 by Aaron Carlisle September 5, 2020, 02:19 (GMT) |
UI: Masking: Add more transform operators to menu Also use select tweak params for grabbing points |
Revision 4155d77 by Aaron Carlisle September 5, 2020, 02:19 (GMT) |
UI: Masking: Reorginize mask menu to be more conistent |
Revision da6e6e0 by Howard Trickey September 5, 2020, 00:59 (GMT) |
New boolean: Fix second example in T79404. The code to detect non-trivial coplanar intersection sometimes falsely said there wasn't one. This caused some coplanar intersections to be missed. Also added a test for this case. |
Revision cf0ba59 by Brecht Van Lommel September 4, 2020, 21:32 (GMT) |
Fix Cycles redefining some Blender macros These changes were accidentally copied over from the Cycles repository, remove them again. |
Revision e73c60f by Julian Eisel September 4, 2020, 19:57 (GMT) |
Fix Cycles unsetting most GCC and Clang C++ flags Caused by f04260d8c679. Cycles' CMake defines macros with the same name as Blender, which override the Blender ones. There's however a small difference in the re-defined `remove_cc_flag()`, the Cycles version only takes one flag at a time. So I guess Blender's calls to it would only result in the first flag being removed. Of course Cycles shouldn't override any Blender macros, but I'll leave that up to Brecht to fix properly. |
|
|
|


Master Commits
MiikaHweb | 2003-2021