Commit Graph

745 Commits

Author SHA1 Message Date
Benoit Girard
d4789debbe Bug 971154 - Implement APPLE_texture_range. r=jrmuizel 2013-12-12 13:27:10 -05:00
Tor Arvid Lund
09df5cf35c Bug 948765 - Port CopyableCanvasLayer to Moz2D. r=nical
This patch deprecates the UpdateSurface and PaintWithOpacity methods in the
CCL class. To do this, many other changes were made in the process.

BasicImplData::Paint was deprecated, and its mOperator was ported to Moz2D.
This caused changes in several *Layer subclasses.

GLScreenBuffer::Readback was deprecated.

I want to change the usages of the (now) deprecated functions, so that they
use the new Moz2D ones: CanvasClient::Update has been updated, but the big
one (BasicLayerManager::PaintSelfOrChildren) will have to be its own
project.
2014-02-12 10:07:46 -05:00
Jeff Gilbert
4f514cfdc6 Bug 968469 - Add check for ARB_half_float_pixel to GLFeature::texture_half_float. r=kamidphish 2014-02-10 18:03:12 -05:00
Ms2ger
5111aca8f0 Merge m-i to m-c. 2014-02-09 10:31:55 +01:00
Ms2ger
479e9f45c5 Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc 2014-02-09 09:04:38 +01:00
Jeff Gilbert
4383eefcf0 Bug 969632 - Make GLContext::fDeleteFoo funcs const-correct. r=bjacob 2014-02-08 21:06:08 -05:00
Ryan VanderMeulen
15a84a312d Backed out changeset 8d885b139d7d (bug 912280) for bustage. 2014-02-07 10:38:27 -05:00
Jeff Gilbert
40f251b54b Bug 912280 - Implement OES_texture_half_float_linear for WebGL. r=kamidphish 2014-02-07 10:21:49 -05:00
Jeff Gilbert
a2c096aab1 Bug 968617 - Refresh GLConsts.h as of Feb 5, 2014. r=bjacob 2014-02-06 20:33:20 -05:00
Jeff Gilbert
f36726ad11 Bug 968617 - Fix the file name in the GLConsts.h update script. r=bjacob 2014-02-06 20:33:05 -05:00
Dan Glastonbury
ff6cef2bb8 Bug 963455 - Fix the setting of viewport in GLReadTexImageHelper::ReadTexImage. r=BenWa 2014-01-31 09:18:15 +10:00
Vladimir Vukicevic
a988bc2a34 b=738872, implement WebGL OES_texture_half_float; part 2 - core impl; r=jgilbert 2014-01-23 16:47:37 -05:00
Vladimir Vukicevic
b6b7a87f86 b=738872, implement WebGL OES_texture_half_float; part 1 - GLContext; r=jgilbert 2014-01-23 12:47:56 -05:00
Dan Glastonbury
560b4a58d8 Bug 953221 - GLenum to C string helper. r=bjacob 2014-01-22 19:21:19 +10:00
Milan Sreckovic
856c9c79fe Bug 946860 - Move the preference evaluation to main thread. r=gwright 2014-01-24 17:19:34 -05:00
David Zbarsky
39799d8dbd Bug 952977: Convert GetTextureTransform to gfx::Matrix4x4 r=nical 2014-01-24 17:49:02 -08:00
Benoit Jacob
93826fc6b0 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
3846defaec Bug 959380 - 3/5 - Make gfxSurfaceType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxSurfaceType\(Image\|PDF\|PS\|Xlib\|Xcb\|Glitz\|Quartz\|Win32\|BeOS\|DirectFB\|SVG\|OS2\|Win32Printing\|QuartzImage\|Script\|QPainter\|Recording\|VG\|GL\|DRM\|Tee\|XML\|Skia\|Subsurface\|D2D\|Max\)\($\|[^A-Za-z0-9_]\)/\1gfxSurfaceType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
3369ca8bb6 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
Benoit Girard
cedb645c80 Bug 900033 - Don't rely on the driver to detect a bad MakeCurrent. r=jrmuizel 2014-01-17 18:10:54 -05:00
Bas Schouten
369a4507bb Bug 960254 - Part 2: Update some callers that write to DataSourceSurface. r=jrmuizel 2014-01-16 13:17:23 +01:00
Bas Schouten
370e329706 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
e40ceb7ddd Bug 960354 - Part 2: Update some callers that write to DataSourceSurfaces. r=jrmuizel 2014-01-16 13:17:23 +01:00
Markus Stange
3e80866f97 Bug 958550 - Use ScopedGLState for scissor test + blend state in two more places. r=bjacob 2014-01-13 15:29:10 +01:00
Benoit Jacob
944d046992 Bug 943925 - Fix the loading of the glDrawBuffers symbol - r=jgilbert 2014-01-10 22:14:17 -05:00
Benoit Jacob
c1099f27c0 Bug 958256 - Mark standard_derivatives as unsupported on Vivante drivers - r=jgilbert,snorp 2014-01-10 14:50:25 -05:00
Benoit Jacob
2d5774ca0a Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - 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
55e7c24065 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
14d864afaf Bug 958369 - 5/5 - Make ContextType a typed enum - r=jgilbert 2014-01-10 13:55:24 -05:00
Benoit Jacob
8105421de9 Bug 958369 - 4/5 - remove the ContextFlags enum - r=jgilbert 2014-01-10 13:55:23 -05:00
Benoit Jacob
6747f7385e Bug 958369 - 3/5 - Make SharedTextureShareType and SharedTextureBufferType typed enums - r=jgilbert 2014-01-10 13:55:23 -05:00
Benoit Jacob
8174b9386e Bug 958369 - 2/5 - Make GLVendor and GLRenderer typed enums - r=jgilbert 2014-01-10 13:55:23 -05:00
Benoit Jacob
7b5f943840 Bug 958369 - 1/5 - Make GLFeature a typed enum - r=jgilbert 2014-01-10 13:55:23 -05:00
Benoit Jacob
6cdb25269c Bug 958368 - Remove the code paths to load a custom Mesa/llvmpipe build instead of system OpenGL (sadface) - r=jgilbert 2014-01-10 13:55:23 -05:00
Morris Tseng
b631d4766c 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
797774eebe Bug 877115 - Remove GetTexImage from GLContext helper. r=nical 2014-01-08 09:37:58 +01:00
Markus Stange
6bacda007f 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
5085d2822a Backing out changeset 1ff04cca465b (bug 956266) due to compilation failures on Android. 2014-01-08 11:36:13 +01:00
Markus Stange
d7c5f41aa5 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
1fee70390c Bug 956401 - 9/9 - Optimization: cache the scissor rect in GLContext - r=vladv 2014-01-07 15:02:19 -05:00
Benoit Jacob
8b8a3c7468 Bug 956401 - 8/9 - Remove GLContext's scissor stack - r=jgilbert 2014-01-07 15:02:19 -05:00
Benoit Jacob
85a8ab73b4 Bug 956401 - 4/9 - Add ScopedGLState ctor without value parameter, leaving state unchanged - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
9adc4a9c40 Bug 956401 - 2/9 - Add ScopedScissorRect helper - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
e74aa72948 Bug 956154 - 2/2 - Optimization: cache the viewport rect - r=vladv 2014-01-07 15:02:18 -05:00
Benoit Jacob
49cebff464 Bug 956154 - 1/2 - Remove GLContext's viewport stack - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
e9a9d5ea27 Bug 956141 - Move y-flipping feature out of GLContext, into CompositorOGL - r=jgilbert,nrc 2014-01-07 15:02:18 -05:00
Benoit Jacob
f11b9433f4 Bug 950903 - 7/8 - Simplifications around EGLSurface override - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
f820c67cd0 Bug 950903 - 6/8 - Remove GLContext::GetNativeData - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
90b7be87b5 Bug 950903 - 5/8 - Add static Cast methods to allow getting the backend-specific object from a GLContext - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
5bbca615f9 Bug 950903 - 4/8 - Expose GLContextWGL publicly - r=jgilbert 2014-01-07 15:02:18 -05:00