Qingtian

Results 166 comments of Qingtian

Yes, might be possible graphic drivers issue or no supported graphic card on the board. I pushed a commit to use software rendering automatically if no available hardware. I have...

It's still DX10 on your system. The latest Red uses DX11. This is the dxdiag on my Win7. ![image](https://user-images.githubusercontent.com/1673525/154786112-7b369b2a-1533-4daa-8cad-3b1a011da9b1.png) > Why is dx? I select to use GDI+ The `gui-console`...

For integer key, as our bucket size is `2^N`, we can just use `key and (2^N - 1)` to uniformly map it to the buckets. No special hash function is...

@hiiamboris Thanks. I agree with your proposal for hashing objects and integers. I'm not sure if `murmur` is too heavy for integer!, maybe a simple [Fibonacci Hashing](https://probablydance.com/2018/06/16/fibonacci-hashing-the-optimization-that-the-world-forgot-or-a-better-alternative-to-integer-modulo/) is enough.

Anyway, as it's not a perfect hashtable, you can always find a series of numbers map to the same slot for any hashing function.

@hiiamboris I added the code to use murmur3 finalizers for integers and pointers for now. It should be good enough. It's a baseline, once we have benchmarks we can test...

It's a GDI+ only feature. We'll see how to implement it on other backends.

FYI. The base face can only show base faces in its `pane` in current Direct2D backend.

@toomasv As a workaround, Use `panel` as parent face if possible or use the GDI+ backend. ``` Red [ Title: "Red GUI App" Needs: View Config: [draw-engine: 'GDI+] ] ```

There are some issues when using base face as parent face since the beginning. Even the GDI+ backend has some issues. For example, it doesn't work properly when using semi-transparent...