Commit Graph

160 Commits

Author SHA1 Message Date
Milan Sreckovic
fc0955994f Bug 848023 - Put back the override of fGetIntegerv for max texture sizes. r=bjacob 2013-03-06 09:34:35 -05:00
Milan Sreckovic
0e27eb596a Bug 848023 - Use the same adjusted max texture size everywhere. r=bjacob 2013-03-05 13:56:27 -05:00
George Wright
89bebda950 [PATCH 5/9] Bug 807500 - Add a bunch of required GL wrapper methods to GLContext for use with Skia-GL r=mattwoodrow
From 280a6de21b11d92c287ec8d35daffd34179b6e94 Mon Sep 17 00:00:00 2001
---
 gfx/gl/GLContext.cpp      | 26 +++++++++++++++++
 gfx/gl/GLContext.h        | 73 +++++++++++++++++++++++++++++++++++++++++++++++
 gfx/gl/GLContextSymbols.h | 20 +++++++++++++
 3 files changed, 119 insertions(+)
2012-11-01 12:11:42 -04:00
Jeff Gilbert
a74b6b9a5e Bug 845482 - Init scissor box values on offscreen context init - r=bjacob 2013-03-04 16:44:31 -08:00
James Willcox
1e42a758c6 Bug 844468 - Work around missing GL_OES_EGL_sync in Adreno r=vlad 2013-02-23 12:14:11 -05:00
Jeff Gilbert
78f00c0f31 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
23a70898de Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts 2013-02-21 19:54:25 +00:00
Jeff Gilbert
197c718e7b 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
b891b80fa0 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
2187525c49 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Karl Tomlinson
0b633b42e9 b=788935 remove unused no-op virtual GLContext::WindowDestroyed() r=vlad
CLOSED TREE
2013-02-20 11:04:00 +13:00
Matt Brubeck
e27a914398 Back out dd103ec4c44b through fba3a342a530 because of B2G test failures on a CLOSED TREE
--HG--
rename : toolkit/system/gnome/nsSystemAlertsService.cpp => toolkit/system/gnome/nsAlertsService.cpp
rename : toolkit/system/gnome/nsSystemAlertsService.h => toolkit/system/gnome/nsAlertsService.h
2013-02-19 17:06:18 -08:00
Karl Tomlinson
e603f6fb3e b=788935 remove unused no-op virtual GLContext::WindowDestroyed() r=vlad
--HG--
extra : rebase_source : ed6bfd166989e0547676916bdf423ca2f4ce7a38
2013-02-20 11:04:00 +13:00
James Willcox
15b53c0251 Bug 837687 - Use a case-insensitive comparison for OpenGL extension names r=jgilbert 2013-02-05 13:02:17 -05:00
James Willcox
03fed64c1c backout caf13c3365f3 for Windows bustage CLOSED TREE 2013-02-05 12:38:02 -05:00
James Willcox
a462ad86dd Bug 837687 - Use a case-insensitive comparison for OpenGL extension names r=jgilbert
--HG--
extra : rebase_source : 465e1c9ca5491a32432f4fb85eb96de473598348
2013-02-05 11:45:31 -05:00
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Nicholas Cameron
d6ea34c93d Bug 825995; fix scissor rect logic in GLContext. r=jgilbert 2013-01-03 15:11:54 +13:00
Jeff Gilbert
1e6e231d20 Bug 797664 - Add runtime asserts so calling null functions is more obvious - r=bjacob 2012-12-18 23:16:01 -08:00
Jeff Gilbert
b829b47d35 Bug 797664 - Pull logic out of all GLContex::raw_ functions - r=vlad 2012-12-18 23:16:01 -08:00
Jeff Gilbert
cd271d87bd Bug 821191 - Fix mysterious 5-space indent region in GLContext.h - r=bjacob 2012-12-17 17:58:44 -08:00
Kartikaya Gupta
5cdb820748 Bug 818060 - Add a memory reporter for graphics textures. r=BenWa,njn 2012-12-16 19:16:26 -05:00
Ed Morley
9befd7d8b0 Backout 09d66d9ccb2e (bug 818060) for build failures on Windows 2012-12-13 17:17:12 +00:00
Kartikaya Gupta
f1aa9cacaa Bug 818060 - Add a memory reporter for graphics textures. r=njn,BenWa 2012-12-13 11:38:37 -05:00
Benoit Jacob
592bffdcd5 Bug 814716 - correct the way that we tweak max sizes - r=jgilbert 2012-12-11 16:57:30 -05:00
Bill Gianopoulos
4bef911254 Bug 814716 - Limit MaxCubeMapTextureSize for Nouveau to 2K - r=jgilbert 2012-11-26 18:21:39 -05:00
Jeff Gilbert
0466aaefe7 Bug 811958 - Move TextureImage into its own files - r=bgirard 2012-11-26 14:23:27 -08:00
Jeff Gilbert
f0fdb0504f Bug 811958 - Fix and move ShateType type - r=bgirard 2012-11-26 14:23:27 -08:00
Jeff Gilbert
495dc78702 Bug 811958 - Pull GLContext out of Cocoa stuff - r=bgirard 2012-11-26 14:23:27 -08:00
Jeff Gilbert
31671553a5 Backed out csets 807f2c3df974, 1637c39b4ed6, ec29e09a270e (bug 811958) for burning android 2012-11-26 13:48:20 -08:00
Jeff Gilbert
c8b0be7790 Bug 811958 - Move TextureImage to its own files - r=bgirard 2012-11-26 12:51:58 -08:00
Jeff Gilbert
08572e4b8e Bug 811958 - Fix and move ShareType type - r=bgirard 2012-11-26 12:51:57 -08:00
Jeff Gilbert
c11ab4f1da Bug 811958 - Pull GLContext out of Cocoa stuff - r=bgirard 2012-11-26 12:51:57 -08:00
George Wright
73099f5a78 Bug 814171 - Intercept calls for maximum texture/framebuffer sizes in GLContext::fGetIntegerv r=jgilbert 2012-11-13 17:35:35 -05:00
Nicolas Silva
499651a424 b=811115 - remove MOZ_EGL_XRENDER_COMPOSITE dead code. r=jgilbert 2012-11-18 16:47:57 +01:00
Jeff Gilbert
6b85c63580 Bug 797120 - GLContext::CanUploadNonPowerOfTwo() should not call AddBoolVarCache() when off the main thread. r=bjacob 2012-11-07 11:39:38 +13:00
Benoit Jacob
89d50dcdb1 Bug 779611 - part 4 - More WebGL extensions cleanup - r-jgilbert 2012-10-03 17:13:05 -04:00
Kan-Ru Chen (陳侃如)
e700a809b8 Bug 788408 - Part 1. fReadPixels should also respect mFlipped. r=mattwoodrow 2012-10-02 10:42:09 +08:00
Benoit Jacob
e87660d62e Bug 750862 - Implement WEBGL_compressed_texture_pvrtc - r=jgilbert 2012-09-25 08:49:28 -04:00
Benoit Jacob
8a05af4222 Bug 790712 - Implement WEBGL_compressed_texture_atc - r=jgilbert 2012-09-25 08:49:28 -04:00
Andrew Quartey
7bb6709ba5 Bug 743755 - Remove OSMesa support r=bjacob 2012-09-07 18:35:22 -04:00
Jeff Gilbert
ea5436543d Bug 784925 - Add MakeCurrent for OGL Layers Readback path - r=bjacob 2012-08-31 16:44:33 -07:00
Kan-Ru Chen (陳侃如)
d0a7bf7930 Bug 787045 - Call TexParameter on the correct target. r=bgirard 2012-08-30 15:39:01 -03:00
Kyle Huey
577135598f No bug: Fix some class/struct mismatch warnings on MSVC.
--HG--
extra : rebase_source : 28a4fa9689a62c497fc537d3cc7b9bae4bda8d58
2012-08-24 11:45:05 -07:00
Ehsan Akhgari
8c296bbcd4 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
cb06cece67 Bug 766366 - Add GLContext::BlitTextureToTexture - r=bjacob 2012-08-21 20:30:20 -07:00
Jeff Gilbert
c8c8475e5c Bug 782785 - Use temp surfaces to ReadPixels with correct stride - r=bjacob 2012-08-21 16:13:26 -07:00
Jeff Gilbert
9aa9b3b9f5 Bug 783663 - Add ReadScreenIntoImageSurface for reading pixels from the screen - r=bgirard 2012-08-20 17:13:32 -07:00
Alexander Boldyrev
f61c980db5 Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert 2012-08-13 18:17:55 -07:00
Vladimir Vukicevic
223f04555a b=779019; disable added assertion due to Mac issues 2012-08-01 16:01:25 -04:00