mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 09:27:31 +09:00
Issue #2393 - Part 8 - Fix TextureClient-creating functions
This commit is contained in:
parent
04f124b105
commit
48698abb77
3 changed files with 64 additions and 35 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#ifndef GFX_IMFYCBCRIMAGE_H
|
||||
#define GFX_IMFYCBCRIMAGE_H
|
||||
|
||||
#include "mozilla/layers/TextureD3D11.h"
|
||||
#include "mozilla/RefPtr.h"
|
||||
#include "ImageContainer.h"
|
||||
#include "mfidl.h"
|
||||
|
|
@ -22,10 +23,15 @@ public:
|
|||
|
||||
virtual TextureClient* GetTextureClient(KnowsCompositor* aForwarder) override;
|
||||
|
||||
static DXGIYCbCrTextureData* GetD3D11TextureData(Data aData,
|
||||
gfx::IntSize aSize);
|
||||
|
||||
protected:
|
||||
|
||||
TextureClient* GetD3D9TextureClient(KnowsCompositor* aForwarder);
|
||||
|
||||
TextureClient* GetD3D11TextureClient(KnowsCompositor* aForwarder);
|
||||
|
||||
~IMFYCbCrImage();
|
||||
|
||||
RefPtr<IMFMediaBuffer> mBuffer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue