| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Defer IPC messages to the GpuCommandBufferStub until GpuScheduler is rescheduled.
This stops the renderer process from continusously sending synchronous flushes during the swapbuffers period on mac.
TEST=WebGL on windows and mac, trybots
BUG=81279
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=84679
Review URL: http://codereview.chromium.org/7013056
git-svn-id: svn://svn.chromium.org/chrome/branches/742/src@85320 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Thanks to piman, added necessary glFlush to the IOSurface code path on
the Mac. This was the root cause of the delay in transmission of
rendering results from the GPU process to the browser process.
Undid the changes from the fix for Issue 80602; they are no longer
needed.
Reran various test cases on Mac; no regressions.
BUG=81740
TEST=none
TBR=apatrick,piman
Review URL: http://codereview.chromium.org/6932062
git-svn-id: svn://svn.chromium.org/chrome/branches/742/src@84379 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of r83248), which removed the child window from the GPU process. This
fixes the garbage seen on Mac OS X during resizing. It only works on
the M12 branch; there are more root causes on trunk still being
investigated.
BUG=80602
TEST=none
Review URL: http://codereview.chromium.org/6931013
git-svn-id: svn://svn.chromium.org/chrome/branches/742/src@84130 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
Removed "compositor" child window that was created by the GPU process.Removed the sync IPC that it used to ask the browser process to resize on Linux. Adapted windows to use the same mechanism.TEST=test webgl pages on windows (ANGLE and GL), linux and mac, run try job on windows, linux, mac. checkdeps failure look unrelated to patch.
BUG=77536
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=83248
git-svn-id: svn://svn.chromium.org/chrome/branches/742/src@83276 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Fix a webgl bug in command buffer: if a user created fbo is bound, compositor doesn't get the correct frame. The issue is that currently multisampled framebuffer blit is incorrectly skipped if a user created fbo is bound.
BUG=79750
TEST=bots green, test case attached in bug 79750 behaves correctly.
Review URL: http://codereview.chromium.org/6873099
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82201 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
limit SwapBuffers calls by using glSet/TestFenceNV in GpuScheduler.
BUG=79940
TEST=open page with CSS 3D transform animation; open about:gpu and start tracing; verify that between frames, there are not many short calls to ProcessCommands
Review URL: http://codereview.chromium.org/6873095
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82197 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
about:gpu trace.
BUG=79929
TEST=start trace in about:gpu; load shiny teapot demo; stop trace and verify occurrence of various "GLES2::" commands in the trace.
Review URL: http://codereview.chromium.org/6883057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82155 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
process. Added more trace events to show expensive blocking IPCs in renderer process.
BUG=79510
TEST=start trace in about:gpu; open some WebGL windows; when trace Buffer usage reaches 100%, verify that the trace is ended
Review URL: http://codereview.chromium.org/6870020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82115 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=79632
TEST=run trace in about:gpu; observe the number of times the GPU process sequentially calls WaitLatch; verify it is not spinning.
Review URL: http://codereview.chromium.org/6874029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82033 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
the framebuffer is not complete.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6861008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81766 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://codereview.chromium.org/6826049/
Original message:
Renaming GPUProcessor to GpuScheduler
TEST=try
BUG=76585
Review URL: http://codereview.chromium.org/6853027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81667 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=79507
TEST=none
TBR=gman@google.com
Review URL: http://codereview.chromium.org/6858003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81665 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This lets us determine whether the renderer is spinning waiting for command buffer space to open up.
BUG=
TEST=
Review URL: http://codereview.chromium.org/6833005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81655 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
implementation breaks texImage2D into texImage2D with null data and one or more texSubImage2D calls. If the first texImage2D call fails, all the related texSubImage2D calls should be cancelled. However, at the moment they still get called, thus generates GL errors that shouldn't be generated. This CL fixes this issue.
BUG=79172
TEST=unittest, texture-npot.html green
Review URL: http://codereview.chromium.org/6839003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81510 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GLContext::LosesAllContextsOnContextLost specifies whether or not all contexts need to be destroyed when recovering from lost context condition. GpuCommandBufferStub::OnFlush and GpuCommandBufferStub::OnAsyncFlush will instruct soon-to-be-renamed GpuRenderThread to close all channels when the context is lost and LosesAllContextsOnContextLost returns true. From the EGL 1.4 spec:
"...On detection of this error, the application must destroy all contexts (by calling eglDestroyContext for each context). To continue rendering the application must recreate any contexts it requires, and subsequently restore any client API state and objects it wishes to use."
However even with this change Angle still doesn't recover correctly.
BUG=76753
TEST=breakpoint on eglDestroyContext
Review URL: http://codereview.chromium.org/6813010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81437 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6820079
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81338 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
webkit patch.
https://bugs.webkit.org/show_bug.cgi?id=58003
BUG=72671
TEST=see attachment in bug for test. only green should be seen.
Review URL: http://codereview.chromium.org/6810009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81295 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Flushing trace events really disrupts the traced process, so don't flush events until tracing has finished. The events would be stored in memory after they were flushed anyway, so this doesn't change much. For this to work we must make sure to flush the events in small batches, so the send doesn't reject them.
Also add a limit of around 500000 on the number of trace events, so we don't run out of space due to them.
BUG=
TEST=
Review URL: http://codereview.chromium.org/6826043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81210 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This is the final patch in the sequence. Note that gl.gyp is introduced because dependency checking on the Mac is done on a per file (rather than per target) basis.
BUG=none
TEST=trybots
Review URL: http://codereview.chromium.org/6722026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79599 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=None
CID=12914, 15729, 12761, 8585, 14365, 15761, 14796, 15865.
Review URL: http://codereview.chromium.org/6713127
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79544 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
TEST=unit tests
BUG=72601
R=zmo@chromium.org
Review URL: http://codereview.chromium.org/6749014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79499 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
TEST=unit tests
BUG=77233
R=zmo@chromium.org,
Review URL: http://codereview.chromium.org/6713094
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79421 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is progress towards moving app/gfx/gl to ui/gfx/gl. Currently, surface depends on gl, but gl depends on app_base (which contains surface). This refactor gets rid of this potential cyclic dependency.
surface.gyp is in a separate file (not a .gypi include) because cyclic dependency checking is at the file level (not target level).
BUG=none
TEST=by hand and try bots
Review URL: http://codereview.chromium.org/6718027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79396 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TEST=unit tests
BUG=none
Review URL: http://codereview.chromium.org/6719014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79218 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The bug was that the code would search by id instead of by pointer.
This meant it was possible to free the wrong thing (ie, pass in
an info with id=4 and free a different info that also happened
to have id=4). This was most likely to happen when calling
MarkAsDeleted since MarkAsDelete sets the id to 0.
TEST=unit tests
BUG=75629
R=apatrick@chromium.org
Review URL: http://codereview.chromium.org/6721010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79130 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/6724004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79121 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Reduce the chance that a long stream of expensive 3D commands will cause the watchdog to go off by checking the watchdog after every 3D command.
BUG=76603
TEST=none
Review URL: http://codereview.chromium.org/6715006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79097 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
Addition of GL-redirecting mechanism for the Skia/GPU back-end. During execution of the layout tests (DumpRenderTree), all GL-calls are invoked via Mesa. A GL re-direction mechanism was added to skia in revision (http://code.google.com/p/skia/source/detail?r=937) These changes populate the skia re-direction interface with the gl implementation currently in use in Chrome: The app\gfx\gl bindings.
R=kbr, bsalomon
Review URL: http://codereview.chromium.org/6708066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78941 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=
TEST=
Review URL: http://codereview.chromium.org/6716008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78937 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
and GL_CHROMIUM_texture_compression_dxt5 because we don't support all the
features of GL_EXT_texture_compression_s3tc.
TEST=unit tests
BUG=none
Review URL: http://codereview.chromium.org/6715005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78926 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
back-end. During execution of the layout tests (DumpRenderTree), all GL-calls are invoked via Mesa. A GL re-direction mechanism was added to skia in revision (http://code.google.com/p/skia/source/detail?r=937) These changes populate the skia re-direction interface with the gl implementation currently in use in Chrome: The app\gfx\gl bindings. R=kbr, bsalomon
Review URL: http://codereview.chromium.org/6677105
TBR=twiz@chromium.org
R=*
Review URL: http://codereview.chromium.org/6712050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78808 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
execution of the layout tests (DumpRenderTree), all GL-calls are invoked via Mesa. A GL re-direction mechanism was added to skia in revision (http://code.google.com/p/skia/source/detail?r=937) These changes populate the skia re-direction interface with the gl implementation currently in use in Chrome: The app\gfx\gl bindings. R=kbr, bsalomon
Review URL: http://codereview.chromium.org/6677105
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78801 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TEST=unit tests
BUG=76497
Review URL: http://codereview.chromium.org/6708016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78784 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rather than when it is mapped.
This cleaned up the code a little because it now doesn't check whether the memory is mapped every time the address and size are requested.
Also fixed a very unlikely memory leak of a SharedMemory object.
TEST=WebGL/compositor works, try
BUG=none
Review URL: http://codereview.chromium.org/6688048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78778 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
related review:
http://codereview.chromium.org/6691013/
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6694004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78768 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL creates four .gypi files that are included in /ui/ui.gyp. This allows
for a single unittest binary for all the submodules, rather than having
individual unittest binaries for each submodule.
To not break the buildbot, this creates a fake target that copies ui_unittests
to gfx_unittests as temporary scaffolding.
BUG=72317
TEST=gfx_unittests (really ui_unittests) passes
Review URL: http://codereview.chromium.org/6688007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78711 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
child contexts.
The child contexts create them and are then responsible for deleting them. This fixed a crash where the child contexts were passing an invalid texture ID to glBlitFramebufferANGLE.
TEST=can't reproduce bug locally anymore, trybots
BUG=75661
Review URL: http://codereview.chromium.org/6670074
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78642 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TEST=unit tests
BUG=none
Review URL: http://codereview.chromium.org/6677089
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78467 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=
TEST=
TBR=John Bates <jbates@chromium.org>
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78303 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
TBR=John Bates <jbates@chromium.org>
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78302 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changelist is a lightweight version of issue 6551019, but with
the code change confined to the gpu subsystem.
The intent of this change is to enable forward progress on gpu tracing.
Work on the aformentioned issue, i.e. fusing gpu_trace_event and trace_event, will continue.
BUG=
TEST=
Review URL: http://codereview.chromium.org/6691013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78300 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TEST=webgl conformance tests pass
BUG=76093
Review URL: http://codereview.chromium.org/6677024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78132 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Apparently FeatureInfo is now complex enough to require an explicit destructor
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6686055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78074 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Plumb the --disable-gl-multisampling flag in to the command buffer, so it won't report the extension to any consumers.
BUG=75181
TEST=webgl antialias test
Review URL: http://codereview.chromium.org/6686024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78067 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Plumb the --disable-gl-multisampling flag in to the command buffer, so it won't report the extension to any consumers.
BUG=75181
TEST=webgl antialias test
TBR=jbauman
Review URL: http://codereview.chromium.org/6623063
TBR=jbauman@chromium.org
Review URL: http://codereview.chromium.org/6685022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77901 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Plumb the --disable-gl-multisampling flag in to the command buffer, so it won't report the extension to any consumers.
BUG=75181
TEST=webgl antialias test
Review URL: http://codereview.chromium.org/6623063
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77899 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
set Alpha to 255 when reading an RGB backbuffer as RGBA.
TEST=unit tests
BUG=72598
Review URL: http://codereview.chromium.org/6646006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77662 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This removes support for pepper v1 trusted plugins.
TEST=pepper v2 plugin runs, npapi plugin runs, trybots
BUG=none
Review URL: http://codereview.chromium.org/6646025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77568 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=71130
Review URL: http://codereview.chromium.org/6529025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77462 0039d316-1c4b-4281-b951-d872f2087c98
|