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
Markus Stange
160a80b3d7
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
4379a54037
Backing out changeset 1ff04cca465b (bug 956266) due to compilation failures on Android.
2014-01-08 11:36:13 +01:00
Markus Stange
95f05c9276
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
341c6ae819
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
0b2996dff5
Bug 956401 - 6/9 - Remove Compositor::SaveState and Compositor::RestoreState - r=nrc
2014-01-07 15:02:19 -05:00
Benoit Jacob
4a640f0b43
Bug 956401 - 3/9 - Let DrawQuadInternal use ScopedScissorRect - r=nrc
2014-01-07 15:02:18 -05:00
Benoit Jacob
2fc9601b41
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
bb2984e1eb
Bug 956141 - Move y-flipping feature out of GLContext, into CompositorOGL - r=jgilbert,nrc
2014-01-07 15:02:18 -05:00
Benoit Jacob
ba93ad0ec2
Bug 950903 - 6/8 - Remove GLContext::GetNativeData - r=jgilbert
2014-01-07 15:02:18 -05:00
Nicolas Silva
beb9fef788
Bug 938591 - Fix a test on a CLOSED TREE. r=me
2014-01-07 19:00:26 +01:00
Nicolas Silva
e8b4b086ed
Bug 938591 - Use texture flags in DataTextureSource + D3D9/11 fixes. r=nrc
2014-01-07 17:20:11 +01:00
Ryan VanderMeulen
50da738663
Backed out changeset 403ab3213879 (bug 893304) for bustage.
2014-01-07 10:07:32 -05:00
Morris Tseng
a62da0d2f4
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
1c4c105204
Bug 949819 - Move remaining ReadPixels and GetTexImage helpers out of GLContext - r=jgilbert
2014-01-02 10:17:29 -05:00
Benoit Jacob
62c75299c9
Bug 949814 - Remove GetEGLContext and GetLibraryEGL from GLContext - r=jgilbert
2014-01-02 10:17:25 -05:00
Andreas Pehrson
5cfa83a3e4
Bug 877115 - [Moz2Dify] Part 6. Moz2Dify SharedSurface_EGLImage::GetPixels. r=nical
2013-12-16 15:50:53 -05:00
Andreas Pehrson
bbf9fe777c
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
fc0c5d7215
Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc
2013-12-31 10:06:12 +01:00
Tor Arvid Lund
a9bab1983c
Bug 950677 - Change all remaining gfxIntSize -> IntSize refs. r=nical
2013-12-20 11:46:30 -05:00
Tor Arvid Lund
75798263f3
Bug 950677 - gfxIntSize -> IntSize for Texture* classes. r=nical
2013-12-20 11:46:30 -05:00
Tor Arvid Lund
0cb3c8eff8
Bug 950677 - Change gfxIntSize -> gfx::IntSize some places in layers/ipc. r=nical
2013-12-20 11:46:28 -05:00
Benoit Jacob
555568c44c
Bug 950203 - Let GfxInfo on Android create its own GL context to get GL strings, instead of waiting on the compositor's - r=jrmuizel
2013-12-18 15:49:13 -05:00
Ryan VanderMeulen
eb7ced421f
Backed out changeset 96b0ddfc63f7 (bug 893304) for causing bug 950589.
2013-12-16 22:49:02 -05:00
Nicholas Cameron
93e90b7ec1
Bug 950504. Remove MatrixForThebesMatrix. r=mattwoodrow
...
--HG--
extra : rebase_source : 77103221abbb55d23f9d399d4973ef0b8f269079
2013-12-16 11:17:58 +13:00
Morris Tseng
287ef9237a
Bug 893304 - Convert CanvasClient to new TextureClient/Host. r=nical, r=snorp, r=jgilbert
2013-12-13 12:45:13 -05:00
Tor Arvid Lund
feefccfd0c
Bug 929513 - Replace gfxIntSize in layers/AutoOpenSurface.h r=nical
...
This rippled into other replacements in layers and in gfx/gl.
2013-12-13 18:32:06 +01:00
Tor Arvid Lund
3d5f99f7f3
Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical
2013-12-13 18:32:02 +01:00
Dan Glastonbury
12a898ec8b
Bug 942506 - Remove Bind method from AutoBindTexture - r=bjacob
...
Refactored the places where AutoBindTexture::Bind was used. Replaced with a
simplier class that just saves the texture id bound to a texture unit. The
texture is bound directly instead of via the helper.
I didn't eliminate all occurences of AutoBindTexture because I a few places it
was cleaner than using AutoSaveTexture + TextureSourceOGL->BindTexture.
I extracted the cut'n'paste code that bound the mask texture to program into
BindMaskTextureForProgram. I dislike cut'n'paste code in multiple spots.
2013-12-10 16:50:52 +10:00
Dan Glastonbury
01884a573b
Bug 942506 - Remove ApplyFilterToBoundTexture from GLContext - r=bjacob
...
Move it to CompositorOGL.
2013-12-09 14:07:18 +10:00
Dan Glastonbury
eb13a35408
Bug 942502 - Move EGLImage/GraphicBuffer-specific helpers out of GLContext - r=bjacob
...
Extracted methods CreateEGLImageForNativeBuffer and DestroyEGLImage from
GLContext and moved to EGLImageHelpers.[h|cpp]. Renamed to
EGLImageCreateFromNativeBuffer and EGLImageDestroy.
2013-12-10 15:47:19 +10:00
Nicolas Silva
3629fbc964
Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow
2013-12-11 20:44:47 -05:00
Nicolas Silva
21bd46b628
Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob
2013-12-11 20:44:45 -05:00
Ryan VanderMeulen
c269bf8ea6
Backed out 17 changesets (bug 897452) for OSX crashes on a CLOSED TREE.
...
Backed out changeset 11ad8608bc27 (bug 897452)
Backed out changeset 6bcc629e76f9 (bug 897452)
Backed out changeset b91c858a43f5 (bug 897452)
Backed out changeset 38ba49ee3e97 (bug 897452)
Backed out changeset ea184ef84762 (bug 897452)
Backed out changeset 686cc5122149 (bug 897452)
Backed out changeset 3685a8018e49 (bug 897452)
Backed out changeset be7ef6240068 (bug 897452)
Backed out changeset f95c20e70947 (bug 897452)
Backed out changeset 4a370d2a1c62 (bug 897452)
Backed out changeset 1222f6ab66d2 (bug 897452)
Backed out changeset 5e9d3c681ee9 (bug 897452)
Backed out changeset 3b9ddce12b7a (bug 897452)
Backed out changeset 7aec6387f3e9 (bug 897452)
Backed out changeset eb1fe464fdaf (bug 897452)
Backed out changeset 07deaa53b6fd (bug 897452)
Backed out changeset ddab7d071d69 (bug 897452)
2013-12-11 14:52:50 -05:00
Nicolas Silva
e3132d6da3
Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow
2013-12-11 13:05:13 -05:00
Nicolas Silva
d624f90dd5
Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob
2013-12-11 13:05:11 -05:00
Edwin Flores
0920b6c4c8
Bug 934412 - Pass surface image format into CreateTextureImage r=nical
2013-12-11 15:14:16 +01:00
Nicholas Cameron
9bfee51338
Bug 946958 part 4. Tidy up interaction with widgets. r=kats
2013-12-09 14:40:59 +13:00
Nicholas Cameron
67f3ec8830
Bug 946958 part 1. Remove GetWidgetSize. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Birunthan Mohanathas
3440613a39
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Phil Ringnalda
74b2dea823
Backed out 7 changesets (bug 946958, bug 865033)
...
Backed out changeset 6dd0a6cb9ab3 (bug 946958)
Backed out changeset 498152aec5b1 (bug 946958)
Backed out changeset 7d035322f51d (bug 946958)
Backed out changeset 99f8ad7561ef (bug 946958)
Backed out changeset 4639c5abea80 (bug 946958)
Backed out changeset 9d1a4d83eccf (bug 865033)
Backed out changeset 41839e4026bc (bug 865033)
2013-12-08 18:43:45 -08:00
Nicholas Cameron
93ca5b4477
Bug 946958 part 4. Tidy up interaction with widgets. r=kats
2013-12-09 14:40:59 +13:00
Nicholas Cameron
704d5f6e5b
Bug 946958 part 1. Remove GetWidgetSize. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Dan Glastonbury
1a74976806
Bug 942507 - GLContext doesn't need to have userdata. r=bjacob
2013-12-06 10:23:16 -05:00
Nicholas Cameron
6083fff067
Bug 893301. Rollup patch - new textures content. r=nical,nrc
2013-12-06 07:39:22 +13:00
Benoit Jacob
12ae30d582
Back out bug 893301 for accidentally disabling gralloc for thebes layers on B2G - no review, bustage fix on a CLOSED TREE
2013-12-04 12:19:50 -05:00
Benoit Jacob
6896c52e8a
Bug 942499 - Part 2: Move CanUploadNonPowerOfTwo out of GLContext; remove the gfx.textures.poweroftwo.force-enabled preference - r=gal,BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
30d72ed7e8
Bug 942499 - Part 1: Move CanUploadSubTextures and WantsSmallTiles out of GLContext - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
884f878ce5
Bug 942509 - Move Upload* functions to new GLUploadHelpers files - r=gal,jgilbert
2013-12-03 13:44:38 -05:00
Benoit Jacob
988099a6e9
Bug 942501 - Part 3: move CreateTextureImage and TileGenFunc out of GLContext - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
41b5c423b1
Bug 942505 - Move everything SharedHandle-related out of GLContext - r=jgilbert
2013-12-03 13:44:38 -05:00
Nicolas Silva
ad0f0f87ff
Bug 929506 - Check that gl->MakeCurrent returns true when using OpenGL on the Compositor side. r=bjacob
2013-12-03 11:44:46 +01:00
Nicholas Cameron
6b5c57b8c4
Bug 893301. Some rebasing fixes. r=nical
2013-11-28 10:16:35 +13:00
Ryan VanderMeulen
3c8b758627
Merge inbound to m-c.
2013-12-02 16:39:00 -05:00
Benoit Girard
55a288a123
Bug 944866 - Pat 1: Add DrawLines to Compositor.h and implement for OGL. r=gal
2013-12-01 15:54:46 -05:00
Dan Glastonbury
7f73b68e55
Bug 830881 - Port layerscope GL changes to new layers. r=vlad
2013-11-29 14:11:49 +10:00
Benoit Jacob
1095b2aa48
Bug 942503 - Move BlitTextureImage out of GLContext - r=jgilbert
2013-11-28 15:57:19 -05:00
Benoit Jacob
3b791ff17d
Bug 944172 - Move DecomposeIntoNoRepeatTriangles out of GLContext - r=BenWa
2013-11-28 15:57:19 -05:00
Andreas Pehrson
22bc27eb6f
Bug 907292 - Change gfxImageSurface to gfx::DataSourceSurface in TextureHost et al
2013-11-27 10:59:01 +01:00
Nicholas Cameron
69b1f7b81d
Bug 924403. Rename OGL shaders files. r=mattwoodrow
...
--HG--
rename : gfx/layers/opengl/LayerManagerOGLProgram.cpp => gfx/layers/opengl/OGLShaderProgram.cpp
rename : gfx/layers/opengl/LayerManagerOGLProgram.h => gfx/layers/opengl/OGLShaderProgram.h
rename : gfx/layers/opengl/LayerManagerOGLShaders.h => gfx/layers/opengl/OGLShaders.h
rename : gfx/layers/opengl/LayerManagerOGLShaders.txt => gfx/layers/opengl/OGLShaders.txt
2013-11-27 11:15:17 +13:00
Nicolas Silva
717653dea3
Bug 924403 - Send non-OMTC GL layers into oblivion. r=nrc
2013-11-27 11:15:17 +13:00
David Anderson
54fffb1db4
Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc).
2013-11-21 11:25:16 -08:00
James Willcox
ed0a7770ab
Bug 928804 - Always use an up-to-date texture transform when compositing SharedTextureSourceOGL r=nical
2013-11-19 08:41:57 -06:00
Benoit Jacob
41b487f47a
Bug 938970 - 5/5. Switch gfx/layers to UNIFIED_SOURCES - r=ehsan,mattwoodrow
2013-11-17 21:07:08 -05:00
Benoit Jacob
20541fa720
Bug 938970 - 4/5. Some gralloc-related tweaks required to build with UNIFIED_SOURCES - r=Bas
2013-11-17 21:06:25 -05:00
Benoit Jacob
bdd8f93313
Bug 938970 - 1/5. Move MacIOSurfaceTexture* classes to separate files, minimize the number of cpp files including MacIOSurface.h - r=mattwoodrow
2013-11-17 21:04:38 -05:00
Benoit Girard
5aa117f19b
Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc
2013-11-17 16:47:40 -05:00
Robert O'Callahan
cdd20f889b
Bug 938316. Work around fractional texture resampling issues by switching to NEAREST sampling when we're doing a pixel-aligned compositing operation. r=jrmuizel
...
--HG--
extra : rebase_source : ec49c8c8993af402a24b57efbaea743d39dcd89c
2013-11-13 23:56:11 +13:00
Robert O'Callahan
e7d74047b5
Bug 937987. Don't use lowp for texture coordinates. Only use it for colors. r=bjacob
...
--HG--
extra : rebase_source : 9dd8bcebb8b8ef3666f4deae1b1c49dc89bc4486
2013-11-13 17:45:19 +13:00
Benoit Jacob
acdb7ab005
Bug 937204 - 3/3. Kill GfxInfoThread. Instead, get GL strings from the compositor - r=kats,jrmuizel
2013-11-15 11:28:43 -05:00
Jeff Muizelaar
128a356ee1
Bug 929471. Make CGLTexImageIOSurface2D take a CGLContextObj instead of a NSOpenGLContext. r=bgirard
2013-11-07 22:53:54 -05:00
Matt Woodrow
9f29749647
Bug 35380 - Part 5: Remove aOffset from everywhere. r=nrc
2013-11-07 22:53:08 +13:00
Matt Woodrow
374a9070c7
Bug 935380 - Part 4: Make the Compositors use the RenderTarget's origin instead of aOffset. r=nrc
2013-11-07 22:53:08 +13:00
Matt Woodrow
88de3c4def
Bug 935380 - Part 3: Make CompositingRenderTarget store it's origin. r=nrc
2013-11-07 22:53:08 +13:00
Matt Woodrow
51611f31d6
Bug 935380 - Part 2: Pass the actual rect that the RenderTarget represents as the first parameter to CreateRenderTarget. r=nrc
2013-11-07 22:53:07 +13:00
Matt Woodrow
a349950ad5
Bug 935380 - Part 1: Remove INIT_MODE_COPY since it was invalid for callers to use it. r=nrc
2013-11-07 22:53:07 +13:00
Matt Woodrow
43199694b8
Bug 934860 - Move paint region clipping into DrawThebesLayer. r=roc
2013-11-07 08:10:50 +13:00
Ed Morley
2153b816b9
Backed out changeset f24ee0606ea6 (bug 926128) for reftest failures on OS X & crashes on B2G on a CLOSED TREE
2013-11-01 15:51:32 +00:00
Andreas Gal
6be862a938
Bug 926128 - Use a single configurable shader in OpenGL layers backend. r=vlad, r=nical
2013-11-01 09:29:20 -04:00
Matt Woodrow
19adca2566
Bug 887791 - Add a TextureHost implementation for MacIOSurface. r=nical
2013-11-01 14:54:14 +13:00
Matt Woodrow
858f960ea3
Bug 887791 - Add a TextureClient implementation for MacIOSurface. r=nical
2013-11-01 14:54:14 +13:00
Ms2ger
9b89f4d9e2
Bug 923249 - Remove some prtypes use in gfx/; r=roc
2013-10-20 09:25:20 +02:00
Sotaro Ikeda
49db7bff2e
Bug 925381 - Fix mpeg4 video seek failure. r=nical, r=doublec
2013-10-17 11:09:15 -04:00
Andreas Gal
1929e75948
Bug 923409 - Draw FPS counter with a single GL call and eliminate last use of Copy2D program (r=BenWa).
2013-10-13 09:10:13 -07:00
Markus Stange
4670e7ef81
Bug 923650 - Restore scissor rects in CompositorOGL more diligently. r=mattwoodrow
...
--HG--
extra : rebase_source : 5a3cccbd38b18aaa8536382ff744a871646ee786
2013-10-11 10:29:35 -04:00
Nicolas Silva
354c5a6223
Bug 923917 - Properly set the y-flip flag in SharedTextureClientOGL. r=Bas
2013-10-09 18:20:57 -07:00
Nicholas Cameron
cfa81cf3d7
Bug 854873. Keep scissor rect enabled. r=kats,nical
2013-10-05 01:03:09 +13:00
Nicolas Silva
fb7278e4bc
Bug 916118 - Simplify the TextureClient deallocation protocol. r=nrc
2013-10-02 13:52:04 -07:00
Nicolas Silva
e422a66147
Bug 922202 - Make PlanarYCbCrImage::Data forward-declarable and remove some header includes. r=bjacob
2013-10-01 17:57:50 -07:00
Ehsan Akhgari
b155782d0a
Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Nicolas Silva
302198d77d
Bug 916116 - Rename CompositableQuirks. r=bjacob
2013-09-30 14:14:38 +02:00
Matt Woodrow
f3fe15f33a
Bug 921233 - Enabled azure for main-thread drawing on OSX. r=jrmuizel
2013-09-30 12:17:35 +13:00
Ehsan Akhgari
cef422f307
Forward declare gfxMatrix as a struct, no bug
2013-09-28 18:20:45 -04:00
Ryan VanderMeulen
a0f5674202
Backed out changeset a77f7d610829 (bug 821474) for leaks.
...
CLOSED TREE
2013-09-27 16:12:28 -04:00
Nicolas Silva
70bd57c168
Bug 821474 - Add memory reporting for Shmem and Memory texture clients. r=BenWa
2013-09-27 20:17:15 +02:00
Nicholas Cameron
009454da8e
Bug 882113. Azurification of compositor classes. r=mattwoodrow
2013-09-27 12:37:19 +12:00
Nicolas Silva
e3ef6e63f3
Bug 916118 - Backed out changeset bafb8bf3b279 on a CLOSED TREE
2013-09-26 19:06:12 +02:00
Nicolas Silva
bc11135ff0
Bug 916118 - Simplify the deallocation flags in TextureClient/Host. r=nrc
2013-09-26 18:00:23 +02:00
Robert O'Callahan
fe273715cd
Bug 914426. Don't try to dump DeprecatedTextureHost contents unless HTML tree dumping is enabled. Also, be lenient about null values and unknown formats. r=nrc
...
--HG--
extra : rebase_source : bc7aff0dacdea4a7c71bdb659774fd96a25fa529
2013-09-09 17:08:42 -07:00
Benoit Jacob
eb8b1d73bb
Bug 913872 - Take nested enums out of gfxASurface - 3/3 : remove the now-useless inclusions of gfxASurface.h - r=jrmuizel
2013-09-24 16:45:14 -04:00
Benoit Jacob
55d6cf1e20
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Benoit Girard
c6760a62f1
Bug 919712 - Add labels in IPC message wait. r=benjamin
2013-09-24 11:40:01 -04:00
Benoit Jacob
57f2bcf3fa
Bug 900020 - fix compilation - no review, bustage
2013-09-24 08:21:55 -04:00
Benoit Jacob
fa992cb104
Bug 900020 - Renew the surface when we hit an incomplete default framebuffer in the compositor - r=nrc
2013-09-24 07:54:07 -04:00
Nicolas Silva
32a2e7bb30
Bug 918078 - Do not require locking in TextureHost::PrintInfo. r=BenWa
2013-09-23 13:28:40 +02:00
Benoit Jacob
2dcf3bf15d
Bug 915869 - Let the GrallocBufferActor keep an _array_ of backrefs to TextureHosts referencing it - r=nical
2013-09-17 14:48:08 -04:00
Sotaro Ikeda
848985c5e5
Bug 916264 - Delete texture to unbound from texture. r=nical
2013-09-17 11:10:25 -04:00
Ryan VanderMeulen
c5731e7404
Backed out changeset 41f37e48b6e7 (bug 916264) for landing with the wrong bug # in the commit message.
...
Landed as bug 909746.
2013-09-17 14:28:29 -04:00
Sotaro Ikeda
673a4107bd
Bug 909746 - Delete texture to unbound from texture. r=nical
2013-09-17 11:10:25 -04:00
Nicolas Silva
fbfc359172
Bug 916116 - Avoid some code duplication in Gralloc textures. r=sotaro
2013-09-17 15:29:19 +02:00
Nicolas Silva
dcc027a23f
Bug 916116 - Remove useless #if 1. r=bjacob
2013-09-16 19:04:36 +02:00
Sotaro Ikeda
59015a6eb6
Bug 912134 - allocate texture per CompositableHost. r=jmuizelaar,bjacob
...
The fundamental change of approach in this patch is that now the temporary
texture is per-compositable.
Originally, the temporary texture was per-TextureHost. That was too many
temporary textures. With Nical's work in bug 875211, that switched to having a
temporary texture per compositor only. That's what turned out to be too few.
Now we have one per compositable which is fewer than one per TextureHost,
because e.g. a ContentHost, which is a single Compositable, may have 2
TextureHosts to implement double-buffering.
2013-09-12 22:39:26 -04:00
Ryan VanderMeulen
fd143fc064
Merge m-c to b2g-inbound.
2013-09-12 20:41:54 -04:00
Nicolas Silva
1393f32821
Bug 913821 - Conservatively ensure that TextureClients/Hosts are removed at the end of a video. r=sotaro
2013-09-12 16:50:35 +02:00
Nicolas Silva
f8616ba377
Bug 901224 - Postpone deallocation of shared data to the end of the next transaction. r=sotaro
2013-09-12 16:50:28 +02:00
Ed Morley
ebfcb6a119
Merge mozilla-central and b2g-inbound
2013-09-12 12:09:58 +01:00
Sotaro Ikeda
422e8f19e2
Bug 871364 - Support GonkNativeWindow on gonk-JB r=jmuizelaar,mwu,doublec,mikeh,glandium
2013-09-12 11:40:26 +02:00
Matt Woodrow
fc0b8ab200
Bug 914505 - Make sure that ThebesLayerBuffer::SupportsAzureContent is correct for the first frame. r=nrc
2013-09-12 16:53:46 +12:00
Benoit Jacob
e77507fa87
Bug 912725 - Do the registration of the TextureHost with the mBuffer exactly when we overwrite *mBuffer, so that in particular we don't do a bogus registration in the single-buffered case - r=nical
2013-09-11 13:39:04 -04:00
Benoit Girard
f11fc41386
Bug 914656 - Annotate the compositor thread for profiling. r=jrmuizel
2013-09-10 15:56:49 -04:00
Matt Woodrow
fa8f16578a
Bug 912173 - Always AddRef and Release the GLContext when sharing a SurfaceStream to avoid mismatches. r=nrc
2013-09-09 14:35:20 +12:00
Nicholas Cameron
6bb0b5ed84
Don't include mozilla-config.h in gfx.layers. No bug. r=me
2013-09-09 08:55:48 +12:00
Benoit Jacob
4dbb3d0ca3
Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel
2013-09-06 22:15:49 -04:00
Benoit Jacob
a653be5aa4
Bug 912974 - Split two classes out of GLContext.h, and remove many #includes in GLContext.h - r=jrmuizel
2013-09-06 22:13:37 -04:00
Benoit Jacob
29823d2d34
Bug 912042 - Remove the last occurences of #include "GLContext.h" in remaining headers - r=jrmuizel
2013-09-06 22:11:41 -04:00
Ryan VanderMeulen
10c13ed83a
Merge m-c to inbound.
2013-09-11 22:20:33 -04:00
Andreas Gal
2dd06df490
Follow-up fix for bug 915342 (pushed the original patch without fixing a nit).
2013-09-12 00:07:29 +02:00
Andreas Gal
5ba463915b
Display fill ratio when showing FPS counter (bug 915342, r=bgirard).
2013-09-11 23:57:23 +02:00
Nicolas Silva
afe16b3948
Bug 912040 - Make sure deallocating shared texture data doesn't race with TextureClient access. r=sotaro
2013-09-06 11:04:50 +02:00
Benoit Jacob
8ec75b058c
Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel
2013-09-04 08:14:52 -04:00
Nicholas Cameron
31ac189fe3
Bug 786412. Conslidate container layer methods. r=mattwoodrow
2013-09-02 10:19:18 +12:00
Sotaro Ikeda
5c91bc50ef
Bug 910928 - Fix build and class function override for new gralloc textures. r=nical
2013-08-30 10:24:05 -04:00
Nicolas Silva
a9764d8417
Bug 907745 - Gralloc implementaion of the new texture client/host. r=pchang, bjacob
2013-08-09 17:23:46 +02:00
Nicholas Nethercote
23e35ad8e1
Bug 831193 (part 10) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in parts of gfx/. r=bjacob.
...
--HG--
extra : rebase_source : 433b12748c8562b384a02fbee6d98e3bc991802d
2013-01-17 16:45:11 -08:00
Matt Woodrow
709eb0737a
Bug 907792 - Use SharedTextureClientOG for SharedTextureImage. r=nical
2013-08-28 08:16:54 +12:00
Ryan VanderMeulen
e46507ad7c
Backed out changeset a255d2d2b67f (bug 907792) for OSX mochitest asserts on a CLOSED TREE.
2013-08-27 13:07:33 -04:00
Matt Woodrow
d9ca7b40f6
Bug 907792 - Use SharedTextureClientOGL when needed. r=nical
2013-08-27 11:50:24 +12:00
Andreas Gal
164e5670d8
Bug 909113 - Make FPS counter code a bit more readable. r=jgilbert
2013-08-27 09:01:45 -04:00
Gabriele Svelto
91c1a25d52
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Ms2ger
47f9af7214
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Gabriele Svelto
795d28ed67
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Andreas Gal
d09cc971a6
Bug 905589 - Use VBO instead of client side rendering. r=bas
2013-08-22 15:04:55 -04:00
Jan Beich
58aa335563
Bug 907837 - Fix IWYU false positive to unbreak non-SPS build. r=nrc
2013-08-22 19:11:47 +12:00
Nicholas Cameron
73aeda1397
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Matt Woodrow
edd0212608
Bug 904620 - Always send a transaction when we get a WebGL update to ensure that we get a composite. r=nrc
2013-08-20 11:39:55 +12:00
Nicolas Silva
510cee9244
Bug 858914 - Various TextureClient/Host cleanups. r=nrc.
2013-08-08 14:53:12 +02:00
Adrian May
c1c1f4e2e2
Bug 877115 - Moz2Dify GLContext and GLTextureImage. r=nical
2013-08-13 15:44:53 +02:00
Phil Ringnalda
d2099e030b
Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
...
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron
5cd4425728
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Nicholas Cameron
dcdeebdb8d
Bug 901722. Fix up component alpha/sub-pixel AA enablement. r=mattwoodrow
2013-08-09 11:30:19 +12:00
Edwin Flores
803c0fbe47
Bug 892934 - Pass RGB image format into CreateTextureImage r=mattwoodrow
2013-08-08 10:38:21 +12:00
Milan Sreckovic
56587a4366
Bug 900729: Make TextureFlags constant names (UseNearestFilter, NeedsYFlip, AllowRepeat, NewTile, ComponentAlpha) all caps in CompositorTypes.h and prefix them with TEXTURE_ for consistency and uniqueness. r=nsilva.
2013-08-06 13:36:35 -04:00
Nicolas Silva
ab50fdabca
Bug 900793 - Rename TextureSourceOGL::ReleaseTexture into UnbindTexture. r=nrc
2013-08-05 12:15:21 +02:00
Nicholas Cameron
f742a26a6e
Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow
2013-08-04 19:46:17 +12:00
Matt Woodrow
1c112a09e7
Bug 900133 - Recreate the TextureClient for an ImageClient if the image size changes. r=nical
2013-08-03 13:29:18 -04:00
Wes Kocher
67614e96b8
Backed out 6 changesets (bug 900133, bug 881634, bug 893302) for build bustage
...
Backed out changeset 49632bc14e27 (bug 900133)
Backed out changeset 036780fccc89 (bug 900133)
Backed out changeset b8db58f5e209 (bug 893302)
Backed out changeset 67c3e4204e44 (bug 893302)
Backed out changeset a857a4246dd9 (bug 900133)
Backed out changeset e0e2e27af6c1 (bug 881634)
2013-08-02 20:35:39 -07:00
Matt Woodrow
855714ea54
Bug 900133 - Recreate the TextureClient for an ImageClient if the image size changes. r=nical
2013-08-02 22:59:26 -04:00
Matt Woodrow
98941e95cf
Bug 900133 - Support MaskLayers that are backed by a NewTextureHost. r=nical
...
--HG--
extra : rebase_source : 8494dd32a837fc1ca44ed7c838e4def84f3292e1
2013-08-01 21:12:16 -04:00