Jeff Muizelaar
bb0dd83bc0
Bug 929471. Make CGLTexImageIOSurface2D take a CGLContextObj instead of a NSOpenGLContext. r=bgirard
2013-11-07 22:53:54 -05:00
Matt Woodrow
d9ec8ef287
Bug 887791 - Remove a bunch of now-unused SharedTextureHandle code. r=roc
2013-11-01 14:54:15 +13:00
Markus Stange
b5c797bb1b
Bug 923114 - Clear the current GL context when we're about to destroy it. r=mattwoodrow
2013-10-09 10:39:22 -04:00
Ryan VanderMeulen
1ccc84a275
Backed out 8 changesets (bug 914437, bug 886999, bug 890997, bug 923114, bug 923133) for suspicion of causing frequent OSX mochitest-2 timeouts on a CLOSED TREE.
...
Backed out changeset e934fda24887 (bug 890997)
Backed out changeset 058c2432bff5 (bug 886999)
Backed out changeset 34d9056bf553 (bug 886999)
Backed out changeset 3f053c13cf4e (bug 914437)
Backed out changeset 1f436fd67cdb (bug 886999)
Backed out changeset 7c914b3e8d27 (bug 923133)
Backed out changeset e6fdf5fd28c5 (bug 923114)
Backed out changeset b0700255080c (bug 914437)
2013-10-09 14:33:01 -04:00
Markus Stange
8cc6ce1f42
Bug 923114 - Clear the current GL context when we're about to destroy it. r=mattwoodrow
...
--HG--
extra : rebase_source : 6cb49ed36b4ca3196b047de3b929abbf0e323e84
2013-10-09 10:39:22 -04:00
Matt Woodrow
a7d36118a0
Bug 903296 - Copy the entire device pixel size of MacIOSurface when reading back to an image surface. r=BenWa
2013-09-30 12:21:44 +13:00
Benoit Jacob
c1d7f88886
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 Jacob
590564045c
Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel
2013-09-04 08:14:52 -04:00
Edwin Flores
c80309e9c2
Bug 892934 - Pass RGB image format into CreateTextureImage r=mattwoodrow
2013-08-08 10:38:21 +12:00
Avi Halachmi
ed3a4890f3
Bug 888899 - Part 2 - Uses layout.frame_rate=0 for ASAP mode instead of 10k. r=jrmuizel
2013-08-02 23:29:57 +03:00
Guillaume Abadie
d5c2e9336d
bug 899264 - Add OpenGL version and profile support in GLContext - r=jgilbert
2013-08-01 19:43:27 -04:00
Matt Woodrow
749d37fb57
Bug 875232 - Make alpha channel optional for MacIOSurface. r=BenWa
2013-07-17 23:24:14 -04:00
Avi Halachmi
80cb6231b8
Bug 888899: Allow fast iterations of the refresh driver on OS X. r=jrmuizel
2013-07-09 03:06:14 +03:00
Matt Woodrow
70d581c00d
Bug 890950 - Tell OpenGL that our texture upload data is in BGRA format on OSX. r=jrmuizel
...
This matches the format used internally and prevents the driver from having to do a conversion. We then add a swizzle to the shaders so that we get the correct colors drawn.
2013-07-09 10:13:33 -04:00
Andreas Gal ext:(%2C%20Milan%20Sreckovic%20%3Cmilan%40mozilla.com%3E)
0ffb387490
Bug 867460: remove notion of ShaderProgramTypes from gfx/gl. Carry r=bas. r=bgirard for the changes.
2013-07-04 13:25:50 -04:00
Ehsan Akhgari
5827b2e86b
Backed out changeset 1bf0cdeacb22 (bug 867460) for assertions in various test suites
...
Landed on a CLOSED TREE
2013-06-25 21:39:07 -04:00
Andreas Gal
a7c3879a87
Bug 867460 - Remove notion of ShaderProgramTypes from gfx/gl. r=bschouten, sr=joe
2013-06-24 13:05:13 -04:00
Matt Woodrow
15a9d23473
Bug 870211 - Revert to using BasicTextureImage on CGL. r=roc
2013-05-13 16:52:55 +12:00
Matt Woodrow
6516c11eb3
Bug 756601 - Use TextureImageCGL again, and used TiledTexturedImage for large textures. r=BenWa
2013-05-10 09:02:48 +12:00
Matt Woodrow
d5272650f7
Bug 864287 - Add back code to readback IOSurface plugins when using BasicLayers. r=BenWa
2013-05-01 17:03:27 +12:00
Matt Woodrow
5f39aac0c3
Bug 860615 - Add SharedTextureHandle support to GLContextCGL. r=jgilbert
2013-04-17 14:21:06 +12:00
Matt Woodrow
c5e0409372
Bug 860615 - Add CreateSharedHandle to GLContextProvider so we can create one without a GLContext. r=jgilbert
2013-04-17 14:21:06 +12:00
Benoit Girard
fc10a7cfe4
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
9d12529d78
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Ed Morley
b2109c458f
Backed out changeset c75481a07302 (bug 851611)
2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9
Backed out changeset d195190adc48 (bug 851611)
...
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
664cf994b4
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
c4c6a0ddf5
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Markus Stange
7c0d42e1af
Bug 676248 - Make the window GL context transparent on OSX. r=bgirard
2013-03-11 12:29:00 -04:00
Jeff Gilbert
a431f211d3
Bug 845482 - Init scissor box values on offscreen context init - r=bjacob
2013-03-04 16:44:31 -08:00
Jeff Gilbert
4ed4901299
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
...
--HG--
extra : rebase_source : 3fb4230127df8a265d930fb779bdc93e05626c8b
2013-02-13 15:26:24 -08:00
Ed Morley
c878d63b6a
Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts
2013-02-21 19:54:25 +00:00
Jeff Gilbert
1da9dd6cd2
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
...
--HG--
extra : rebase_source : 5dad29809733a54a19cd3e5030498f00597d1dc8
2013-02-13 15:26:24 -08:00
Ryan VanderMeulen
438b3ab061
Backed out changeset b46c006a7696 (bug 716859) and changeset 6a14e4c15aa6 (bug 841836) for B2G test failures on a CLOSED TREE.
2013-02-20 10:01:20 -05:00
Jeff Gilbert
d348a03b58
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
2013-02-13 15:26:24 -08:00
Benoit Girard
0bcedf360a
Bug 815602 - Fix invalid drawable error in console after starting Firefox. r=mattwoodrow
...
--HG--
extra : rebase_source : c24a03252404ac5d25d4fdb62c6f749ea34dab86
2013-01-28 16:57:33 -05:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04: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
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Jeff Gilbert
a7225d7ed8
Bug 736298 - Remove unused CreateForNativePixmapSurface - r=bjacob
2012-07-27 14:30:38 -07:00
Andrew Quartey
2760bcfb43
Bug 731836 - Add preference to use Mesa LLVMpipe for software rendering - r=bjacob
2012-06-02 12:05:45 -04:00
Jeff Muizelaar
16e3270867
Bug 748816. Set the swap interval to 1 on OS X. r=bgirard
...
This fixes the tearing we get on OS X with OpenGL layers.
It does cause us to occasionally block waiting for vsync.
This isn't ideal but I think it's better than tearing.
OMTC should help us remove this wait.
--HG--
extra : rebase_source : 97739bb0a1a5094ff92e26f5513558ae389ae560
2012-05-24 00:40:40 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benoit Jacob
0e96bf2ae1
Back out patches from bug 749678, except for the include guards - no review, fix regression (Bug 753350)
...
Unfortunately, in-process plugins using OpenGL break the assumption made by these patches, that the current GL context is only changed by GLContext::MakeCurrent. Another issue, regardless of in-process, is that our host-side code in nsCoreAnimationSupport.mm uses direct CGL calls, bypassing GLContext.
2012-05-12 19:23:56 -04:00
Paul O’Shannessy
b570c3ad27
Bug 753854 - -[NSOpenGLPixelFormat initWithAttributes] should be passed a 0 terminated array. [r=joe]
2012-05-10 12:56:42 -07:00
Benoit Jacob
875848ef77
Bug 739648 - add mFlags field to TextureImage; introduce GetSrcTileRect flipping tile y-coords as needed; use it in DirectUpdate() to fix WebGL compositing bug - r=bgirard
2012-05-09 16:55:31 -04:00
Benoit Jacob
62e96f6fcf
Bug 749678 - 3/5 - stop calling platform-specific getCurrentContext functions - r=jrmuizel
2012-05-08 09:47:34 -04:00
Matt Woodrow
1f7f37f7e0
Bug 739490 - Pad OpenGL temporary surfaces to avoid bug with incorrect border drawing. r=roc
2012-04-27 12:24:53 +12:00
Jeff Gilbert
0a18d7d12e
Bug 739775 - Refactor ResizeOffscreenFBO - r=bjacob
2012-04-25 15:10:43 +01:00