53 virtual unsigned int textureByteCount()
const;
89 std::shared_ptr<GLuint> handle,
90 int width,
int height );
93 virtual void execute()
override;
97 virtual unsigned int textureByteCount()
const override;
123 std::shared_ptr<GLuint> handle,
124 int width,
int height,
125 const uint8_t* pixels );
128 virtual void execute()
override;
132 virtual unsigned int textureByteCount()
const override;
152 virtual void execute()
override;
174 std::shared_ptr<GLuint> handle,
175 int x,
int y,
int w,
int h,
176 std::vector<uint8_t> pixels );
179 virtual void execute()
override;
183 virtual unsigned int textureByteCount()
const override;
207 std::shared_ptr<GLuint> handle,
208 std::shared_ptr<std::atomic<bool>> dirty );
211 virtual void execute()
override;
std::vector< uint8_t > myPixels
Definition: DtGlTextureOp.h:191
GLuint myHandle
Definition: DtGlTextureOp.h:155
Intermediate base for GL operations that work with texture objects.
Definition: DtGlTextureOp.h:40
std::shared_ptr< GLuint > myHandle
Definition: DtGlTextureOp.h:135
GPU op that allocates a GL texture name and uninitialised RGBA8 storage.
Definition: DtGlTextureOp.h:80
Persistent GPU op that regenerates mipmaps for a texture once per frame.
Definition: DtGlTextureOp.h:199
Abstract base for any operation that runs on the GPU via DtGpuArena.
Definition: DtGpuOperation.h:30
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
int myW
Definition: DtGlTextureOp.h:189
int myWidth
Definition: DtGlTextureOp.h:136
int myH
Definition: DtGlTextureOp.h:190
unsigned int GLuint
Definition: DtGlTextureBufferObject.h:18
int myWidth
Definition: DtGlTextureOp.h:101
std::shared_ptr< GLuint > myHandle
Definition: DtGlTextureOp.h:100
Contains the DtGpuOperation class declaration.
GPU op that uploads a full RGBA8 image to an already-allocated GL texture.
Definition: DtGlTextureOp.h:112
Manages and tracks memory usage statistics for GPU resource upload operations.
Definition: DtGpuArenaUploadState.h:39
int myX
Definition: DtGlTextureOp.h:187
int myY
Definition: DtGlTextureOp.h:188
int myHeight
Definition: DtGlTextureOp.h:102
virtual void execute()=0
Execute the GPU operation on the render thread.
const uint8_t * myPixels
Definition: DtGlTextureOp.h:138
int myHeight
Definition: DtGlTextureOp.h:137
GPU op that deletes a GL texture name. Captures the handle by value at construction so the originatin...
Definition: DtGlTextureOp.h:143
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
std::shared_ptr< std::atomic< bool > > myDirty
Definition: DtGlTextureOp.h:215
std::shared_ptr< GLuint > myHandle
Definition: DtGlTextureOp.h:214
GPU op that uploads a sub-region of RGBA8 pixels via glTexSubImage2D.
Definition: DtGlTextureOp.h:162
std::shared_ptr< GLuint > myHandle
Definition: DtGlTextureOp.h:186