| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
BUG=none
Review URL: https://codereview.chromium.org/226483003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265360 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=273274
Review URL: https://codereview.chromium.org/245903002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265266 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use COMMANDS_COMPLETED queries instead of making the assumption
that it's safe to access the source resource once the command has
been processed on the service side.
BUG=269808
Review URL: https://codereview.chromium.org/245753003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265220 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We made the assumption that GPUInfo.machine_model is (name, version).
This is true for mac, where this machine_model was originally designed for.
Now we also use it on Android. However, the whole machine_model should just
be retreated as one name string.
Now on Android Nexus, we have "Nexus 5", "Nexus 7", so they are processed
like on Mac, which is incorrect.
I believe a few android entries in the software_rendering_list_json.cc
are not active right now due to the (name, version).
BUG=364743
TEST=gpu_unittests
R=kbr@chromium.org, tsepez@chromium.org, vrk@chromium.org
TBR=pfeldman@chromium.org
Review URL: https://codereview.chromium.org/241793002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265062 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
By using VAO's we can make virtual context switches faster
by a single glBindVertexArrayOES instead of restoring all
attributes one-by-one.
BUG=244701, 363785
Review URL: https://codereview.chromium.org/229883002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264914 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OpenGL ES 3.
This increases the number of configurations for which fences are
supported.
BUG=269808,356871
Review URL: https://codereview.chromium.org/242113011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264900 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This enables hybrid GPU rasterization on Android.
BUG=362779
Review URL: https://codereview.chromium.org/241223004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264735 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=363407, 281565
Review URL: https://codereview.chromium.org/237893004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264705 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a GL_COMMANDS_COMPLETED_CHROMIUM query target that provide
a finer granularity of synchronizing GL command completion than offered
by glFinish().
BUG=269808,356871,273274
TEST=gpu_unittests --gtest_filter=GLES2DecoderManualInitTest.BeginEndQueryEXTCommandsCompletedCHROMIUM
Review URL: https://codereview.chromium.org/238933003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264675 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This path is now only inferred from test_suite_name.
TBR=darin
NOTRY=true
Review URL: https://codereview.chromium.org/226353002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264666 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=297026
R=ben@chromium.org, brettw@chromium.org
Review URL: https://codereview.chromium.org/238633004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264609 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Older nVidia drivers (269.73 and prior) seem to show up in crash reports
associated with turning on D3D11 by default in ANGLE. Forcing D3D9
should clear up the crashes.
BUG=349929
Review URL: https://codereview.chromium.org/240503002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264608 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove any checks for ACCELERATED_COMPOSITING to determine if
compositing is available, since it always is. Instead rename
the blacklist entry to GPU_COMPOSITING and use it to prevent
GL-based compositing.
Depends on: https://codereview.chromium.org/238933009/
R=jbauman@chromium.org, piman@chromium.org, zmo@chromium.org
BUG=363772
Review URL: https://codereview.chromium.org/239083006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264566 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=362782
TEST=gpu_unittests
R=ajuma@chromium.org, kbr@chromium.org
Review URL: https://codereview.chromium.org/240243005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264564 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
ScopedSafeSharedMemory was removed in "GPU: Remove memory duplication in
async uploads." so lets remove this empty declaration as well.
BUG=
Review URL: https://codereview.chromium.org/237673016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264469 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(https://codereview.chromium.org/238933003/)
Reason for revert:
[gardening]
Seems that QueryTest.SyncQueryBasic started to fail on Android Tests (dbug).
http://build.chromium.org/p/chromium.webkit/builders/Android%20Tests%20%28dbg%29
http://build.chromium.org/p/chromium.webkit/builders/Android%20Tests%20%28dbg%29/builds/18673/steps/gl_tests/logs/stdio
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from QueryTest
[ RUN ] QueryTest.SyncQueryBasic
../../gpu/command_buffer/tests/gl_query_unittest.cc:154: Failure
Value of: GLTestHelper::HasExtension("GL_CHROMIUM_sync_query")
Actual: false
Expected: true
[0417/014324:ERROR:gles2_cmd_decoder.cc(9542)] [GroupMarkerNotSet(crbug.com/242999)!:04B0A600]GL ERROR :GL_INVALID_OPERATION : glBeginQueryEXT: not enabled for commands completed queries
[0417/014324:ERROR:gles2_cmd_decoder.cc(9617)] [GroupMarkerNotSet(crbug.com/242999)!:04B0A600]GL ERROR :GL_INVALID_OPERATION : glEndQueryEXT: No active query
../../gpu/command_buffer/tests/gl_query_unittest.cc:166: Failure
Value of: available
Actual: false
Expected: true
../../gpu/command_buffer/tests/gl_manager.cc:241: Failure
Value of: glGetError() == GL_NONE
Actual: false
Expected: true
[ FAILED ] QueryTest.SyncQueryBasic (70 ms)
[----------] 1 test from QueryTest (71 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (71 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] QueryTest.SyncQueryBasic
In range 264168:264191, this patch might be the culprit.
Let me revert this patch and watch whether Android Tests will cycle to green or not.
Original issue's description:
> gpu: Add CHROMIUM_sync_query extension.
>
> This adds a GL_COMMANDS_COMPLETED_CHROMIUM query target that provide
> a finer granularity of synchronizing GL command completion than offered
> by glFinish().
>
> BUG=269808,356871,273274
> TEST=gpu_unittests --gtest_filter=GLES2DecoderManualInitTest.BeginEndQueryEXTCommandsCompletedCHROMIUM
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264173
TBR=piman@chromium.org,epenner@chromium.org,sievers@chromium.org,reveman@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=269808,356871,273274
Review URL: https://codereview.chromium.org/240273006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264407 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=skia:2402
Review URL: https://codereview.chromium.org/231993002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264358 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This mode is always on for everything we ship, so we never need to
blacklist it.
R=jbauman@chromium.org
BUG=363772
Review URL: https://codereview.chromium.org/239253005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264263 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
list.
BUG=none
Review URL: https://codereview.chromium.org/224233003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264215 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Restore bound VAO in ContextState::RestoreState().
>
> BUG=363407
>
> Review URL: https://codereview.chromium.org/237893004
This patch seems to have broken the WebRTC Nexus 5 bots:
http://chromegw.corp.google.com/i/chromium.webrtc/builders/Android%20Tests%20%28dbg%29%20%28KK%20Nexus5%29
The logcat was full of these warnings:
ERROR:gpu_video_decode_accelerator_host.cc(204)]
BUG=364005
TBR=vmiura@chromium.org
Review URL: https://codereview.chromium.org/240113003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264179 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a GL_COMMANDS_COMPLETED_CHROMIUM query target that provide
a finer granularity of synchronizing GL command completion than offered
by glFinish().
BUG=269808,356871,273274
TEST=gpu_unittests --gtest_filter=GLES2DecoderManualInitTest.BeginEndQueryEXTCommandsCompletedCHROMIUM
Review URL: https://codereview.chromium.org/238933003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264173 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SetGetBuffer(id) resets get and put offsets to 0.
So no need to ask CommandBuffer::State through GetState() IPC call.
CreateTransferBuffer() allocates new cmd buffer of size 1MB.
No need to check for num_entries after new allocation of ring_buffer, as always state.num_entries==num_ring_buffer_entries after this new allocation.
BUG=none
Review URL: https://codereview.chromium.org/220243003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264166 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=363407
Review URL: https://codereview.chromium.org/237893004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264104 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=angle:551
Review URL: https://codereview.chromium.org/239223004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264080 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
Review URL: https://codereview.chromium.org/228653004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264057 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Thinkpad T430s with NVIDIA Optimus, the NVIDIA GPU is listed as a
3D controller, not a VGA compatible controller.
BUG=363418
TEST=
R=kbr@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263998
Review URL: https://codereview.chromium.org/237673004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264028 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Accidentally commited something unrelated to this CL.
> PCI scan to find GPU: not limited to just VGA.
>
> On Thinkpad T430s with NVIDIA Optimus, the NVIDIA GPU is listed as a
> 3D controller, not a VGA compatible controller.
>
> BUG=363418
> TEST=
> R=kbr@chromium.org
>
> Review URL: https://codereview.chromium.org/237673004
TBR=zmo@chromium.org
Review URL: https://codereview.chromium.org/239453004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264023 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The default VAO attributes were not being restored when using emulated
VAO, for example on ARM GPUs (e.g. Nexus 10) Chrome forces VAO emulation,
and the following WebGL conformance test fails:
http://www.khronos.org/registry/webgl/sdk/tests/conformance/extensions/oes-vertex-array-object.html
BUG=263398
Review URL: https://codereview.chromium.org/237603003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264005 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Thinkpad T430s with NVIDIA Optimus, the NVIDIA GPU is listed as a
3D controller, not a VGA compatible controller.
BUG=363418
TEST=
R=kbr@chromium.org
Review URL: https://codereview.chromium.org/237673004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263998 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=363378
Review URL: https://codereview.chromium.org/237923002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263818 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The remaining use of the X11 mesage-pump was opening the connection to the
X11 server. This patch moves that out of the message-pump, into gfx. This
allows us to remove the X11 message-pump, and just use the base Glib-based
message-pump on Linux and ChromeOS.
BUG=354062
R=darin@chromium.org, sky@chromium.org
Previously landed in r263726, but reverted in r263733 to allow reverting another CL.
Review URL: https://codereview.chromium.org/235043005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263777 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reason for revert: along with 263718 blamed for
http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%29%282%29/builds/45298
http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%28dbg%29%281%29/builds/29956
> x11: Remove X11 message-pump.
>
> The remaining use of the X11 mesage-pump was opening the connection to the
> X11 server. This patch moves that out of the message-pump, into gfx. This
> allows us to remove the X11 message-pump, and just use the base Glib-based
> message-pump on Linux and ChromeOS.
>
> BUG=354062
> R=darin@chromium.org, sky@chromium.org
>
> Review URL: https://codereview.chromium.org/235043005
TBR=sadrul@chromium.org
Review URL: https://codereview.chromium.org/238093002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263733 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The remaining use of the X11 mesage-pump was opening the connection to the
X11 server. This patch moves that out of the message-pump, into gfx. This
allows us to remove the X11 message-pump, and just use the base Glib-based
message-pump on Linux and ChromeOS.
BUG=354062
R=darin@chromium.org, sky@chromium.org
Review URL: https://codereview.chromium.org/235043005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263726 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
glDrawArraysInstanced, glDrawElementsInstanced, and glVertexAttribDivisor
are parts of ES3 core. Expose them through ANGLE_instanced_arrays on ES3.
BUG=362530
TEST=WebGL conformance tests, gpu_unittests
Review URL: https://codereview.chromium.org/234873003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263609 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=269808
TBR=piman
Review URL: https://codereview.chromium.org/225993004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263580 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/231863009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263513 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- on Windows: with Aura + removal of the accelerated surface support, the only
"transport"-type surfaces are TextureImageTransportSurfaces and
IOSurfaceImageTransportSurface. The GpuHostMsg_AcceleratedSurface* messages can
go directly to the UI thread without the need for filtering on the IO thread.
- on both Mac and Windows, we use the compositor thread always, so we don't need
the ViewMsg_SwapBuffers_ACK and associated logic any more.
BUG=None
Review URL: https://codereview.chromium.org/137663006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263475 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Accessing InProcessCommandBuffer::command_buffer_ must hold the
command_buffer_lock_ lock and DestroyTransferBuffer did not.
BUG=362346
Review URL: https://codereview.chromium.org/235503004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263355 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
on linux
BUG=297026
Review URL: https://codereview.chromium.org/234533002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263288 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
It looks like MSVC is mostly optimizing out the NULL pointer check. We can attempt to placate its alias analysis by returning a void* from the function (instead of a different pointer type) and switching to static_cast from reinterpret_cast (which apparently is illegal with a void*).
BUG=361936
Review URL: https://codereview.chromium.org/233873002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263171 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=297026
R=ben@chromium.org
Review URL: https://codereview.chromium.org/231733005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263101 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=
Review URL: https://codereview.chromium.org/222333002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262715 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Reduce GL calls in Virtual GL context restore, by checking for differences
from previous state.
BUG=244701, 353822
Review URL: https://codereview.chromium.org/228263007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262664 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously texture ids for default textures in Renderer
compositor and Browser compositor contexts are different,
so during a context switch we'd be restoring default
textures for all units which can be slow.
This change makes all default textures 'null' for context groups
with bind_generates_resource == false.
Since Renderer and Browser compositors will both have 'null' default
textures, state switching will be avoided.
BUG=333063, 353822
Review URL: https://codereview.chromium.org/224763002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262288 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=321833
Review URL: https://codereview.chromium.org/213693007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262172 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GPU Client has been respecting the bind_generates_resources attrib,
however the GPU Service has been forcing it to always 'true'. This
means glBind semantic validation has been incorrect when
bind_generates_resources is 'false' on the Client.
This patch passes the bind_generates_resources attrib for
WebGraphicsContext3DCommandBufferImpl, and checks that all contexts
in the same ContextGroup use the same setting.
BUG=333063, 244968
Review URL: https://codereview.chromium.org/213743003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261563 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After crbug.com/332146 is fixed, in Android WebView, GLES2Decoder can be
used on two threads. Make sure a ShaderTranslatorCache instance is only
used on a single thread by refcounting an instance between all decoders.
Also protect ShInitialize by using the thread safety guarantees of
LazyInstance.
For tests, a new instance of ShaderTranslatorCache is passed for each
ContextGroup.
BUG=
Review URL: https://codereview.chromium.org/217813004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261427 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gpu: Allow fences to check whether a flush has occurred
This skips waiting on a fence that was created but never committed.
BUG=352419,355275
TBR=piman@chromium.org
> Original Review URL: https://codereview.chromium.org/197563003
Review URL: https://codereview.chromium.org/222103008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261383 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Plus refactor overlay transform into separate file to use the same type in cc, ozone and context_support.
BUG=
Review URL: https://codereview.chromium.org/220723006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261301 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
R=piman@chromium.org
Review URL: https://codereview.chromium.org/214133012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261288 0039d316-1c4b-4281-b951-d872f2087c98
|