java.lang.Object |
↳ |
com.facebook.imagepipeline.producers.BitmapPrepareProducer |
Class Overview
This producer issues to a call to prepareToDraw()
to allow the
RendererThread upload the bitmap to GPU asynchronously before it is used. This has no affect on
Android versions before N.
Controlled via com.facebook.imagepipeline.core.ImagePipelineExperiments#mUseBitmapPrepareToDraw
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.facebook.imagepipeline.producers.Producer
|
Constants
public
static
final
String
PRODUCER_NAME
Constant Value:
"BitmapPrepareProducer"
Public Constructors
public
BitmapPrepareProducer
(Producer<CloseableReference<CloseableImage>> inputProducer, int minBitmapSizeBytes, int maxBitmapSizeBytes, boolean preparePrefetch)
Parameters
inputProducer |
The next producer in the pipeline |
minBitmapSizeBytes |
Bitmaps with a getByteCount() smaller than this value
are not uploaded |
maxBitmapSizeBytes |
Bitmaps with a getByteCount() larger than this value
are not uploaded
|
Public Methods