Registering
V2EX  ›  Android

bitmap 对象和它的像素数据有啥区别

  •  
  •   Registering · Oct 23, 2015 · 13360 views
    This topic created in 4056 days ago, the information mentioned may be changed or developed.

    近来再次阅读一遍 android 开发官网的 displaying bitmaps efficiently 。

    其中有一段,讲到 bitmap 在内存中的分布问题

    On Android 2.3.3 (API level 10) and lower, the backing pixel data for a bitmap is stored in native memory. It is separate from the bitmap itself, which is stored in the Dalvik heap.

    这里的 backing pixel 和 bitmap 自身对象有啥区别

    2 replies  •  2015-10-23 16:15:34 +08:00
    exch4nge
    exch4nge
    Oct 23, 2015
    1
    具体数据 和 含有指向这个具体数据的指针的对象 的区别?对不起,我瞎猜的,我不懂
    colatin
    colatin
    Oct 23, 2015
    2
    多个 bitmap 可能共享同一块像素数据
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1863 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 15:41 · PVG 23:41 · LAX 07:41 · JFK 10:41
    ♥ Do have faith in what you're doing.