Commit Graph

150 Commits

Author SHA1 Message Date
Nicholas Cameron
59e6ca2712 Bug 733894; changing the framework for representing shaders in the OGL
layers backend. r=BenWa
2012-03-19 09:07:25 +13:00
Benoit Girard
7e14831de1 Bug 749107 - Set the texture unit before binding the tile texture and change the texture ordering in ImageLayer to leave texture unit 0 bound. r=jmuizelaar 2012-04-30 14:51:05 -04:00
Ali Juma
be583b5cab Bug 741319 - Delete textures using the same context used to create them, on the thread that owns that context. r=joe 2012-04-10 16:20:02 -04:00
Chris Jones
5138518644 Bug 738158, part 2: Set the wrap mode for cairo images. r=ajuma 2012-03-22 01:02:59 -07:00
Chris Jones
7787759b9c Bug 738158, part 1: Remove unnecessary settings from InitTexture(). UploadSurfaceToTexture() and SetFilter/ApplyFilter() do these now. r=ajuma 2012-03-22 01:02:29 -07:00
Chris Jones
95f474b611 Bug 737071: Remove LayerManagerOGL::glForResources() because it's not needed and causes performance degradtion sometimes. r=Bas 2012-03-21 22:48:41 -07:00
Andreas Gal
ac82c60a6f Remove unused and broken tiling code (bug 736716, r=cjones). 2012-03-17 15:22:22 -07:00
Andreas Gal
7f4ec61fd0 Backout bug 736716. 2012-03-17 15:20:01 -07:00
Andreas Gal
b0c0acf59c Follow-up fix for bug 736716 (fix bad style fix). 2012-03-17 15:07:22 -07:00
Andreas Gal
089ef250fc Remove unused and broken tiling code (bug 736716, r=cjones). 2012-03-17 15:02:02 -07:00
Benoit Girard
32745d1cc3 Merge mc->Maple 2012-03-13 11:05:28 -04:00
Bas Schouten
841d83e5a0 Bug 732988 - Part 1: Add ScaleToSize API to ImageLayers. r=roc 2012-03-13 01:41:29 +00:00
Benoit Girard
18b1521f00 Restore merge changeset 39a3044823b0, regression fixed upstream in mc 2012-03-05 13:09:05 -05:00
Benoit Girard
b24e1949c2 Backed out changeset 39a3044823b0 because of bad interaction with maple. 2012-03-02 18:32:46 -05:00
Benoit Girard
77a9a7b782 Merge mc->Maple, resolved conflicts 2012-03-02 14:27:05 -05:00
Daniel Holbert
331a6340f6 Backout 4b46f6eff8f4 (Bug 732988) for linux Cipc orange 2012-03-11 16:43:12 -07:00
Bas Schouten
891f5531b5 Bug 732988 - Part 1: Add ScaleToSize API to ImageLayers. r=roc 2012-03-11 22:33:22 +00:00
George Wright
7382e27ea3 Bug 721489 - Older Adreno 200 drivers intermittently crash when uploading RGB565 textures with glTexImage2D - r=jrmuizel 2012-02-18 21:23:06 -05:00
Bas Schouten
584c87e1e0 Bug 651192 - Part 5: Support remote access to ImageContainers. r=roc 2012-02-16 04:26:19 +01:00
Rafael Ávila de Espíndola
0112747391 Bug 723738 - Remove invalid forward declaration of an objective c interface. r=BenWa. 2012-02-03 01:22:34 +01:00
Bas Schouten
f41ddf02da Bug 715785: Make ImageContainers independent of LayerManagers. r=roc 2012-02-01 03:18:30 +01:00
Joe Drew
38214cc0f2 Back out 9699edcbcedd (bug 721467) for causing bug 722167. 2012-01-29 19:41:48 -05:00
George Wright
841e24a315 Bug 721467 - Add an optional codepath (currently enabled only for Adreno 200 GPUs) to only use glTexImage2D for texture uploads as glTexSubImage2D can be slow and/or buggy r=joe,BenWa
--HG--
extra : rebase_source : 0f2903fe23edf3b191ae5dcfa7df6d9066d1d952
2012-01-24 19:44:48 -05:00
Oleg Romashin
798b005c3c Bug 715822 - OGL CleanupResources should cleanup Texture resources too. r=mattwoodrow 2012-01-16 00:41:55 -05:00
Matt Woodrow
e766f79a64 Bug 698212 - Let UploadSurfaceToTexture create the texture for CairoImageOGL. r=BenWa 2011-10-31 14:03:00 +13:00
Oleg Romashin ext:(%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
3a05c340e2 Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones 2011-10-21 14:29:09 +13:00
Marco Bonardo
961b15bdb6 Backout 73dc291f8974 (Bug 695406) to investigate Android Crashtests permaorange 2011-10-21 12:07:32 +02:00
Oleg Romashin ext:(%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
7ebbf8bafb Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones 2011-10-21 14:29:09 +13:00
Ehsan Akhgari
2a602a5685 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
timeless@mozdev.org
14354c0e59 Bug 620171 - [@ ImageContainerOGL::GetCurrentAsSurface] if GetFormat() can return anything other than PLANAR_YCBCR or CAIRO_SURFACE
r=bgirard
2011-10-10 15:27:05 +01:00
Ali Juma
26e350dca1 Bug 690566 - Associate filters with texture images. r=jrmuizel 2011-10-05 14:20:33 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Oleg Romashin
ae53d5a0c3 Bug 687372 - ImageLayerOGL should not destroy surface given as argument. r=cjones
--HG--
extra : rebase_source : 00d0c49f320c0969570917a321b8a95a3357a943
2011-09-27 15:19:26 -07:00
Matt Woodrow
343093175d Bug 675073 - Release OpenGL textures with the global context if the creating context has been destroyed. r=joe 2011-08-05 13:13:25 +12:00
Oleg Romashin
7d3e811adb Bug 671986 - ImageLayerOGL does not apply offset/transform for layer r=jrmuizel 2011-07-17 12:07:41 +02:00
Matt Woodrow
b154d14e64 Bug 670106 - Check the surface type before attempting to create a GLXPixmap. r=joe 2011-07-15 08:45:33 +12:00
Florian Haenel
32ba480e5b Bug 607687 - Fennec should take care about Texture MAX size HW limitation r=jmuizelaar 2011-07-06 11:00:47 -07:00
Matt Woodrow
89e737996c Bug 656185 - Part 2 - Upload the entire image for PlanarYCbCrImageOGL to a texture and clip using texture coordinates. r=derf 2011-07-05 14:52:00 +12:00
Benoit Girard
9c46ca57c5 Bug 636707 - Check for null MacIOSurfaceImageOGL. r=mattwoodrow 2011-07-04 09:51:37 -04:00
Matt Woodrow
cc66446a05 Back out bug 656185 due to windows compile failures 2011-06-27 15:21:22 +12:00
Matt Woodrow
8aba398b72 Bug 656185 - Part 2 - Handle odd crop offsets correctly with OpenGl. r=derf 2011-06-27 14:32:16 +12:00
Florian Hänel
8e0d9ab286 Bug 628566 - Implement basic tiling of ImageLayerOGL. r=joe 2011-05-19 12:53:02 +02:00
Matt Woodrow
9d7dd64918 Bug 649417 - Part 2 - Add a YUV option to SharedImage and use it to share YUV data across processes. r=cjones,joe 2011-04-21 16:38:39 +12:00
Matt Woodrow
d3c4acee47 Bug 649417 - Part 1 - Create a SharedImage ipdl union and pass this to ShadowImageLayer::Swap . r=cjones 2011-04-21 11:21:56 +12:00
Chris Jones
ed22df8f64 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Oleg Romashin
0dbd90df0c Bug 610155 - Use SurfaceDescriptor for ImageLayer and CanvasLayer r=jones.chris.g 2011-04-20 14:45:57 -07:00
Daniel Holbert
96fc781c65 Back out 0736b014d4a5 (Bug 610155) for breaking canvas reftests on android 2011-04-21 14:52:22 -07:00
Oleg Romashin
8869e128b5 Bug 610155 - Use SurfaceDescriptor for ImageLayer and CanvasLayer r=jones.chris.g 2011-04-20 14:45:57 -07:00
Matt Woodrow
6043fccf2f Bug 640082 - Part 5 - Use texture_from_pixmap in CairoImageOGL. r=joe 2011-04-07 16:58:08 -07:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Chris Pearce
38662eb161 Bug 580531 - Record first paint time and number of images painted in ImageContainer. r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce
18e05ec12b Bug 580531 - Push ImageContainer subclass' locks up into a superclass monitor. r=roc 2011-03-24 11:28:57 +13:00
Matt Woodrow
7f306f9fcc Bug 637040 - Set the correct active texture unit for plugin layers. r=roc a=blocking2.0 2011-03-01 16:05:20 +13:00
Matt Woodrow
852f3221c8 Bug 636609 - Remove DEBUG_GL_ERROR_CHECK. r+a=joe 2011-02-25 20:05:31 +13:00
Matt Woodrow
f194fbbc42 Bug 634366 - Remove broken CreateForNativePixmapSurface usage from CairoImageOGL. r=joe a=blocking2.0 2011-02-18 12:19:38 +13:00
Matt Woodrow
9cb4fc37b6 Bug 634521 - Let mac plugins trigger empty transactions. r=roc a=roc 2011-02-17 16:56:06 +13:00
Matt Woodrow
b6b769faf1 Bug 591687: Add new image type for IOSurfaces on Mac OS X. r=roc r=benwa a=blocking2.0betaN+ 2011-02-12 11:02:08 -05:00
Robert O'Callahan
69dc2ae3e3 Bug 621601. Part 4: Fix ImageLayers to handle null current image. r=bas,a=me 2011-01-19 21:27:54 +13:00
Oleg Romashin
af7e6bca87 Bug 618788 - Not initialized used in CairoImageOGL::SetData r=roc a=approval2.0 2011-01-13 15:20:46 +02:00
Chris Jones
3e974a81a0 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
Oleg Romashin
9a7252a7ea Bug 618788 - Not initialized used in CairoImageOGL::SetData r=vladimir a=approval2.0 2010-12-21 20:46:31 +02:00
Matt Woodrow
a2e7cac831 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
bdcc087748 Bug 604101 - Part 4 - Use UploadSurfaceToTexture in TextureImage. r=joe a=blocking2.0 2010-12-16 23:29:23 -08:00
Matt Woodrow
ccd0b4a069 Bug 604101 - Part 2 - Use UploadSurfaceToTexture in CairoImageOGL. r=joe a=blocking2.0 2010-12-16 23:27:56 -08:00
Robert O'Callahan
669ff953e8 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
eb10edeff3 Bug 599507. Propagate opacity and transform from single-child ContainerLayerOGL to child. r=joe, a=blocker 2010-11-08 22:06:14 +13:00
Benoit Jacob
d888a0f39f Bug 604571 - Copying frames from <video> to <canvas> with drawImage glitches - r+a=vladimir 2010-11-05 15:57:58 -04:00
Oleg Romashin
8ada90638c 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
4b82fba0c3 Fix --disable-libxul bustage from bug 602431 and bug 602428. a=bustage 2010-10-13 18:36:44 -05:00
Chris Jones
ace8a9c91c Bug 602428, part 3: Implement HW-decelerating ShadowImageLayerOGL. r=joe 2010-10-13 17:55:45 -05:00
Chris Jones
4c54015a6b Bug 602431, part 7: Honor shadow-layer attributes in the GL layers backend. r=vlad 2010-10-13 17:55:45 -05:00
Vladimir Vukicevic
910d74f7e0 Bug 602659 - <video> playback is twitchy / possessed by the devil with OpenGL layers - r=jmuizelaar, a=blocking-beta7 2010-10-13 17:19:12 -04:00
Benoit Jacob
9840c2c44d Bug 602659 - move some mutex locking - r=roc 2010-10-12 17:01:59 -04:00
Matt Woodrow
c9c6ee11c6 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
Matt Woodrow
29577d4de5 Bug 594643 - Fix typo in ImageLayerOGL::SetData. r=joe a=b
--HG--
extra : transplant_source : %B3%DC%24%EF%E8X%7D%C3A8%9F%9F%B2%C3o%87%B0d%24T
2010-09-13 14:01:28 -07:00
Matt Woodrow
580d5fa9de Bug 587678 - Implement ImageLayerOGL::GetCurrentAsSurface for YUV surfaces. r=bas a=blocking2.0:beta6+ 2010-09-03 23:27:04 -04:00
Matt Woodrow
da3df6842e Bug 590735 - D3D9/OGL Image layers need to round up on uneven sized YCbCr images r=joe, a=blocking2.0 2010-09-03 15:50:42 +12:00
Vladimir Vukicevic
03b79c9f14 b=574481; fix layers lifetime isues; part 3 - add lifetime mgmt to GL layers; r=bas 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
dbd5cb620b b=575032; make GL Context providers static, allow for multiple providers; r=bas 2010-07-18 22:01:14 -07:00
Matt Woodrow
76ed4033a0 Bug 564991. Part 8: Hoist GetLayerType out of individual layer manager types and make it available for all layers. r=jrmuizel,sr=vlad 2010-07-01 20:01:09 -05:00
Matt Woodrow
0444dac3c3 Bug 573929: Prevent GLX textures from being released after the window supplying the GLContext from which they were allocated dies. r=vlad 2010-06-23 18:37:00 -05:00
Oleg Romashin
d24ded3dce Bug 571832 - GL ThebesLayer rendering layout on X-System terribly slow. ImageLayer. r=vladimir. 2010-06-23 10:03:31 -04:00
Vladimir Vukicevic
917dfcb032 b=567626; fix up opengl layers; r=bas 2010-05-24 23:35:35 -07:00
Robert O'Callahan
5cb6f06477 Bug 564993. Part 5: Change ThebesLayer painting to be callback-based; move layer tree construction to FrameLayerBuilder. r=Bas,mats,sr=vlad 2010-05-21 15:20:48 +12:00
Robert O'Callahan
491e959191 Backed out changeset b37bdb032fe7 2010-05-24 10:53:05 +12:00
Robert O'Callahan
f3c689bd37 Bug 564993. Part 5: Change ThebesLayer painting to be callback-based; move layer tree construction to FrameLayerBuilder. r=Bas,mats,sr=vlad 2010-05-21 15:20:48 +12:00
Robert O'Callahan
6709a65d60 Backed out changeset efa8719a93d2 2010-05-21 16:34:23 +12:00
Robert O'Callahan
ddda37f6c8 Bug 564993. Part 5: Change ThebesLayer painting to be callback-based; move layer tree construction to FrameLayerBuilder. r=Bas,mats,sr=vlad 2010-05-21 15:20:48 +12:00
Robert O'Callahan
3e0f925498 Bug 565875. Part 4: Recycle textures used by PlanarYCbCrImageOGL to avoid reallocation/recommit costs (especially on Mac). r=bas 2010-05-17 11:09:28 +12:00
Robert O'Callahan
e3d9ccde5f Bug 565875. Part 3: Recycle temporary buffer used by PlanarYCbCrImageOGL to avoid reallocation/recommit costs (especially on Mac). r=bas 2010-05-17 11:08:41 +12:00
Robert O'Callahan
a36e98ca1e Bug 565875. Part 2: Create GLTexture wrapper to manage texture lifetimes and ensure textures are released on the main thread. r=bas 2010-05-17 11:08:01 +12:00
Robert O'Callahan
cd78edcb73 Bug 565875. Part 1: Refactor PlanarYCbCrImageOGL to make ownership of its temporary buffer more explicit. r=bas 2010-05-17 11:07:13 +12:00
Chris Pearce
3841ce0fd3 Bug 556889 - Honour video aspect ratio in layers rendering. r=roc 2010-04-27 20:53:44 +12:00
Bas Schouten
c7f958ebfc Bug 560147: Use the new Unified OpenGL Wrapper for OpenGL layers, and remove wrapper code from layers. r=vlad 2010-04-27 04:09:47 +02:00
Chris Double
39352b97f4 Bug 551277 - Replace liboggplay YUV to RGB color conversion code - r=roc 2010-04-19 13:17:06 +12:00
Chris Pearce
bea72dd465 Bug 556889 - Backed out changeset 6f250c9b680b due to reftest failure on Linux. 2010-04-08 21:18:58 +12:00
Chris Pearce
56599ba7fa Bug 556889 - Honour video aspect ratio in layers rendering. r=roc 2010-04-08 20:16:02 +12:00
Bas Schouten
dbf2d3e55f Bug 557671: Properly make image layers threadsafe by guarding the active image. r=roc 2010-04-08 09:29:55 +02:00
Bas Schouten
8ebb80cb11 Bug 556572: Support none-multiple of 4 strides. r=joedrew 2010-04-01 23:17:13 +02:00
Bas Schouten
42e017024d Bug 546517: The layers OpenGL backend. r=vlad 2010-03-30 06:48:52 +02:00