Benoit Jacob
c09b16d249
Bug 813783 - don't create a global context at all #ifdef ANDROID, including B2G - r=cjones
2012-11-20 21:45:13 -05:00
Chris Jones
8c1774d31e
Bug 804852: Support for the hwc implementation of Composer2D. r=mattwoodrow,mwu,roc sr=roc
...
This is a rollup of the following patches
part 0: Add a dynamic cast to ColorLayer*
part 1: Add a Composer2D interface to enable implementations to more efficiently compose layer trees
part 2: Let widgets expose Composer2Ds, if they have them
part 3: Expose a layers ogl "friend" API that Composer2D will consume
part 4: Hook Composer2D into the LayerManagerOGL rendering pipeline
part 5: Implement all the goop to let widget/gonk use a Composer2D (HwcComposer2D)
2012-11-19 09:58:38 -08:00
Nicolas Silva
0b59dd32e0
b=811115 - remove MOZ_EGL_XRENDER_COMPOSITE dead code. r=jgilbert
2012-11-18 16:47:57 +01:00
Jeff Gilbert
5434073b70
Bug 797120 - GLContext::CanUploadNonPowerOfTwo() should not call AddBoolVarCache() when off the main thread. r=bjacob
2012-11-07 11:39:38 +13:00
Jacek Caban
83588038c8
Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (gfx/gl part) r=bjacob
...
--HG--
extra : rebase_source : 1bbd8bff8a82d0c9dfb2adda52a46a43fdc6e284
2012-10-04 10:31:56 +02:00
Benoit Jacob
8088679e6b
Bug 779611 - part 4 - More WebGL extensions cleanup - r-jgilbert
2012-10-03 17:13:05 -04:00
Kan-Ru Chen (陳侃如)
f614c2fd85
Bug 788408 - Part 1. fReadPixels should also respect mFlipped. r=mattwoodrow
2012-10-02 10:42:09 +08:00
Benoit Girard
c8f1bc0779
Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey
2012-10-01 16:01:35 -04:00
Isaac Aggrey
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Benoit Jacob
2249060a44
Bug 750862 - Implement WEBGL_compressed_texture_pvrtc - r=jgilbert
2012-09-25 08:49:28 -04:00
Benoit Jacob
d4fa48d92a
Bug 790712 - Implement WEBGL_compressed_texture_atc - r=jgilbert
2012-09-25 08:49:28 -04:00
Chris Peterson
8ddd1ac010
Bug 778980 - Part 1: Fix gcc -Wconversion-null warnings in gfx/gl. r=joedrew
2012-09-14 11:52:42 -07:00
Anthony Jones
50b33c52d2
Bug 789367 - Add content preference for GTK platform; r=nrc
2012-09-16 20:23:00 -07:00
Ehsan Akhgari
bf95568d0e
Merge IonMonkey into mozilla-inbound
2012-09-11 16:38:44 -04:00
David Anderson
24145fc9a1
Merge from mozilla-central.
2012-09-10 12:16:38 -07:00
Rafael Ávila de Espíndola
305b467282
Bug 789983 - remove unused field. r=bjacob.
2012-09-11 08:59:34 -04:00
David Anderson
b0a287cfcc
Merge from mozilla-central.
2012-09-07 15:17:11 -07:00
David Anderson
043ddae94a
Merge from mozilla-central.
...
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
David Anderson
6b403f94c2
Merge from mozilla-central.
...
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Andrew Quartey
f51538ccc9
Bug 761155 - Extend Mesa LLVMpipe Preference to GLX r=bjacob
2012-09-06 20:16:30 -04:00
Luqman Aden
46d1c6ded1
Bug 714937 - Replace GFX_PACKED_PIXEL with an inline function. r=jrmuizel
2012-09-06 01:31:29 -04:00
Ehsan Akhgari
08bfa558c1
Backout changeset 25fd2119c8e1 (bug 714937) for possible orange
2012-09-06 18:51:02 -04:00
Luqman Aden
8abf3c5145
Bug 714937 - Replace GFX_PACKED_PIXEL with an inline function. r=jrmuizel
2012-09-06 01:31:29 -04:00
David Anderson
188c88907e
Merge from mozilla-central.
2012-08-22 16:09:24 -07:00
David Anderson
1ef4c57410
Merge from mozilla-central.
2012-08-21 15:59:12 -07:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Jeff Gilbert
506191ac26
Bug 735932 - Fix no-alpha ReadPixels on Mac+nVidia - r=bjacob
2012-08-31 16:47:03 -07:00
Jeff Gilbert
e635ec0e37
Bug 784925 - Add MakeCurrent for OGL Layers Readback path - r=bjacob
2012-08-31 16:44:33 -07:00
Jeff Gilbert
74efe81fba
Bug 783663 - Add ReadScreenIntoImageSurface for reading pixels from the screen - r=bgirard
2012-08-20 17:13:32 -07:00
David Anderson
a31e5baded
Merge from mozilla-central.
2012-08-14 12:20:09 -07:00
Alexander Boldyrev
45a38ebb0b
Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert
2012-08-13 18:17:55 -07:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Jeff Gilbert
9179ec36a5
Bug 766366 - Add GLContext::BlitTextureToTexture - r=bjacob
2012-08-21 20:30:20 -07:00
Jeff Gilbert
d394179aac
Bug 782785 - Use temp surfaces to ReadPixels with correct stride - r=bjacob
2012-08-21 16:13:26 -07:00
David Anderson
3ffd33a2cb
Merge from mozilla-central.
2012-08-07 15:13:28 -07:00
David Anderson
9c45c01c55
Merge from mozilla-central.
...
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
rename : browser/modules/WebappsInstaller.jsm => toolkit/webapps/WebappsInstaller.jsm
2012-08-06 12:44:06 -07:00
David Anderson
ac219f63e6
Merge from mozilla-central.
2012-08-03 18:58:30 -07:00
David Anderson
ef13f46623
Merge from mozilla-central.
2012-08-02 13:47:20 -07:00
David Anderson
bee6a61001
Merge.
...
--HG--
rename : content/base/src/nsGenericElement.h => content/base/public/FragmentOrElement.h
rename : content/base/src/nsGenericElement.cpp => content/base/src/FragmentOrElement.cpp
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-08-01 11:30:00 -07:00
David Anderson
9929d37fcc
Merge from mozilla-central.
2012-07-31 17:19:41 -07:00
David Anderson
644c651c3e
Merge from mozilla-central.
2012-07-30 13:15:39 -07:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Vladimir Vukicevic
1c05aced00
b=779019; disable added assertion due to Mac issues
2012-08-01 16:01:25 -04:00
Karl Tomlinson
3b28801ea2
b=779786 check fbconfig alpha instead of buffer size against render format r=mattwoodrow
...
--HG--
extra : transplant_source : %B6%E0%DDdG%F0%93%88%02%DDKf%D7%F8%9E%98%2A%19%92%BB
2012-08-07 13:22:23 +12:00
Mike Hommey
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Mike Hommey
4e998b1d36
Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE
2012-08-04 10:38:41 +02:00
Mike Hommey
17fb6cad2d
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 08:48:56 +02:00
Benoit Jacob
2478e097c2
Bug 778765 - Work around nouveau driver bug by changing samples=1 to samples=0 - r=jgilbert
2012-08-03 11:08:11 -04:00
Jacek Caban
c2e3337296
Bug 778129 - GLContextProviderEGL.cpp fails to compile on mingw-w64 r=snorp
2012-08-02 15:58:34 +02:00
Karl Tomlinson
e5ff09f31a
b=687831 use XSync for glXWaitX with Mesa r=mattwoodrow
...
--HG--
extra : transplant_source : I%ADPT%BA%E4%A4%C8V%D64%EF%BF%B1l%C1%D2%FEe%B8
2012-07-31 14:54:21 +12:00
Karl Tomlinson
d138dc914c
b=687831 remove unused gIsChromium r=mattwoodrow
...
--HG--
extra : transplant_source : %94nUe%29Y%A1%1B2g%10_%D0%DB%2B%C9%AAE%E1%F8
2012-07-31 14:54:21 +12:00
Karl Tomlinson
7f837343e4
b=707722 select config in CreatePixmap to match Pixmap format r=mattwoodrow
...
--HG--
extra : transplant_source : %EB%B9%B8%E1%F8%19%E8%D9%94%A3GX%DC%EC%AA%23%8Be%13%F5
2012-07-31 14:54:21 +12:00
Karl Tomlinson
efce7d7c15
b=778031 add FinishX to XSync less frequently and use it r=cjones
...
--HG--
extra : transplant_source : %BC%2C%80%F65%1DV%B7YVI%80%B2%FD%FE%F1%18G%06%26
2012-07-31 14:54:21 +12:00
Kyle Huey
674bb7388a
No bug: Fix some class/struct mismatch warnings on MSVC.
...
--HG--
extra : rebase_source : 28a4fa9689a62c497fc537d3cc7b9bae4bda8d58
2012-08-24 11:45:05 -07:00
Vladimir Vukicevic
bf0ee680e1
b=773071; more incorrect merge fixup for KHR_fence_sync; r=vlad
2012-07-30 11:07:23 -04:00
Jeff Gilbert
a7225d7ed8
Bug 736298 - Remove unused CreateForNativePixmapSurface - r=bjacob
2012-07-27 14:30:38 -07:00
Vladimir Vukicevic
9eaaa81dc3
b=773071; use KHR_fence_sync instead of GuaranteeResolve, fixup; r=jgilbert
2012-07-26 21:31:42 -04:00
Kan-Ru Chen
3687e6bf7a
Bug 777495 - Fallback to TexImage2D if unable to allocate gralloc buffer. r=cjones
2012-07-27 08:47:14 +08:00
Vladimir Vukicevic
b80c9930e9
b=779019; bustage fix
2012-08-01 15:17:55 -04:00
Vladimir Vukicevic
a78a627a93
b=779019, GLContext being destroyed on wrong thread with OMTC textures and shared handles; r=jgilbert
2012-08-01 14:57:54 -04:00
Michael Wu
8c8828422d
Bug 771653 - Use HWComposer instead of swapBuffer where appropriate, r=cjones
...
Some vendors provide a hw composer module which should be used instead of swapBuffers on hardware surfaces.
Based on romaxa's patch.
2012-08-24 15:42:45 -04:00
Kan-Ru Chen (陳侃如)
13812a1212
Bug 787045 - Call TexParameter on the correct target. r=bgirard
2012-08-30 15:39:01 -03:00
Kan-Ru Chen (陳侃如)
3c509a0dcc
Bug 786747 - Fix the BindTexture order and re-bind textures correctly. r=jgilbert
...
--HG--
extra : rebase_source : 87c790e359ca64d1b7dcc34920281e9861d16db9
2012-08-29 18:20:30 -03:00
Karl Tomlinson
37afab5866
b=780059 remove use of glXGetVisualFromFBConfig and glXCreateContext r=mattwoodrow
...
--HG--
extra : rebase_source : 1d0293d8869a477eb00fe006b72b8bc76e932711
2012-08-20 16:21:59 +12:00
Karl Tomlinson
6bf1a44d35
b=780059 combine two variables both indicating an alpha channel r=mattwoodrow
...
--HG--
extra : rebase_source : be734411d2a108e4db3f4b6be1bf97b3097d631f
2012-08-20 16:21:37 +12:00
Karl Tomlinson
b6077d3d27
b=780059 accept fbconfigs with alpha bits for opaque Pixmaps if visual matches r=mattwoodrow
...
--HG--
extra : rebase_source : 50072bf87e489781af734d3863fa1d134f7c9136
2012-08-20 16:21:07 +12:00
Jim Mathies
c71c38119d
Bug 776876 - msvc nullptr fix for GLContextProviderEGL. r=joe
2012-07-25 04:27:00 -05:00
Jim Mathies
09402fa5d6
Bug 776876- backout patch to try and fix red. r=backout
2012-07-24 15:29:30 -05:00
Jim Mathies
f5ec6a127f
Bug 776876 - vc11 nullptr fix for GLContextProviderEGL. r=joe
2012-07-24 15:07:18 -05:00
Chris Jones
73a85b798a
Bug 771350, part 1: Add GLContext::CreateDirectTextureImage and OpenDescriptorForTexturing to more easily support direct texturing without updates. r=vlad
2012-07-23 16:58:37 -07:00
Oleg Romashin
9ac5a2c10b
Bug 774841 - Call SetupLookupFunction for EGL - r=jgilbert
2012-07-23 13:39:29 -07:00
James Willcox
80029db926
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
2012-07-20 15:20:51 -04:00
Ed Morley
69ac41ee19
Backout 4987ffd173a4 (bug 687267) for bustage
2012-07-23 14:47:54 +01:00
James Willcox
9c75650095
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
...
--HG--
extra : rebase_source : 450055ae3e71ea84f74252d3bf100fe970d29d14
2012-07-20 15:20:51 -04:00
Aryeh Gregor
e57dd159b2
Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan
2012-07-20 14:16:17 +03:00
Ms2ger
0a56bc3482
Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE.
2012-07-22 14:02:18 +02:00
James Willcox
f0d7883166
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert
2012-07-20 15:20:51 -04:00
Jeff Gilbert
be44ef0388
Bug 774059 - Fix up references to glEGLImageTargetTexture2D - r=bjacob
2012-07-19 21:14:14 -07:00
Steve Fink
f20c2ef916
Backed out changeset afd9e75374e8 from a CLOSED TREE for breaking Windows builds
2012-07-19 14:55:48 -07:00
James Willcox
67949244f1
Bug 687267 - Initial support for Flash on Honeycomb r=benwa,vlad
2012-07-19 16:15:40 -04:00
Andreas Gal
bdee770482
Unbind external buffers by re-binding a dummy texture to work around GL driver issues with unlocking (bug 774530, r=cjones).
2012-07-19 11:40:04 -07:00
Jeff Gilbert
289b5c018d
Backed out changeset d4a04cc38326
2012-07-18 15:23:47 -07:00
Jeff Gilbert
c4f2d7a60e
Bug 774059 - Fix up references to glEGLImageTargetTexture2D - r=bjacob
2012-07-18 14:17:10 -07:00
Jeff Gilbert
8e80259430
Bug 774841 - Check the proper extension before using ImageTargetTexture2D - r=bgirard
2012-07-18 13:41:49 -07:00
Vladimir Vukicevic
ef9becd1a5
b=773071; use KHR_fence_sync instead of GuaranteedRsolve with EGLImage WebGL; r=jgilbert
2012-07-17 21:20:28 -04:00
Vladimir Vukicevic
ebab93cfd3
b=767064; use 4444/565 GL context format for WebGL on mobile; r=jgilbert,r=bjacob
2012-07-06 09:19:27 -04:00
Jeff Gilbert
0170beea31
Bug 758844 - Requiet gfx/gl code spew - r=bjacob
2012-07-17 08:26:12 -07:00
Kan-Ru Chen
65a340614f
Bug 774552 - Draw GraphicBuffer directly. r=roc,BenWa
2012-07-17 10:12:58 +08:00
Marco Castelluccio
aa42157325
Bug 774134 - Support S3 texture compression with Mesa drivers - r=bjacob
2012-07-16 11:36:03 -04:00
Rafael Ávila de Espíndola
cabf5ed4ca
Bug 774019 - Remove extra ; r=khuey.
2012-07-16 10:59:59 -04:00
Rafael Ávila de Espíndola
38ee4211e5
Bug 774020 - Remove extra ; r=khuey.
2012-07-16 10:59:15 -04:00
Oleg Romashin
4ed37a1e48
Bug 728524 - Invalid OP fix. r=jgilbert
2012-07-15 11:11:17 -04:00
Oleg Romashin
87c9d28596
Bug 728524 - Render to shared EGLImage/Texture implementation. r=bgirard,vlad,jgilbert
2012-05-31 21:30:08 -04:00
Oleg Romashin
e8ff7a5510
Bug 728524 - Public shared texture API + Canvas impl. r=bgirard,vlad,jgilbert
2012-05-31 21:30:08 -04:00
Benoit Jacob
8984d1e5c1
Bug 760323 - fix the --disable-webgl build - r=vladv
2012-07-10 22:32:59 -04:00
Ed Morley
e7e93c1b7e
Backout 6087689a0745, 153e82923805, 255445a0a851 (bug 728524) on suspicion of causing bug 772405
2012-07-10 16:06:42 +01:00
Phil Ringnalda
523452e9f9
Merge mozilla-central to mozilla-inbound
2012-07-09 22:24:44 -07:00
Ryan VanderMeulen
22a9fed718
Backout a516a86f854d (bug 767064) due to Android M1 orange.
2012-07-09 21:49:50 -04:00
Vladimir Vukicevic
4c6ced282f
b=767064; use 4444/565 GL context format for WebGL on mobile; r=jgilbert
2012-07-06 09:19:27 -04:00
Marshall Culpepper
4ba3595a19
Bug 749538 - Check 24bpp/RGBX_8888 and 32bpp/RGBA_8888 when validating EGL Contexts. r=vlad
2012-07-07 10:06:59 -04:00