Andreas Gal
095d4eb7ff
Bug 1012407 - Part 9: Normalize texture coordinates in DecomposeIntoNoRepeatRects (r=BenWa)
2014-05-24 02:49:41 +02:00
Carsten "Tomcat" Book
1c7db51a21
Backed out changeset c4a259f05a18 (bug 1012407) for reftest 5 test failures
2014-05-23 10:37:03 +02:00
Andreas Gal
9d1fa78b53
Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas)
2014-05-23 06:10:51 +02:00
Wes Kocher
d0cf640a86
Merge m-c to inbound
2014-05-22 17:55:00 -07:00
Wes Kocher
e4bc303ace
Merge inbound to m-c
2014-05-22 17:30:30 -07:00
Sotaro Ikeda
df4b4a2f91
Bug 1012740 - Change as not to abort in GrallocTextureHostOGL::GrallocTextureHostOGL() r=nical
2014-05-22 06:23:12 -07:00
Sotaro Ikeda
f3bdf1fc39
Bug 1012737 - Add erro check to GrallocTextureClientOGL::GetAsDrawTarget() r=nical
2014-05-22 06:17:03 -07:00
Wes Kocher
fd7188a2e3
Backed out 4 changesets (bug 1012407) for b2g reftest5 orange on an otherwise CLOSED TREE
...
Backed out changeset 08e17f48aed1 (bug 1012407)
Backed out changeset b17b7b59cf88 (bug 1012407)
Backed out changeset 1c692df3f080 (bug 1012407)
Backed out changeset 560bd45d52de (bug 1012407)
2014-05-21 18:05:15 -07:00
Andreas Gal
9f4e0487b4
Bug 1012407 - Part 8: Remove VBOArena which is now dead code (r=Bas)
2014-05-22 00:47:02 +02:00
Andreas Gal
9a083957f6
Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas)
2014-05-22 00:44:40 +02:00
Andreas Gal
8ddd1bd742
Bug 1012407 - Part 6: Eliminate VBO use and DrawQuads and manually draw no-repeat quads (r=Bas)
2014-05-22 00:23:21 +02:00
Andreas Gal
fe26dacc29
Bug 1012407 - Part 5: Allow passing a texture rectangle to BindAndDrawQuad (r=Bas)
2014-05-22 00:23:18 +02:00
Jeff Gilbert
83d027e8b7
Bug 1014961 - IOSurfs are always RGB not BGR. - r=mattwoodrow
2014-05-22 16:44:15 -07:00
Andreas Gal
9c600b1760
Bug 1012407 - Part 6: Eliminate VBO use and DrawQuads and manually draw no-repeat quads (r=Bas)
2014-05-22 12:29:56 +02:00
Andreas Gal
859d692d6a
Bug 1012407 - Part 5: Allow passing a texture rectangle to BindAndDrawQuad (r=Bas)
2014-05-22 12:29:54 +02:00
Nicolas Silva
69c73e6b6b
Bug 1013292 - Fix some using namespace + unified build issues in gfx code. r=kats
2014-05-22 12:11:45 +02:00
Andreas Gal
df606d1b94
Bug 1012407 - Part 4: Always pass the layer rect to BindAndDrawQuad (r=Bas)
2014-05-21 23:36:56 +02:00
Andreas Gal
bab0b9f3d2
Bug 1012407 - Part 3: Eliminate DrawQuadInternal since we no longer need it (r=Bas)
2014-05-21 23:26:38 +02:00
Andreas Gal
013ca12b06
Bug 1012407 - Part 2: Use Moz2D to draw velocity graph and elminiate use of GL_LINE_STRIP (r=Bas)
2014-05-21 23:24:16 +02:00
Andreas Gal
202b439890
Bug 1012407 - Part 1: Reduce amount of data uploaded to GPU (layer quad rect instead of transform) r=Bas
2014-05-21 23:03:49 +02:00
Sotaro Ikeda
ceac91078e
Bug 1011327 - Add checks around SharedBufferManagerParent
2014-05-20 13:50:25 -07:00
Chris Peterson
c98852402b
Bug 1010706 - Fix uninitialized variable warnings in gfx/layers/opengl/CompositorOGL.cpp. r=mwoodrow
2014-05-16 00:35:13 -07:00
Chris Peterson
c59284444f
Backed out changeset 9c586b1649d7 for wrong bug number: s/1007708/1010706/
2014-05-16 00:33:16 -07:00
Chris Peterson
c357a77634
Bug 1007708 - Fix uninitialized variable warnings in gfx/layers/opengl/CompositorOGL.cpp. r=mwoodrow
2014-05-14 20:15:36 -07:00
Sotaro Ikeda
60061921cb
Bug 1005908 - Avoid unnecessary fEGLImageTargetTexture2D'ing r=nical
2014-05-14 09:59:25 -07:00
Sotaro Ikeda
5bb3191d5e
Bug 971946 - Remove TextureClientData r=nical
2014-05-14 06:29:52 -07:00
Matt Woodrow
96efeab991
Bug 950312 - Part 5: Implement SCREEN and MULTIPLY for CompositorOGL. r=mtseng
2014-05-09 22:06:18 +12:00
Benoit Jacob
f789513539
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
098a829ab1
Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical
2014-04-30 21:52:00 -04:00
Jonathan Watt
2a54bb27d4
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
d8c1730c9a
Bug 989144 - Convert EffectChain::mSecondaryEffects to be an EnumeratedArray - r=nical
2014-04-25 22:34:06 -04:00
Benoit Jacob
5004258047
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
2cf9a19eef
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
c712e9ddfd
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
8c2ef6b4fe
Bug 989027 - 1/2 - Make LayerRenderStateFlags a typed enum, manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
3b123f8333
Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
dd9a0850b3
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
2db4cad49a
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
a1eb82d358
Bug 1001458 - Rename TileIterator ino BigImageIterator. r=BenWa
2014-04-28 13:27:25 +02:00
John Schoenick
caf3e8009e
Bug 977963 - Fix and re-enable linux glX texture_from_pixmap support r=mattwoodrow
2014-04-27 21:52:55 -07:00
Blair McBride
24b74a2af7
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
8956abd16d
Bug 989144 - Convert EffectChain::mSecondaryEffects to be an EnumeratedArray - r=nical
2014-04-25 22:34:06 -04:00
Benoit Jacob
a53edd3151
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
dc0b0c8367
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
fa32d42d95
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
328fe66606
Bug 989027 - 1/2 - Make LayerRenderStateFlags a typed enum, manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
49dd7d0c3f
Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
45875b18ee
Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical
2014-04-25 22:34:05 -04:00
Ed Morley
1ce229a50b
Backed out changeset d58403b60c77 (bug 959089)
2014-04-25 17:51:11 +01:00
chiajung hung
59edff0d8f
Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical
2014-04-25 02:29:00 -04:00
Nicolas Silva
8ab27731dc
Bug 993004 - Fix missing #include on a CLOSED TREE
2014-04-25 14:00:52 +02:00
Nicolas Silva
b2b18ff6c3
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
700bf7f2ee
Backed out changeset 3d116167774f (bug 993004) for bustage on a CLOSED TREE
2014-04-25 12:19:45 +02:00
Nicolas Silva
66001e57a2
Bug 993004 - Fix the clipping of tiles when the screen is rotated. r=botond
2014-04-25 11:51:17 +02:00
Jeff Gilbert
4a25e762cd
Bug 999713 - Kill WS in files we want to touch. - r=kamidphish
2014-04-22 16:23:18 -07:00
Jonathan Watt
200e95e9eb
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
384121563d
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
d3859c597c
Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
...
CLOSED TREE
2014-04-14 16:16:18 -04:00
Kyle Huey
675439ca71
Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
2014-04-14 12:04:24 -07:00
Jonathan Watt
bdf8481da2
Bug 995454 - Kill off TextureClientSurface's GetAsSurface and UpdateSurface methods (Moz2D migration). r=mattwoodrow
2014-04-13 11:07:12 +01:00
Ryan VanderMeulen
6c0f4a64ad
Merge m-c to inbound on a CLOSED TREE.
2014-04-11 16:24:56 -04:00
Sotaro Ikeda
316d03c1bf
Bug 990310 - Remove SurfaceDescriptor from media and GrallocImage r=nical,cajbir
2014-04-11 06:13:12 -07:00
Nicolas Silva
25846a1a69
Bug 991032 - Cleanup X11 TextureClient/Host. r=mattwoodrow
2014-04-11 16:15:01 +02:00
Nicolas Silva
2f082d5876
Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow
2014-04-10 10:14:28 +02:00
Carsten "Tomcat" Book
e135bfb80b
Backed out changeset 3747c80a1cde (bug 990871) for bustage on a CLOSED TREE
2014-04-10 13:15:47 +02:00
Nicolas Silva
8e5bb9bcd2
Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow
2014-04-10 10:14:28 +02:00
Kyle Huey
39e8ea0778
Back out bug 991812 for bustage on a CLOSED TREE. r=me
2014-04-08 17:26:33 -07:00
Kyle Huey
d098e8c228
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
683d2e7c77
Bug 993067 - Fix crash in GrallocTextureSourceOGL::GetAsSurface. r=Cwiiis
2014-04-08 10:04:08 +02:00
Chris Lord
6fbca10a4b
Bug 990608 - Make tile size configurable. r=tn,nical,bgirard
2014-04-04 18:42:44 +01:00
Chris Lord
a4ce071c4d
Backout 941bee559cd7 (Bug 980647) due to critical regressions on b2g
2014-04-07 13:09:44 +01:00
Matt Woodrow
e52746c78e
Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical
2014-04-07 13:32:49 +12:00
Matt Woodrow
29d8737832
Bug 991028 - Remove AutoOpenSurface. r=nical
2014-04-07 13:32:48 +12:00
Phil Ringnalda
c213611c51
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
605fb137f9
Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical
2014-04-07 13:32:49 +12:00
Matt Woodrow
178a48f9d2
Bug 991028 - Remove AutoOpenSurface. r=nical
2014-04-07 13:32:48 +12:00
Ryan VanderMeulen
27af4d423e
Backed out changeset bf184a7a1d63 (bug 990608) for Android crashes.
...
CLOSED TREE
2014-04-04 15:20:49 -04:00
Chris Lord
cee53989a7
Bug 990608 - Make tile size configurable. r=tn,nical,bgirard
2014-04-04 18:42:44 +01:00
Daniel Holbert
b6bb05e33b
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
3dadf39115
Bug 965102 - Gecko changes to set HWC_GEOMETRY_CHANGED flag appropriately. r=mattwoodrow
2014-04-03 18:59:13 -07:00
Phil Ringnalda
7139e221ae
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
3d8e4ec216
Bug 991032 - Cleanup X11 TextureClient/Host. r=mattwoodrow
2014-04-04 11:15:47 +08:00
Nicolas Silva
e7fd1ad9ea
Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow
2014-04-04 11:15:18 +08:00
Nicolas Silva
3cb6d93ac3
Bug 989904 - Remove the remaining deprecated textures code. r=mattwoodrow
2014-04-03 14:04:04 +08:00
Botond Ballo
2343facec1
Bug 984490 - Make Compositor::GetCurrentRenderTarget() const. r=nical
2014-04-02 03:27:42 -04:00
Andreas Gal
1353ac955e
Bug 978479 - Remove flipped quad texture from mQuadVBO. r=bjacob
2014-04-02 09:02:07 -04:00
Matt Woodrow
1b97a19b88
Bug 990437 - Convert ContentHostIncremental to inherit from ContentHostBase. r=nical
2014-04-02 14:45:02 +08:00
Nicolas Silva
039348f258
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
bd059637a9
Bug 989904 - Remove some of the deprecated gl textures. r=mattwoodrow
2014-04-01 14:28:18 +08:00
Benoit Jacob
b8b30aeafd
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
4ac3ff6d15
Merge b2g-inbound to m-c.
2014-03-31 17:27:57 -04:00
Sotaro Ikeda
3c541b7114
Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal
2014-03-31 08:24:28 -07:00
Benoit Jacob
dcf7236aab
Bug 987828 - 3/4 - Use IsGLES instead of IsGLES2 - r=jgilbert
2014-03-31 05:10:49 -04:00
Andreas Gal
e509f31630
Bug 978479 - remove flipped quad texture from mQuadVBO. r=bjacob
2014-03-29 20:49:00 +01:00
Andreas Gal
260e56ecba
Bug 980364 - Add GLDrawRectHelper and use it from GLBlitTextureImageHelper. r=bjacob
2014-03-30 17:37:00 +02:00
Matt Woodrow
3f532a294e
Bug 980642 - Clean up Compositor::clearFBRect API. r=roc
2014-03-28 16:38:32 +13:00
Ryan VanderMeulen
2e5f87b07d
Merge m-c to b2g-inbound.
2014-03-26 23:09:04 -04:00
Sotaro Ikeda
f788f213cf
Bug 977880 - Handle ReleaseFence on tiled thebes layer r=cwiiis,nical,BenWa
2014-03-26 18:01:15 -07:00
Nicolas Silva
b253190ddb
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
8178319bae
Bug 984823 - Use clamp to edges with tiles on b2g. r=Cwiiis
2014-03-21 13:54:13 +01:00
James Willcox
9a0238890e
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
0f10b9b7be
Bug 984618 - Clear the CompositorOGL's unused textures when aborting a frame. r=Bas.
2014-03-26 16:56:30 +01:00
Ed Morley
1207c28e56
Backed out changeset 4c963fa4683b (bug 985487)
2014-03-26 15:14:54 +00:00
James Willcox
8678be73d5
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
43a7e475d0
Bug 984437 - Remove GrallocDeprecatedTextureHostOGL. r=sortaro
2014-03-19 18:21:44 +01:00
Chris Lord
0cd6b453f9
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
cddedd8d2b
Bug 985049 - Remove gfxPlatform::SupportsAzureContent() and kill of the resulting dead code. r=mattwoodrow
2014-03-19 10:36:58 +08:00
Wes Kocher
679d927c40
Merge inbound to m-c
2014-03-18 14:15:03 -07:00
Nicolas Silva
ded04c9023
Bug 984437 - Backout for build bustage on a CLOSED TREE
2014-03-18 17:18:07 +01:00
Nicolas Silva
361bd60409
Bug 984437 - Remove GrallocDeprecatedTextureHostOGL. r=sortaro
2014-03-18 16:29:07 +01:00
Nicolas Silva
8ffce5061a
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
4e5989ae37
Bug 950050 - Use EXTERNAL for gralloc texture targets on SGX. r=nical
2014-03-18 08:12:40 +00:00
Phil Ringnalda
79bf4b1288
Merge m-c to b-i
2014-03-17 22:48:40 -07:00
Sotaro Ikeda
3f3e2f2bbe
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
75c94ab14f
Bug 983157: Backout bug 980647 (31844306c2f1, dcd632ee9a3e). r=backout
2014-03-13 18:55:52 +01:00
Matt Woodrow
2f0784d0c0
Bug 971914 - Make TextureSourceOGL responsible for tracking filter state. r=nical
2014-03-13 13:37:17 +13:00
Matt Woodrow
aa48f8996c
Bug 971914 - Don't set and restore state constantly inside CompositorOGL. r=nical
2014-03-13 13:37:17 +13:00
Nicolas Silva
0ae506a6f6
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
7d15ed1003
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
2592474737
Bug 973892 - Make TextureClient::GetAsDrawTarget work with canvas. r=bas
2014-03-17 22:35:20 +01:00
Jeff Gilbert
6027388cd9
Bug 980684 - Actually use IOSurfaces on Mac. - r=snorp
2014-03-10 19:08:50 -07:00
Jeff Gilbert
8f53ae3993
Bug 976813 - Separate ShSurf::Texture for Prod and Cons. - r=snorp
2014-03-10 19:08:49 -07:00
Bas Schouten
d301df5d45
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
e151bee907
Backed out changeset 96f2905b175d (bug 978479) for OSX reftest failures.
...
CLOSED TREE
2014-03-06 14:14:52 -05:00
Andreas Gal
eea7eaf509
Bug 978479 - Remove flipped quad texture from mQuadVBO. r=bjacob
2014-03-06 12:50:29 -05:00
James Willcox
dfee0058ef
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
1fd761ef37
Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert
2014-03-05 15:48:58 -06:00
Andreas Gal
044a8b635b
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
9443c9c242
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
7f24b975f1
Merge m-c to inbound on a CLOSED TREE.
2014-02-28 16:06:20 -05:00
Milan Sreckovic
859c5b0464
Bug 971943: 1. Remove unused variable. r=me.
2014-02-28 12:59:35 -05:00
Sushil Chauhan
a0bfa0aca9
Bug 976717 - Pass the Framebuffer rectangle to be cleared to LayerComposite. r=ncameron
2014-02-27 11:07:34 -08:00
Sotaro Ikeda
9b4a9e519a
Bug 977596 - Fix build failure on flatfish r=jmuizelaar
2014-02-27 13:26:22 -08:00
Carsten "Tomcat" Book
01f93d64ea
Merge mozilla-central to b2g-inbound
2014-02-27 15:59:39 +01:00
Sotaro Ikeda
35e512d271
Bug 975384 - Add pointer check to GrallocTextureHostOGL r=nical
2014-02-27 06:40:48 -08:00
Morris Tseng
520fcc9bd4
Bug 975937 - Crash in mozilla::layers::ShaderProgramOGL::Activate(). r=gal
2014-02-26 09:04:47 -05:00
Matt Woodrow
a09f9b9bce
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
c5c7a00346
Bug 957323 - Handle android's fence on gonk r=nical,doublec,pchang
2014-02-24 20:23:41 -08:00
Morris Tseng
644084917e
Bug 975121 - Fix reversed colors with gfx.xrender.enabled = false. r=gal
2014-02-24 10:09:55 -05:00
Wes Kocher
8d647a6ec0
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
91032a3dca
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
0cdf10592f
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
145954bedb
Bug 973892 - Fix b2g bustage on a CLOSED TREE.
2014-02-19 20:00:50 +01:00
Milan Sreckovic
710bd9d8f9
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
03ba2e465b
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
d4cdf301e3
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
c0770c2f6e
Bug 973227 - Add a new X11TextureSourceOGL for upload x11 pixmaps to textures. r=nical
2014-02-18 01:30:05 +01:00
Tom Schuster
f9c9b5dccb
Bug 973227 - Add GetBackendType to every Compositor class. r=nical
2014-02-18 01:30:05 +01:00
Matt Woodrow
dac8300bfe
Bug 966543 - Group implementations in MacIOSurfaceTextureHost. r=nical
2014-02-18 09:36:57 +13:00
Matt Woodrow
8b14ecf759
Bug 966543 - null check mSurface in MacIOSurfaceTextureHostOGL. r=nical
2014-02-18 09:32:49 +13:00
Ehsan Akhgari
5643b79842
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
ee9a1556e5
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
84d0270067
Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical
2014-02-13 17:27:19 +01:00
Andreas Pehrson
7441ec625d
Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical
2014-02-13 17:25:36 +01:00
Ryan VanderMeulen
f373429333
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
131fa96287
Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical
2014-02-13 17:27:19 +01:00
Andreas Pehrson
1aa4d83915
Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical
2014-02-13 17:25:36 +01:00
Wes Kocher
7782444919
Merge b2g-inbound to m-c
2014-02-13 17:02:58 -08:00
Sotaro Ikeda
67d2d9419d
Bug 946720 - Enable new textures at ContentClient/ContentHost classes on gonk. r=nical
2014-02-13 09:46:59 -05:00
Bill McCloskey
ac6dae6f29
Bug 963952 - [e10s] Don't use basic compositor when using D3D11 compositor (r=mattwoodrow)
2014-02-13 08:53:50 -08:00
Benoit Girard
0f3a70b95f
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
6c3be1e5b5
Bug 962101 - Handle Remove Texture in Compositable level. r=nical
2014-02-10 15:52:35 -05:00
Sotaro Ikeda
23c4f9b1c3
Bug 966446 - Handle GrallocBufferActor::ActorDestroy for new texture. r=nical
2014-02-06 20:32:29 -05:00
Nicolas Silva
cb80c3787d
Bug 966999 - Remove some deprecated GL textures code. r=vlad
2014-02-04 21:47:20 +01:00
Matt Woodrow
f571a8a02d
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
e020a18a88
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
2839e2ea5e
b=951799, cache uniforms in OGLShaderProgram, part 3 - inline; r=bjacob
2014-01-29 17:53:38 -05:00
Vladimir Vukicevic
466a30db76
b=951799, cache uniforms in OGLShaderProgram, part 2 - fix LayerProgramProjectionMatrix; r=bjacob
2014-01-29 17:53:38 -05:00
Vladimir Vukicevic
5bc7d28737
b=951799, cache uniforms in OGLShaderProgram, part 1; r=bjacob
2014-01-29 17:53:37 -05:00
David Zbarsky
a28df4889b
Bug 952977: Convert CompositingRenderTargetOGL to gfx::Matrix4x4 r=nical
2014-01-27 15:25:21 -05:00
David Zbarsky
c3de69e906
Bug 952977: Convert PrepareViewport to gfx::Matrix4x4 r=nical
2014-01-27 15:25:20 -05:00
David Zbarsky
25f1d1607d
Bug 952977: Convert OGLShaderProgram to gfx::Matrix r=nical
2014-01-27 15:25:20 -05:00
David Zbarsky
7cb634da66
Bug 952977: Convert GetTextureTransform to gfx::Matrix4x4 r=nical
2014-01-24 17:49:02 -08:00
Nicolas Silva
30b89fa3e5
Bug 952507 - Fix locking in double buffered ContentClient. r=nrc
2014-01-24 15:25:04 +01:00
Sotaro Ikeda
49020f300b
Bug 959171 - Fix how to bind EGLImage in GrallocTextureHostOGL. r=nical
2014-01-24 08:30:41 -05:00
Benoit Jacob
61df69f208
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
aebf0bb92a
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
e5ed95579b
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
9fbf4b116f
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
d2a76c0550
Bug 952507 - Fix locking in double buffered ContentClient. r=nrc
2014-01-23 15:27:06 +01:00
Dan Glastonbury
a262f2f053
Bug 879663 - Check for GL Context validity in Pause()/Resume(). r=bjacob
2014-01-22 08:45:35 +10:00
Ryan VanderMeulen
c8b84421d2
Backed out changeset 60698fb6579b (bug 959171) for B2G mochitest-3 crashes.
2014-01-21 15:07:48 -05:00
Sotaro Ikeda
4d758c0459
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
1bc5f7e8bc
Bug 959171 - Fix how to bind EGLImage in GrallocTextureHostOGL. r=nical
2014-01-21 11:49:38 -05:00
Sushil Chauhan
d008525ff7
Bug 953303 - HwcComposer2D should honor HWC_HINT_CLEAR_FB set by hwcomposer. r=ncameron
2014-01-17 18:55:30 -08:00
Ryan VanderMeulen
9d1744d14d
Backed out changeset 8a5c1027e6e6 (bug 953303) for bustage.
2014-01-17 14:50:58 -05:00
Sushil Chauhan
52c6e6f829
Bug 953303 - HwcComposer2D should honor HWC_HINT_CLEAR_FB set by hwcomposer. r=ncameron
2014-01-17 11:09:01 -08:00
Bas Schouten
fdb4be9e33
Bug 960254 - Part 2: Update some callers that write to DataSourceSurface. r=jrmuizel
2014-01-16 13:17:23 +01:00
Bas Schouten
6a885186bb
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
faa7d6f7e2
Bug 960354 - Part 2: Update some callers that write to DataSourceSurfaces. r=jrmuizel
2014-01-16 13:17:23 +01:00
David Zbarsky
3e4ce3885c
Bug 952977: Switch GL world transform to gfx::Matrix r=nical
2014-01-16 02:22:19 -05:00
Solomon Chiu
e77c298f96
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
becc2c86b9
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
f447d87c57
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
a1e7c32630
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
e89c4521fc
Bug 958369 - 3/5 - Make SharedTextureShareType and SharedTextureBufferType typed enums - r=jgilbert
2014-01-10 13:55:23 -05:00
Morris Tseng
f5d29ea6c7
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
0955c3684b
Bug 877115 - Remove GetTexImage from GLContext helper. r=nical
2014-01-08 09:37:58 +01:00
Markus Stange
6d5b2b38a2
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
8ecfc7aeb8
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