IOS高分辨率UIImage占用的内存很少

时间:2018-05-02 08:40:04

标签: ios uiimage

我有UIImageView *imageView = [UIImageView new]; imageView.image = [UIImage imageNamed:@"test.jpg"]; 。其分辨率为2560 *17722*3 当我加载UIImage时,我发现Xcode中的内存从 12M增加到14M

ID3D12CommandQueue::ExecuteCommandLists

我认为UIImage占用的内存应该是DrawObject DrawObjects[10]; ID3D12CommandQueue* GCommandQueue = ... void RenderThread1() { ID3D12GraphicsCommandList* clForThread1 = ... for (int i = 0; i < 5; i++) clForThread1->RecordDraw(DrawObjects[i]); } void RenderThread2() { ID3D12GraphicsCommandList* clForThread2 = ... for (int i = 5; i < 10; i++) clForThread2->RecordDraw(DrawObjects[i]); } void ExecuteCommands() { ID3D12GraphicsCommandList* cl[2] = { clForThread1, clForThread2 }; GCommandQueue->ExecuteCommandLists(2, cl); GCommandQueue->Signal(...) } 个字节 为什么UIImage占用的内存如此之少; 图片网址为http://cdn.u2.huluxia.com/g2/M02/AD/CF/wKgBa1iA67SAUdSQAA1_myDzLw83123.ht

0 个答案:

没有答案