Commit Graph

3982 Commits

Author SHA1 Message Date
David Capello
03c0367827 Add option to disable GPU acceleration 2015-10-05 21:18:42 -03:00
David Capello
7434dd053a Avoid beep when Alt+char is pressed on Skia/Win port 2015-10-05 21:16:27 -03:00
David Capello
2bc6a76fd5 Minor change in she/CMakeLists.txt
This was done in case we need to use #include <GLES2/gl.2> in the future,
as this header file is in angle2 repository.
2015-10-05 17:42:07 -03:00
David Capello
9a8b7cd741 Fix UI rendering on Skia/Win port w/GPU when screen scaling >= 200%
If screen scaling is not 1:1, we create a SkSurface using a off-screen
texture, everything is painted there and then a blit to the screen
framebuffer is done in SkiaWindow::paintImpl()
2015-10-05 17:40:55 -03:00
David Capello
cc8b8cf52e Fix SkiaSurface::blitTo() with GPU and without GPU acceleration 2015-10-02 17:14:52 -03:00
David Capello
bb826c681b Add SkiaSurface::clear() impl 2015-10-02 17:13:49 -03:00
David Capello
6d1348c721 Fix SkiaSurface::drawRect() bounds 2015-10-02 16:24:58 -03:00
David Capello
7a747fc144 Add missing "override" to SkiaSurface::setDrawMode() 2015-10-02 12:12:57 -03:00
David Capello
e732297cfb Update Skia port to latest Skia version 2015-10-02 12:12:37 -03:00
David Capello
e8fde930bd Fix EventQueue::instance() for Skia port 2015-10-02 12:08:38 -03:00
David Capello
5033713430 Fix window resize on Skia/Win port 2015-10-02 11:24:04 -03:00
David Capello
311e90c58f Fix WinWindow::updateWindow() when m_scale > 1 2015-10-02 11:08:08 -03:00
David Capello
5d9b7475e0 Add missing #include files 2015-10-02 10:54:15 -03:00
David Capello
be9e0255b6 Fix bug painting Timeline cels in some special cases 2015-10-01 11:52:32 -03:00
David Capello
e4a71b9065 Show she::DisplayCreationException message when she::System::createDisplay() fails 2015-10-01 10:54:47 -03:00
David Capello
f54ba2c59d Fix Skia port to new SkiaDisplay::flip() impl 2015-09-30 19:58:30 -03:00
David Capello
4fbbd75599 Move Skia libraries as she library dependencies 2015-09-30 19:58:04 -03:00
David Capello
6210e0d85c Change she::Capabilities to a enum class 2015-09-30 16:45:04 -03:00
David Capello
4f5a89791d Fix link in README.md file 2015-09-30 16:40:47 -03:00
David Capello
460d4b47c9 Add missing "override" modifier on some member functions
These ones were detected by clang-700.0.72
2015-09-30 16:34:43 -03:00
David Capello
e2c0e0a435 Use "alpha" local variable 2015-09-30 16:31:23 -03:00
David Capello
4141adcd23 Avoid warning on Release build in cmd::SetPalette() ctor 2015-09-30 16:30:19 -03:00
David Capello
9c33f46859 Fix GifEncoder for indexed sprites which contain layers w/opacity < 255 2015-09-30 12:53:56 -03:00
David Capello
1c1a55b2d3 Don't reset mask color from doc::Image in Sprite Size and Rotate Sprite commands (fix #820) 2015-09-30 09:20:55 -03:00
David Capello
30b257a8f5 Fix Eraser tool to handle opacity values correctly 2015-09-30 08:59:59 -03:00
David Capello
3d4fdb62b4 Pass opacity value to Eraser, Blur, and Jumble tools 2015-09-30 08:59:32 -03:00
David Capello
1cb8a46e1c Rename PaintInk::Merge to PaintInk::Simple 2015-09-30 08:59:01 -03:00
David Capello
5915726361 Update README.md 2015-09-30 08:58:12 -03:00
David Capello
a824fcb5e1 Fix crash on Windows if gfx_directx_acknowledge_resize() fails 2015-09-29 13:58:12 -03:00
David Capello
24133498b0 Don't change WebP format options for each image loaded from a sequence 2015-09-29 12:07:45 -03:00
David Capello
a5bdf461f4 Use RAII helper to avoid calling WebPPictureFree for each return in WebPFormat::onSave() 2015-09-29 12:06:33 -03:00
David Capello
92c2596604 Remove filename from specific webp_format.cpp error messages
The filename is shown by the general encoder/decoder code.
2015-09-29 12:00:31 -03:00
David Capello
c30112ea10 Convert FileOp into a class 2015-09-29 11:27:00 -03:00
David Capello
ee0aae0e3c Replace SEQUENCE_IMAGE() macro with add_image() lambda in fop_operate() 2015-09-28 18:49:34 -03:00
David Capello
79cd0b258f Fix continuous change of Timeline scroll in playback when viewport is too small 2015-09-28 12:34:29 -03:00
David Capello
6550093f1f Minor change in Timeline::showCel() 2015-09-28 12:09:34 -03:00
David Capello
423bf990f9 Fix --border-padding option (fix #815) 2015-09-28 11:46:57 -03:00
David Capello
7fb7492c08 Minor fix in README.md 2015-09-25 10:21:59 -03:00
David Capello
c357396994 Add color names to arne16.gpl 2015-09-25 10:16:37 -03:00
David Capello
17002b6b02 Add color palette authors in the "Credits" section 2015-09-25 10:15:36 -03:00
David Capello
4ebefd3f13 Fix problem getting pixels in non-32bpp Allegro BITMAPs
Regression introduced in 5e3ba8237a
This changed was needed to load certain .png fonts correctly in the
SkinTheme.
2015-09-25 08:32:50 -03:00
David Capello
d5fea43972 Set as mask color the bg index specified in the GIF file 2015-09-24 23:51:58 -03:00
David Capello
732f527eb1 Remove invalid checks to avoid recalculating the new palette for each frame in GifDecoder 2015-09-24 23:51:31 -03:00
David Capello
dd87c2ef17 Add minor check (bg index != local mask) to avoid checking the whole image 2015-09-24 23:50:44 -03:00
David Capello
43881af1f2 Add comments and DLOG() calls in gif_format.cpp 2015-09-24 23:49:01 -03:00
David Capello
5a339f7f55 Put the local colormap entry in the palette if we need to remap m_bgIndex 2015-09-24 23:47:33 -03:00
David Capello
8db6693136 Add colormap2rgba() helper function in gif_format.cpp 2015-09-24 23:45:10 -03:00
David Capello
e47fa9f045 We don't need to give a RgbMap to convert from RGB -> Indexed 2015-09-24 23:42:51 -03:00
David Capello
3c219571b1 Don't change mask-index entry if it's out of the bound in PaletteOptimizer::calculate() 2015-09-24 23:39:36 -03:00
David Capello
1bb0bca361 doc and gfx libraries depends on fixmath (fix #817) 2015-09-24 10:02:52 -03:00