< prev index next >

src/java.desktop/windows/native/libawt/java2d/d3d/D3DContext.h

Print this page




 246     void SetPaintState(jint state) { this->paintState = state; }
 247     BOOL IsIdentityTx() { return bIsIdentityTx; }
 248 
 249     HRESULT FlushVertexQueue();
 250     D3DVertexCacher *pVCacher;
 251     HRESULT UpdateState(jbyte newState);
 252 
 253     HRESULT Sync();
 254 
 255     // primitives batching-related methods
 256     /**
 257      * Calls devices's BeginScene if there weren't one already pending,
 258      * sets the pending flag.
 259      */
 260     HRESULT BeginScene(jbyte newState);
 261     /**
 262      * Flushes the vertex queue and does end scene if
 263      * a BeginScene is pending
 264      */
 265     HRESULT EndScene();

 266 
 267     /**
 268      * Fields that track native-specific state.
 269      */
 270     jint       paintState;
 271     jboolean   useMask;
 272     jfloat     extraAlpha;
 273 
 274     /**
 275      * Current operation state.
 276      * See STATE_* macros above.
 277      */
 278     jbyte      opState;
 279 
 280 private:
 281 
 282     /**
 283      * Glyph cache-related methods/fields...
 284      */
 285     D3DGlyphCache *pGrayscaleGlyphCache;




 246     void SetPaintState(jint state) { this->paintState = state; }
 247     BOOL IsIdentityTx() { return bIsIdentityTx; }
 248 
 249     HRESULT FlushVertexQueue();
 250     D3DVertexCacher *pVCacher;
 251     HRESULT UpdateState(jbyte newState);
 252 
 253     HRESULT Sync();
 254 
 255     // primitives batching-related methods
 256     /**
 257      * Calls devices's BeginScene if there weren't one already pending,
 258      * sets the pending flag.
 259      */
 260     HRESULT BeginScene(jbyte newState);
 261     /**
 262      * Flushes the vertex queue and does end scene if
 263      * a BeginScene is pending
 264      */
 265     HRESULT EndScene();
 266     UINT getAdapterOrdinal() { return adapterOrdinal; }
 267 
 268     /**
 269      * Fields that track native-specific state.
 270      */
 271     jint       paintState;
 272     jboolean   useMask;
 273     jfloat     extraAlpha;
 274 
 275     /**
 276      * Current operation state.
 277      * See STATE_* macros above.
 278      */
 279     jbyte      opState;
 280 
 281 private:
 282 
 283     /**
 284      * Glyph cache-related methods/fields...
 285      */
 286     D3DGlyphCache *pGrayscaleGlyphCache;


< prev index next >