LibreOffice Module android (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.mozilla.gecko.gfx.TextureReaper Class Reference

Manages a list of dead tiles, so we don't leak resources. More...

Collaboration diagram for org.mozilla.gecko.gfx.TextureReaper:
[legend]

Public Member Functions

void add (int[] textureIDs)
 
synchronized void add (int textureID)
 
synchronized void reap ()
 

Static Public Member Functions

static TextureReaper get ()
 

Private Member Functions

 TextureReaper ()
 

Private Attributes

ArrayList< Integer > mDeadTextureIDs = new ArrayList<Integer>()
 

Static Private Attributes

static TextureReaper sSharedInstance
 
static final String LOGTAG = TextureReaper.class.getSimpleName()
 

Detailed Description

Manages a list of dead tiles, so we don't leak resources.

Definition at line 16 of file TextureReaper.java.

Constructor & Destructor Documentation

◆ TextureReaper()

org.mozilla.gecko.gfx.TextureReaper.TextureReaper ( )
inlineprivate

Definition at line 21 of file TextureReaper.java.

Referenced by org.mozilla.gecko.gfx.TextureReaper.get().

Member Function Documentation

◆ add() [1/2]

synchronized void org.mozilla.gecko.gfx.TextureReaper.add ( int  textureID)
inline

◆ add() [2/2]

void org.mozilla.gecko.gfx.TextureReaper.add ( int[]  textureIDs)
inline

◆ get()

static TextureReaper org.mozilla.gecko.gfx.TextureReaper.get ( )
inlinestatic

◆ reap()

synchronized void org.mozilla.gecko.gfx.TextureReaper.reap ( )
inline

Member Data Documentation

◆ LOGTAG

final String org.mozilla.gecko.gfx.TextureReaper.LOGTAG = TextureReaper.class.getSimpleName()
staticprivate

Definition at line 19 of file TextureReaper.java.

Referenced by org.mozilla.gecko.gfx.TextureReaper.reap().

◆ mDeadTextureIDs

ArrayList<Integer> org.mozilla.gecko.gfx.TextureReaper.mDeadTextureIDs = new ArrayList<Integer>()
private

◆ sSharedInstance

TextureReaper org.mozilla.gecko.gfx.TextureReaper.sSharedInstance
staticprivate

Definition at line 17 of file TextureReaper.java.

Referenced by org.mozilla.gecko.gfx.TextureReaper.get().


The documentation for this class was generated from the following file: