[BlackBerry] Upstream LayerAnimation.{cpp, h}
[WebKit-https.git] / Source / Platform / ChangeLog
1 2012-03-26  Nat Duca  <nduca@chromium.org>
2
3         [chromium] Add isInputThrottled/didBecomeReadyForAdditionalInput to WebWidget
4         https://bugs.webkit.org/show_bug.cgi?id=82265
5
6         Reviewed by James Robinson.
7
8         * chromium/public/WebLayerTreeView.h:
9         (WebLayerTreeView):
10         * chromium/public/WebLayerTreeViewClient.h:
11         (WebLayerTreeViewClient):
12         (WebKit::WebLayerTreeViewClient::didCommit):
13
14 2012-03-25  Nat Duca  <nduca@chromium.org>
15
16         [chromium] Route willBeginFrame from compositor to WebWidget
17         https://bugs.webkit.org/show_bug.cgi?id=82171
18
19         Reviewed by Darin Fisher.
20
21         * chromium/public/WebLayerTreeViewClient.h:
22         (WebLayerTreeViewClient):
23         (WebKit::WebLayerTreeViewClient::willBeginFrame):
24
25 2012-03-23  Tony Chang  <tony@chromium.org>
26
27         [chromium] rename newwtf target back to wtf
28         https://bugs.webkit.org/show_bug.cgi?id=82064
29
30         Reviewed by Adam Barth.
31
32         * Platform.gyp/Platform.gyp:
33
34 2012-03-22  Tony Chang  <tony@chromium.org>
35
36         Unreviewed, fix chromium build after wtf move.
37
38         Only use newwtf, remove references to wtf.
39
40         * Platform.gyp/Platform.gyp:
41
42 2012-03-21  Ryosuke Niwa  <rniwa@webkit.org>
43
44         Touch a file to make Chromium Windows bots happy.
45
46         * chromium/public/WebGraphicsContext3D.h:
47
48 2012-03-21  David Reveman  <reveman@chromium.org>
49
50         [Chromium] GL_EXT_occlusion_query_boolean and GL_CHROMIUM_command_buffer_query support.
51         https://bugs.webkit.org/show_bug.cgi?id=80988
52
53         Reviewed by Adrienne Walker.
54
55         Add EXT_occlusion_query API to WebGraphicsContext3D.
56
57         * chromium/public/WebGraphicsContext3D.h:
58         (WebGraphicsContext3D):
59         (WebKit::WebGraphicsContext3D::createQueryEXT):
60         (WebKit::WebGraphicsContext3D::deleteQueryEXT):
61         (WebKit::WebGraphicsContext3D::isQueryEXT):
62         (WebKit::WebGraphicsContext3D::beginQueryEXT):
63         (WebKit::WebGraphicsContext3D::endQueryEXT):
64         (WebKit::WebGraphicsContext3D::getQueryivEXT):
65         (WebKit::WebGraphicsContext3D::getQueryObjectuivEXT):
66
67 2012-03-19  Michal Mocny  <mmocny@google.com>
68
69         [chromium] Adding support for GL_EXT_discard_framebuffer.
70         https://bugs.webkit.org/show_bug.cgi?id=81383
71
72         Reviewed by James Robinson.
73
74         * chromium/public/WebGraphicsContext3D.h:
75         (WebGraphicsContext3D):
76         (WebKit::WebGraphicsContext3D::discardFramebufferEXT):
77         (WebKit::WebGraphicsContext3D::ensureFramebufferCHROMIUM):
78
79 2012-03-19  Sheriff Bot  <webkit.review.bot@gmail.com>
80
81         Unreviewed, rolling out r111207.
82         http://trac.webkit.org/changeset/111207
83         https://bugs.webkit.org/show_bug.cgi?id=81561
84
85         Causing chromium unit test failure (Requested by reveman on
86         #webkit).
87
88         * chromium/public/WebGraphicsContext3D.h:
89
90 2012-03-19  Michal Mocny  <mmocny@google.com>
91
92         [chromium] Updating WebGraphicsContext3D MemoryAllocation callback to accept a struct with have backbuffer suggestion.
93         https://bugs.webkit.org/show_bug.cgi?id=81279
94
95         Reviewed by James Robinson.
96
97         Adding a suggestHaveBackbuffer hint to the WebGraphicsContext3D memory allocation callback.
98
99         * chromium/public/WebGraphicsContext3D.h:
100         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
101         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::onMemoryAllocationChanged):
102         * chromium/public/WebGraphicsMemoryAllocation.h: Added.
103         (WebKit):
104         (WebGraphicsMemoryAllocation):
105         (WebKit::WebGraphicsMemoryAllocation::WebGraphicsMemoryAllocation):
106
107 2012-03-19  David Reveman  <reveman@chromium.org>
108
109         [Chromium] GL_EXT_occlusion_query_boolean and GL_CHROMIUM_command_buffer_query support.
110         https://bugs.webkit.org/show_bug.cgi?id=80988
111
112         Reviewed by Adrienne Walker.
113
114         Add EXT_occlusion_query API to WebGraphicsContext3D.
115
116         * chromium/public/WebGraphicsContext3D.h:
117         (WebGraphicsContext3D):
118
119 2012-03-08  James Robinson  <jamesr@chromium.org>
120
121         Use an explicit attribute to signal that a context prefers to use a discrete GPU
122         https://bugs.webkit.org/show_bug.cgi?id=80639
123
124         Reviewed by Stephen White.
125
126         Adds preferDiscreteGPU attribute to WebGraphicsContext3D::Attributes. Also remove the forUseOnAnotherThread
127         attribute, this has been dead code for a while now.
128
129         * chromium/public/WebGraphicsContext3D.h:
130         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
131         (Attributes):
132
133 2012-02-24  James Robinson  <jamesr@chromium.org>
134
135         [chromium] WebKit::setColorNames is a client API
136         https://bugs.webkit.org/show_bug.cgi?id=79539
137
138         Reviewed by Darin Fisher.
139
140         * Platform.gypi:
141         * chromium/public/WebColor.h:
142         (WebKit):
143
144 2012-02-24  Sheriff Bot  <webkit.review.bot@gmail.com>
145
146         Unreviewed, rolling out r108860.
147         http://trac.webkit.org/changeset/108860
148         https://bugs.webkit.org/show_bug.cgi?id=79544
149
150         "Breaks Linux compile" (Requested by enne on #webkit).
151
152         * Platform.gypi:
153         * chromium/public/WebColor.h:
154         (WebKit):
155         * chromium/public/WebColorName.h: Renamed from Source/WebKit/chromium/public/WebColorName.h.
156         (WebKit):
157
158 2012-02-24  James Robinson  <jamesr@chromium.org>
159
160         [chromium] WebKit::setColorNames is a client API
161         https://bugs.webkit.org/show_bug.cgi?id=79539
162
163         Reviewed by Darin Fisher.
164
165         * Platform.gypi:
166         * chromium/public/WebColor.h:
167         (WebKit):
168
169 2012-02-22  James Robinson  <jamesr@chromium.org>
170
171         [chromium] Move WebGraphicsContext3D header into the Platform directory
172         https://bugs.webkit.org/show_bug.cgi?id=79301
173
174         Reviewed by Adam Barth.
175
176         Moves WebGraphicsContext3D and WebNonCopyable (which WGC3D depends on).
177
178         * Platform.gypi:
179         * chromium/public/WebGraphicsContext3D.h: Copied from Source/WebKit/chromium/public/platform/WebGraphicsContext3D.h.
180         (WebKit):
181         (WebGraphicsContext3D):
182         (ActiveInfo):
183         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
184         (Attributes):
185         (WebGraphicsContextLostCallback):
186         (WebKit::WebGraphicsContext3D::WebGraphicsContextLostCallback::~WebGraphicsContextLostCallback):
187         (WebGraphicsErrorMessageCallback):
188         (WebKit::WebGraphicsContext3D::WebGraphicsErrorMessageCallback::~WebGraphicsErrorMessageCallback):
189         (WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
190         (WebKit::WebGraphicsContext3D::WebGraphicsSwapBuffersCompleteCallbackCHROMIUM::~WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
191         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
192         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
193         (WebKit::WebGraphicsContext3D::~WebGraphicsContext3D):
194         (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
195         (WebKit::WebGraphicsContext3D::setParentContext):
196         (WebKit::WebGraphicsContext3D::setSwapBuffersCompleteCallbackCHROMIUM):
197         (WebKit::WebGraphicsContext3D::rateLimitOffscreenContextCHROMIUM):
198         (WebKit::WebGraphicsContext3D::setContextLostCallback):
199         (WebKit::WebGraphicsContext3D::setErrorMessageCallback):
200         (WebKit::WebGraphicsContext3D::getGraphicsResetStatusARB):
201         (WebKit::WebGraphicsContext3D::getTranslatedShaderSourceANGLE):
202         (WebKit::WebGraphicsContext3D::texImageIOSurface2DCHROMIUM):
203         (WebKit::WebGraphicsContext3D::texStorage2DEXT):
204         (WebKit::WebGraphicsContext3D::onCreateGrGLInterface):
205         * chromium/public/WebNonCopyable.h: Copied from Source/WebKit/chromium/public/platform/WebNonCopyable.h.
206         (WebKit):
207         (WebNonCopyable):
208         (WebKit::WebNonCopyable::WebNonCopyable):
209         (WebKit::WebNonCopyable::~WebNonCopyable):
210
211 2012-02-23  James Robinson  <jamesr@chromium.org>
212
213         [chromium] Move Web*Layer* headers into Platform
214         https://bugs.webkit.org/show_bug.cgi?id=79425
215
216         Reviewed by Adam Barth.
217
218         This moves the Web*Layer* headers and their dependencies from WebKit/chromium/public/platform/ into
219         Platform/chromium/public.
220
221         * Platform.gypi:
222         * chromium/public/WebCanvas.h: Copied from Source/WebKit/chromium/public/platform/WebCanvas.h.
223         (WebKit):
224         * chromium/public/WebColor.h: Copied from Source/WebKit/chromium/public/platform/WebColor.h.
225         (WebKit):
226         * chromium/public/WebColorName.h: Copied from Source/WebKit/chromium/public/platform/WebColorName.h.
227         (WebKit):
228         * chromium/public/WebContentLayer.h: Copied from Source/WebKit/chromium/public/platform/WebContentLayer.h.
229         (WebKit):
230         (WebContentLayer):
231         (WebKit::WebContentLayer::WebContentLayer):
232         (WebKit::WebContentLayer::~WebContentLayer):
233         (WebKit::WebContentLayer::operator=):
234         * chromium/public/WebContentLayerClient.h: Copied from Source/WebKit/chromium/public/platform/WebContentLayerClient.h.
235         (WebKit):
236         (WebContentLayerClient):
237         (WebKit::WebContentLayerClient::~WebContentLayerClient):
238         * chromium/public/WebExternalTextureLayer.h: Copied from Source/WebKit/chromium/public/platform/WebExternalTextureLayer.h.
239         (WebKit):
240         (WebExternalTextureLayer):
241         (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
242         (WebKit::WebExternalTextureLayer::~WebExternalTextureLayer):
243         (WebKit::WebExternalTextureLayer::operator=):
244         * chromium/public/WebLayer.h: Copied from Source/WebKit/chromium/public/platform/WebLayer.h.
245         (WebKit):
246         (WebLayer):
247         (WebKit::WebLayer::WebLayer):
248         (WebKit::WebLayer::~WebLayer):
249         (WebKit::WebLayer::operator=):
250         (WebKit::WebLayer::isNull):
251         (WebKit::WebLayer::to):
252         (WebKit::WebLayer::toConst):
253         (WebKit::WebLayer::unwrap):
254         (WebKit::WebLayer::constUnwrap):
255         (WebKit::operator==):
256         (WebKit::operator!=):
257         * chromium/public/WebLayerTreeView.h: Copied from Source/WebKit/chromium/public/platform/WebLayerTreeView.h.
258         (WebCore):
259         (WebKit):
260         (WebLayerTreeView):
261         (WebKit::WebLayerTreeView::Settings::Settings):
262         (Settings):
263         (WebKit::WebLayerTreeView::WebLayerTreeView):
264         (WebKit::WebLayerTreeView::~WebLayerTreeView):
265         (WebKit::WebLayerTreeView::operator=):
266         (WebKit::operator==):
267         (WebKit::operator!=):
268         * chromium/public/WebLayerTreeViewClient.h: Copied from Source/WebKit/chromium/public/platform/WebLayerTreeViewClient.h.
269         (WebKit):
270         (WebLayerTreeViewClient):
271         (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
272         * chromium/public/WebPrivatePtr.h: Copied from Source/WebKit/chromium/public/platform/WebPrivatePtr.h.
273         (WebKit):
274         (WebPrivatePtr):
275         (WebKit::WebPrivatePtr::WebPrivatePtr):
276         (WebKit::WebPrivatePtr::~WebPrivatePtr):
277         (WebKit::WebPrivatePtr::isNull):
278         (WebKit::WebPrivatePtr::reset):
279         (WebKit::WebPrivatePtr::operator=):
280         (WebKit::WebPrivatePtr::get):
281         (WebKit::WebPrivatePtr::operator->):
282         (WebKit::WebPrivatePtr::assign):
283         * chromium/public/WebSolidColorLayer.h: Copied from Source/WebKit/chromium/public/platform/WebSolidColorLayer.h.
284         (WebKit):
285         (WebSolidColorLayer):
286
287 2012-02-08  James Robinson  <jamesr@chromium.org>
288
289         r107042 caused compile breakages on chromium try bots
290         https://bugs.webkit.org/show_bug.cgi?id=78125
291
292         Reviewed by Adam Barth.
293
294         Replace the copy script with a copies GYP action since the MSVS generator tracks dependencies on a per-file
295         basis.
296
297         * Platform.gyp/Platform.gyp:
298         * Platform.gyp/copy_webcore_headers.py: Removed.
299
300 2012-02-07  James Robinson  <jamesr@chromium.org>
301
302         [chromium] Move geometry headers in Platform API to Platform directory
303         https://bugs.webkit.org/show_bug.cgi?id=78067
304
305         Reviewed by Adam Barth.
306
307         This moves several geometry-related headers in the chromium WebKit platform API to Platform/chromium/public.
308         These require a bit of extra work since when WEBKIT_IMPLEMENTATION is set they #include headers from
309         WebCore/platform such as IntPoint so that the implementations of several functions can be inlined. Since we do
310         not want to add anything in WebCore to the include path of projects that depend on the Platform API this poses a
311         bit of an issue. I've added an extra build step to copy the specific headers used into the
312         SHARED_INTERMEDIATE_DIR to preserve this inlining.
313         
314         Eventually we'll move the cross-platform code, including these headers, into somewhere under Platform/, but doing
315         that requires non-trivial modifications to every build system in WebKit.
316
317         * Platform.gyp/Platform.gyp:
318         * Platform.gyp/copy_webcore_headers.py: Added.
319         (CopyHeaders):
320         (Main):
321         * chromium/public/WebFloatPoint.h: Copied from Source/WebKit/chromium/public/platform/WebFloatPoint.h.
322         (WebKit):
323         (WebFloatPoint):
324         (WebKit::WebFloatPoint::WebFloatPoint):
325         (WebKit::WebFloatPoint::operator=):
326         (WebKit::WebFloatPoint::operator WebCore::FloatPoint):
327         (WebKit::operator==):
328         (WebKit::operator!=):
329         * chromium/public/WebFloatQuad.h: Copied from Source/WebKit/chromium/public/platform/WebFloatQuad.h.
330         (WebKit):
331         (WebFloatQuad):
332         (WebKit::WebFloatQuad::WebFloatQuad):
333         (WebKit::WebFloatQuad::operator=):
334         * chromium/public/WebFloatRect.h: Copied from Source/WebKit/chromium/public/platform/WebFloatRect.h.
335         (WebKit):
336         (WebFloatRect):
337         (WebKit::WebFloatRect::isEmpty):
338         (WebKit::WebFloatRect::WebFloatRect):
339         (WebKit::WebFloatRect::operator=):
340         (WebKit::WebFloatRect::operator WebCore::FloatRect):
341         (WebKit::operator==):
342         (WebKit::operator!=):
343         * chromium/public/WebPoint.h: Copied from Source/WebKit/chromium/public/platform/WebPoint.h.
344         (WebKit):
345         (WebPoint):
346         (WebKit::WebPoint::WebPoint):
347         (WebKit::WebPoint::operator=):
348         (WebKit::WebPoint::operator WebCore::IntPoint):
349         (WebKit::WebPoint::operator gfx::Point):
350         (WebKit::operator==):
351         (WebKit::operator!=):
352         * chromium/public/WebRect.h: Copied from Source/WebKit/chromium/public/platform/WebRect.h.
353         (WebKit):
354         (WebRect):
355         (WebKit::WebRect::isEmpty):
356         (WebKit::WebRect::WebRect):
357         (WebKit::WebRect::operator=):
358         (WebKit::WebRect::operator WebCore::IntRect):
359         (WebKit::WebRect::operator gfx::Rect):
360         (WebKit::operator==):
361         (WebKit::operator!=):
362         * chromium/public/WebSize.h: Copied from Source/WebKit/chromium/public/platform/WebSize.h.
363         (WebKit):
364         (WebSize):
365         (WebKit::WebSize::isEmpty):
366         (WebKit::WebSize::WebSize):
367         (WebKit::WebSize::operator=):
368         (WebKit::WebSize::operator WebCore::IntSize):
369         (WebKit::WebSize::operator gfx::Size):
370         (WebKit::operator==):
371         (WebKit::operator!=):
372
373 2012-01-19  Joi Sigurdsson  <joi@chromium.org>
374
375         Enable use of precompiled headers in Chromium port on Windows.
376
377         Bug 76381 - Use precompiled headers in Chromium port on Windows
378         https://bugs.webkit.org/show_bug.cgi?id=76381
379
380         Reviewed by Tony Chang.
381
382         * Platform.gyp/Platform.gyp: Include WinPrecompile.gypi.
383
384 2012-01-04  James Robinson  <jamesr@chromium.org>
385
386         [chromium] Compile fix, rename libplatform.a to libwebkit_platform.a to avoid collision with nacl
387
388         * Platform.gyp/Platform.gyp:
389
390 2012-01-04  James Robinson  <jamesr@chromium.org>
391
392         [chromium] Move WebMimeRegistry and dependencies to Source/Platform
393         https://bugs.webkit.org/show_bug.cgi?id=74583
394
395         Reviewed by Darin Fisher.
396
397         This creates a skeleton directory structure for the chromium WebKit platform API and moves WebMimeRegistry.h
398         along with its dependencies (WebString and WebCString) to their final location.
399
400         * Platform.gyp/Platform.gyp: Added.
401         * Platform.gypi: Added.
402         * chromium/platform/WebCString.h: Copied from Source/WebKit/chromium/public/platform/WebCString.h.
403         (WebKit::WebCString::~WebCString):
404         (WebKit::WebCString::WebCString):
405         (WebKit::WebCString::operator=):
406         (WebKit::WebCString::isEmpty):
407         (WebKit::WebCString::isNull):
408         (WebKit::WebCString::operator std::string):
409         (WebKit::WebCString::fromUTF16):
410         (WebKit::operator<):
411         * chromium/platform/WebCommon.h: Copied from Source/WebKit/chromium/public/platform/WebCommon.h.
412         * chromium/platform/WebMimeRegistry.h: Copied from Source/WebKit/chromium/public/platform/WebMimeRegistry.h.
413         (WebKit::WebMimeRegistry::~WebMimeRegistry):
414         * chromium/platform/WebString.h: Copied from Source/WebKit/chromium/public/platform/WebString.h.
415         (WebKit::WebString::~WebString):
416         (WebKit::WebString::WebString):
417         (WebKit::WebString::operator=):
418         (WebKit::WebString::isEmpty):
419         (WebKit::WebString::isNull):
420         (WebKit::WebString::operator string16):
421         (WebKit::WebString::operator NullableString16):
422         (WebKit::WebString::fromUTF8):
423         (WebKit::operator==):
424         (WebKit::operator!=):
425         * chromium/src/WebCString.cpp: Renamed from Source/WebKit/chromium/src/WebCString.cpp.
426         (WebKit::WebCString::compare):
427         (WebKit::WebCString::reset):
428         (WebKit::WebCString::assign):
429         (WebKit::WebCString::length):
430         (WebKit::WebCString::data):
431         (WebKit::WebCString::utf16):
432         (WebKit::WebCString::fromUTF16):
433         (WebKit::WebCString::WebCString):
434         (WebKit::WebCString::operator=):
435         (WebKit::WebCString::operator WTF::CString):
436         * chromium/src/WebString.cpp: Renamed from Source/WebKit/chromium/src/WebString.cpp.
437         (WebKit::WebString::reset):
438         (WebKit::WebString::assign):
439         (WebKit::WebString::length):
440         (WebKit::WebString::data):
441         (WebKit::WebString::utf8):
442         (WebKit::WebString::fromUTF8):
443         (WebKit::WebString::equals):
444         (WebKit::WebString::WebString):
445         (WebKit::WebString::operator=):
446         (WebKit::WebString::operator WTF::String):
447         (WebKit::WebString::operator WTF::AtomicString):
448
449 2011-11-02  Adam Barth  <abarth@webkit.org>
450
451         Add stubs for WTF and Platform
452         https://bugs.webkit.org/show_bug.cgi?id=71492
453
454         Reviewed by Eric Seidel.
455
456         This patch creates the Platform directory, which begins the process of
457         moving Platform out of WebCore.