summaryrefslogtreecommitdiffstats
path: root/third_party
Commit message (Collapse)AuthorAgeFilesLines
* Added Pepper 3D device that instantiates the GPU plugin and sends GLES2 ↵apatrick@google.com2009-12-221-2/+53
| | | | | | | | | | | | | | | | | | | | | | | commands to it via a command buffer. Added API for managing buffers to Pepper 3D device. Removed DCHECK from WebPluginImpl::SetWindow that checks against a windowless plugin being given a window handle. Please check this! Now an initially windowless plugin instance gets a handle when it requests a Pepper 3D context. Perhaps the window handle should be concealed from the underlying plugin isntance. Removed enable_gpu gyp variable and C macro. GPU code is always built on windows but not mac or linux. It is enabled at runtime with the --enable-gpu-plugin switch. Redesigned CommandBuffer interface so it exposes shared memory through a Buffer. This was necessary because Pepper has no notion of shared memory handles. The Buffer exposes the shared memory as both a handle (through base::SharedMemory) and the mapped address and size. Refactored CommandBufferEngine so mapped shared memory addresses and sizes are returned with a single call rather than two separate calls. Added 3D demo to pepper test plugin. TEST=try servers BUG=none Review URL: http://codereview.chromium.org/367002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35185 0039d316-1c4b-4281-b951-d872f2087c98
* Implementation of OmxVideoDecodeEngine.ajwong@chromium.org2009-12-225-6/+8
| | | | | | | | | | | | | | | | | | Also moves FFmpegVideoDecodeEngine FFmpegVideoDecoder, OmxVideoDecoder, and VideoDecoderImpl into their own files. Refactors FFmpegDemuxerTest to be less of a characterization test, and to hopefully be less fragile. Creates a set of utilities for handling Callbacks versus Tasks, and resource management related to Callbacks. Re-enables the annexb filters for the chrome build of FFmpeg. Added a BitstreamConverter class that abstracts the bitstream filter code. Cleans up a few gyp mistakes with flag exporting. Review URL: http://codereview.chromium.org/492023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35171 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring build configurations - make it clearer and allow better support ↵gregoryd@google.com2009-12-221-2/+2
| | | | | | | | | | | | | for x64 on Windows TEST=none BUG=29467 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35012 Review URL: http://codereview.chromium.org/501127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35129 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 35012 - Rearrange build configurations make it clearer and allow ↵gregoryd@google.com2009-12-191-2/+2
| | | | | | | | | | | | | | better support for x64 on Windows TEST=none BUG=29467 Review URL: http://codereview.chromium.org/501127 TBR=gregoryd@google.com Review URL: http://codereview.chromium.org/500149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35016 0039d316-1c4b-4281-b951-d872f2087c98
* Rearrange build configurations - make it clearer and allow better support ↵gregoryd@google.com2009-12-191-2/+2
| | | | | | | | | | | for x64 on Windows TEST=none BUG=29467 Review URL: http://codereview.chromium.org/501127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35012 0039d316-1c4b-4281-b951-d872f2087c98
* Update README and patches for recent icu REGEXP() fix.cevans@chromium.org2009-12-172-1/+22
| | | | | | | | | | | This fix was reported to sqlite upstream. TEST=NONE BUG=NONE Review URL: http://codereview.chromium.org/506048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34807 0039d316-1c4b-4281-b951-d872f2087c98
* Don't access out-of-bounds arguments.cevans@chromium.org2009-12-161-2/+2
| | | | | | | | | TEST=select REGEXP('abc') from sqlite_master BUG=30510 Review URL: http://codereview.chromium.org/501038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34754 0039d316-1c4b-4281-b951-d872f2087c98
* Add a Python script which analyzes information about steams from NPSPY's ↵jam@chromium.org2009-12-151-0/+105
| | | | | | | | logs. I figured I'd commit it in case someone finds it useful in the future. Review URL: http://codereview.chromium.org/491055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34592 0039d316-1c4b-4281-b951-d872f2087c98
* Provide for lazy commit of page-map meta-data in TCMallocjar@chromium.org2009-12-124-1/+208
| | | | | | | | | | | | | | | | | | Define a variant of the flat-map that was historically defined as PageMap1, which allocated about 4MB in an array to map all possible pages to their status as part of a span. This version (under Windows only) uses VirtualAlloc to effectively reserve the space, and then only commit the space when it is necessary to ensure it is available. The bulk of the code is almost directly modeled on PageMap1, which is also defined in pagemap.h. bug=30010 r=willchan Review URL: http://codereview.chromium.org/460155 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34422 0039d316-1c4b-4281-b951-d872f2087c98
* arm: fix pkgconfig for libpng when cross-compilingpiman@chromium.org2009-12-121-3/+14
| | | | | | Review URL: http://codereview.chromium.org/486039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34394 0039d316-1c4b-4281-b951-d872f2087c98
* Beef up NPSPY a bit while tracking down bug 28809. This adds proper logging ↵jam@chromium.org2009-12-1115-311/+548
| | | | | | | | to the new NPAPI functions along with the UI to disable it. I also started to use std::string in places which used fixed buffers, since they caused crashes. Review URL: http://codereview.chromium.org/486017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34372 0039d316-1c4b-4281-b951-d872f2087c98
* The union and first level nested struct were vestiges of the previoussehr@google.com2009-12-111-18/+16
| | | | | | | | device context design. Remove them and shorten the paths to 2D members. Also add "reserved" void* to allow quick access to implementation data. Review URL: http://codereview.chromium.org/490009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34359 0039d316-1c4b-4281-b951-d872f2087c98
* Fix FFmpeg build for ARMhclam@chromium.org2009-12-115-14/+820
| | | | | | | | Add missing config.h. Review URL: http://codereview.chromium.org/491010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34315 0039d316-1c4b-4281-b951-d872f2087c98
* ffmpeg remove ununsed ffmpeg source files, move some from chromium to chrome ↵fbarchard@chromium.org2009-12-106-18/+22
| | | | | | | | | | | or chromeos, and add fpic for arm. remove bsf from all but arm BUG=29934 TEST=make -j6 -r player_x11 BUILDTYPE=Release for all platforms and ensure they still link. Use size libffmpegsumo.so to confirm size has been reduced. Review URL: http://codereview.chromium.org/483007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34284 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure the 'use_system_*' variables are actually visible in the relevant ↵mmoss@google.com2009-12-104-4/+32
| | | | | | | | | | | | | | gyp files. Retrying r34195, this time without libxslt, since we don't want to use the system version of that if we're not also using system libxml (merged from http://codereview.chromium.org/481011). BUG=29738 Review URL: http://codereview.chromium.org/486012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34255 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 34226 - ffmpeg remove ununsed ffmpeg source files, move some from ↵fbarchard@chromium.org2009-12-106-25/+20
| | | | | | | | | | | | | | chromium to chrome or chromeos, and add fpic for arm. remove bsf from all but arm BUG=29934 TEST=make j6 r player_x11 BUILDTYPE=Release for all platforms and ensure they still link. Use size libffmpegsumo.so to confirm size has been reduced. Review URL: http://codereview.chromium.org/483007 TBR=fbarchard@chromium.org Review URL: http://codereview.chromium.org/487005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34228 0039d316-1c4b-4281-b951-d872f2087c98
* ffmpeg remove ununsed ffmpeg source files, move some from chromium to chrome ↵fbarchard@chromium.org2009-12-106-20/+25
| | | | | | | | | | | or chromeos, and add fpic for arm. remove bsf from all but arm BUG=29934 TEST=make -j6 -r player_x11 BUILDTYPE=Release for all platforms and ensure they still link. Use size libffmpegsumo.so to confirm size has been reduced. Review URL: http://codereview.chromium.org/483007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34226 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 34195 - Make sure the 'use_system_*' variables are actually visible ↵jrg@chromium.org2009-12-105-38/+5
| | | | | | | | | | | | | | | | | | | | | in the relevant gyp files. BUG=29738 Review URL: http://codereview.chromium.org/479005 TBR=mmoss@google.com Example choke: http://build.chromium.org/buildbot/waterfall/builders/Linux%20Perf/builds/4382/steps/compile/logs/stdio Compiling /b/slave/chromium-rel-linux-hardy/build/src/sconsbuild/Release/obj/chrome/unit_tests/common/bzip2_unittest.o /b/slave/chromium-rel-linux-hardy/build/src/chrome/common/bzip2_unittest.cc:6:19: error: bzlib.h: No such file or directory Review URL: http://codereview.chromium.org/484003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34213 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure the 'use_system_*' variables are actually visible in the relevant ↵mmoss@google.com2009-12-095-5/+38
| | | | | | | | | | gyp files. BUG=29738 Review URL: http://codereview.chromium.org/479005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34195 0039d316-1c4b-4281-b951-d872f2087c98
* Stray , at the end of one of the enums causes a fail with pedanticsehr@google.com2009-12-091-1/+1
| | | | | | | | warnings turned on (such as for Native Client). Review URL: http://codereview.chromium.org/482005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34191 0039d316-1c4b-4281-b951-d872f2087c98
* Disable AnnexB bsf in ffmpeg as it is not needed until we support HW decode.fbarchard@chromium.org2009-12-093-6/+6
| | | | | | Review URL: http://codereview.chromium.org/476005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34188 0039d316-1c4b-4281-b951-d872f2087c98
* New file formats for ChromeOS: wmv, wma, avi and wav.fbarchard@chromium.org2009-12-093-53/+68
| | | | | | Review URL: http://codereview.chromium.org/466073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34126 0039d316-1c4b-4281-b951-d872f2087c98
* Add use_system_yasm GYP variable, which lets FFmpeg build using the host ↵scherkus@chromium.org2009-12-081-4/+16
| | | | | | | | | | | | system's version of yasm. BUG=28168 TEST=try installing yasm (>= 0.6.0) and using use_system_yasm=1 Review URL: http://codereview.chromium.org/463050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34069 0039d316-1c4b-4281-b951-d872f2087c98
* style fixes in ffmpeg gypfbarchard@chromium.org2009-12-081-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34062 0039d316-1c4b-4281-b951-d872f2087c98
* Add ChromeOS config.h header.fbarchard@chromium.org2009-12-089-1/+3107
| | | | | | Review URL: http://codereview.chromium.org/466067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34042 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor the pepper API implementation to make it more scalable as we add morebrettw@chromium.org2009-12-071-5/+13
| | | | | | | | | | | device types. Implement a stub of the 3D device API. Fix style in some of the plugin related code. TEST=run the pepper_test_plugin BUG=none Review URL: http://codereview.chromium.org/468012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33989 0039d316-1c4b-4281-b951-d872f2087c98
* Roll FFmpeg deps in third partyhclam@chromium.org2009-12-046-0/+6
| | | | | | | | Roll FFmpeg deps to include latest build fix. Review URL: http://codereview.chromium.org/466026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33847 0039d316-1c4b-4281-b951-d872f2087c98
* Add linux_valgrind as a default trybot for tools/valgrind/memcheck/ and ↵timurrrr@chromium.org2009-12-041-0/+12
| | | | | | | | | | | | | third_party/tcmalloc/ Apart from annoying developers with try mail, I think this will make some allocation-related changes better tested. Also, this would help us check the correctness of suppressions (especially, if they are formatted incorrectly). TEST=try a changelist in tools/valgrind/memcheck/ or third_party/tcmalloc/ and notice linux_valgrind bot Review URL: http://codereview.chromium.org/465046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33828 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ImageAndTextCell, shess had an idea how to use NSButtonCell to do thethakis@chromium.org2009-12-042-229/+0
| | | | | | | | | | | same thing. BUG=29334 TEST=none Review URL: http://codereview.chromium.org/467011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33756 0039d316-1c4b-4281-b951-d872f2087c98
* Move lighttpd to deps. Step 2: remove from trunk/src and updatetony@chromium.org2009-12-03114-2801/+0
| | | | | | | DEPS for mac and win to pull from trunk/deps/third_party. Review URL: http://codereview.chromium.org/460051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33730 0039d316-1c4b-4281-b951-d872f2087c98
* Remove product_name now that mac should be naming things correctly.thomasvl@chromium.org2009-12-021-1/+0
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/464003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33575 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the old locations of forked tcmalloc files.sgk@chromium.org2009-12-0125-15379/+0
| | | | | | | | | | Remove the tcmalloc line from DEPS in favor of our vendor branch. Remove the old jemalloc checked in underneath tcmalloc. BUG=27911 TEST=none Review URL: http://codereview.chromium.org/457002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33506 0039d316-1c4b-4281-b951-d872f2087c98
* Update the Pepper APIs to the latest spec for the 2D demo plugin.brettw@chromium.org2009-12-013-7/+245
| | | | | | | | | | | | | | | | | | | | | This also adds the npapi headers to the npapi.gyp file since I got tired of Visual Studio not finding the files. This removes the "open file in sandbox" feature which it doesn't look like we will use. One more significant change is that I changed to including pepper.h in all cases, even when pepper is disabled. We used to have a forward declare in npapi.h for the structs in question, but we'll be adding a lot more structs for the different contexts and I don't think this will scale. I think its OK fo rthe pepper API declarations to be available when Pepper isn't enabled. BUT=none TEST=none Review URL: http://codereview.chromium.org/453015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33501 0039d316-1c4b-4281-b951-d872f2087c98
* Point #include lines to files in the new tcmalloc/chromium local branch.sgk@chromium.org2009-12-011-2/+2
| | | | | | | | | Add +third_party\tcmalloc to webkit\DEPS. BUG=27911 TEST=none Review URL: http://codereview.chromium.org/449016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33440 0039d316-1c4b-4281-b951-d872f2087c98
* Make the third-party openmax gyp more flexible. Support our stub, belagio, ↵ajwong@chromium.org2009-12-011-34/+43
| | | | | | | | and OmxCore. Review URL: http://codereview.chromium.org/449042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33423 0039d316-1c4b-4281-b951-d872f2087c98
* Enable the mpeg4toannexb bitstream filter.ajwong@chromium.org2009-11-305-9/+13
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/441024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33307 0039d316-1c4b-4281-b951-d872f2087c98
* Fork a copy of the vanilla upstream copy of page_heap.cc renamed tosgk@chromium.org2009-11-262-0/+501
| | | | | | | | | | | page_heap_linux.cc, since the Linux build can't use the current Windows-specific version of page_heap.cc. Adds #ifdef in page_heap.h for API changes where the old API is still used by Linux and the new API is used by windows. BUG=27911 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33180 0039d316-1c4b-4281-b951-d872f2087c98
* Merge r77 from upstream tcmalloc to the local chromium branch.sgk@chromium.org2009-11-2519-734/+263
| | | | | | | | BUG=27911 TEST=none Review URL: http://codereview.chromium.org/440027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33151 0039d316-1c4b-4281-b951-d872f2087c98
* Match the vendor branch to the current tcmalloc rev in DEPS.sgk@chromium.org2009-11-2531-5227/+9389
| | | | | | | | BUG=27911 TEST=none Review URL: http://codereview.chromium.org/443010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33136 0039d316-1c4b-4281-b951-d872f2087c98
* Fix forked location of tcmalloc.h.sgk@chromium.org2009-11-251-0/+0
| | | | | | | BUG=27911 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33078 0039d316-1c4b-4281-b951-d872f2087c98
* Merge r33049 (symbolize_linux.cc) to new allocator structure.sgk@chromium.org2009-11-252-1/+191
| | | | | | | BUG=27911 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33074 0039d316-1c4b-4281-b951-d872f2087c98
* Gcc4 build fixes for tcmalloc.willchan@chromium.org2009-11-253-1/+194
| | | | | | Review URL: http://codereview.chromium.org/436042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33049 0039d316-1c4b-4281-b951-d872f2087c98
* Branch new tcmalloc_linux.cc into new chromium\src branch. Update newsgk@chromium.org2009-11-251-0/+1415
| | | | | | | | | base\allocator\allocator.gyp with merged changes from tcmalloc.gyp. BUG=27911 TEST=none Review URL: http://codereview.chromium.org/432021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33047 0039d316-1c4b-4281-b951-d872f2087c98
* Replace forked tcmalloc files with branches from current files tosgk@chromium.org2009-11-2510-434/+875
| | | | | | | | | preserve checkin history. svn cp the added config*.h files into the local patched branch. BUG=27911 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33031 0039d316-1c4b-4281-b951-d872f2087c98
* Branch tcmalloc\vendor\src to tcmalloc\chromium\src as basis for local changes.sgk@chromium.org2009-11-25163-0/+50530
| | | | | | | BUG=27911 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33024 0039d316-1c4b-4281-b951-d872f2087c98
* Import vanilla upstream tcmalloc sources into a vendor branchsgk@chromium.org2009-11-25274-0/+109616
| | | | | | | | | as a basis for local changes. BUG=27911 TEST=none Review URL: http://codereview.chromium.org/436037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33016 0039d316-1c4b-4281-b951-d872f2087c98
* Branch the jemalloc files from their original location atsgk@chromium.org2009-11-255-8674/+8695
| | | | | | | | ..\tcmalloc\jemalloc to preserve checkin history. BUG=27911 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33014 0039d316-1c4b-4281-b951-d872f2087c98
* Implement method stubs for OpenMAX IL instead of relying on -lOmxCore.scherkus@chromium.org2009-11-252-9/+79
| | | | | | | | | | | | | | You can switch to using -lOmxCore by setting the gyp variable use_system_openmax=1. Also fixed type-punning warnings in omx_video_decoder.cc BUG=28663 TEST=building omx_test should have no linker errors Review URL: http://codereview.chromium.org/431041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33012 0039d316-1c4b-4281-b951-d872f2087c98
* Enable TCMalloc on Linux by default.willchan@chromium.org2009-11-252-0/+1422
| | | | | | | | | | This change also reworks the tcmalloc dependency to be added only to chrome and test_shell, instead of base. This is necessary since otherwise tcmalloc will be double initialized (by both the main executable and dlopen'd shared objects like the npapitestplugin.so). Add valgrind suppressions. This are invalid reads on static initialization in the VDSOSupport module. I haven't investigated it yet, but I suspect they're benign. BUG=http://crbug.com/28149, http://crbug.com/28385 Review URL: http://codereview.chromium.org/399081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33010 0039d316-1c4b-4281-b951-d872f2087c98
* Copy jemalloc vendor branch to chromium branch as base for local changes.sgk@chromium.org2009-11-2510-38/+448
| | | | | | | | BUG=27911 TEST=none Review URL: http://codereview.chromium.org/436034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33008 0039d316-1c4b-4281-b951-d872f2087c98