Blender Git Loki

Kaikki Blender Git kommitit.

Page: 1302 / 8462

September 5, 2020, 12:08 (GMT)
GLTexture: Add direct state access support
September 5, 2020, 12:06 (GMT)
GLState: Add texture multibind and remove redundant binds
September 5, 2020, 12:04 (GMT)
Math Utils: Add bitscan 64bit version
September 5, 2020, 02:19 (GMT)
UI: Masking: Add more transform operators to menu

Also use select tweak params for grabbing points
September 5, 2020, 02:19 (GMT)
UI: Masking: Reorginize mask menu to be more conistent
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.
September 5, 2020, 00:55 (GMT)
GPUTexture: OCIO: Workaround new missing bind error checking

We cannot change the texture bind point since the interface count
4/5 textures to bind. Changing the uniform to avoid one bind
make the system thinks one texture is missing.

Avoid this by creating a dummy texture and binding it to the empty
slot.
September 5, 2020, 00:55 (GMT)
GPUDebug: Only enable resource checking in debug mode
September 5, 2020, 00:55 (GMT)
Cleanup: GPUTexture: Move debug messages outside of creation function

# Conflicts:
# source/blender/gpu/intern/gpu_framebuffer.cc
September 4, 2020, 23:58 (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.
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.
September 4, 2020, 21:13 (GMT)
Cleanup: GPUTexture: Remove use of GPU_texture_create_nD

Use creation + update function instead.
September 4, 2020, 20:19 (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.
September 4, 2020, 20:18 (GMT)
OCIO: Use GPUTexture instead of OpenGL calls and remove gl dependency

Simple cleanup. Part of the Vulkan Port T68990.
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.
September 4, 2020, 19:26 (GMT)
UI Code Quality: Use derived struct for number buttons

For the man rationale behind this design, see 49f088e2d093. Further,
this removes users of uiBut.a1/uiBut.a2, which is a very ugly design
choice (hard to reason about).

Note that I had to do rather ugly, specific exceptions for the number
buttons in `ui_def_but_rna()`. But once all users of a1/a2 are removed,
this special handling shouldn't be needed anymore.
I also had to move a sanity check out of the button definition. It's now
moved into a new debug only sanity checking function executed when
finishing the layout definition (block end).
September 4, 2020, 19:26 (GMT)
UI Code Quality: Store curve-button gradient type in derived struct

We want to move away from using `uiBut.a1`/`a2`, which is a hard to
reason about design.

Part of T74432.

Also correct comment.
September 4, 2020, 19:24 (GMT)
Fix building on windows after cleanup changes in tiff.c
September 4, 2020, 19:18 (GMT)
Cleanup: Remove redundant redeclaration in collada

No functional changes.
September 4, 2020, 19:10 (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.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021