Commit Graph

23 Commits

Author SHA1 Message Date
Mike Blumenkrantz 88c88c5614 cast warnings--
SVN revision: 72847
2012-06-26 06:53:00 +00:00
Rafael Antognolli da8b023295 evas/cserve2: Don't take "used glyphs" messages into
account.
When considering glyphs loading saved time, just use the load glyphs
requests.



SVN revision: 72831
2012-06-25 20:19:28 +00:00
Rafael Antognolli a6a92632b0 evas/cserve2: Calculate average time saved on glyph
rendering.



SVN revision: 72829
2012-06-25 20:06:50 +00:00
Rafael Antognolli 2234422dab evas/cserve2: Add entries loading saved time.
Still must add glyphs loading saved time.



SVN revision: 72828
2012-06-25 20:06:44 +00:00
Iván Briano 0a1faf7af9 Don't free file entries while there are still images pending from them
SVN revision: 72826
2012-06-25 19:27:59 +00:00
Iván Briano 9a7ba8e27a Re-enable the used glyphs message now that it doesn't crash or leak
SVN revision: 72819
2012-06-25 17:42:58 +00:00
Rafael Antognolli 6a3abcaa89 evas/cserve2: Add image size and loading time stats.
SVN revision: 72812
2012-06-25 14:40:30 +00:00
Iván Briano 74d8ed3c01 Fix generation of FONT_DEBUG response
SVN revision: 72707
2012-06-22 22:38:28 +00:00
Rafael Antognolli 6aace19c0d evas/cserve2: Silent some warnings (and also fix wrong
code).



SVN revision: 72705
2012-06-22 21:54:26 +00:00
Rafael Antognolli e09a542403 evas/cserve2: Rename some stats and add some more for font
loading.



SVN revision: 72704
2012-06-22 21:43:50 +00:00
Rafael Antognolli cab8802354 evas/cserve2: Only declare timeval function if debug is
enabled.



SVN revision: 72703
2012-06-22 21:22:34 +00:00
Rafael Antognolli 0b675aae17 evas/cserve2: Change our fash implemenation name.
So the names won't clash.



SVN revision: 72701
2012-06-22 20:56:53 +00:00
Rafael Antognolli 64fecc2fab evas/cserve2: Add font and glyphs loading implementation
to cserve2.
Big commit that implements the entire functionality. Besides loading
fonts and glyphs, and sharing the glyph bitmaps with clients, it also
adds:
- new request system, with a much better abstraction;
- new working slaves management;
- slaves can be threads or process now;
- started a debugging and statistics implementation on server.

The image caching part still uses the old request and slaves system, but
should be changed to use the new one soon and get more easily
maintainable.



SVN revision: 72699
2012-06-22 20:31:17 +00:00
Stefan Schmidt 6bfeca0857 evas/cserve2: Unused parameter warnings--
SVN revision: 72522
2012-06-20 07:54:07 +00:00
Rafael Antognolli 91a1ac65c7 evas/cserve2: Add handling of FONT_LOAD.
It's not fully functional, some things are still pending:
- Free allocated font;
- answer with error message if failed.



SVN revision: 71605
2012-05-31 21:34:21 +00:00
Rafael Antognolli 44ba936c9c evas/cserve2: Add basic font search when a font load is
requested.
This will only look for fonts already loaded before, no new fonts will
be loaded.



SVN revision: 71365
2012-05-23 18:10:39 +00:00
Rafael Antognolli c0f46df5d3 evas/cserve2: Make Font_Entry inherit from Entry.
Also update some code paths to reflect the new type of entry.



SVN revision: 71364
2012-05-23 18:10:32 +00:00
Rafael Antognolli f17b43eb40 evas/cserve2: Add font entries and sources hashes.
Added the needed struct members too, and some functions to manipulate
the hashes.



SVN revision: 71363
2012-05-23 18:10:26 +00:00
Rafael Antognolli a97a4f99cc evas/cserve2: Adding some font structs to the cache.
This will allow to create answer messages based on the content of these
structs.



SVN revision: 71361
2012-05-23 18:10:10 +00:00
Iván Briano 02be0a3382 Lil' refactor on CServe2's cache. More to come when the last book of 'A Song of Ice and Fire' is published.
SVN revision: 71356
2012-05-23 17:13:46 +00:00
Iván Briano 148d9cd110 and fix wrong merge, damn it!
SVN revision: 71077
2012-05-14 15:17:12 +00:00
Iván Briano 2810fcd583 bot warnings begone, hopefully
SVN revision: 71076
2012-05-14 15:05:04 +00:00
Iván Briano 15328efb85 evas/cserve2: fix typo that kept cserve2 disabled
now seriously...

Introducing Cache Serve 2.

This cache server will initially load images for clients connected to
it. It starts slave processes to load these images, and share the loaded
images through shm with the clients. All the connection done between
clients and the server goes through sockets.

The cserve2 build option is turned on by default, while the old cserve
was disabled, but in order to make clients use it, the environment
variable EVAS_CSERVE2 must be set, and a server must be running.

Clients will try to find the socket on a specified location using the
environment variable EVAS_CSERVE2_SOCKET. If it's not defined, then the
XDG_RUNTIME_DIR path should be used, and finally HOME, TMPDIR and /tmp.



SVN revision: 70699
2012-05-03 21:01:31 +00:00