You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
825 B
35 lines
825 B
/*
|
|
* Copyright (c) Hisilicon Technologies Co., Ltd. 2020-2020. All rights reserved.
|
|
* Description: DolGLDrawSurface
|
|
* Author:
|
|
* Create: 2020-01-03
|
|
*/
|
|
|
|
#ifndef BLIT_INFO_H
|
|
#define BLIT_INFO_H
|
|
|
|
#include "Common.h"
|
|
|
|
namespace dolgles {
|
|
class BlitInfo {
|
|
public:
|
|
BlitInfo();
|
|
~BlitInfo();
|
|
void SetSrcFbo(const FrameBuffObject &fbo);
|
|
const FrameBuffObject &GetSrcFbo() const;
|
|
void SetDstFbo(const FrameBuffObject &fbo);
|
|
const FrameBuffObject &GetDstFbo() const;
|
|
void SetSrcRect(const GLRectInfo &rect);
|
|
const GLRectInfo &GetSrcRect() const;
|
|
void SetDstRect(const GLRectInfo &rect);
|
|
const GLRectInfo &GetDstRect() const;
|
|
|
|
private:
|
|
FrameBuffObject srcFbo;
|
|
FrameBuffObject dstFbo;
|
|
GLRectInfo srcRect;
|
|
GLRectInfo dstRect;
|
|
};
|
|
}; // namespace dolgles
|
|
|
|
#endif // end BLIT_INFO_H
|