Commit graph

17922 commits

Author SHA1 Message Date
Brian Anderson
ee347beff6 Display fewer kitties 2012-08-17 18:15:44 -07:00
Eric Holk
bfe7448a4d Engine only supports 1:1 communication for the moment.
This lets us use the select macro. Yay :)
2012-08-17 17:35:33 -07:00
Eric Holk
369a763778 Use a protocol for the engine 2012-08-17 17:35:33 -07:00
Brian Anderson
7b5dec7e64 Add a test case for many different kitties 2012-08-17 17:35:10 -07:00
Brian Anderson
818152c2ca Do colorspace conversion during image decode 2012-08-17 17:25:28 -07:00
Brian Anderson
7bf10c8e06 Reflow when images become available 2012-08-17 16:56:29 -07:00
Brian Anderson
5e379067e6 Refactor the image cache tests 2012-08-17 16:10:10 -07:00
Eric Holk
8dc5398ad6 class -> strucT 2012-08-17 16:06:06 -07:00
Brian Anderson
7c122a660e Add a WaitForImage operation to ImageCacheTask 2012-08-17 15:41:28 -07:00
Brian Anderson
e297a9abf4 Add error reporting to image_cache_task 2012-08-17 12:48:28 -07:00
Brian Anderson
311657b56b Update rust-stb-image 2012-08-17 12:16:45 -07:00
Brian Anderson
84c607da47 Modify ImageCacheTask to have a required decoding step
Instead of considering a fetched image ready and potentially blocking
while waiting for it to decode, instead require the decode to be requested. If
a image is not yet decoded the image cache will immediately return
ImageNotReady
2012-08-16 20:17:22 -07:00
Patrick Walton
160baa61be Use the high-level Azure API everywhere 2012-08-16 19:38:46 -07:00
Patrick Walton
989302d6c3 Use the high-level Azure API in the clear function 2012-08-16 18:49:26 -07:00
Patrick Walton
5c2795c602 Use the high level Azure API in image drawing 2012-08-16 18:34:37 -07:00
Patrick Walton
077720fc49 Get rid of colored boxes.
They were recreating the RNG every frame, which was a bad performance problem.
2012-08-16 18:21:58 -07:00
Patrick Walton
b536d979cf Update rust-azure 2012-08-16 18:14:28 -07:00
Patrick Walton
3fda530157 Use the high level Azure API in the renderer some more 2012-08-16 18:13:25 -07:00
Patrick Walton
70e8b60c44 Fix size of image in image/base.rs 2012-08-16 17:26:20 -07:00
Patrick Walton
19b0a2fb11 Make test.jpeg smaller 2012-08-16 17:24:40 -07:00
Patrick Walton
e787c4e86f Revert "Replace test.jpeg with something smaller"
This reverts commit e4d2cd2f23.
2012-08-16 17:24:06 -07:00
Patrick Walton
e4d2cd2f23 Replace test.jpeg with something smaller 2012-08-16 17:22:49 -07:00
Patrick Walton
33bc481334 Use the new #include_bin. Makes servo build tractably quickly again. 2012-08-16 17:21:29 -07:00
Brian Anderson
a864e1be38 Update submodules 2012-08-16 16:49:42 -07:00
Brian Anderson
894ff5a2bf More build fixes 2012-08-16 15:51:24 -07:00
Brian Anderson
a52818978d Fix some breakage 2012-08-16 15:24:19 -07:00
Brian Anderson
c5e8bf5709 Update submodules 2012-08-16 15:24:14 -07:00
Josh Matthews
93418d4cc9 Update for latest libcore changes. 2012-08-15 23:27:55 -04:00
Brian Anderson
fe4b1c92dd Perform the image prefetch in a different task
Having the prefetch task send back the results immediately will
provide an appropriate event to signel clients that want to know
when images become available.
2012-08-12 21:41:53 -07:00
Brian Anderson
fa8fd4d243 Copy fewer urls in the image cache 2012-08-12 16:43:57 -07:00
Brian Anderson
91b566cffd Structure the image cache as a state machine 2012-08-12 16:09:30 -07:00
Brian Anderson
05fd04ac8d Fix error reporting in image_cache_task 2012-08-12 15:32:35 -07:00
Brian Anderson
3af31cc0cc arc is in std now 2012-08-11 15:53:02 -07:00
Brian Anderson
38321d9b70 Load images through the image cache 2012-08-10 20:11:18 -07:00
Brian Anderson
b31da68ef2 Eliminate warnings 2012-08-10 18:29:27 -07:00
Brian Anderson
8e428ce5f0 Thread the image cache task through to the layout task 2012-08-10 18:13:52 -07:00
Brian Anderson
e4a09a3287 Add docs to image_cache_task 2012-08-10 17:27:37 -07:00
Brian Anderson
dd3d5e3cd1 Decode images in parallel 2012-08-10 17:27:37 -07:00
Brian Anderson
2fa203bc72 Restructure ImageCache.get_image 2012-08-10 17:27:37 -07:00
Brian Anderson
d155daf5bf Add some more error handling to ImageCache 2012-08-10 17:27:37 -07:00
Brian Anderson
dffbc82cf8 Don't continue to fetch images after they are decoded and cached 2012-08-10 17:27:37 -07:00
Brian Anderson
d723e0cf7b Some refactoring of ImageCache 2012-08-10 17:27:37 -07:00
Brian Anderson
872a82b9f0 Decode images in the ImageCache 2012-08-10 17:27:37 -07:00
Brian Anderson
61e8c5c457 Rename image to Image. Misc 2012-08-10 17:27:37 -07:00
Brian Anderson
3708fcf9e0 Begin working on ImageCacheTask 2012-08-10 17:27:36 -07:00
Margaret Meyerhofer
2eb6f39be2 Added the ability to specify width by css 2012-08-10 17:02:23 -07:00
Margaret Meyerhofer
95d0998149 Added the ability to compute heights from parent heights and to layout specified heights 2012-08-10 15:30:35 -07:00
Brian Anderson
470a88f459 Reenable some shaper tests on linux 2012-08-09 20:13:55 -07:00
Brian Anderson
9169270e21 Update rust-harfbuzz 2012-08-09 20:09:17 -07:00
Brian Anderson
a8f50a67ca Update rust-harfbuzz 2012-08-09 19:40:05 -07:00