summaryrefslogtreecommitdiff
path: root/platform/default/png_reader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Added CharArrayBufferBruno de Oliveira Abinader2016-06-301-2/+3
| | | | | | | | Implements a custom std::streambuf to avoid creating temporary std::string objects and thus optimizing image decode. Suggested by @artemp in https://github.com/mapbox/mapbox-gl-native/pull/5417#issuecomment-227700063.
* [core] Replace boost iostream with standard {i,s}streamBruno de Oliveira Abinader2016-06-211-15/+5
| | | | Fixes #4915.
* [tidy/linux] modernize-use-nullptrBruno de Oliveira Abinader2016-06-141-4/+4
|
* [tidy/linux] llvm-namespace-commentBruno de Oliveira Abinader2016-06-141-1/+1
|
* [core] fix various compilation issuesKonstantin Käfer2016-04-041-2/+2
|
* [core] Always manually premultiply libpng outputJohn Firebaugh2015-11-251-23/+3
| | | | It appears to be the only way to get the results we want in all cases.
* [core] Rewrite image handlingJohn Firebaugh2015-11-251-118/+69
| | | | | | * Consolidate Image and StillImage * Typecheck unassociated vs premultiplied images * Rewrite default platform image decoding implementation
* [core] Remove unusedJohn Firebaugh2015-11-231-43/+28
|
* [core] For binary image data use uint8_t, not charJohn Firebaugh2015-11-231-3/+3
|
* Removed debug leftoverThiago Marcos P. Santos2015-08-051-1/+0
|
* manually premultiply the image if libpng can't do itKonstantin Käfer2015-08-041-2/+15
|
* don't require PNG_ALPHA_PREMULTIPLIED to support older versions of libpngKonstantin Käfer2015-08-041-0/+5
|
* Speculative fix for PNG alpha/gamma handlingJohn Firebaugh2015-05-141-1/+1
| | | | The libpng documentation is hopelessly impenetrable and I have no idea what I'm doing, but this seems to fix the headless rendering failures.
* Get rid of printf and cout by using Log::*Thiago Marcos P. Santos2015-03-121-2/+2
| | | | | | | Use our logging system that will route the message accordingly on the target platform. Fixes #613
* convert image_reader public interface to use CamelCase to match the rest of ↵artemp2014-11-261-16/+16
| | | | codebase
* image_readers: premultiply alphaartemp2014-11-211-0/+1
|
* image-readers: move concrete implementations headers into platform/defaultartemp2014-11-191-1/+1
|
* simplify image_readers creation implementationartemp2014-11-191-71/+4
| | | | | * remove static callbacks registration * link png_reader/jpeg_reader into mbgl-linux lib
* image-readers: only register readers that are usedartemp2014-11-171-8/+2
| | | | | create_png_reader(char const* data, size_t size) create_jpeg_reader(char const* data, size_t size)
* fix png_readerartemp2014-11-171-2/+2
|
* remove unused pragmasartemp2014-11-141-3/+1
|
* fix linux buildartemp2014-11-141-2/+2
|
* cleanupsartemp2014-11-131-14/+9
|
* add image_reader abstraction layer to hanfle multiple image formatsartemp2014-11-071-0/+279
(work-in-progress)