Commit Graph

157 Commits

Author SHA1 Message Date
Matt Woodrow
43a4d082e2 Bug 870211 - Always save and restore the current framebuffer during BlitTextureImage. r=jgilbert 2013-05-16 15:45:42 +12:00
Jon Buckley
3ce29ac29f Bug 738867 - Implement WebGL OES_element_index_uint extension. r=bjacob 2013-05-13 09:22:30 -04:00
Nicolas Silva
7568ebe499 Bug 869026 - Fix GLContext::GetTexImage crash when GLContext::mScreen is null. r=jgibert 2013-05-07 02:23:40 -04:00
Jeff Gilbert
2c93e9b902 Bug 863477 - Use SurfaceCaps::Any() for CreateOffscreen for GLContexts for NPAPI plugins. r=cpeterson 2013-04-25 09:35:50 -07:00
Benoit Jacob
bb033f5949 Bug 863397 - Remove all the eglLockSurface-using code; leave the GL symbols in - r=jgilbert 2013-04-20 10:08:18 -04:00
Bas Schouten
7d182a2102 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
James Willcox
c5cc1a2876 Bug 829747 - Update WebGL canvases asynchronously r=bgirard,jgilbert 2013-03-22 15:22:20 -04:00
Ed Morley
260f849645 Backed out changeset b43bbab312e7 (bug 829747) for ABORTs on Android 2.2; CLOSED TREE 2013-03-22 19:10:24 +00:00
James Willcox
7f1add90db Bug 829747 - Update WebGL canvases asynchronously r=bgirard,jgilbert
--HG--
extra : rebase_source : ba0f95badd9b5d7e537b3c83e0057665bd5ced86
2013-03-22 12:13:21 -04: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
Filippo Cristofoletti
2ce733de71 Bug 755031 - Clear warnings in gfx/gl. r=jmuizelaar 2013-01-28 10:09:14 -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
Jeff Gilbert
27478d4a23 Bug 797664 - Don't spew wwhen optional functions aren't found - r=vlad 2012-12-18 23:16:02 -08:00
Milan Sreckovic
93b2ffbd42 Bug 814839 - Disable WebGL depth textures on Mac NVIDIA - r=jgilbert,bjacob, a=abillings 2012-12-18 16:23:40 -05:00
Kartikaya Gupta
5cdb820748 Bug 818060 - Add a memory reporter for graphics textures. r=BenWa,njn 2012-12-16 19:16:26 -05:00
Jeff Walden
e0523203c9 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -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
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
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
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
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
Luqman Aden
08cb307676 Bug 714937 - Replace GFX_PACKED_PIXEL with an inline function. r=jrmuizel 2012-09-06 01:31:29 -04:00
Ehsan Akhgari
5cbbc61e17 Backout changeset 25fd2119c8e1 (bug 714937) for possible orange 2012-09-06 18:51:02 -04:00
Luqman Aden
acf0e3b37f Bug 714937 - Replace GFX_PACKED_PIXEL with an inline function. r=jrmuizel 2012-09-06 01:31:29 -04:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Jeff Gilbert
bcb9340a8b Bug 735932 - Fix no-alpha ReadPixels on Mac+nVidia - r=bjacob 2012-08-31 16:47:03 -07:00
Kan-Ru Chen (陳侃如)
d0a7bf7930 Bug 787045 - Call TexParameter on the correct target. r=bgirard 2012-08-30 15:39:01 -03: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
Benoit Jacob
ba6abfe979 Bug 778765 - Work around nouveau driver bug by changing samples=1 to samples=0 - r=jgilbert 2012-08-03 11:08:11 -04:00
Vladimir Vukicevic
3bdddf139d b=779019, GLContext being destroyed on wrong thread with OMTC textures and shared handles; r=jgilbert 2012-08-01 14:57:54 -04:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Jeff Gilbert
0ce7717335 Bug 774059 - Fix up references to glEGLImageTargetTexture2D - r=bjacob 2012-07-19 21:14:14 -07:00
Jeff Gilbert
35740f94a5 Backed out changeset d4a04cc38326 2012-07-18 15:23:47 -07:00
Jeff Gilbert
3e4b30be56 Bug 774059 - Fix up references to glEGLImageTargetTexture2D - r=bjacob 2012-07-18 14:17:10 -07:00
Vladimir Vukicevic
07de49632f 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
2d950d968f Bug 758844 - Requiet gfx/gl code spew - r=bjacob 2012-07-17 08:26:12 -07:00