mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 09:27:31 +09:00
Add back Nvidia 3D because why not
This commit is contained in:
parent
88b6304ad7
commit
67052bd6bb
7 changed files with 308 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ namespace mozilla {
|
|||
namespace layers {
|
||||
|
||||
class DeviceManagerD3D9;
|
||||
class Nv3DVUtils;
|
||||
class Layer;
|
||||
class TextureSourceD3D9;
|
||||
|
||||
|
|
@ -178,6 +179,11 @@ public:
|
|||
// returns the register to be used for the mask texture, if appropriate
|
||||
uint32_t SetShaderMode(ShaderMode aMode, MaskType aMaskType);
|
||||
|
||||
/**
|
||||
* Return pointer to the Nv3DVUtils instance
|
||||
*/
|
||||
Nv3DVUtils *GetNv3DVUtils() { return mNv3DVUtils; }
|
||||
|
||||
/**
|
||||
* Returns true if this device was removed.
|
||||
*/
|
||||
|
|
@ -332,6 +338,9 @@ private:
|
|||
/* If this device was removed */
|
||||
bool mDeviceWasRemoved;
|
||||
|
||||
/* Nv3DVUtils instance */
|
||||
nsAutoPtr<Nv3DVUtils> mNv3DVUtils;
|
||||
|
||||
/**
|
||||
* Verifies all required device capabilities are present.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue