sdl2 support.
hacky rendertarget stuff. not polished. don't use except for testing. feedback desired. switched file system to use a qofs_t type instead. define FS_64BIT to make it 64bit (standard on 64bit cpus). rewrote zip support, ditching unzip.c. this provided zip64 support, and unicode in zips. changed local address enumeration to not be so stupid. updated ode support a little to match some dp features. changed fs_cache scheme, to not rebuild needlessly. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4596 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
b9e46e4fa6
commit
1bb752b582
116 changed files with 3885 additions and 5423 deletions
|
@ -603,11 +603,35 @@ void GLBE_SelectEntity(entity_t *ent);
|
|||
qboolean GLBE_SelectDLight(dlight_t *dl, vec3_t colour, unsigned int lmode);
|
||||
void GLBE_Scissor(srect_t *rect);
|
||||
void GLBE_SubmitMeshes (qboolean drawworld, int start, int stop);
|
||||
void GLBE_RenderToTexture(texid_t sourcecol, texid_t sourcedepth, texid_t destcol, texid_t destdepth, qboolean usedepth);
|
||||
//void GLBE_RenderToTexture(texid_t sourcecol, texid_t sourcedepth, texid_t destcol, texid_t destdepth, qboolean usedepth);
|
||||
void GLBE_RenderToTextureUpdate2d(qboolean destchanged);
|
||||
void GLBE_VBO_Begin(vbobctx_t *ctx, unsigned int maxsize);
|
||||
void GLBE_VBO_Data(vbobctx_t *ctx, void *data, unsigned int size, vboarray_t *varray);
|
||||
void GLBE_VBO_Finish(vbobctx_t *ctx, void *edata, unsigned int esize, vboarray_t *earray);
|
||||
void GLBE_VBO_Destroy(vboarray_t *vearray);
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int fbo;
|
||||
int rb_size[2];
|
||||
int rb_depth;
|
||||
int rb_stencil;
|
||||
int rb_depthstencil;
|
||||
texid_t colour;
|
||||
unsigned int enables;
|
||||
} fbostate_t;
|
||||
#define FBO_RB_COLOUR 1
|
||||
#define FBO_RB_DEPTH 2
|
||||
#define FBO_RB_STENCIL 4
|
||||
#define FBO_RESET 8 //resize all renderbuffers / free any that are not active. implied if the sizes differ
|
||||
#define FBO_TEX_COLOUR 16 //internal
|
||||
#define FBO_TEX_DEPTH 32 //internal
|
||||
#define FBO_TEX_STENCIL 64 //internal
|
||||
void GLBE_FBO_Sources(texid_t sourcecolour, texid_t sourcedepth);
|
||||
int GLBE_FBO_Push(fbostate_t *state);
|
||||
void GLBE_FBO_Pop(int oldfbo);
|
||||
void GLBE_FBO_Destroy(fbostate_t *state);
|
||||
int GLBE_FBO_Update(fbostate_t *state, qboolean bind, unsigned int enables, texid_t destcol, texid_t destdepth, int width, int height);
|
||||
#endif
|
||||
#ifdef D3D9QUAKE
|
||||
void D3D9BE_Init(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue