mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 01:47:31 +09:00
[WIP] D3D11 gpu accel
This commit is contained in:
parent
b7c0ebfcd4
commit
25c4eb5efb
9 changed files with 339 additions and 0 deletions
|
|
@ -11,6 +11,7 @@
|
|||
#include "mozilla/layers/Compositor.h"
|
||||
#include "TextureD3D11.h"
|
||||
#include <d3d11.h>
|
||||
#include <d3d11_1.h>
|
||||
|
||||
class nsWidget;
|
||||
|
||||
|
|
@ -174,6 +175,8 @@ private:
|
|||
RefPtr<ID3D11ShaderResourceView>* aOutView);
|
||||
|
||||
RefPtr<ID3D11DeviceContext> mContext;
|
||||
RefPtr<ID3D11DeviceContext1> mGpuRasterContext;
|
||||
bool mGpuRasterViewport;
|
||||
RefPtr<ID3D11Device> mDevice;
|
||||
RefPtr<IDXGISwapChain> mSwapChain;
|
||||
RefPtr<CompositingRenderTargetD3D11> mDefaultRT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue