Chris Peterson
1663974cbd
Bug 1010706 - Fix uninitialized variable warnings in gfx/layers/opengl/CompositorOGL.cpp. r=mwoodrow
2014-05-16 00:35:13 -07:00
Chris Peterson
80f28ea801
Backed out changeset 9c586b1649d7 for wrong bug number: s/1007708/1010706/
2014-05-16 00:33:16 -07:00
Chris Peterson
4dcae4d9bf
Bug 1007708 - Fix uninitialized variable warnings in gfx/layers/opengl/CompositorOGL.cpp. r=mwoodrow
2014-05-14 20:15:36 -07:00
Sotaro Ikeda
e584c0cbfd
Bug 1005908 - Avoid unnecessary fEGLImageTargetTexture2D'ing r=nical
2014-05-14 09:59:25 -07:00
Sotaro Ikeda
284e896e23
Bug 971946 - Remove TextureClientData r=nical
2014-05-14 06:29:52 -07:00
Matt Woodrow
7f48a0e617
Bug 950312 - Part 5: Implement SCREEN and MULTIPLY for CompositorOGL. r=mtseng
2014-05-09 22:06:18 +12:00
Benoit Jacob
de99c7b1ef
Bug 1005658 - Don't pass stack pointers to the GL for buffers, and have GLContext try to guard against it - r=jgilbert
2014-05-08 21:03:37 -04:00
chiajung hung
aca898b7e3
Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical
2014-04-30 21:52:00 -04:00
Jonathan Watt
83ce05a1ec
Bug 1001683 - Convert a bunch of ReadPixelsIntoImageSurface callers to ReadPixelsIntoDataSurface callers (Moz2D migration). r=mattwoodrow
2014-04-29 00:26:54 +01:00
Benoit Jacob
8815295d59
Bug 989144 - Convert EffectChain::mSecondaryEffects to be an EnumeratedArray - r=nical
2014-04-25 22:34:06 -04:00
Benoit Jacob
fe6ce1fe7f
Bug 987311 - 6/6 - Convert the rest of CompositorTypes.h to typed enums, final manual changes - r=nical
2014-04-25 22:34:06 -04:00
Benoit Jacob
675de992e0
Bug 987311 - 5/6 - Convert the rest of CompositorTypes.h to typed enums, auto regex changes - r=nical
...
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)DIAGNOSTIC_\(NONE\|TILE_BORDERS\|LAYER_BORDERS\|BIGIMAGE_BORDERS\|FLASH_BORDERS\)\($\|[^A-Za-z0-9_]\)/\1DiagnosticTypes::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/DiagnosticTypes\:\:NONE/DiagosticTypes::NO_DIAGNOSTIC/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)DIAGNOSTIC_\(IMAGE\|CONTENT\|CANVAS\|COLOR\|CONTAINER\|TILE\|BIGIMAGE\|COMPONENT_ALPHA\|REGION_RECT\)\($\|[^A-Za-z0-9_]\)/\1DiagnosticFlags::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)EFFECT_\(MASK\|MAX_SECONDARY\|RGB\|YCBCR\|COMPONENT_ALPHA\|SOLID_COLOR\|RENDER_TARGET\|MAX\)\($\|[^A-Za-z0-9_]\)/\1EffectTypes::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_\(CONTENT\|SHMEM\|YCBCR\|SHARED_GL\|SHARED_GL_EXTERNAL\|STREAM_GL\|FALLBACK\)\($\|[^A-Za-z0-9_]\)/\1DeprecatedTextureClientType::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(BUFFER_UNKNOWN\|BUFFER_IMAGE_SINGLE\|BUFFER_IMAGE_BUFFERED\|BUFFER_BRIDGE\|BUFFER_CONTENT\|BUFFER_CONTENT_DIRECT\|BUFFER_CONTENT_INC\|BUFFER_TILED\|BUFFER_SIMPLE_TILED\|COMPOSITABLE_IMAGE\|COMPOSITABLE_CONTENT_SINGLE\|COMPOSITABLE_CONTENT_DOUBLE\|BUFFER_COUNT\)\($\|[^A-Za-z0-9_]\)/\1CompositableType::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/CompositableType\:\:COMPOSITABLE_/CompositableType::/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_HOST_\(DEFAULT\|TILED\|COPY_PREVIOUS\)\($\|[^A-Za-z0-9_]\)/\1DeprecatedTextureHostFlags::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)Texture\(Front\|Back\|OnWhiteFront\|OnWhiteBack\)\($\|[^A-Za-z0-9_]\)/\1TextureIdentifier::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(OPEN_NONE\|OPEN_READ\|OPEN_WRITE\|OPEN_READ_WRITE\|OPEN_READ_ONLY\|OPEN_WRITE_ONLY\)\($\|[^A-Za-z0-9_]\)/\1OpenMode::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(MaskNone\|Mask2d\|Mask3d\|NumMaskTypes\)\($\|[^A-Za-z0-9_]\)/\1MaskType::\2\3/g'
find gfx -type f | xargs sed -i 's/Diagostic/Diagnostic/g'
2014-04-25 22:34:06 -04:00
Benoit Jacob
e51484d0bd
Bug 989027 - 2/2 - Make LayerRenderStateFlags a typed enum, auto regex changes - r=nical
...
find gfx -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYER_RENDER_STATE_\(Y_FLIPPED\|BUFFER_ROTATION\|FORMAT_RB_SWAP\)\($\|[^A-Za-z0-9_]\)/\1LayerRenderStateFlags::\2\3/g'
2014-04-25 22:34:05 -04:00
Benoit Jacob
79b886764c
Bug 989027 - 1/2 - Make LayerRenderStateFlags a typed enum, manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
9a2b04a676
Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
2128bb4f6f
Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical
...
find gfx/layers -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_\(USE_NEAREST_FILTER\|NEEDS_Y_FLIP\|DISALLOW_BIGIMAGE\|ALLOW_REPEAT\|NEW_TILE\|COMPONENT_ALPHA\|RB_SWAPPED\|FRONT\|ON_WHITE\|ON_BLACK\|TILE\|RECYCLE\|COPY_PREVIOUS\|DEALLOCATE_CLIENT\|IMMUTABLE\|IMMEDIATE_UPLOAD\|DOUBLE_BUFFERED\|ALLOC_FALLBACK\)\($\|[^A-Za-z0-9_]\)/\1TextureFlags::\2\3/g'
find gfx/layers -type f | xargs sed -i 's/TEXTURE_FLAGS_DEFAULT/TextureFlags::DEFAULT/g'
2014-04-25 22:34:05 -04:00
Nicolas Silva
e33fb2cd21
Bug 997121 - Mark CompsoitorOGL MOZ_FINAL to prevent future problems with the virtual call in its destructor. r=bjacob
2014-04-28 16:10:35 +02:00
Nicolas Silva
f27de3f20c
Bug 1001458 - Rename TileIterator ino BigImageIterator. r=BenWa
2014-04-28 13:27:25 +02:00
John Schoenick
edda3ecac7
Bug 977963 - Fix and re-enable linux glX texture_from_pixmap support r=mattwoodrow
2014-04-27 21:52:55 -07:00
Blair McBride
5cba04ad67
Backed out 9 changesets (bug 987311, bug 989027, bug 989144). r=sheriff
...
Backed out changeset 046c061d91c2 (bug 989144)
Backed out changeset 3f1b41adeaef (bug 987311)
Backed out changeset 8d5a171564bd (bug 987311)
Backed out changeset dcc0d016de7a (bug 987311)
Backed out changeset 27f338fbc835 (bug 989027)
Backed out changeset 4a67f5144ea4 (bug 989027)
Backed out changeset 62ba0a377450 (bug 987311)
Backed out changeset 6a2542a5c865 (bug 987311)
Backed out changeset 1dfd9a457f34 (bug 987311)
2014-04-27 19:45:08 +12:00
Benoit Jacob
59d8409515
Bug 989144 - Convert EffectChain::mSecondaryEffects to be an EnumeratedArray - r=nical
2014-04-25 22:34:06 -04:00
Benoit Jacob
204c6f0755
Bug 987311 - 6/6 - Convert the rest of CompositorTypes.h to typed enums, final manual changes - r=nical
2014-04-25 22:34:06 -04:00
Benoit Jacob
e75e4f70e1
Bug 987311 - 5/6 - Convert the rest of CompositorTypes.h to typed enums, auto regex changes - r=nical
2014-04-25 22:34:06 -04:00
Benoit Jacob
79b69025d9
Bug 989027 - 2/2 - Make LayerRenderStateFlags a typed enum, auto regex changes - r=nical
...
find gfx -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYER_RENDER_STATE_\(Y_FLIPPED\|BUFFER_ROTATION\|FORMAT_RB_SWAP\)\($\|[^A-Za-z0-9_]\)/\1LayerRenderStateFlags::\2\3/g'
2014-04-25 22:34:05 -04:00
Benoit Jacob
43bb102733
Bug 989027 - 1/2 - Make LayerRenderStateFlags a typed enum, manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
b0f17a58c7
Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
f090eb7a1c
Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical
2014-04-25 22:34:05 -04:00
Ed Morley
2e2eb508f0
Backed out changeset d58403b60c77 (bug 959089)
2014-04-25 17:51:11 +01:00
chiajung hung
c35afafcc1
Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical
2014-04-25 02:29:00 -04:00
Nicolas Silva
22217f8362
Bug 993004 - Fix missing #include on a CLOSED TREE
2014-04-25 14:00:52 +02:00
Nicolas Silva
85eed097b5
Bug 993004 - Fix the clipping of tiles when the screen is rotated. r=botond
2014-04-25 13:38:17 +02:00
Carsten "Tomcat" Book
0dea645453
Backed out changeset 3d116167774f (bug 993004) for bustage on a CLOSED TREE
2014-04-25 12:19:45 +02:00
Nicolas Silva
0bdf3151ed
Bug 993004 - Fix the clipping of tiles when the screen is rotated. r=botond
2014-04-25 11:51:17 +02:00
Jeff Gilbert
99c9587534
Bug 999713 - Kill WS in files we want to touch. - r=kamidphish
2014-04-22 16:23:18 -07:00
Jonathan Watt
61a8971526
Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow
2014-04-16 01:41:40 +01:00
Kyle Huey
91420b7d1d
Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
...
--HG--
extra : rebase_source : 239ff77ec3765a3f190ed75b1645c6011e5d1dbd
2014-04-14 12:04:24 -07:00
Ryan VanderMeulen
98cf3141ca
Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
...
CLOSED TREE
2014-04-14 16:16:18 -04:00
Kyle Huey
28592e6530
Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
2014-04-14 12:04:24 -07:00
Jonathan Watt
2ed7ee65dd
Bug 995454 - Kill off TextureClientSurface's GetAsSurface and UpdateSurface methods (Moz2D migration). r=mattwoodrow
2014-04-13 11:07:12 +01:00
Ryan VanderMeulen
34dceacb42
Merge m-c to inbound on a CLOSED TREE.
2014-04-11 16:24:56 -04:00
Sotaro Ikeda
efea44f6cd
Bug 990310 - Remove SurfaceDescriptor from media and GrallocImage r=nical,cajbir
2014-04-11 06:13:12 -07:00
Nicolas Silva
7c497a9676
Bug 991032 - Cleanup X11 TextureClient/Host. r=mattwoodrow
2014-04-11 16:15:01 +02:00
Nicolas Silva
51a3c554b6
Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow
2014-04-10 10:14:28 +02:00
Carsten "Tomcat" Book
bff450d992
Backed out changeset 3747c80a1cde (bug 990871) for bustage on a CLOSED TREE
2014-04-10 13:15:47 +02:00
Nicolas Silva
70427a3c8f
Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow
2014-04-10 10:14:28 +02:00
Kyle Huey
41b19ee1f2
Back out bug 991812 for bustage on a CLOSED TREE. r=me
2014-04-08 17:26:33 -07:00
Kyle Huey
749ec8b15d
Bug 991812: Remove uses of RefCounted in code that lives solely in Gecko. r=ehsan
2014-04-08 16:37:05 -07:00
Nicolas Silva
23e336246f
Bug 993067 - Fix crash in GrallocTextureSourceOGL::GetAsSurface. r=Cwiiis
2014-04-08 10:04:08 +02:00
Chris Lord
9c5e7e0874
Bug 990608 - Make tile size configurable. r=tn,nical,bgirard
2014-04-04 18:42:44 +01:00
Chris Lord
d638080650
Backout 941bee559cd7 (Bug 980647) due to critical regressions on b2g
2014-04-07 13:09:44 +01:00
Matt Woodrow
abb78fae19
Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical
2014-04-07 13:32:49 +12:00
Matt Woodrow
d532a9c01b
Bug 991028 - Remove AutoOpenSurface. r=nical
2014-04-07 13:32:48 +12:00
Phil Ringnalda
fde12dd0a6
Backed out 4 changesets (bug 991028) for nonunified bustage
...
CLOSED TREE
Backed out changeset 147581a518c3 (bug 991028)
Backed out changeset e5bacc566e58 (bug 991028)
Backed out changeset 6dc852777a4d (bug 991028)
Backed out changeset 780bec5571b9 (bug 991028)
2014-04-06 21:21:38 -07:00
Matt Woodrow
fbd13c088f
Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical
2014-04-07 13:32:49 +12:00
Matt Woodrow
75309237f6
Bug 991028 - Remove AutoOpenSurface. r=nical
2014-04-07 13:32:48 +12:00
Ryan VanderMeulen
01e048154a
Backed out changeset bf184a7a1d63 (bug 990608) for Android crashes.
...
CLOSED TREE
2014-04-04 15:20:49 -04:00
Chris Lord
5a2c48da2d
Bug 990608 - Make tile size configurable. r=tn,nical,bgirard
2014-04-04 18:42:44 +01:00
Daniel Holbert
6a7faff5d3
Bug 984786 part 8: Give NS_INLINE_DECL_*REFCOUNTING classes private destructor & MOZ_FINAL annotation where appropriate, in /gfx and /content/canvas. r=bjacob
2014-04-04 09:27:02 -07:00
Sushil Chauhan
0bb3719f93
Bug 965102 - Gecko changes to set HWC_GEOMETRY_CHANGED flag appropriately. r=mattwoodrow
2014-04-03 18:59:13 -07:00
Phil Ringnalda
8d73e0be6f
Backed out 5 changesets (bug 991032, bug 990933, bug 990876, bug 990871) for build bustage
...
CLOSED TREE
Backed out changeset c28e1344a6da (bug 991032)
Backed out changeset c85326be7e94 (bug 990876)
Backed out changeset 7cd1a8c883cb (bug 990876)
Backed out changeset 3052e8a3c505 (bug 990933)
Backed out changeset 6685770cf674 (bug 990871)
2014-04-03 20:28:52 -07:00
Nicolas Silva
e195bff1bb
Bug 991032 - Cleanup X11 TextureClient/Host. r=mattwoodrow
2014-04-04 11:15:47 +08:00
Nicolas Silva
bb5f55e84a
Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow
2014-04-04 11:15:18 +08:00
Nicolas Silva
9e32afc054
Bug 989904 - Remove the remaining deprecated textures code. r=mattwoodrow
2014-04-03 14:04:04 +08:00
Botond Ballo
530b8d2872
Bug 984490 - Make Compositor::GetCurrentRenderTarget() const. r=nical
2014-04-02 03:27:42 -04:00
Andreas Gal
9188c80be2
Bug 978479 - Remove flipped quad texture from mQuadVBO. r=bjacob
2014-04-02 09:02:07 -04:00
Matt Woodrow
13c45e3751
Bug 990437 - Convert ContentHostIncremental to inherit from ContentHostBase. r=nical
2014-04-02 14:45:02 +08:00
Nicolas Silva
9effdc38ef
Bug 980647 - Part 2 - Use the PerFrame pool with all layer types on b2g. r=Cwiiis
2014-04-02 10:37:49 +08:00
Nicolas Silva
2f7b2c6f99
Bug 989904 - Remove some of the deprecated gl textures. r=mattwoodrow
2014-04-01 14:28:18 +08:00
Benoit Jacob
97fce92de5
Bug 990233 - Back out Bug 978479 and Bug 980364 because of a 5% tresize regression on Mac OSX 10.6 - no review, just a backout on a CLOSED TREE
2014-03-31 22:31:24 -04:00
Ryan VanderMeulen
6cd1cf828f
Merge b2g-inbound to m-c.
2014-03-31 17:27:57 -04:00
Sotaro Ikeda
37c69117b5
Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal
2014-03-31 08:24:28 -07:00
Benoit Jacob
7fff2c454f
Bug 987828 - 3/4 - Use IsGLES instead of IsGLES2 - r=jgilbert
2014-03-31 05:10:49 -04:00
Andreas Gal
3d7a7a76bb
Bug 978479 - remove flipped quad texture from mQuadVBO. r=bjacob
2014-03-29 20:49:00 +01:00
Andreas Gal
9540c1f604
Bug 980364 - Add GLDrawRectHelper and use it from GLBlitTextureImageHelper. r=bjacob
2014-03-30 17:37:00 +02:00
Matt Woodrow
453ffffa9c
Bug 980642 - Clean up Compositor::clearFBRect API. r=roc
2014-03-28 16:38:32 +13:00
Ryan VanderMeulen
8b6cc2528d
Merge m-c to b2g-inbound.
2014-03-26 23:09:04 -04:00
Sotaro Ikeda
c945bef808
Bug 977880 - Handle ReleaseFence on tiled thebes layer r=cwiiis,nical,BenWa
2014-03-26 18:01:15 -07:00
Nicolas Silva
6a0f990094
Bug 984618 - Clear the compositor's unused textures when a frame was entirely composited by hwcomposer. r=cwiiis
2014-03-25 17:14:48 +01:00
Nicolas Silva
aff8781ac7
Bug 984823 - Use clamp to edges with tiles on b2g. r=Cwiiis
2014-03-21 13:54:13 +01:00
James Willcox
2822979243
Bug 985487 - Don't try to use GL_TEXTURE_RECTANGLE_ARB on ES2 r=mwoodrow
2014-03-26 13:23:44 -05:00
Nicolas Silva
8f665813d6
Bug 984618 - Clear the CompositorOGL's unused textures when aborting a frame. r=Bas.
2014-03-26 16:56:30 +01:00
Ed Morley
229b5c3df6
Backed out changeset 4c963fa4683b (bug 985487)
2014-03-26 15:14:54 +00:00
James Willcox
0afeb7e71a
Bug 985487 - Don't try to use GL_TEXTURE_RECTANGLE_ARB on ES2 r=mwoodrow
2014-03-26 09:11:42 -05:00
Nicolas Silva
df118a224d
Bug 984437 - Remove GrallocDeprecatedTextureHostOGL. r=sortaro
2014-03-19 18:21:44 +01:00
Chris Lord
5a692755f9
Bug 985322 - Return RGBA instead of BGRA for external gralloc textures. r=nical
...
Before bug 950050, we'd calculate a format of BGRA, then ignore it and return
RGBA in GetFormat. This just calculates RGBA and returns the format directly.
2014-03-19 13:24:06 +00:00
Jonathan Watt
e7ba4e35fb
Bug 985049 - Remove gfxPlatform::SupportsAzureContent() and kill of the resulting dead code. r=mattwoodrow
2014-03-19 10:36:58 +08:00
Wes Kocher
f9ae02417f
Merge inbound to m-c
2014-03-18 14:15:03 -07:00
Nicolas Silva
b39d112d21
Bug 984437 - Backout for build bustage on a CLOSED TREE
2014-03-18 17:18:07 +01:00
Nicolas Silva
65b8385957
Bug 984437 - Remove GrallocDeprecatedTextureHostOGL. r=sortaro
2014-03-18 16:29:07 +01:00
Nicolas Silva
3a79563214
Bug 980647 - Part 1 - Move the compositor's texture recycling startegy behind a pool interface. r=Cwiiis
2014-03-12 17:28:47 +01:00
Chris Lord
9d5f2b19f0
Bug 950050 - Use EXTERNAL for gralloc texture targets on SGX. r=nical
2014-03-18 08:12:40 +00:00
Phil Ringnalda
a05ae08885
Merge m-c to b-i
2014-03-17 22:48:40 -07:00
Sotaro Ikeda
1f8749fe25
Bug 974152 - Use FrameBuffer's Acquire Fence as Layer buffer's ReleaseFence on gonk r=sushil,nical
2014-03-17 18:36:56 -07:00
Bas Schouten
e37c745069
Bug 983157: Backout bug 980647 (31844306c2f1, dcd632ee9a3e). r=backout
2014-03-13 18:55:52 +01:00
Matt Woodrow
af3af9a806
Bug 971914 - Make TextureSourceOGL responsible for tracking filter state. r=nical
2014-03-13 13:37:17 +13:00
Matt Woodrow
0cf2747abe
Bug 971914 - Don't set and restore state constantly inside CompositorOGL. r=nical
2014-03-13 13:37:17 +13:00
Nicolas Silva
cfc793b8f1
Bug 980647 - Part 2 - Use the PerFrame pool with all layer types on b2g. r=Cwiiis
2014-03-12 17:29:36 +01:00
Nicolas Silva
d55999a3d1
Bug 980647 - Part 1 - Move the compositor's texture recycling startegy behind a pool interface. r=Cwiiis
2014-03-12 17:28:47 +01:00
Nicolas Silva
e90cccae80
Bug 973892 - Make TextureClient::GetAsDrawTarget work with canvas. r=bas
2014-03-17 22:35:20 +01:00
Jeff Gilbert
3c7d18baac
Bug 980684 - Actually use IOSurfaces on Mac. - r=snorp
2014-03-10 19:08:50 -07:00
Jeff Gilbert
8f4b994f55
Bug 976813 - Separate ShSurf::Texture for Prod and Cons. - r=snorp
2014-03-10 19:08:49 -07:00
Bas Schouten
a0108bc8af
Bug 963073 - Merge tiling branch. r=Bas,jrmuizel,BenWa
...
http://hg.mozilla.org/users/bschouten_mozilla.com/tiling/summary
This work is mainly porting tiled layers to new textures, implementing
double-buffered tiles and implementing a texture client pool, to be used by
tiled content clients.
Any questions regarding this patch should go to:
Bas Schouten <bschouten@mozilla.com>
Chris Lord <clord@mozilla.com>
Nicolas Silva <nsilva@mozilla.com>
In their absence questions can be directed to:
Jeff Muizelaar <jmuizelaar@mozilla.com>
Benoit Girard <bgirard@mozilla.com>
2014-03-07 22:34:04 +01:00
Ryan VanderMeulen
ce38a1c6d5
Backed out changeset 96f2905b175d (bug 978479) for OSX reftest failures.
...
CLOSED TREE
2014-03-06 14:14:52 -05:00
Andreas Gal
0fe0fc9984
Bug 978479 - Remove flipped quad texture from mQuadVBO. r=bjacob
2014-03-06 12:50:29 -05:00
James Willcox
39bceadc21
Bug 939276 - Use a single GLContext for all SkiaGL canvases r=jgilbert,vlad,gwright,bjacob
...
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-03-05 15:49:37 -06:00
James Willcox
9953e94be2
Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert
2014-03-05 15:48:58 -06:00
Andreas Gal
5ce95a9e25
Bug 975772 - Cleanup RectTriangles and allow DrawQuads to take triangles or triangle strips. r=bjacob
2014-03-05 14:18:38 -05:00
Sushil Chauhan
35ac903785
Bug 978341 - CompositorOGL::clearFBRect api needs to map the rect to OGL coordinates. r=jgilbert
2014-03-04 18:07:32 -08:00
Ryan VanderMeulen
af8c67273f
Merge m-c to inbound on a CLOSED TREE.
2014-02-28 16:06:20 -05:00
Milan Sreckovic
e5117a25a9
Bug 971943: 1. Remove unused variable. r=me.
2014-02-28 12:59:35 -05:00
Sushil Chauhan
9058bca2dc
Bug 976717 - Pass the Framebuffer rectangle to be cleared to LayerComposite. r=ncameron
2014-02-27 11:07:34 -08:00
Sotaro Ikeda
d4c5f44335
Bug 977596 - Fix build failure on flatfish r=jmuizelaar
2014-02-27 13:26:22 -08:00
Carsten "Tomcat" Book
ac78ac1ab1
Merge mozilla-central to b2g-inbound
2014-02-27 15:59:39 +01:00
Sotaro Ikeda
1d7fd44c1a
Bug 975384 - Add pointer check to GrallocTextureHostOGL r=nical
2014-02-27 06:40:48 -08:00
Morris Tseng
ec58a2b65a
Bug 975937 - Crash in mozilla::layers::ShaderProgramOGL::Activate(). r=gal
2014-02-26 09:04:47 -05:00
Matt Woodrow
20b7e3325b
Bug 974709 - Use a separate texture for each X11TextureSource and keep the pixmap bound. r=nical
...
--HG--
extra : rebase_source : 06012985e185f517d8a807788e35ea1efcaf39d8
2014-02-22 22:22:43 +13:00
Sotaro Ikeda
c0ff94d478
Bug 957323 - Handle android's fence on gonk r=nical,doublec,pchang
2014-02-24 20:23:41 -08:00
Morris Tseng
acfcb2590b
Bug 975121 - Fix reversed colors with gfx.xrender.enabled = false. r=gal
2014-02-24 10:09:55 -05:00
Wes Kocher
a774349143
Backed out changeset cf6a31bca4e0 (bug 939276) for webgl reftest crash
...
--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-20 15:23:52 -08:00
James Willcox
df0c006a7c
Bug 939276 - Use a single GLContext for all SkiaGL canvases r=vlad,gwright,bjacob
...
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
extra : rebase_source : 8e85dd34a67c2e193480e9f1f5baf68a898790fe
2014-02-20 16:20:28 -06:00
Ryan VanderMeulen
49bf33920f
Backed out changesets a6831c02d8cf, 5ab4f97a3220, 2784838dbc94, and 6364146ddb19 (bug 973892) for B2G bustage.
...
CLOSED TREE
2014-02-19 14:28:05 -05:00
Nicolas Silva
0b9a742df4
Bug 973892 - Fix b2g bustage on a CLOSED TREE.
2014-02-19 20:00:50 +01:00
Milan Sreckovic
aebaca5cae
Bug 971942: 3. layers.bufferrotation.enabled, layers.componentalpha.enabled, layers.scroll-graph, layers.acceleration.disabled, layers.acceleration.force-enabled moved to gfxPrefs. r=clord
2014-02-26 21:53:27 -05:00
L. David Baron
dfb9ad9186
Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
...
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Morris Tseng
3680515b7f
Bug 926128 - Use a single configurable shader in OpenGL layers backend. r=vlad, r=nical, r=gal
2013-11-07 22:22:05 -08:00
Tom Schuster
ac951e8537
Bug 973227 - Add a new X11TextureSourceOGL for upload x11 pixmaps to textures. r=nical
2014-02-18 01:30:05 +01:00
Tom Schuster
7180283dc9
Bug 973227 - Add GetBackendType to every Compositor class. r=nical
2014-02-18 01:30:05 +01:00
Matt Woodrow
58b1d4f48c
Bug 966543 - Group implementations in MacIOSurfaceTextureHost. r=nical
2014-02-18 09:36:57 +13:00
Matt Woodrow
bccfc9bf4a
Bug 966543 - null check mSurface in MacIOSurfaceTextureHostOGL. r=nical
2014-02-18 09:32:49 +13:00
Ehsan Akhgari
dc28f1ce88
Backed out 2 changesets (bug 939276) because of build bustage
...
Backed out changeset 1cedc759f877 (bug 939276)
Backed out changeset 61cef3b533ba (bug 939276)
--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-14 18:48:05 -05:00
James Willcox
7b82ee95c1
Bug 939276 - Use a single GLContext for all SkiaGL canvases r=bjacob,gwright,dglastonbury
...
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-02-14 15:55:58 -06:00
Andreas Pehrson
920f9c11d5
Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical
2014-02-13 17:27:19 +01:00
Andreas Pehrson
7969de45f2
Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical
2014-02-13 17:25:36 +01:00
Ryan VanderMeulen
87113f5765
Backed out 8 changesets (bug 959154) for various oranges.
...
Backed out changeset 00e465be0552 (bug 959154)
Backed out changeset 0f9be8d2caaf (bug 959154)
Backed out changeset 6ca9ba706c94 (bug 959154)
Backed out changeset c6ec9df2d729 (bug 959154)
Backed out changeset 53da6aef5629 (bug 959154)
Backed out changeset 88a6337fc8fb (bug 959154)
Backed out changeset b2535f63d78e (bug 959154)
Backed out changeset fffb200a94bc (bug 959154)
2014-02-14 13:30:39 -05:00
Andreas Pehrson
1eada6baf8
Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical
2014-02-13 17:27:19 +01:00
Andreas Pehrson
919b8e3183
Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical
2014-02-13 17:25:36 +01:00
Wes Kocher
57a27d0812
Merge b2g-inbound to m-c
2014-02-13 17:02:58 -08:00
Sotaro Ikeda
ccd1c78ece
Bug 946720 - Enable new textures at ContentClient/ContentHost classes on gonk. r=nical
2014-02-13 09:46:59 -05:00
Bill McCloskey
414cc1efff
Bug 963952 - [e10s] Don't use basic compositor when using D3D11 compositor (r=mattwoodrow)
2014-02-13 08:53:50 -08:00
Benoit Girard
fd8eb83796
Bug 963821 - Port FPS counter to the Compositor API. r=bas
...
--HG--
rename : gfx/layers/opengl/FPSCounter.h => gfx/layers/composite/FPSCounter.h
2014-02-10 17:14:11 -05:00
Sotaro Ikeda
95e52e8e66
Bug 962101 - Handle Remove Texture in Compositable level. r=nical
2014-02-10 15:52:35 -05:00
Sotaro Ikeda
c3d6dbc65c
Bug 966446 - Handle GrallocBufferActor::ActorDestroy for new texture. r=nical
2014-02-06 20:32:29 -05:00
Nicolas Silva
43982b2ac9
Bug 966999 - Remove some deprecated GL textures code. r=vlad
2014-02-04 21:47:20 +01:00
Matt Woodrow
0cca6cae1f
Bug 966543 - Ensure that the MacIOSurfaceTextureHost has taken a ref to the surface before letting the client side object be destroyed. r=nical
2014-02-04 12:25:22 +13:00
Jeff Muizelaar
d304a50eff
Bug 962721. Handle the flip for CopyTexImage2D. r=bjacob
...
This fixes a regression from b75d69931d4a. This call to CopyTexImage2D was
forgotten during the move to handling the flip in the compositor.
2014-01-31 10:59:14 -05:00
Vladimir Vukicevic
99fe1819f0
b=951799, cache uniforms in OGLShaderProgram, part 3 - inline; r=bjacob
2014-01-29 17:53:38 -05:00
Vladimir Vukicevic
5a9f9c3174
b=951799, cache uniforms in OGLShaderProgram, part 2 - fix LayerProgramProjectionMatrix; r=bjacob
2014-01-29 17:53:38 -05:00
Vladimir Vukicevic
0fec1fd861
b=951799, cache uniforms in OGLShaderProgram, part 1; r=bjacob
2014-01-29 17:53:37 -05:00
David Zbarsky
92ffaedc75
Bug 952977: Convert CompositingRenderTargetOGL to gfx::Matrix4x4 r=nical
2014-01-27 15:25:21 -05:00
David Zbarsky
ac7a35fed2
Bug 952977: Convert PrepareViewport to gfx::Matrix4x4 r=nical
2014-01-27 15:25:20 -05:00
David Zbarsky
0a543106f3
Bug 952977: Convert OGLShaderProgram to gfx::Matrix r=nical
2014-01-27 15:25:20 -05:00
David Zbarsky
482b98b33e
Bug 952977: Convert GetTextureTransform to gfx::Matrix4x4 r=nical
2014-01-24 17:49:02 -08:00
Nicolas Silva
53a4585145
Bug 952507 - Fix locking in double buffered ContentClient. r=nrc
2014-01-24 15:25:04 +01:00
Sotaro Ikeda
b2a19661db
Bug 959171 - Fix how to bind EGLImage in GrallocTextureHostOGL. r=nical
2014-01-24 08:30:41 -05:00
Benoit Jacob
15ef84b8b5
Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
...
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Benoit Jacob
28ff3ad25f
Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
...
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
981c6431d3
Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
...
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Carsten "Tomcat" Book
bc815aa84d
Backed out changeset 24668220c9a4 (bug 952507) for OS X Build Bustage on a CLOSED TREE
2014-01-23 15:50:14 +01:00
Nicolas Silva
627e8e82f4
Bug 952507 - Fix locking in double buffered ContentClient. r=nrc
2014-01-23 15:27:06 +01:00
Dan Glastonbury
c21ce07663
Bug 879663 - Check for GL Context validity in Pause()/Resume(). r=bjacob
2014-01-22 08:45:35 +10:00
Ryan VanderMeulen
f0a60f3d85
Backed out changeset 60698fb6579b (bug 959171) for B2G mochitest-3 crashes.
2014-01-21 15:07:48 -05:00
Sotaro Ikeda
11014e1136
Bug 961405 - Change GraphicBufferLocked as to use AtomicRefCountedWithFinalize. r=nical, r=pchang, r=doublec, r=mikeh
2014-01-21 13:53:48 -05:00
Sotaro Ikeda
64b7d94348
Bug 959171 - Fix how to bind EGLImage in GrallocTextureHostOGL. r=nical
2014-01-21 11:49:38 -05:00
Sushil Chauhan
0c00df9f0d
Bug 953303 - HwcComposer2D should honor HWC_HINT_CLEAR_FB set by hwcomposer. r=ncameron
2014-01-17 18:55:30 -08:00
Ryan VanderMeulen
6a33229e26
Backed out changeset 8a5c1027e6e6 (bug 953303) for bustage.
2014-01-17 14:50:58 -05:00
Sushil Chauhan
1a04e26921
Bug 953303 - HwcComposer2D should honor HWC_HINT_CLEAR_FB set by hwcomposer. r=ncameron
2014-01-17 11:09:01 -08:00
Bas Schouten
10785e1800
Bug 960254 - Part 2: Update some callers that write to DataSourceSurface. r=jrmuizel
2014-01-16 13:17:23 +01:00
Bas Schouten
e5a12c42d9
Backed out 5 changesets (bug 960254, bug 960354)
...
Backed out changeset 4441c32c724c (bug 960254)
Backed out changeset 4aecc5ca2a19 (bug 960254)
Backed out changeset 9f499e5f7954 (bug 960354)
Backed out changeset fd9b6b044a5a (bug 960354)
Backed out changeset c1f6fbc397bd (bug 960354)
2014-01-16 14:36:53 +01:00
Bas Schouten
ef3b38b74d
Bug 960354 - Part 2: Update some callers that write to DataSourceSurfaces. r=jrmuizel
2014-01-16 13:17:23 +01:00
David Zbarsky
7474ed0454
Bug 952977: Switch GL world transform to gfx::Matrix r=nical
2014-01-16 02:22:19 -05:00
Solomon Chiu
013e9ff633
Bug 958420 - The follow up bug for removing one additional PIXEL_FORMAT_A_8. r=mwu.
2014-01-15 18:06:53 +08:00
Solomon Chiu
b71033abcf
Bug 958420 - Remove obsolete code trying to use PIXEL_FORMAT_A_8 with gralloc. r=gal, r=pchang
2014-01-13 10:00:34 +08:00
Benoit Jacob
873406e3f0
Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:17 -05:00
Benoit Jacob
535a216635
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
290dc2d8f5
Bug 958369 - 3/5 - Make SharedTextureShareType and SharedTextureBufferType typed enums - r=jgilbert
2014-01-10 13:55:23 -05:00
Morris Tseng
2e9c7f08f9
Bug 893304 - Convert CanvasClient to new TextureClint/Host and replace SurfaceDescriptors with TextureClients inside SharedSurfaces. r=nical, r=snorp, r=jgilbert, r=bjacob
2014-01-10 08:06:06 -05:00
Andreas Pehrson
7bdbcdf838
Bug 877115 - Remove GetTexImage from GLContext helper. r=nical
2014-01-08 09:37:58 +01:00
Markus Stange
1fe1f9e192
Bug 958025 - Only enable GL_SCISSOR_TEST when we know that we have a useful scissor rect. r=bjacob
2014-01-09 17:59:32 +01:00
Daniel Holbert
61d7416f60
Bug 957499: Fix SetCompositor() signature in subclasses of NewTextureSource, to actually override the parent's impl (and to fix -Woverloaded-virtual build warnings). r=nical
2014-01-08 11:25:52 -08:00
Markus Stange
9d2935a7ed
Bug 956266 - Don't rebuffer quad vertex + texture coordinates when drawing simple quads in CompositorOGL. r=nrc
2014-01-08 13:00:04 +01:00
Markus Stange
d8a934661f
Backing out changeset 1ff04cca465b (bug 956266) due to compilation failures on Android.
2014-01-08 11:36:13 +01:00
Markus Stange
48ff985804
Bug 956266 - Don't rebuffer quad vertex + texture coordinates when drawing simple quads in CompositorOGL. r=nrc
2014-01-08 10:31:07 +01:00
Benoit Jacob
2e02a1fbed
Bug 956401 - 7/9 - CompositorOGL::{Begin,End}Frame do not need to touch the scissor rect - r=nrc
2014-01-07 15:02:19 -05:00
Benoit Jacob
85ac0b59a7
Bug 956401 - 6/9 - Remove Compositor::SaveState and Compositor::RestoreState - r=nrc
2014-01-07 15:02:19 -05:00
Benoit Jacob
32804b1954
Bug 956401 - 3/9 - Let DrawQuadInternal use ScopedScissorRect - r=nrc
2014-01-07 15:02:18 -05:00
Benoit Jacob
03d16ba92e
Bug 956401 - 1/9 - SetRenderTarget doesn't need to touch the scissor rect - r=nrc
2014-01-07 15:02:18 -05:00
Benoit Jacob
5beca4573d
Bug 956141 - Move y-flipping feature out of GLContext, into CompositorOGL - r=jgilbert,nrc
2014-01-07 15:02:18 -05:00
Benoit Jacob
c1f0c05cb0
Bug 950903 - 6/8 - Remove GLContext::GetNativeData - r=jgilbert
2014-01-07 15:02:18 -05:00
Nicolas Silva
4d46ad1708
Bug 938591 - Fix a test on a CLOSED TREE. r=me
2014-01-07 19:00:26 +01:00
Nicolas Silva
ad476e2176
Bug 938591 - Use texture flags in DataTextureSource + D3D9/11 fixes. r=nrc
2014-01-07 17:20:11 +01:00
Ryan VanderMeulen
a7ec0e89f6
Backed out changeset 403ab3213879 (bug 893304) for bustage.
2014-01-07 10:07:32 -05:00
Morris Tseng
af6ed80837
Bug 893304 - Convert CanvasClient to new TextureClint/Host and replace SurfaceDescriptors with TextureClients inside SharedSurfaces. r=nical, r=snorp, r=jgilbert, r=bjacob
2014-01-07 09:58:03 -05:00
Benoit Jacob
47e5f6dc26
Bug 949819 - Move remaining ReadPixels and GetTexImage helpers out of GLContext - r=jgilbert
2014-01-02 10:17:29 -05:00
Benoit Jacob
044d7d1535
Bug 949814 - Remove GetEGLContext and GetLibraryEGL from GLContext - r=jgilbert
2014-01-02 10:17:25 -05:00
Andreas Pehrson
af91dfe323
Bug 877115 - [Moz2Dify] Part 6. Moz2Dify SharedSurface_EGLImage::GetPixels. r=nical
2013-12-16 15:50:53 -05:00
Andreas Pehrson
f3b2403568
Bug 877115 - [Moz2Dify] Part 3. Change gfxIntSize to gfx::IntSize in GLContext::OffscreenSize and dependendent classes. r=nical
2013-12-10 17:11:58 +01:00
Ms2ger
98586cdbc1
Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc
2013-12-31 10:06:12 +01:00
Tor Arvid Lund
bbfc9d5dc7
Bug 950677 - Change all remaining gfxIntSize -> IntSize refs. r=nical
2013-12-20 11:46:30 -05:00
Tor Arvid Lund
5aafe907f1
Bug 950677 - gfxIntSize -> IntSize for Texture* classes. r=nical
2013-12-20 11:46:30 -05:00
Tor Arvid Lund
7b9c2a5b21
Bug 950677 - Change gfxIntSize -> gfx::IntSize some places in layers/ipc. r=nical
2013-12-20 11:46:28 -05:00