GraphicBuffer function ( int arg0 , int arg1 , int arg2 , int arg3 ) { long loc0 = nCreateGraphicBuffer ( arg0 , arg1 , arg2 , arg3 ) ; if ( loc0 != 0 ) { return new GraphicBuffer ( arg0 , arg1 , arg2 , arg3 , loc0 ) ; } return null ; }
creates new graphicbuffer instance . this method will return null if the buffer can not be created . concode_field_sep int mSaveCount concode_elem_sep Parcelable.Creator<GraphicBuffer> CREATOR concode_elem_sep int USAGE_HW_RENDER concode_elem_sep Canvas mCanvas concode_elem_sep int USAGE_SW_READ_MASK concode_elem_sep int mFormat concode_elem_sep int USAGE_HW_MASK concode_elem_sep int USAGE_SW_WRITE_OFTEN concode_elem_sep int USAGE_SW_READ_RARELY concode_elem_sep boolean mDestroyed concode_elem_sep int mHeight concode_elem_sep int USAGE_SW_WRITE_RARELY concode_elem_sep int mUsage concode_elem_sep int USAGE_HW_COMPOSER concode_elem_sep int USAGE_HW_TEXTURE concode_elem_sep int USAGE_SW_WRITE_MASK concode_elem_sep int mWidth concode_elem_sep int USAGE_SOFTWARE_MASK concode_elem_sep int USAGE_SW_READ_NEVER concode_elem_sep int USAGE_SW_READ_OFTEN concode_elem_sep long mNativeObject concode_elem_sep int USAGE_SW_WRITE_NEVER concode_elem_sep int USAGE_HW_2D concode_elem_sep int USAGE_HW_VIDEO_ENCODER concode_elem_sep int USAGE_PROTECTED concode_field_sep long nCreateGraphicBuffer concode_elem_sep boolean isDestroyed concode_elem_sep void destroy concode_elem_sep GraphicBuffer[] newArray concode_elem_sep void nWriteGraphicBufferToParcel concode_elem_sep GraphicBuffer createFromParcel concode_elem_sep int getWidth concode_elem_sep boolean nUnlockCanvasAndPost concode_elem_sep int describeContents concode_elem_sep int getUsage concode_elem_sep int getHeight concode_elem_sep Canvas lockCanvas concode_elem_sep Canvas lockCanvas concode_elem_sep void nDestroyGraphicBuffer concode_elem_sep void unlockCanvasAndPost concode_elem_sep int getFormat concode_elem_sep void finalize concode_elem_sep boolean nLockCanvas concode_elem_sep void writeToParcel concode_elem_sep long nReadGraphicBufferFromParcel