Commit Graph

65 Commits

Author SHA1 Message Date
Matt Woodrow
2d611b7017 Bug 688342 - Make nsCanvasRenderingContext2D support Azure backends other than Direct2D. r=Bas 2011-11-03 08:55:03 +13:00
Benoit Jacob
52c7dd9b1a Bug 697845 - only call glFinish in RenderLayer, not in UpdateSurface - r=mattwoodrow
This could make WebGL a bit faster.
2011-10-29 19:15:52 -04:00
Oleg Romashin
beda637bd5 Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones 2011-10-21 14:29:09 +13:00
Marco Bonardo
6d5a4c1c2f Backout 73dc291f8974 (Bug 695406) to investigate Android Crashtests permaorange 2011-10-21 12:07:32 +02:00
Oleg Romashin
1ebf685771 Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones 2011-10-21 14:29:09 +13:00
Jeff Gilbert
0e7391ee98 Bug 615976 - Fixes layer compositing with AA on Mac - r=bjacob 2011-10-19 15:09:57 -04:00
Benoit Jacob
f617ed1d5c Back out Jeff's patches because they lack a Bug number and/or a r= field. Sorry, should have checked that. Re-landing. 2011-10-19 15:31:33 -04:00
Jeff Gilbert
cfeadcbe39 Fixes layer compositing with AA on Mac 2011-10-19 15:09:57 -04:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Benoit Girard
18561e0722 Bug 691354 - Restore CanvasLayerOGL::RenderLayer apply filter. r=bustage 2011-10-16 22:31:15 -04:00
Benoit Girard
396e3ad95b Bug 691354 - Use NEAREST filter when OGL layers have no 3d transform/scaling. r=jmuizelaar 2011-10-14 13:16:19 -07:00
Ali Juma
6480eda3fa Bug 690566 - Associate filters with texture images. r=jrmuizel 2011-10-05 14:20:33 -04:00
Oleg Romashin
2450d05d88 Bug 689045 - Canvas Shadow swap/Init API rework r=cjones 2011-09-27 15:19:28 -07:00
Oleg Romashin
a8041173c6 Bug 687372 - ImageLayerOGL should not destroy surface given as argument. r=cjones 2011-09-27 15:19:26 -07:00
Matt Woodrow
45b6aef438 Bug 655017 - Let gfxXlibSurface track GLXPixmaps and use this for CanvasLayerOGL. r=karlt, roc 2011-08-05 13:13:25 +12:00
Florian Haenel
5a1007a604 Bug 607687 - Fennec should take care about Texture MAX size HW limitation r=jmuizelaar 2011-07-06 11:00:47 -07:00
Benoit Girard
09c2fc6086 Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones 2011-07-04 09:15:05 -04:00
Benoit Girard
c06694e034 Backout 627489bb6288. 2011-07-01 18:05:54 -04:00
Benoit Girard
b1bfb6c35d Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones 2011-07-01 16:57:15 -04:00
Oleg Romashin
f58206a6bd Bug 612335 - Render remote canvas directly into shared surface r=jones.chris.g 2011-06-09 21:17:02 -04:00
Oleg Romashin
9d04205210 Bug 610155 - Use SurfaceDescriptor for ImageLayer and CanvasLayer r=jones.chris.g 2011-04-20 14:45:57 -07:00
Daniel Holbert
73b32a98c5 Back out 0736b014d4a5 (Bug 610155) for breaking canvas reftests on android 2011-04-21 14:52:22 -07:00
Oleg Romashin
429f5c8eb5 Bug 610155 - Use SurfaceDescriptor for ImageLayer and CanvasLayer r=jones.chris.g 2011-04-20 14:45:57 -07:00
Matt Woodrow
1138940aa6 Bug 640082 - Part 2 - Use texture_from_pixmap in CanvasLayerOGL. r=joe 2011-03-09 10:41:10 +13:00
Matheus Kerschbaum
9014e25ac7 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Robert O'Callahan
9b230b8b7e Bug 622072. Part 2: Add DidTransactionCallback to CanvasLayer. r=bas, sr=joe 2011-03-28 12:59:46 +13:00
Robert O'Callahan
ef9053b5ee Bug 622072. Part 1: Remove rect parameter from Updated() and change implementations to defer updates to render time. r=bas
The rectangle parameter is currently not used --- all callers always pass the full canvas bounds. In the long term,
we probably won't want this parameter since all implementations should be doing accelerated drawing direct to buffers
with no intermediate copies, hence there will be no need to optimize the size of those copies. Plus, performance-sensitive
testcases tend to paint most or all of the canvas on every frame anyway.
2011-03-28 12:59:46 +13:00
Ehsan Akhgari
19025a6612 Back out bug 622072 because it caused bug 645987 2011-03-29 14:31:53 -04:00
Robert O'Callahan
8aa36d297b Bug 622072. Part 2: Add DidTransactionCallback to CanvasLayer. r=bas, sr=joe 2011-03-28 12:59:46 +13:00
Robert O'Callahan
b5a39262e1 Bug 622072. Part 1: Remove rect parameter from Updated() and change implementations to defer updates to render time. r=bas
The rectangle parameter is currently not used --- all callers always pass the full canvas bounds. In the long term,
we probably won't want this parameter since all implementations should be doing accelerated drawing direct to buffers
with no intermediate copies, hence there will be no need to optimize the size of those copies. Plus, performance-sensitive
testcases tend to paint most or all of the canvas on every frame anyway.
2011-03-28 12:59:46 +13:00
Matt Woodrow
65a86a8212 Bug 636609 - Remove DEBUG_GL_ERROR_CHECK. r+a=joe 2011-02-25 20:05:31 +13:00
Ehsan Akhgari
cfa4cb6209 Bug 632781 - Scroll non-accelerated canvases correctly with the content; r=matt,joe,roc a=blocking-betaN 2011-02-14 18:23:50 -05:00
Ehsan Akhgari
6aa6e1ff43 Back out changeset f3d13890fbe3 because of Windows reftest orange; a=orange 2011-02-15 13:30:33 -05:00
Ehsan Akhgari
b74fa37ba0 Bug 632781 - Scroll non-accelerated canvases correctly with the content; r=matt,joe,roc a=blocking-betaN 2011-02-14 18:23:50 -05:00
Matt Woodrow
eea20f596a Bug 621778 - Allow TextureImage to upload regions instead of only rectangles. r=joe a=blocking2.0 2011-01-18 14:32:40 +13:00
Chris Jones
336c42bd66 Bug 623255: Ensure LayerOGL::Destroy is called for "orphaned" shadow OGL layers before the GLContext is deleted. r=vlad a=b 2011-01-05 22:54:47 -06:00
Matt Woodrow
8ae103f9e5 Bug 604101 - Part 6 - Add TextureImage::DirectUpload for faster texture uploads. r=jrmuizel a=blocking2.0 2010-12-16 23:50:26 -08:00
Matt Woodrow
1ded44f726 Bug 604101 - Part 4 - Use UploadSurfaceToTexture in TextureImage. r=joe a=blocking2.0 2010-12-16 23:29:23 -08:00
Matt Woodrow
684fe7f299 Bug 604101 - Part 3 - Use UploadSurfaceToTexture in CanvasLayerOGL. r=joe a=blocking2.0 2010-12-16 23:28:30 -08:00
Matt Woodrow
c95f56da31 Bug 615741 - Too large canvases don't draw and be black. r=joe a=joe 2010-12-16 23:19:28 -08:00
Matt Woodrow
3f153662c1 Bug 605057 - Add gfxASurface::GetAsImageSurface to convert generic surfaces into image surfaces without copies (if possible). r=roc a=b 2010-11-11 15:31:22 -05:00
Robert O'Callahan
d1cc7cc31e Bug 602200. Share code to compute effective transforms and opacity, and snap effective transforms. r=bas,sr=vlad,a=blocker 2010-11-08 22:06:15 +13:00
Matt Woodrow
ff8dbcc9b6 Bug 599507. Propagate opacity and transform from single-child ContainerLayerOGL to child. r=joe, a=blocker 2010-11-08 22:06:14 +13:00
Oleg Romashin
bf29fdf52a Bug 572651 - ThebesLayer shader program (GetBGRXLayerProgram) is slow on mobile r=vladimir a=b-f 2010-11-05 08:40:19 +02:00
Chris Jones
cd4acfba5c Fix --disable-libxul bustage from bug 602431 and bug 602428. a=bustage 2010-10-13 18:36:44 -05:00
Chris Jones
36ee9728cc Bug 602428, part 2: Implement HW-decelerating ShadowCanvasLayerOGL. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
c711572447 Bug 602431, part 7: Honor shadow-layer attributes in the GL layers backend. r=vlad 2010-10-13 17:55:45 -05:00
Joe Drew
0848a0dadf Bug 598143 - Flush the WebGL canvas's context before reading from it on a different context. r=vlad, a=b 2010-09-29 18:46:22 -04:00
Matt Woodrow
05d0e4a9ef Bug 596050 - Set the correct GL minification/magnification filter based on the GraphicsFilter set by content. r=joe a=b 2010-09-21 12:32:17 -04:00
Vladimir Vukicevic
d0c9bae53c b=583838; add ANGLE/D3D WebGL support - part 4 - allow CanvasLayerOGL to work with different-type GL contexts; r=bas 2010-08-06 22:09:18 -07:00