V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Registering
V2EX  ›  Android

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

  •  
  •   Registering · 2015-10-23 15:54:51 +08:00 · 4685 次点击
    这是一个创建于 3120 天前的主题,其中的信息可能已经有所发展或是发生改变。

    近来再次阅读一遍 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 条回复    2015-10-23 16:15:34 +08:00
    exch4nge
        1
    exch4nge  
       2015-10-23 16:06:04 +08:00
    具体数据 和 含有指向这个具体数据的指针的对象 的区别?对不起,我瞎猜的,我不懂
    colatin
        2
    colatin  
       2015-10-23 16:15:34 +08:00
    多个 bitmap 可能共享同一块像素数据
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1260 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 23:03 · PVG 07:03 · LAX 16:03 · JFK 19:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.