Procházet zdrojové kódy

mesa: Include stream information in indexed queries.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
tags/10.3-branchpoint
Iago Toral Quiroga před 11 roky
rodič
revize
ecd9960430
2 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 1
    0
      src/mesa/main/mtypes.h
  2. 1
    0
      src/mesa/main/queryobj.c

+ 1
- 0
src/mesa/main/mtypes.h Zobrazit soubor

@@ -2895,6 +2895,7 @@ struct gl_query_object
GLboolean Active; /**< inside Begin/EndQuery */
GLboolean Ready; /**< result is ready? */
GLboolean EverBound;/**< has query object ever been bound */
GLuint Stream; /**< The stream */
};



+ 1
- 0
src/mesa/main/queryobj.c Zobrazit soubor

@@ -367,6 +367,7 @@ _mesa_BeginQueryIndexed(GLenum target, GLuint index, GLuint id)
q->Result = 0;
q->Ready = GL_FALSE;
q->EverBound = GL_TRUE;
q->Stream = index;

/* XXX should probably refcount query objects */
*bindpt = q;

Načítá se…
Zrušit
Uložit