Registering
V2EX  ›  Android

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

  •  
  •   Registering · Oct 23, 2015 · 12499 views
    This topic created in 3866 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
        1
    exch4nge  
       Oct 23, 2015
    具体数据 和 含有指向这个具体数据的指针的对象 的区别?对不起,我瞎猜的,我不懂
    colatin
        2
    colatin  
       Oct 23, 2015
    多个 bitmap 可能共享同一块像素数据
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5299 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 01:18 · PVG 09:18 · LAX 18:18 · JFK 21:18
    ♥ Do have faith in what you're doing.