Cheng Zhao
64334fd40b
Pass SkBitmap directly
2016-08-04 13:22:19 +09:00
Cheng Zhao
530fcc8de1
Pass OnPaint callback in constructor
...
This can catch the paint events happened before onload event.
2016-08-04 13:03:24 +09:00
Heilig Benedek
1b0af6f6f1
removed bpp (it can be calculated)
...
fixed buffer size calculation (we actually send the whole image, not just the dirty part)
removed the unnecessary resets and const
now we use Copy instead of New
2016-08-04 05:18:27 +02:00
gellert
ca16132268
renames to bytesPerPixel and use nullptr
2016-08-03 19:39:23 +02:00
gellert
50485a28d3
fixes buffer size and adds pixel size to paint event
2016-08-03 13:28:19 +02:00
Cheng Zhao
5dabc47440
Remove the view-painted event
2016-08-03 16:20:55 +09:00
Cheng Zhao
ea8ea1543f
Refactor osr_output_device
2016-08-03 13:06:38 +09:00
Cheng Zhao
9d8e510a55
Refactor the code in atom_api_web_contents
2016-08-03 13:06:34 +09:00
Cheng Zhao
921aaf9aa3
Move osr related files to atom/browser/osr
2016-08-03 13:05:47 +09:00
gellert
8eed91d87a
Merge remote-tracking branch 'upstream/master' into speedup-gpu
2016-08-02 14:59:03 +02:00
Cheng Zhao
844f32aa36
Set prototype of constructor directly
2016-08-02 20:38:35 +09:00
Cheng Zhao
8c3232dc56
Every native class now gets a name
2016-08-02 19:28:12 +09:00
Cheng Zhao
cb19efe49c
Pass FunctionTemplate in BuildPrototype
2016-08-02 18:08:12 +09:00
gellert
56f5749675
adds transparency
2016-08-01 13:27:39 +02:00
gellert
439ad94afe
Merge remote-tracking branch 'upstream/master' into speedup-gpu
2016-08-01 12:00:34 +02:00
Heilig Benedek
bc9adcd5ca
fix toBUFFER naming issue and cursor-changed parameter order
2016-08-01 02:17:49 +02:00
Heilig Benedek
bc7c5c567c
fix toBUFFER naming issue and cursor-changed parameter order
2016-08-01 02:13:31 +02:00
Heilig Benedek
0098d5bca7
Hide when not painting + cursor event fix
2016-07-31 18:40:35 +02:00
gellert
35ee99265e
adds tests for osr
2016-07-31 17:10:53 +02:00
gellert
5525ac36b8
does linting
2016-07-31 12:19:56 +02:00
Heilig Benedek
f3b723c9fa
Send some more data with the cursor-changed event
2016-07-31 05:24:54 +02:00
Heilig Benedek
3e7ff466cd
Merge branch 'speedup-gpu' of https://github.com/MaxWhere/electron into speedup-gpu
2016-07-31 05:12:34 +02:00
Heilig Benedek
3a1285aeac
Send some more data with the cursor-changed event
2016-07-31 05:11:56 +02:00
gellert
f60d791fa8
adds docs for osr
2016-07-31 00:22:34 +02:00
gellert
916063f370
handles destroyed renderer process
2016-07-30 21:25:49 +02:00
gellert
6486d80f87
api impl + cleanups + stability improvements
2016-07-30 15:40:16 +02:00
gellert
6abf7475b8
cleaning up osr pt1
2016-07-29 14:50:27 +02:00
Kevin Sawicki
5982e3a75e
Fix typo in comment
2016-07-28 15:48:01 -07:00
Heilig Benedek
7b61c5c9d0
removed some junk and added offscreen webcontents type
2016-07-28 12:10:56 +02:00
Heilig Benedek
0dbe4bc417
api base
2016-07-28 01:58:23 +02:00
Heilig Benedek
a39bb35744
use electron nativewindow
2016-07-27 14:36:22 +02:00
Kevin Sawicki
bde432b64d
Add webContents.copyImageAt
2016-07-26 12:06:11 -07:00
gellert
9d83ce1676
resolves
2016-07-25 21:09:49 +02:00
gellert
8fb7872b84
removes logs and adds webcontentsview init
2016-07-25 19:58:21 +02:00
gellert
0ad0c79202
adds beginframe scheduling
2016-07-25 19:58:14 +02:00
gellert
96e1ba9c14
gpu acclereted osr added
2016-07-25 19:44:44 +02:00
gellert
6eba509d53
removes logs and adds webcontentsview init
2016-07-25 15:55:00 +02:00
Cheng Zhao
c497765dea
Merge pull request #6524 from liusy182/painted-event-6426
...
add "view-painted" event to WebContent.
2016-07-25 16:02:50 +09:00
gellert
81be0bc123
adds beginframe scheduling
2016-07-22 13:55:58 +02:00
Cheng Zhao
f6f7b41f0a
Fix compilation error after merge
2016-07-21 06:03:38 -06:00
gellert
50dc71d1c2
gpu acclereted osr added
2016-07-18 16:16:23 +02:00
liusi
d335d7d706
add "view-painted" event to WebContent.
2016-07-18 14:54:52 +08:00
Cheng Zhao
ba887dbde7
Merge pull request #6482 from deepak1556/webcontents_navigation_obs_patch
...
webcontents: replace deprecated navigation observers
2016-07-14 12:57:26 +09:00
Cheng Zhao
21a2feaf23
Merge pull request #6480 from electron/webcontents-focus
...
Execute role-based menu items on focused web contents
2016-07-14 12:47:07 +09:00
deepak1556
c8bf6edcc6
webcontents: replace deprecated navigation observers
2016-07-14 06:47:38 +05:30
Kevin Sawicki
7877fa7c0a
Add webContents.isFocused()
2016-07-13 14:16:56 -07:00
Cheng Zhao
400bb8d0f3
Hide in_memory parameter in native interface
2016-07-13 12:23:14 +09:00
Haojian Wu
55b3f1936f
Modernize to C++11: Use for-range loop.
2016-07-10 13:33:15 +02:00
Kevin Sawicki
07ccb6af2b
🎨
2016-07-06 09:42:43 -07:00
Kevin Sawicki
b900ff93e4
Make OnCapturePageDone static
2016-07-06 09:32:58 -07:00