| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
raw_scoped_refptr_mismatch_checker.h
ref_counted.cc
ref_counted.h
ref_counted_memory.cc
ref_counted_memory.h
ref_counted_unittest.cc
scoped_callback_factory.h
scoped_comptr_win.h
scoped_handle.h
scoped_native_library.cc
scoped_native_library.h
scoped_native_library_unittest.cc
scoped_nsobject.h
scoped_open_process.h
scoped_ptr.h
scoped_ptr_unittest.cc
scoped_temp_dir.cc
scoped_temp_dir.h
scoped_temp_dir_unittest.cc
scoped_vector.h
singleton.h
singleton_objc.h
singleton_unittest.cc
linked_ptr.h
linked_ptr_unittest.cc
weak_ptr.cc
weak_ptr.h
weak_ptr_unittest.cc
BUG=None
TEST=Compile
Review URL: http://codereview.chromium.org/6714032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79524 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
happen in firefox or internet explorer. In chrome, the parent windows handle
might get locked and the ShowWindow call is blocked and hang. The fix is not
to hind the window for repositioning.
Review URL: http://codereview.chromium.org/6732033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79409 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of always using image surfaces on every platform.
On Windows this would have changed the code from using GDI compositing + image textures to using GDI compositing + GDI textures, but strangely that makes performance much worse. But it turns out that COMPOSITING_TO_IMAGE (i.e., image compositing + image textures) is better than both of the other options.
Improves performance on Linux by 19%-36% (higher resolutions are improved more).
Improves performance on Windows by 6.8%-21% (higher resolutions are improved less).
TEST=loaded O2D on Linux and Windows are compared CPU utilization before and after across various resolutions
BUG=none
Review URL: http://codereview.chromium.org/6719007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78940 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
and smoothness under high cpu load.
BUG=none
TEST=do a video change with high cpu load: cpuload --threads 16 --priority 0 100
Review URL: http://codereview.chromium.org/6716003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78917 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=run o3d on Pentium3. Voice and Settings page should work.
Review URL: http://codereview.chromium.org/6708057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78916 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/6675003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78898 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Windows).
TEST=loaded O2D on Lin & Win with COMPOSITING_TO_IMAGE both off and on and verified it worked and perf was improved; loaded O2D in Mac with COMPOSITING_TO_IMAGE off and verified that works too
BUG=none
Review URL: http://codereview.chromium.org/6714033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78895 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
which is not supported in Windows Xp. Bump third-party code to version 235
which has the fix in pixman. Now pixman uses TLS primitives.
TESTED=manually tested under Windows 7/Windows XP using chrome, firefox and IE.
Review URL: http://codereview.chromium.org/6688039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78739 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
the last frame. Currently only implemented for the COMPOSITING_TO_IMAGE case (i.e., OSX). The non-COMPOSITING_TO_IMAGE case (i.e., Linux & Windows) will be handled in another CL.
The performance improvement from this change is variable, since it depends on how frequently the application requests a paint when there is actually nothing to update. If the application does so frequently, then the improvement is large; if it does so infrequently or never, then the improvement is small or zero.
TEST=loaded O2D on Mac and Linux; measured perf on Mac with activity monitor, shark, and framerate logging
BUG=none
Review URL: http://codereview.chromium.org/6708010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78707 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
and by using an enum value not defined in the Linux cairo headers.
TEST=built on Linux
BUG=none
Review URL: http://codereview.chromium.org/6673051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78269 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
repro the break this time and confirm the fix.
Review URL: http://codereview.chromium.org/6697025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78267 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
URL generation script.
Review URL: http://codereview.chromium.org/6698040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78245 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
than using the OS's 2D compositing on Mac due to Quartz having ridiculously poor performance. :/ Decreases total CPU load per frame by 12.8%.
Also some minor TextureCairo clean-up.
TEST=O2D before and after with Shark, Activity Monitor, and framerate monitoring
BUG=none
Review URL: http://codereview.chromium.org/6673034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78239 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
pass it in at build so that we can upload Debug and Release
crash dumps to the correct URLs respectively.
Review URL: http://codereview.chromium.org/6685006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78137 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TEST=verified on chrome and firefox under ubuntu.
Review URL: http://codereview.chromium.org/6686015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77904 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TEST=built on Mac in Release and Debug modes, verified proper flag was used for each; verified debugging information seen in gdb when using Debug build
BUG=none
Review URL: http://codereview.chromium.org/6684014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77890 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
There are probably a few more bits and pieces that can be removed, but I think this is the majority of it.
BUG=51934
Review URL: http://codereview.chromium.org/6576020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77888 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/6681005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77836 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
wrong spot on-screen. This occurred because FF sometimes changes our CGContextRef and then changes it back again, and we weren't updating the renderer with the changes when using the Carbon event model, so we briefly rendered to the wrong CGContextRef.
TEST=O2D in FF
BUG=none
Review URL: http://codereview.chromium.org/6650013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77394 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
breakpad when loaded in the Chrome browser on
Mac.
Review URL: http://codereview.chromium.org/6639011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77392 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
initializing o3d's breakpad if loaded in the
Chrome Helper process. Hopefully this is temporary
and we will revert once we get breakpad working
with multiple instances.
Review URL: http://codereview.chromium.org/6639006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77390 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TEST=tried to go fullscreen with O2D on Mac in FF, Chrome, and Sarafi and verified nothing happens
BUG=none
Review URL: http://codereview.chromium.org/6650012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77389 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
environment variable.
TEST=ran in FF & Chrome on OSX with O3D_OVERRIDE_RENDER_MODE_AUTO=2D and verified 2D was used; ran without and verified 3D was used
BUG=none
Review URL: http://codereview.chromium.org/6648013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77384 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TEST=no
BUG=none
Review URL: http://codereview.chromium.org/6651007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77377 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
sometimes, the windows is not updated when creating the surface. Now update
the clip region and surface parameters when this happens.
Review URL: http://codereview.chromium.org/6626080
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77334 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
performs many CGContextSaveGState/RestoreGState calls during the plugin's lifetime and it foolishly calls into the plugin's rendering code and resizing/shutdown code with a different gstate stack depth, which makes it unsound to call RestoreGState on the old CGContext when resizing or shutting down (which happened both explicitly in DestroyCairoSurface() and implicitly inside cairo_surface_destory()). This resulted in an assertion failure inside the CGContextRestoreGState as it tried to pop from an empty stack. To avoid this we have no choice but to create and destroy the Cairo surface on every frame. Luckily, there is no significant perf impact.
TEST=O2D on OSX 10.6.4 in FF 3.6.13, Safari 5.0.2, and Chrome 10.0.648.127; compared framerate and CPU usage in FF to the original code and verified there is no significant difference
BUG=none
Review URL: http://codereview.chromium.org/6624096
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77319 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/6621072
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77313 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in Firefox (since it does not support Cocoa). This lets us use O2D in FF without porting it to Quickdraw.
Also tweak the drawing model behaviour so that we select the best possible model for the requested RenderMode.
TEST=RenderMode=Auto and =2D in FF on an MBP6,2 and verified 2D avoids issues with the dynamic GPU switching feature of that hardware; RenderMode=2D in Chrome and Safari
BUG=none
Review URL: http://codereview.chromium.org/6626059
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77223 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
if we detect a software renderer is being reported
by o3d. Also add software renderer detection to
o2d keyed off of the GL_RENDERER string
"Software Rasterizer"
Review URL: http://codereview.chromium.org/6592020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77177 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes three isues:
1. The URL being used to upload was out of date.
2. The path to the reporter and inspector apps needed to be specified
to work around a problem with module address detection in this version
of breakpad on mac.
3. The crash inspector was missing from the plugin package.
Review URL: http://codereview.chromium.org/6633008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77150 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/6628015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76986 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
trunk revision requires newer revisions of other Chromium code for Mac and Linux, so the bump broke those builds. Updating all the dependencies is too hairy, so instead decrease the breakpad revision to the latest version that works for all platforms.
TEST=built on Windows, Mac, and Linux
BUG=none
Review URL: http://codereview.chromium.org/6626005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76940 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
pick up the fix for a Windows GYP failure pulled in by O3D's DEPS bump on GYP in r76839.
TEST=built on Windows
BUG=none
Review URL: http://codereview.chromium.org/6610036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76855 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Chrome on 10.5). Unfortunately the performance is not yet good enough to prefer it over the CGL + GPU readback + CoreGraphics re-render code path currently in use, so some optimization work will be necessary.
TEST=loaded O3D on OSX with RenderMode=Auto and RenderMode=2D in Chrome 9 on 10.5 and 10.6, Safari 4 on 10.5, Safari 5 on 10.6, and FF 3.6 on 10.5 and 10.6 and verified that Auto works everywhere, 2D works in Chrome on 10.5, and 2D fails without crashing in the remaining cases; unit tests
BUG=none
Review URL: http://codereview.chromium.org/6614005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76839 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/6594091
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76584 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=carnitas
TEST=compiles; existing unit tests.
Review URL: http://codereview.chromium.org/6602049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76467 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TEST=added them as dependencies to a real target and verified they were built successfully
BUG=none
Review URL: http://codereview.chromium.org/6591079
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76438 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The possible feature values are:
RenderMode=Auto
RenderMode=2D
RenderMode=3D
The default if no feature is specified is 3D for
backwards compatibility.
Review URL: http://codereview.chromium.org/6576007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75895 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
generated:
- They had a small chance of colliding. e.g., message queue 41 for process 4 and message queue 1 for process 44 would both attempt to acquire the name "o3d441", and whichever one came second would fail since it was already in use. The fix is to separate the PID and instance number with a hypen. This way the names in such a case become "o3d4-41" and "o3d41-4", which are distinct.
- The PID in the name was truncated if it was greater than 65535 (possible in some edge cases on Windows and Linux).
- Incrementing of the per-process id was not thread-safe.
TEST=loaded o3d on Linux and verified IPC still works
BUG=none
Review URL: http://codereview.chromium.org/6578008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75810 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
fails for any reason. This is still only supported on linux for GL renderer. o2d mode can still be forced at compile time via the force_cairo=1 GYP_DEFINE.
Verified on Linux in o3d and o2d mode and on Mac. Unit tests are still passing 100%. Also confirmed o2d fall-back using NX on Linux.
Review URL: http://codereview.chromium.org/6538102
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75776 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
browser plugin. This step rolls the o2d renderer and the gl renderer
into the same linux plugin. Unfortunately the code path for which one
gets used is still controlled by a compile time switch. That switch is
force_cairo which is set to 0 by default (meaning o3d) in common.gypi.
Review URL: http://codereview.chromium.org/6532010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75614 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
help JS app developers find leaks.
TEST=used it in a JS app to help identify a leak
BUG=none
Review URL: http://codereview.chromium.org/6542028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75441 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Mac so that we can build them as static libraries.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/6473001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74468 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
area. JavaScript will use this to paint a custom background colour using a Pattern created by Pattern::CreateRgbPattern(). (In principle JavaScript could already do this by setting (x, y) = (0, 0) and (width, height) = resolution of the display area, but this is simpler.) Also delete the code implementing the hard-coded black background.
TEST=loaded O2D and verified that a background can be created as described above
BUG=none
Review URL: http://codereview.chromium.org/6349032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73511 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TEST=pending: loaded O2D and verified the API functions
BUG=none
Review URL: http://codereview.chromium.org/6409019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73243 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TEST=loaded O2D and verified that choosing different filters gives different results
BUG=none
Review URL: http://codereview.chromium.org/6254021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72859 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TEST=built in Debug and Release mode on Lucid 64-bit
BUG=none
Review URL: http://codereview.chromium.org/6379008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72740 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
non-premultiplied alpha ARGB images as if they were premultiplied alpha ARGB. This caused the transparent parts of images to be too bright (and in some cases fully opaque). Cairo only supports premultiplied alpha, but O3D calls SetRect() with non-premultiplied alpha, so we have to convert.
TEST=loaded O2D and verified transparent images look correct now
BUG=none
Review URL: http://codereview.chromium.org/6309007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72658 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
points too. This makes no difference right now because we currently don't gate Linux crash uploading on HANDLE_CRASHES, but once we change that we'll want these in all the right places.
TEST=loaded O2D on Linux, verified it works
BUG=none
Review URL: http://codereview.chromium.org/6348018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72388 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
other code to be simpler.
TEST=loaded O2D and verified COPY_WITH_FADING works
BUG=none
Review URL: http://codereview.chromium.org/6298011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72194 0039d316-1c4b-4281-b951-d872f2087c98
|