bbcb38df4f7477aa0a38da00a0757586a0125954 |
|
19-Jun-2014 |
egdaniel <egdaniel@google.com> |
Allow gpu debug markers to be placed by using a GrContext If a marker is placed using a GrContext, it will add a marker to both the drawBuffer and gpu targets of that context. BUG=skia: R=bsalomon@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/340893002
/external/skia/src/gpu/SkGpuDevice.cpp
|
0689d7b12e7c427a077b003d3d8ae759d86f798f |
|
14-Jun-2014 |
reed <reed@chromium.org> |
stop using SkBitmap::Config R=scroggo@google.com Author: reed@chromium.org Review URL: https://codereview.chromium.org/338493005
/external/skia/src/gpu/SkGpuDevice.cpp
|
e61c411c1258a323a010558c08de3d9f8d170dca |
|
12-Jun-2014 |
egdaniel <egdaniel@google.com> |
Use vertex attributes for dash effect in gpu This will allow us to batch dashed lines together when drawing. Also, this removes the need for a coord transform matrix in the shader, thus we save the cost of uploading a new matrix uniform everytime we do a simple transform to the dashed line we are drawing. BUG=skia: R=bsalomon@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/326103002
/external/skia/src/gpu/SkGpuDevice.cpp
|
d58a0ba9cff9fcefe5047e88ccb4a6e76c591c40 |
|
11-Jun-2014 |
egdaniel <egdaniel@google.com> |
Push dash checks into GrContext. Add class to hold stroke and dash info. R=bsalomon@google.com, robertphillips@google.com, jvanverth@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/311183002
/external/skia/src/gpu/SkGpuDevice.cpp
|
4585144956e6d383115704181470d8436fc9829d |
|
11-Jun-2014 |
reed <reed@google.com> |
remove SK_SUPPORT_LEGACY_DEVICE_CONFIG code BUG=skia: R=djsollen@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/327263002
/external/skia/src/gpu/SkGpuDevice.cpp
|
e50da8fb83915158f09b07c8f60f952e2eacfb43 |
|
10-Jun-2014 |
reed <reed@google.com> |
fix when DEVICE_CONFIG is still defined BUG=skia: R=djsollen@google.com, bsalomon@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/329553005
/external/skia/src/gpu/SkGpuDevice.cpp
|
9de5b514d38c5b36066bcdc14fba2f7e5196d372 |
|
10-Jun-2014 |
dandov <dandov@google.com> |
SkShader::asNewEffect Refactoring The new signature is: bool asNewEffect(GrContext* context, const SkPaint& paint, GrColor* grColor, GrEffectRef** grEffect, const SkMatrix* localMatrixOrNull) const; It will fix the hack for skcolorshader by modifying the GrColor parameter in SkGr::SkPaint2GrPaintShader. BUG=skia:2646 R=jvanverth@google.com, bsalomon@google.com Author: dandov@google.com Review URL: https://codereview.chromium.org/318923005
/external/skia/src/gpu/SkGpuDevice.cpp
|
6c22573edb234ad14df947278cfed010669a39a7 |
|
10-Jun-2014 |
reed <reed@chromium.org> |
hide SkBitmap::setConfig patch from issue 325733002 TBR=scroggo Author: reed@chromium.org Review URL: https://codereview.chromium.org/322963002
/external/skia/src/gpu/SkGpuDevice.cpp
|
2583b6257fea931c31c6b3b75cc583106335ad90 |
|
04-Jun-2014 |
mtklein <mtklein@chromium.org> |
Is this SkDebug important? It drives me nuts. BUG=skia: R=bsalomon@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/310113006
/external/skia/src/gpu/SkGpuDevice.cpp
|
9b14f26d0f3a974f3dd626c8354e1db1cfcd322f |
|
04-Jun-2014 |
robertphillips <robertphillips@google.com> |
Alter SkCanvas::drawPicture (devirtualize, take const SkPicture, take pointer) R=reed@google.com, bsalomon@google.com, mtklein@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/313613004
/external/skia/src/gpu/SkGpuDevice.cpp
|
868074b50b0fc3e460d2aa97c1096827fe0a1935 |
|
03-Jun-2014 |
reed <reed@google.com> |
remove SkBounder -- unused and unloved BUG=skia: R=scroggo@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/312553006
/external/skia/src/gpu/SkGpuDevice.cpp
|
a6a8f00a3977e71dbce9da50a32c5e9a51c49285 |
|
02-Jun-2014 |
reed <reed@chromium.org> |
hide SkDevice::config() TBR=robertphilips Author: reed@chromium.org Review URL: https://codereview.chromium.org/302253002
/external/skia/src/gpu/SkGpuDevice.cpp
|
a3264e53ee3f3c5d6a2c813df7e44b5b96d207f2 |
|
30-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "Revert of setConfig -> setInfo (https://codereview.chromium.org/308683005/)" This reverts commit eecaea4148805834f223681f70b6488ceba12d09. R=robertphillips@google.com, scroggo@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/301283003 git-svn-id: http://skia.googlecode.com/svn/trunk@14989 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
559a8833f0eae4af37dc0ffc3ee97e1fb14817b1 |
|
30-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix the rendering error of SkDraw::drawVertices in gpu path for solid color. If both textures and vertex-colors are NULL, drawVertices should stroke hairlines with the paint's color. This behavior is a useful debugging mode to visualize the mesh. BUG=skia:2266 R=bsalomon@google.com, reed@google.com Author: yunchao.he@intel.com Review URL: https://codereview.chromium.org/189963004 git-svn-id: http://skia.googlecode.com/svn/trunk@14985 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d0f824cfbd8951bb948b19d7ff5dce028ce557a5 |
|
29-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert of setConfig -> setInfo (https://codereview.chromium.org/308683005/) Reason for revert: broke all Windows bots Original issue's description: > setConfig -> setInfo > > BUG=skia: > > Committed: http://code.google.com/p/skia/source/detail?r=14978 R=robertphillips@google.com, reed@google.com TBR=reed@google.com, robertphillips@google.com NOTREECHECKS=true NOTRY=true BUG=skia: Author: epoger@google.com Review URL: https://codereview.chromium.org/302053002 git-svn-id: http://skia.googlecode.com/svn/trunk@14979 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
986d681f3e7a7eb6febd9df9fe21a8d277ba2296 |
|
29-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
setConfig -> setInfo BUG=skia: R=robertphillips@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/308683005 git-svn-id: http://skia.googlecode.com/svn/trunk@14978 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
c93e68161f78542d90b28b6cf9911b1de3788054 |
|
23-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
fix the visual diff of raster vs gpu -- vertices_80. The sw-raster is correct, all images are blurry. While some images generated by gpu doesn't respect SkPaint's alpha value. In gpu path, when pass SkPaint's alpha and color to GrPaint by SkPaint2GrPaintNoShader, either alpha or colors can't not be passed. We can't pass both of them by the API. Premultiply paint's alpha to colors's alpha in drawVertices, and pass colors to GrPaint. The rendering result will respect colors in drawVertices, and the alpha value set in SkPaint as well. BUG=skia:2592 R=bsalomon@google.com Author: yunchao.he@intel.com Review URL: https://codereview.chromium.org/292943002 git-svn-id: http://skia.googlecode.com/svn/trunk@14863 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
9927bd355fc1557aa2c98900266ba6f49f806889 |
|
20-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Centralize decision about whether to do bicubic filtering, and fallbacks to mip, bilerp, or nearest R=robertphillips@google.com, humper@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/282293004 git-svn-id: http://skia.googlecode.com/svn/trunk@14809 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1878651990d7c9da72cf43481432232bbef3550d |
|
20-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Rename SkMatrix::get(Max|Min)Stretch to get(Min|Max)Scale R=reed@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/295713002 git-svn-id: http://skia.googlecode.com/svn/trunk@14798 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
3595f88aff0a1b490aa6661f0ba2d3534ee86353 |
|
19-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Pass in GrContext instead of SkGpuDevice for dashing and Sk2GrPaint conversion BUG=skia: R=bsalomon@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/292773002 git-svn-id: http://skia.googlecode.com/svn/trunk@14790 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
628ed0b22045a9544b56e00e73137d6050ce900c |
|
19-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add Dashing gpu effect for simple dashed lines BUG=skia: R=bsalomon@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/274673004 git-svn-id: http://skia.googlecode.com/svn/trunk@14775 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
8dcff6416969708952d663a47993f73957a00bad |
|
15-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move skPaint2GrPaint to SkGr.h/cpp BUG=skia: R=bsalomon@google.com, brian@thesalomons.net, robertphillips@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/283803003 git-svn-id: http://skia.googlecode.com/svn/trunk@14753 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
8ec8bab7780cc458ad53c3c44f2027fbc7c14a54 |
|
14-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Update layer-pre-rendering for Chrome flag As currently plumbed into Chromium, EXPERIMENTAL_optimize can be called multiple times per picture. Additionally, Chromium generates a lot of pictures with no layers at all. R=bsalomon@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/283703007 git-svn-id: http://skia.googlecode.com/svn/trunk@14721 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
96fb7489ba46909c3f81bb2d94755e7d4ccb5fad |
|
09-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
add localmatrix parameter to shader's asNewEffect BUG=skia: R=bsalomon@google.com, dominikg@chromium.org Author: reed@google.com Review URL: https://codereview.chromium.org/278963002 git-svn-id: http://skia.googlecode.com/svn/trunk@14686 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
95c2003740c4cd01fd1b02ed93b9de7227b1d0f5 |
|
09-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
cleanup GrContext resource cache api R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/275563005 git-svn-id: http://skia.googlecode.com/svn/trunk@14669 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
a17773f0b0db6b195004d438ec6ceb9c99465482 |
|
09-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Disable filtering in draw Bitmap operation when pixels are aligned The check is now performed in the callers of internalDrawBitmap() to avoid retrieve the texture with wrong filter mode when the pixels were aligned. This bug was spotted in Chrome for Android: Chrome for Androids's Canvas drawImage loses fidelity in canvases larger than 64k pixels. BUG=chromium:231916 R=bsalomon@google.com, robertphillips@google.com Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com> Author: siglesias@igalia.com Review URL: https://codereview.chromium.org/264303008 git-svn-id: http://skia.googlecode.com/svn/trunk@14665 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f97d65dc256111f1de6bbf3521c7cd3cf3e70f60 |
|
09-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix rendering artifacts in pull-saveLayers-forward mode This CL fixes 2 bugs in the pre-rendering of saveLayers: 1) The drawBitmapRect call wasn't occurring in device space so could sometimes be double transformed 2) The BBH op skipping in SkPicturePlayback could sometimes mess up the SkPictureStateTree's state It also reduces the number of layers that are pre-rendered when a BBH is not in use. Committed: http://code.google.com/p/skia/source/detail?r=14650 R=bsalomon@google.com, reed@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/267293007 git-svn-id: http://skia.googlecode.com/svn/trunk@14659 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
3d41c4add81e95784faa81f9a59b4a32b7cff082 |
|
08-May-2014 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r14650 (Fix rendering artifacts in pull-saveLayers-forward mode - https://codereview.chromium.org/267293007) due to unit test failures git-svn-id: http://skia.googlecode.com/svn/trunk@14654 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
7252f7ba4b729693db946d014c5af41413e2dd20 |
|
08-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix rendering artifacts in pull-saveLayers-forward mode This CL fixes 2 bugs in the pre-rendering of saveLayers: 1) The drawBitmapRect call wasn't occurring in device space so could sometimes be double transformed 2) The BBH op skipping in SkPicturePlayback could sometimes mess up the SkPictureStateTree's state It also reduces the number of layers that are pre-rendered when a BBH is not in use. R=bsalomon@google.com, reed@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/267293007 git-svn-id: http://skia.googlecode.com/svn/trunk@14650 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
b2c82c99f891e4e846e4959c811661bf68fa43d6 |
|
08-May-2014 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@14636 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
beb1af2f34b5c538fc08d849b132355160b4c93f |
|
07-May-2014 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
First pass at pre-rendering saveLayers for GPU https://codereview.chromium.org/261663003/ git-svn-id: http://skia.googlecode.com/svn/trunk@14632 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
8fd9382c25804d8e4e296c11ae7c63ed2d2691d5 |
|
06-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix memory leak in GPU Picture optimization R=jvanverth@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/265763008 git-svn-id: http://skia.googlecode.com/svn/trunk@14589 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
0205aba7d5e8802d2a3ef55d999f5aa41db3adc9 |
|
06-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Infrastructure changes to support pull-saveLayers-forward task This is split out of (First pass at pre-rendering saveLayers for GPU - https://codereview.chromium.org/261663003/). It mainly: Moves NeedsDeepCopy to somewhere more accessible (so GrPictureUtils.cpp can use it) Moves ComputeAccelDataKey somewhere more accessible (so GPUPicture test can use it) Adds unit test for picture saveLayer analysis (done in EXPERIMENTAL_optimize) Adds new fields to SaveLayerInfo that are needed to pull forward layers Committed: http://code.google.com/p/skia/source/detail?r=14571 R=bsalomon@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/266203003 git-svn-id: http://skia.googlecode.com/svn/trunk@14586 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
300c6060c855cf607accaed969238b928833623d |
|
05-May-2014 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r14571 (Infrastructure changes to support pull saveLayers forward task - https://codereview.chromium.org/266203003) due to breaking Android unit tests git-svn-id: http://skia.googlecode.com/svn/trunk@14578 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
6b392b6111fad269437517494b14be484cd762f6 |
|
05-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Infrastructure changes to support pull-saveLayers-forward task This is split out of (First pass at pre-rendering saveLayers for GPU - https://codereview.chromium.org/261663003/). It mainly: Moves NeedsDeepCopy to somewhere more accessible (so GrPictureUtils.cpp can use it) Moves ComputeAccelDataKey somewhere more accessible (so GPUPicture test can use it) Adds unit test for picture saveLayer analysis (done in EXPERIMENTAL_optimize) Adds new fields to SaveLayerInfo that are needed to pull forward layers R=bsalomon@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/266203003 git-svn-id: http://skia.googlecode.com/svn/trunk@14571 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
6fcd1ef244f50b382627cdc7cdb50eb9e2dd46eb |
|
02-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add flag for SkGpuSurface creation to enable distance fields. BUG=skia:2173 R=bsalomon@google.com, reed@google.com, bungeman@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/261783004 git-svn-id: http://skia.googlecode.com/svn/trunk@14525 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
9d5e3f11a35e2059476a55e52349d3c6b3058f70 |
|
01-May-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix image decode thrashing when drawing a very large source image to a GPU canvas R=bsalomon@google.com Author: junov@chromium.org Review URL: https://codereview.chromium.org/265763005 git-svn-id: http://skia.googlecode.com/svn/trunk@14522 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
9c9005a347e9996f357bd79591bd34f74f8bbc66 |
|
28-Apr-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move SkShader::fLocalMatrix into SkShader constructor. As a first step towards removing SkShader::setLocalMatrix, which will make SkShader thread-safe, remove calls to setLocalMatrix that happen immediately after the shader is being created. Instead, pass the matrix into the constructor or factory method. BUG=skia:1976 R=scroggo@google.com, reed@google.com, skyostil@google.com, mtklein@google.com Author: dominikg@chromium.org Review URL: https://codereview.chromium.org/245963010 git-svn-id: http://skia.googlecode.com/svn/trunk@14401 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
3adcc3403377c0b9a7afde6db8e0432325413a10 |
|
23-Apr-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
stop using deprecated bitmap::config for gpu BUG=skia: R=bsalomon@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/248473006 git-svn-id: http://skia.googlecode.com/svn/trunk@14330 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f7efa502d62af80bd15b03e1131603fb6577c3df |
|
11-Apr-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Implement intra-frame cacheing in image filters. When image filters are processed within Skia, they simply do a blind recursion. This has the side-effect of turning the DAG into a tree. I.e., nodes visited more than once during the traversal will be processed more than once. This change implements a very simple cacheing scheme: a cache is created before traversing the DAG, and handed into the processing traversal. Before recursing into a child in SkImageFilter::filterImage(), the cache is checked for a hit, and early-out is performed. Otherwise, the node is processed, and its result bitmap and location (offset) are cached, but only if it contains two or more children and thus will be visited again during the traversal. Currently, the child count is approximated with the refcount. This is good enough in most cases (and exactly correct for the Chrome use case). We could add an exact child count to the image filter, but this will require violating the immutability of image filters slightly in order to bump the child count as nodes are connected. I leave it up to the reviewer to decide which is better. R=reed@google.com Author: senorblanco@chromium.org Review URL: https://codereview.chromium.org/230653005 git-svn-id: http://skia.googlecode.com/svn/trunk@14160 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
28fcae2ec77eb16a79e155f8d788b20457f1c951 |
|
11-Apr-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert of Revert of Rename kPMColor_SkColorType to kN32_SkColorType. (https://codereview.chromium.org/234243002/) Reason for revert: Want to reland the original CL. Original issue's description: > Revert of Rename kPMColor_SkColorType to kN32_SkColorType. (https://codereview.chromium.org/227433009/) > > Reason for revert: > breaking the Chrome deps roll. > http://build.chromium.org/p/chromium.linux/builders/Linux%20GN%20%28dbg%29/builds/839/steps/compile/logs/stdio > > Original issue's description: > > Rename kPMColor_SkColorType to kN32_SkColorType. > > > > The new name better represents what this flag means. > > > > BUG=skia:2384 > > > > Committed: http://code.google.com/p/skia/source/detail?r=14117 > > TBR=reed@google.com,scroggo@google.com > NOTREECHECKS=true > NOTRY=true > BUG=skia:2384 > > Committed: http://code.google.com/p/skia/source/detail?r=14144 R=reed@google.com, bensong@google.com TBR=bensong@google.com, reed@google.com NOTREECHECKS=true NOTRY=true BUG=skia:2384 Author: scroggo@google.com Review URL: https://codereview.chromium.org/235523003 git-svn-id: http://skia.googlecode.com/svn/trunk@14156 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
c873329ae9ff00b0c45f7294172ad2e9b1ec44c8 |
|
11-Apr-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Update bench to be able to preprocess skps This allows benchmarking of optimization improvements and plumbs in the purging API. The purging is necessary so we don't magically get faster because the saveLayers are always pre-generated. R=jvanverth@google.com, reed@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/233663002 git-svn-id: http://skia.googlecode.com/svn/trunk@14154 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
365cd31a65f7dff9947693cd1eab790ada753ed5 |
|
11-Apr-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Rename GrAtlasedLayer to GrCachedLayer (since not all cached layers are atlased) This is mainly a renaming CL but it does add a ref-counted ptr to the backing GrTexture for non-atlased layers (the only kind working right now) R=jvanverth@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/233703003 git-svn-id: http://skia.googlecode.com/svn/trunk@14152 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
96edc2459820f0f60ea9b57959c1e5018ef95e28 |
|
11-Apr-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert of Rename kPMColor_SkColorType to kN32_SkColorType. (https://codereview.chromium.org/227433009/) Reason for revert: Chrome's side of define changes not easy to figure out quickly. Reverting this for DEPS roll for now. Original issue's description: > Rename kPMColor_SkColorType to kN32_SkColorType. > > The new name better represents what this flag means. > > BUG=skia:2384 > > Committed: http://code.google.com/p/skia/source/detail?r=14117 R=reed@google.com, scroggo@google.com TBR=reed@google.com, scroggo@google.com NOTREECHECKS=true NOTRY=true BUG=skia:2384 Author: bensong@google.com Review URL: https://codereview.chromium.org/234833003 git-svn-id: http://skia.googlecode.com/svn/trunk@14149 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d923288e50b5a69afb0bdd5c161191b24cab8345 |
|
11-Apr-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert of Revert of Rename kPMColor_SkColorType to kN32_SkColorType. (https://codereview.chromium.org/234243002/) Reason for revert: fixes on the chrome side are landing (brettw), keep fingers crossed. Original issue's description: > Revert of Rename kPMColor_SkColorType to kN32_SkColorType. (https://codereview.chromium.org/227433009/) > > Reason for revert: > breaking the Chrome deps roll. > http://build.chromium.org/p/chromium.linux/builders/Linux%20GN%20%28dbg%29/builds/839/steps/compile/logs/stdio > > Original issue's description: > > Rename kPMColor_SkColorType to kN32_SkColorType. > > > > The new name better represents what this flag means. > > > > BUG=skia:2384 > > > > Committed: http://code.google.com/p/skia/source/detail?r=14117 > > TBR=reed@google.com,scroggo@google.com > NOTREECHECKS=true > NOTRY=true > BUG=skia:2384 > > Committed: http://code.google.com/p/skia/source/detail?r=14144 R=reed@google.com, scroggo@google.com TBR=reed@google.com, scroggo@google.com NOTREECHECKS=true NOTRY=true BUG=skia:2384 Author: bensong@google.com Review URL: https://codereview.chromium.org/233813004 git-svn-id: http://skia.googlecode.com/svn/trunk@14145 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
757ebd20ef284b6428eb9f4b9b69826cc3640a82 |
|
11-Apr-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert of Rename kPMColor_SkColorType to kN32_SkColorType. (https://codereview.chromium.org/227433009/) Reason for revert: breaking the Chrome deps roll. http://build.chromium.org/p/chromium.linux/builders/Linux%20GN%20%28dbg%29/builds/839/steps/compile/logs/stdio Original issue's description: > Rename kPMColor_SkColorType to kN32_SkColorType. > > The new name better represents what this flag means. > > BUG=skia:2384 > > Committed: http://code.google.com/p/skia/source/detail?r=14117 R=reed@google.com, scroggo@google.com TBR=reed@google.com, scroggo@google.com NOTREECHECKS=true NOTRY=true BUG=skia:2384 Author: bensong@google.com Review URL: https://codereview.chromium.org/234243002 git-svn-id: http://skia.googlecode.com/svn/trunk@14144 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
0a09d7195b8d9945e5c9c76cc4cfe6ef65d6d390 |
|
09-Apr-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Implement drawDRRect for GPU BUG=skia:2259 R=jvanverth@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/220233011 git-svn-id: http://skia.googlecode.com/svn/trunk@14118 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
149e9a107c356b0151433fb23c2b1c8d0634947c |
|
09-Apr-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Rename kPMColor_SkColorType to kN32_SkColorType. The new name better represents what this flag means. BUG=skia:2384 R=reed@google.com Author: scroggo@google.com Review URL: https://codereview.chromium.org/227433009 git-svn-id: http://skia.googlecode.com/svn/trunk@14117 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
fc9482933794fb46920abc67cc84923a273e3fe1 |
|
07-Apr-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
remove SK_SUPPORT_LEGACY_COMPATIBLEDEVICE_CONFIG remove SK_SUPPORT_LEGACY_GETDEVICECAPABILITIES BUG=skia: R=robertphillips@google.com, bsalomon@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/227643005 git-svn-id: http://skia.googlecode.com/svn/trunk@14083 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
e930a075625d3d90c023c2570a6a4cae1a4b484f |
|
03-Apr-2014 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add a GrLayerCache to GrContext https://codereview.chromium.org/217343006/ git-svn-id: http://skia.googlecode.com/svn/trunk@14038 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
2c48ee83c824964fbcb3dc4733055da0e75e154f |
|
01-Apr-2014 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@14002 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
8ddc26b68c4e41199c06961da3bff2ce72afff14 |
|
31-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Actually identify required saveLayers in SkGpuDevice::EXPERIMENTAL_drawPicture NOTRY=true R=bsalomon@google.com, rmistry@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/212933002 git-svn-id: http://skia.googlecode.com/svn/trunk@13993 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
972f9cd7a063d0544f8c919fd12b9a3adbd12b24 |
|
28-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
SK_SUPPORT_LEGACY_GRTYPES to hide duplicate types from SkTypes.h BUG=skia: R=bsalomon@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/216503004 git-svn-id: http://skia.googlecode.com/svn/trunk@13982 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
4784182993a336b673619f3eb13ce2539aa890da |
|
27-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert of Implement text rendering with NVPR (https://codereview.chromium.org/196133014/) Reason for revert: This probably caused Win8 test bot fail during gm run: http://108.170.217.252:10117/builders/Test-Win8-ShuttleA-GTX660-x86-Debug/builds/574 I can not identify any errors from the logs, so maybe it hung or something? Original issue's description: > Implement text rendering with NVPR > > Use path rendering to render the text from outlines if supported by the > GPU. Implement this in GrStencilAndCoverTextContext by copying large > chunks of code from GrBitmapTextContext (drawText) and > GrDistanceFieldTextContext (drawPosText). > > The drawing is implemented with "instanced" path drawing > functions. > > Moves the creation of the "main" text context from SkGpuDevice to the > GrContext::createTextContext. This is done because the decision of which > text renderer is optimal can be made only with the internal > implementation-specific information of the context. > > Committed: http://code.google.com/p/skia/source/detail?r=13962 R=jvanverth@google.com, bsalomon@google.com, mtklein@google.com TBR=bsalomon@google.com, jvanverth@google.com, mtklein@google.com NOTREECHECKS=true NOTRY=true Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/213123014 git-svn-id: http://skia.googlecode.com/svn/trunk@13963 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
dcb8ef9e866b2674e8f9a70b761fcc4fec87dbbe |
|
27-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Implement text rendering with NVPR Use path rendering to render the text from outlines if supported by the GPU. Implement this in GrStencilAndCoverTextContext by copying large chunks of code from GrBitmapTextContext (drawText) and GrDistanceFieldTextContext (drawPosText). The drawing is implemented with "instanced" path drawing functions. Moves the creation of the "main" text context from SkGpuDevice to the GrContext::createTextContext. This is done because the decision of which text renderer is optimal can be made only with the internal implementation-specific information of the context. R=jvanverth@google.com, bsalomon@google.com Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/196133014 git-svn-id: http://skia.googlecode.com/svn/trunk@13962 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f20fc24a7def23093a1abd2fc8de4a1302aeb9f8 |
|
26-Mar-2014 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
remove all references to legacy Config8888 BUG=skia: R=bsalomon@google.com Review URL: https://codereview.chromium.org/211043002 git-svn-id: http://skia.googlecode.com/svn/trunk@13952 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
a95a066f4aeb2d9fce0eee105753722b5935563f |
|
20-Mar-2014 |
bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix Windows build break introduced in r13864. Need SkToBool(...). git-svn-id: http://skia.googlecode.com/svn/trunk@13870 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d8a57af725e8fa8905207df3cf7465be50598752 |
|
19-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Adding a new SkSurface factory for generating surfaces from the scratch texture pool. TEST=Surface unit test BUG=crbug.com/351798 R=bsalomon@google.com, robertphillips@google.com, reed@google.com Author: junov@chromium.org Review URL: https://codereview.chromium.org/201153023 git-svn-id: http://skia.googlecode.com/svn/trunk@13864 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
b7b7eb32f41729c136c939702b0c9a484accb541 |
|
19-Mar-2014 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix accessBitmap() with deferred clear, GPU path. When accessBitmap() is called on a GPU device which has deferred clear, and no drawing has been done, force the clear before returning the bitmap. This is covered by the top right test case in the imagefilterscropexpand GM, where an offset image filter is drawn but the resulting bitmap is cropped out, resulting in no drawing to the offscreen. It should be empty, but without this fix it results in garbage (previous scratch texture contents). BUG=skia: R=bsalomon@google.com Review URL: https://codereview.chromium.org/204903002 git-svn-id: http://skia.googlecode.com/svn/trunk@13860 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
db0c8753775774aa3f67114491e26ac1be32f38e |
|
18-Mar-2014 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@13845 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
a713f9c6f6a06d216d53e268b9c691941053dabf |
|
17-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
add new readPixels with direct memory parameters BUG=skia: R=scroggo@google.com, bsalomon@google.com, robertphillips@google.com, fmalita@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/199413013 git-svn-id: http://skia.googlecode.com/svn/trunk@13840 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
4ef54f8d72420a521d4aae04ff5cd438810eca7f |
|
17-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
remove SK_SUPPORT_LEGACY_WRITEPIXELSCONFIG -- dead code BUG=skia: R=halcanary@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/201973003 git-svn-id: http://skia.googlecode.com/svn/trunk@13834 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
145d1c0fdcef63991d7f910cc067a653a8aa2c4c |
|
16-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Proposed SkCanvas API for preLoading textures to VRAM v2.0 This is an update to (Proposed SkCanvas API for preLoading textures to VRAM - https://codereview.chromium.org/192853002/). It takes into account in-person feedback on the initial proposal. The main feedback was to land this closer to where we will ultimately wind up with the reordered rendering capability (and don't have an SkCanvas entry point (yet)). Committed: http://code.google.com/p/skia/source/detail?r=13810 R=reed@google.com, bsalomon@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/197123003 git-svn-id: http://skia.googlecode.com/svn/trunk@13822 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
5ed01d1f8fa3fa38105c252929f02dd7603271e3 |
|
14-Mar-2014 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r13810 (Proposed SkCanvas API for preLoading textures to VRAM v2.0) git-svn-id: http://skia.googlecode.com/svn/trunk@13811 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1ab85c8719ef46a8f2de9912b3f84f387bddf0d1 |
|
14-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Proposed SkCanvas API for preLoading textures to VRAM v2.0 This is an update to (Proposed SkCanvas API for preLoading textures to VRAM - https://codereview.chromium.org/192853002/). It takes into account in-person feedback on the initial proposal. The main feedback was to land this closer to where we will ultimately wind up with the reordered rendering capability (and don't have an SkCanvas entry point (yet)). R=reed@google.com, bsalomon@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/197123003 git-svn-id: http://skia.googlecode.com/svn/trunk@13810 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
4cb543d6057b692e1099e9f115155f0bf323a0c8 |
|
14-Mar-2014 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Implement support for a Context parameter in image filters Some upcoming work (support for expanding crop rects) requires the clip bounds to be available during filter traversal. This change replaces the SkMatrix parameter in the onFilterImage() traversals with a Context parameter. It contains the CTM, as well as the clip bounds. BUG=skia: R=reed@google.com Review URL: https://codereview.chromium.org/189913021 git-svn-id: http://skia.googlecode.com/svn/trunk@13803 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
b97c3ffddf15ac65a0aae6823eb408b3b2772751 |
|
11-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Enable use of distance fields via SkPaint flag. Now that distance field generation is fast enough to make it practical, this makes distances field fonts easily available to anyone who wants to try them out (i.e Chromium). BUG=skia:2173 R=reed@google.com, bsalomon@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/193163003 git-svn-id: http://skia.googlecode.com/svn/trunk@13741 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
821397018fdabea6b434ecb96f84fb5449c4025f |
|
10-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
plumbing for GPU fast blur BUG=skia:2281 R=bsalomon@google.com Author: humper@google.com Review URL: https://codereview.chromium.org/193193002 git-svn-id: http://skia.googlecode.com/svn/trunk@13735 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
4cd9e2169e35cd67ee7358acea6541245e1d1744 |
|
07-Mar-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add SkCanvas::writePixels that takes info+pixels directly add corresponding methods to device (w/ diff name to avoid colliding with exising virtuals) BUG=skia: R=bsalomon@google.com, robertphillips@google.com, junov@google.com, junov@chromium.org Author: reed@google.com Review URL: https://codereview.chromium.org/180113010 git-svn-id: http://skia.googlecode.com/svn/trunk@13697 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
969588f0c9030d5a4942085a4b5a5ea7e8d2bc25 |
|
16-Feb-2014 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@13464 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
15a140599942f70e47380e3f700a825c7cece3b4 |
|
16-Feb-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Change device factories to take SkImageInfo instead of SkBitmap::Config patch from issue 167033002 BUG=skia: R=reed@google.com Author: reed@chromium.org Review URL: https://codereview.chromium.org/168653002 git-svn-id: http://skia.googlecode.com/svn/trunk@13463 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
ae761f7545d8ebf181d220169afac2056b057b8c |
|
05-Feb-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make SkImageFilter methods const. SkImageFilter had some non-const methods that could all be made const. This is a first step towards making SkImageFilter immutable. BUG=skia:2097 R=mtklein@google.com, reed@google.com, robertphillips@google.com Author: dominikg@chromium.org Review URL: https://codereview.chromium.org/148883011 git-svn-id: http://skia.googlecode.com/svn/trunk@13330 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
76f10a3bd936af7dbe2b5873d5a7eedd73cdc5da |
|
05-Feb-2014 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
remove SkCanvas::createCompatibleDevice, and add SkCanvas::newSurface BUG=skia: R=bsalomon@google.com Review URL: https://codereview.chromium.org/154163002 git-svn-id: http://skia.googlecode.com/svn/trunk@13319 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
4c18e9fbb685cccf23342757e786027a032197da |
|
31-Jan-2014 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@13258 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
cbbc481e918c0d32454455626235f67106f216a1 |
|
30-Jan-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replace factory generation of TextContexts with persistent objects. BUG=skia:2018 R=bsalomon@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/150743002 git-svn-id: http://skia.googlecode.com/svn/trunk@13249 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
cf34bc06347dd2734a7fdaef5cf8853e92979d5e |
|
30-Jan-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
patch from issue 119343003 compile on 10.6, exclude failing gms Sorry for making another CL; rebasing ToT on the old one ended up with code in a tangled mess; was easier to start over. NOTRY=true R=bsalomon@google.com, epoger@google.com, reed@google.com Author: humper@google.com Review URL: https://codereview.chromium.org/148883005 git-svn-id: http://skia.googlecode.com/svn/trunk@13238 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
9f94b9104a02c5918720517de3ffd547f354900a |
|
30-Jan-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add fallback code for TextContexts that don't support all features BUG=skia:2018 NOTRY=true R=bsalomon@google.com, reed@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/135683006 git-svn-id: http://skia.googlecode.com/svn/trunk@13236 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
e5d7015cde3b6f2a3929b8e378822e3d7be223d4 |
|
29-Jan-2014 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@13228 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
e8612d9a8d616c2ed0195421a0675e10b0c2d230 |
|
28-Jan-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add standalone drawText for GrTextContext. This unifies the interface between GrBitmapTextContext and GrDistanceFieldTextContext so that they don't need special case code. The future GrNVPRTextContext will also use this interface. BUG=skia:2018 R=bsalomon@google.com, reed@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/141863005 git-svn-id: http://skia.googlecode.com/svn/trunk@13227 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
dcfa9ff57c009527e589dfc9c9fdc71483fd2f39 |
|
28-Jan-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert of Fast blurred rectangles on GPU (https://codereview.chromium.org/119343003/) Reason for revert: Two problems: 1. broke compile on Build-Mac10.6-* bots 2. broke GM expectations on many bots We'll need to examine the GM impact before re-landing. I can work with you to do this on Tuesday if you like; just IM or email me. Original issue's description: > Perform the same analytic blur calculation on the GPU that we do on the CPU. Results in significant performance gains when using Ganesh to render drop shadows in Chrome. > > BUG= > > Committed: http://code.google.com/p/skia/source/detail?r=13210 R=bsalomon@google.com, reed@google.com, humper@google.com, rmistry@google.com TBR=bsalomon@google.com, humper@google.com, reed@google.com NOTREECHECKS=true NOTRY=true BUG= Author: epoger@google.com Review URL: https://codereview.chromium.org/140853008 git-svn-id: http://skia.googlecode.com/svn/trunk@13213 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d1829151a5f5fb69faa50c326ed018376d117b3e |
|
27-Jan-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Perform the same analytic blur calculation on the GPU that we do on the CPU. Results in significant performance gains when using Ganesh to render drop shadows in Chrome. BUG= R=bsalomon@google.com, reed@google.com Author: humper@google.com Review URL: https://codereview.chromium.org/119343003 git-svn-id: http://skia.googlecode.com/svn/trunk@13210 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d2ac07b64b7d46e81d00d389781f9f83810f0095 |
|
25-Jan-2014 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@13181 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
cc40f06db77a3a27f3d685c222086d245399bc0a |
|
24-Jan-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add factory class for generating various flavors of GrTextContext. This is the first pass of making Gr*TextContext more generic and easily subclassed. The next stage will be making GrBitmapTextContext and GrDistanceFieldTextContext more similar by moving the SkDraw loop into each subclass. BUG=skia:2018 Committed: http://code.google.com/p/skia/source/detail?r=13142 R=bsalomon@google.com, reed@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/144283002 git-svn-id: http://skia.googlecode.com/svn/trunk@13165 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f1d63aa80dc951417ad34dd00914c8150112e42a |
|
22-Jan-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert of Add factory class for generating various flavors of GrTextContext. (https://codereview.chromium.org/144283002/) Reason for revert: Breaks Chrome. Need to fix template issue. Original issue's description: > Add factory class for generating various flavors of GrTextContext. > > This is the first pass of making Gr*TextContext more generic and easily > subclassed. The next stage will be making GrBitmapTextContext and > GrDistanceFieldTextContext more similar by moving the SkDraw loop into > each subclass. > > BUG=skia:2018 > > Committed: http://code.google.com/p/skia/source/detail?r=13142 R=bsalomon@google.com, reed@google.com TBR=bsalomon@google.com, reed@google.com NOTREECHECKS=true NOTRY=true BUG=skia:2018 Author: jvanverth@google.com Review URL: https://codereview.chromium.org/145023006 git-svn-id: http://skia.googlecode.com/svn/trunk@13143 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
ce96b651d383305561ff0459a527acda8e93cc49 |
|
22-Jan-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add factory class for generating various flavors of GrTextContext. This is the first pass of making Gr*TextContext more generic and easily subclassed. The next stage will be making GrBitmapTextContext and GrDistanceFieldTextContext more similar by moving the SkDraw loop into each subclass. BUG=skia:2018 R=bsalomon@google.com, reed@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/144283002 git-svn-id: http://skia.googlecode.com/svn/trunk@13142 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f0c41e24d5322022c7678b60837274c1340fc109 |
|
14-Jan-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Initialize written paths and strokerecs lazily during GPU drawPath Initialize SkPaths and SkStrokeRecs lazily during GPU drawPath calls. The constructors seem to appear in some profiler results on ARM (~1%). R=bsalomon@google.com, robertphillips@google.com Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/118143002 git-svn-id: http://skia.googlecode.com/svn/trunk@13069 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
439ff1b9ca2b74a9dc3b04346aa1032c11b142e9 |
|
13-Jan-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Use correct matrix to adjust blur radius for gpu BUG=skia:1998 R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/134973002 git-svn-id: http://skia.googlecode.com/svn/trunk@13047 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
6077057cae9f92b45e044ee1202d83fd9ce9d424 |
|
13-Jan-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove redundant auto rt object in skpaint2grpaintshader function. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/133763006 git-svn-id: http://skia.googlecode.com/svn/trunk@13046 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
a7d89c83a461aa3f549776060141a4f710de2da7 |
|
13-Jan-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Handle drawBitmapRect src_rect->dst_rect mapping as a local matrix rather than view matrix when there is a mask filter. BUG=skia:1998 R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/131323004 git-svn-id: http://skia.googlecode.com/svn/trunk@13041 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
41bf930039314cc71039b12957195f1c65c30ce1 |
|
08-Jan-2014 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Rename GPU functions on SkBlurMaskFilter and pass ctm. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/109823012 git-svn-id: http://skia.googlecode.com/svn/trunk@12978 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
672588b684d484dce6ae251e9e163e4a46924322 |
|
08-Jan-2014 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
change offset to xy for pixelref subsetting BUG= R=scroggo@google.com Review URL: https://codereview.chromium.org/105893012 git-svn-id: http://skia.googlecode.com/svn/trunk@12958 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
6776b82d466fa93ccffd251fdf556fe058395444 |
|
03-Jan-2014 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make SkImageFilter crop rects relative to the primitive origin, instead of relative to their parent's crop rect. This is required by SVG semantics, and is more sane anyway. To do this, this patch changes the "offset/loc" parameter in filterImage() / onFilterImage() from an inout-param to an out-param only, so that the calling filter can know how much the input filter wants its result offset (and doesn't include the original primitive position). This offset can then be applied to the current filter's crop rect. (I've renamed the parameter "offset" in all cases to make this clear.) This makes the call sites in SkCanvas/SkGpuDevice responsible for applying the resulting offset to the primitive's position, which is actually a fairly small change. This change also fixes SkTileImageFilter and SkOffsetImageFilter to correctly handle an input offset, which they weren't before. This required modifying the GM's, since they assumed the broken behaviour. NOTE: this will require rebaselining the imagefiltersgraph test, since it has a new test case. NOTE: this will "break" the Blink layout tests css3/filters/effect-reference-subregion-chained-hw.html and css3/filters/effect-reference-subregion-hw.html, but it actually makes them give correct results. It should be suppressed on the skia roll, and I'll rebaseline it. R=reed@google.com Review URL: https://codereview.chromium.org/112803004 git-svn-id: http://skia.googlecode.com/svn/trunk@12895 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
22e967228deb773e3509cbc5772963779451c191 |
|
20-Dec-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@12793 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
8128d8c119382279918b90ad8d80ccb3aaebb8a0 |
|
19-Dec-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move distance field font code into GrDistanceFieldTextContext. This avoids the SkDraw path and renders the distance field glyphs directly from GrDistanceFieldTextContext. It also disables LCD, subpixel and autohinting, and removes the supporting code when rendering DF fonts. R=reed@google.com, bsalomon@google.com, robertphillips@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/85653004 git-svn-id: http://skia.googlecode.com/svn/trunk@12770 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
79b7eeebdff3bfae8a517dc2e4763bc2c7f81557 |
|
16-Dec-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Tweaks in how to apply bitmap filter levels in GPU. Fix fallback to MIP from bicubic for bitmap shaders Skip MIP level generation on GPU when not minifying Add medium quality and mixed up/down matrix test cases to filterbitmap tests R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/103913012 git-svn-id: http://skia.googlecode.com/svn/trunk@12697 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
7d7f31433b627e62f518e9186d3f2d9bd44662e0 |
|
16-Dec-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Use GrTextureDomain in GrBicubicEffect to perform non-bleeding HQ filter drawBitmap. R=senorblanco@chromium.org, robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/99203011 git-svn-id: http://skia.googlecode.com/svn/trunk@12687 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
96f5fa02e996e39179f2eb88d57e8ed6114b06c5 |
|
16-Dec-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@12685 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
bf790232f6d94b54239dbc210d8beee7411ca458 |
|
13-Dec-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Update all callsites to use info for pixelrefs #define SK_SUPPORT_LEGACY_PIXELREF_CONSTRUCTOR in chrome to keep old API signature (for now) BUG= R=scroggo@google.com Review URL: https://codereview.chromium.org/100723005 git-svn-id: http://skia.googlecode.com/svn/trunk@12677 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
0daa1adb03b4b1fc11d854cb7754416ac05a31e8 |
|
13-Dec-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reverting r12665 & r12666 (Remove duplicate impl for SkImageInfo flattening) due to Chromium/Blink compilation errors https://codereview.chromium.org/112603003/ git-svn-id: http://skia.googlecode.com/svn/trunk@12667 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
93b40594b78ab40170b5a7fa0811fa95ab8fc30f |
|
13-Dec-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remvoe duplicate impl for SkImageInfo flattening Add onNewLockPixels This reverts commit bb8eff6a70c52b7644391cfd4f4d21bf7294a6bf. BUG= Review URL: https://codereview.chromium.org/111323005 git-svn-id: http://skia.googlecode.com/svn/trunk@12665 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
398337b3a5d66a7db5d36a3b5182e4407e2292f7 |
|
11-Dec-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "remvoe duplicate impl for SkImageInfo flattening" Reason: breaks chrome_mac_tests which still have non-imageinfo constructors This reverts commit a06b8cf60b39bda93e9ef1a73579007b2b930d29. BUG= Review URL: https://codereview.chromium.org/103033005 git-svn-id: http://skia.googlecode.com/svn/trunk@12631 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f3aead2829fa515f790631ee65784a7b9b073343 |
|
11-Dec-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
remvoe duplicate impl for SkImageInfo flattening Revert "Revert "PixelRef now returns (nearly) everything that is currently in SkBitmap. The goal is to refactor bitmap later to remove redundancy, and more interestingly, remove the chance for a disconnect between the actual (pixelref) rowbytes and config, and the one claimed by the bitmap."""""" This reverts commit eabd6b2ed4e494b323c08f32358f45950a0368c3. BUG= Review URL: https://codereview.chromium.org/108773003 git-svn-id: http://skia.googlecode.com/svn/trunk@12624 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
6a32add491cc736aab95561d137909cd7c5d65ef |
|
11-Dec-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "PixelRef now returns (nearly) everything that is currently in SkBitmap. The goal is to refactor bitmap later to remove redundancy, and more interestingly, remove the chance for a disconnect between the actual (pixelref) rowbytes and config, and the one claimed by the bitmap.""""" This reverts commit d08eca87a0bef10112a211de540f89656a80b86a. BUG= Review URL: https://codereview.chromium.org/108303003 git-svn-id: http://skia.googlecode.com/svn/trunk@12623 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
6965a0a2df9d35cd0a25e1738f0388272d03f399 |
|
11-Dec-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
PixelRef now returns (nearly) everything that is currently in SkBitmap. The goal is to refactor bitmap later to remove redundancy, and more interestingly, remove the chance for a disconnect between the actual (pixelref) rowbytes and config, and the one claimed by the bitmap."""" BUG= Review URL: https://codereview.chromium.org/110503003 git-svn-id: http://skia.googlecode.com/svn/trunk@12622 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
bc91fd71faa2c5fd14423fecd18e50701c922ced |
|
10-Dec-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make GrBicubicEffect take tile modes rather than GrTextureParams. GrTextureParams allows the caller to override the filter mode. But no filtering other than nearest neighbor makes sense. Also removes coord set from creation signature since it is unused. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/99523008 git-svn-id: http://skia.googlecode.com/svn/trunk@12591 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
cea9abb001b07eaf4340a78db708bfac9e8c68c2 |
|
09-Dec-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Do not use GrBicubic effect when downscaling. Also, don't use glTexStorage as it interferes with deleyed mipmap generation. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/105353002 git-svn-id: http://skia.googlecode.com/svn/trunk@12576 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
907fbd53c5e5dd4cbde7b72f9242b51febd7ef95 |
|
09-Dec-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make texture domain a helper so that it can be incorporated into other effects. R=robertphillips@google.com, jvanverth@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/98893006 git-svn-id: http://skia.googlecode.com/svn/trunk@12569 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
3e7f385336940f41553d87d93d24154cdf7247a6 |
|
06-Dec-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
gpudevice should never allocate pixels for its backend BUG= R=bsalomon@google.com, mtklein@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/109013002 git-svn-id: http://skia.googlecode.com/svn/trunk@12554 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
2ebc10dd12a6fe55fda37a9bd5b1e0c1c1e08232 |
|
06-Dec-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "Revert "Revert "PixelRef now returns (nearly) everything that is currently in SkBitmap. The goal is to refactor bitmap later to remove redundancy, and more interestingly, remove the chance for a disconnect between the actual (pixelref) rowbytes and config, and the one claimed by the bitmap.""" This reverts commit 5f035e90d6dea0139a4f204b634e7b7b3b4976d7. Reverting because it breaks chrome/blink due to new SkPixelRef constructor arg. BUG= Review URL: https://codereview.chromium.org/108993002 git-svn-id: http://skia.googlecode.com/svn/trunk@12551 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
473f0aa2bb218e50fce5e19063f8c8fdaf57fad4 |
|
06-Dec-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "Revert "PixelRef now returns (nearly) everything that is currently in SkBitmap. The goal is to refactor bitmap later to remove redundancy, and more interestingly, remove the chance for a disconnect between the actual (pixelref) rowbytes and config, and the one claimed by the bitmap."" This reverts commit 4174afb18a9746bbad2a06c0ec2d4ad35f72d790. BUG= Review URL: https://codereview.chromium.org/108723003 git-svn-id: http://skia.googlecode.com/svn/trunk@12547 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
5b132b28da61e89cdcb84e95f30a58f8184739fc |
|
06-Dec-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "PixelRef now returns (nearly) everything that is currently in SkBitmap. The goal is to refactor bitmap later to remove redundancy, and more interestingly, remove the chance for a disconnect between the actual (pixelref) rowbytes and config, and the one claimed by the bitmap." This reverts commit 154e08b2f5904ef533da694e3510befcb9a3f3e2. revert due to warnings Review URL: https://codereview.chromium.org/108513003 git-svn-id: http://skia.googlecode.com/svn/trunk@12538 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
3e89524e747b513986abfeeea00b6fac79593f26 |
|
06-Dec-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
PixelRef now returns (nearly) everything that is currently in SkBitmap. The goal is to refactor bitmap later to remove redundancy, and more interestingly, remove the chance for a disconnect between the actual (pixelref) rowbytes and config, and the one claimed by the bitmap. R=mtklein@google.com, scroggo@google.com Review URL: https://codereview.chromium.org/68973005 git-svn-id: http://skia.googlecode.com/svn/trunk@12537 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
dec61503d02862760f3c91203a698636a02c882a |
|
02-Dec-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
HQ filtering for tiled/bleed drawBitmap sample at pix center in bicubic R=senorblanco@chromium.org, jvanverth@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/83153006 git-svn-id: http://skia.googlecode.com/svn/trunk@12440 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
4b413c8bb123e42ca4b9c7bfa6bc2167283cb84c |
|
25-Nov-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
remove SkFloatToScalar macro BUG= R=reed@google.com, djsollen@google.com Author: caryclark@google.com Review URL: https://codereview.chromium.org/85463005 git-svn-id: http://skia.googlecode.com/svn/trunk@12385 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d6ca4ac1ee2a0096b42b02e9408181c9e0387939 |
|
22-Nov-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
[GPU] Use view matrix + rect to implement subrect for drawBitmap when there is a mask filter and bleed. R=robertphillips@google.com, reed@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/65133003 git-svn-id: http://skia.googlecode.com/svn/trunk@12368 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
e0a868c84ebc34c5a16b5faa1546016abb9ca0ac |
|
22-Nov-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Apply hairline optimization only if the path renderer wants it Make the decision to convert thin, non-hairline paths to hairline paths at the renderer level. The current nv_path_rendering implementation does not render hairlines. Rendering the hairlines with normal renderers cause unneccessary gl program changes, which is quite slow. Changes the behavior of non-nv_path_rendering paths to always perform the optimization if the shape ends up being painted by a renderer that wants the optimization. Previously the optimization was applied only when callgraph started with SkCanvas::drawPath. Applies the optimization for GrAAHairLineRenderer and GrDefaultPathRenderer. This changes gm results for dashing3_{msaa4,gpu} and drawlooper_msaa4. R=bsalomon@google.com, jvanverth@google.com, rmistry@google.com Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/38573007 git-svn-id: http://skia.googlecode.com/svn/trunk@12357 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
75a22954453f4c0e3c0cb2ec0a46f32a473622f9 |
|
21-Nov-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Minor fixes for distance field fonts: - Remove additional transform in drawpostext() - Use bitmap fonts if rasterizer set in paint - Correctly set scale ratio for drawtext() R=bsalomon@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/79283004 git-svn-id: http://skia.googlecode.com/svn/trunk@12338 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
a4662865e37a2ca95b5e3379072f6a274acc8ac8 |
|
21-Nov-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
More Windows 64b compilation warning fixes https://codereview.chromium.org/47513017/ git-svn-id: http://skia.googlecode.com/svn/trunk@12337 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
8c99c9f4a6fa14a4ade0fb39ff431f43a7306fc7 |
|
20-Nov-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reverting r12315 (More Windows 64b compilation warning fixes) due to compilation failures git-svn-id: http://skia.googlecode.com/svn/trunk@12316 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
80051d38a3469adb67fa7f503cf43fc2960c28b7 |
|
20-Nov-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
More Windows 64b compilation warning fixes https://codereview.chromium.org/47513017/ git-svn-id: http://skia.googlecode.com/svn/trunk@12315 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
ec3ca87d331c4b7058a0fff376a05e84ae0619ca |
|
13-Nov-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "Revert "switch GatherPixelRefs to use SkBaseDevice instead of SkBitmapDevice"" This reverts commit ff0152ec5e2a0faf38ae1a317c5d77df08139104. BUG= Review URL: https://codereview.chromium.org/68203018 git-svn-id: http://skia.googlecode.com/svn/trunk@12271 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
4d164709739ae78809125cae9b8de0f3fff0d081 |
|
12-Nov-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "switch GatherPixelRefs to use SkBaseDevice instead of SkBitmapDevice" This reverts commit 72958c374bdb9457419beeba7de1387da3293882. BUG= Review URL: https://codereview.chromium.org/58933007 git-svn-id: http://skia.googlecode.com/svn/trunk@12260 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
3f4bf51eddd9271b27e3c709939af1ff9ff1758d |
|
12-Nov-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
switch GatherPixelRefs to use SkBaseDevice instead of SkBitmapDevice BUG= R=robertphillips@google.com, scroggo@google.com Review URL: https://codereview.chromium.org/70473003 git-svn-id: http://skia.googlecode.com/svn/trunk@12259 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
11a253b686d2f6e9def2de8a4507591fcadfe987 |
|
12-Nov-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@12232 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d830d13c27437b4677a4a1abfa866d98dc2d2ab9 |
|
11-Nov-2013 |
jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Hook in rough distance field support for fonts R=bsalomon@google.com Review URL: https://codereview.chromium.org/41213003 git-svn-id: http://skia.googlecode.com/svn/trunk@12229 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1b20a10f0205da2d53e0837e4ddc6b2bd3b8a462 |
|
08-Nov-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "Do not apply hairline optimization for paths if nv_path_rendering is used" This reverts commit r12185. Review URL: https://codereview.chromium.org/66813002 git-svn-id: http://skia.googlecode.com/svn/trunk@12187 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
44fb865e81a57e0c72de3109d0ed5ea428aa1f44 |
|
08-Nov-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Do not apply hairline optimization for paths if nv_path_rendering is used Do not convert thin, non-hairline paths to hairline paths if nv_path_rendering is used. The current nv_path_rendering implementation does not render hairlines. Rendering the hairlines with normal renderers cause unneccessary gl program changes, which is quite slow. Changes the behavior of non-nv_path_rendering paths to always perform the optimization if the shape ends up being painted by the path-drawing code (GrContext::drawPathInternal). Previously the optimization was applied only when callgraph started with SkCanvas::drawPath. This changes drawlooper_msaa4, dashing3_msaa4 and dashing3_gpu R=bsalomon@google.com Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/38573007 git-svn-id: http://skia.googlecode.com/svn/trunk@12185 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
6006d0f8c4f19d19a12de20826f731f52ac822a7 |
|
06-Nov-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add bevel-stroke support in GrAARectRenderer Committed: http://code.google.com/p/skia/source/detail?r=12082 R=robertphillips@google.com, bsalomon@google.com Author: yunchao.he@intel.com Review URL: https://codereview.chromium.org/23712005 git-svn-id: http://skia.googlecode.com/svn/trunk@12148 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d3e5842db0cb169e10d6da1e62c94ba5cf182bb4 |
|
05-Nov-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Avoid re-rendering stencil clip for every draw with reducable clip stack Fixes the cases where clip stack reduction would cause clip to be re-rendered to stencil for each draw call. This causes unneeded slowdown. Stencil cache would not be used because the clip stack generation id communicated by the clip stack element list would be invalid. This happended due to a) clip stack reduction creating new elements in the element list. b) purging logic removing the generation id, but reduction logic selecting already purged element, and thus the generation id, as the representative state of the clip. Cases of a) where reduction would flatten the stack to a single new element were fixed by assigning the generation id of the top-most element of the clip stack as the generation id of the new element. This is not strictly minimal, but enables more caching than using invalid id. Cases of a) where reduction would substitute a stack element with a new element the generation id of the substituted element is used. The b) part was fixed by removing the purging logic. It was not exactly correct, as the previously purged states were actually used. The purging was not used for anything. Changes SkClipStack API to highlight that invalid generation id is never returned by SkClipStack. Empty stacks are wide open. Changes the clients to reflect this. Fixes a crash when not passing anti-alias out parameter to GrReducedClip::ReduceClipStack. The crash is not exercised in the current code. Committed: http://code.google.com/p/skia/source/detail?r=12084 R=bsalomon@google.com, robertphillips@google.com Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/48593003 git-svn-id: http://skia.googlecode.com/svn/trunk@12127 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
32700ace30459b2166806bde9895084b03f89bc4 |
|
01-Nov-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reverting r12082 (Add bevel-stroke support in GrAARectRenderer) due to GM failures git-svn-id: http://skia.googlecode.com/svn/trunk@12091 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f0784bde753feaff601f703089872fc1af265328 |
|
01-Nov-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "Avoid re-rendering stencil clip for every draw with reducable clip stack" This reverts commit 92a7d4bf6a371f1f864154be902e8d86938e560b. Revert "fix mac 10.6 build" This reverts commit 114cd1a9f2734aaed6914718814364811b78bd7f. BUG= Review URL: https://codereview.chromium.org/54543008 git-svn-id: http://skia.googlecode.com/svn/trunk@12087 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
679eb674fc064993d534df4d48a4ddaff4e33e06 |
|
01-Nov-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Avoid re-rendering stencil clip for every draw with reducable clip stack Fixes the cases where clip stack reduction would cause clip to be re-rendered to stencil for each draw call. This causes unneeded slowdown. Stencil cache would not be used because the clip stack generation id communicated by the clip stack element list would be invalid. This happended due to a) clip stack reduction creating new elements in the element list. b) purging logic removing the generation id, but reduction logic selecting already purged element, and thus the generation id, as the representative state of the clip. Cases of a) where reduction would flatten the stack to a single new element were fixed by assigning the generation id of the top-most element of the clip stack as the generation id of the new element. This is not strictly minimal, but enables more caching than using invalid id. Cases of a) where reduction would substitute a stack element with a new element the generation id of the substituted element is used. The b) part was fixed by removing the purging logic. It was not exactly correct, as the previously purged states were actually used. The purging was not used for anything. Changes SkClipStack API to highlight that invalid generation id is never returned by SkClipStack. Empty stacks are wide open. Changes the clients to reflect this. Fixes a crash when not passing anti-alias out parameter to GrReducedClip::ReduceClipStack. The crash is not exercised in the current code. R=bsalomon@google.com, robertphillips@google.com Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/48593003 git-svn-id: http://skia.googlecode.com/svn/trunk@12084 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
e1e99ef0af69fef21f2897621e7dfc5257da7ce7 |
|
01-Nov-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add bevel-stroke support in GrAARectRenderer R=robertphillips@google.com, bsalomon@google.com Author: yunchao.he@intel.com Review URL: https://codereview.chromium.org/23712005 git-svn-id: http://skia.googlecode.com/svn/trunk@12082 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
56ce48ade325f6f49acb0da31d6252806e4ed7ef |
|
31-Oct-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add can-ignore-rect hint to clear call https://codereview.chromium.org/53823003/ git-svn-id: http://skia.googlecode.com/svn/trunk@12064 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
4469938e92d779dff05e745559e67907bbf21e78 |
|
31-Oct-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "Revert "add SK_ATTR_DEPRECATED -- will need to disable for chrome, since it triggers a warning"" This reverts commit 1e787c38fa71f2a21fd728f1b1d620b9b09b0d3d. BUG= Review URL: https://codereview.chromium.org/54603004 git-svn-id: http://skia.googlecode.com/svn/trunk@12057 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
6fcbfcead5dc1b61fa5b4c139a1a3714e8c58091 |
|
31-Oct-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "add SK_ATTR_DEPRECATED -- will need to disable for chrome, since it triggers a warning" This reverts commit 1d22c4aaf9d8f053f25194a1ed74b137bfb19497. git-svn-id: http://skia.googlecode.com/svn/trunk@12056 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
081560e3abe25c4821b79ca1465f4dbd371c4b5c |
|
31-Oct-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
add SK_ATTR_DEPRECATED -- will need to disable for chrome, since it triggers a warning BUG= R=robertphillips@google.com, senorblanco@chromium.org, vandebo@chromium.org Review URL: https://codereview.chromium.org/51033004 git-svn-id: http://skia.googlecode.com/svn/trunk@12055 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
42a895730fa09ee9222ec7b08d7b3c21e94855c4 |
|
28-Oct-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix for issue 1728: raster vs. gpu text draws with the wrong color The blend mode for LCD text was not set up correctly when using colors with alpha. This takes the color's alpha value into account when setting up the blending function. BUG=Skia:1728 R=bsalomon@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/45363002 git-svn-id: http://skia.googlecode.com/svn/trunk@11980 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
7edad87cdcb15e3d7f04cd3394047e3b82dfa355 |
|
25-Oct-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Compute clipped src rect once in tiled bitmap draws R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/40403002 git-svn-id: http://skia.googlecode.com/svn/trunk@11962 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
af562b437e43a99f5371585ba50643b1d88f09e0 |
|
24-Oct-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Tile large bitmaps that are clipped. R=robertphillips@google.com Review URL: https://codereview.chromium.org/31033002 git-svn-id: http://skia.googlecode.com/svn/trunk@11951 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
34a849d00dcaea94e257501dac086bd34a9f0ae7 |
|
24-Oct-2013 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix drawBitmap() of scratch texture. R=bsalomon@google.com Review URL: https://codereview.chromium.org/40163004 git-svn-id: http://skia.googlecode.com/svn/trunk@11947 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
583b18a20959c9ac360316a366f4ddd9598bdf52 |
|
24-Oct-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@11934 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
bbfe4541ef154696313374de2130b1ac90e28482 |
|
24-Oct-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Apply matrix early in draw bitmap Committed: http://code.google.com/p/skia/source/detail?r=11930 Reverted: https://code.google.com/p/skia/source/detail?r=11932 R=robertphillips@google.com, senorblanco@chromium.org Author: bsalomon@google.com Review URL: https://codereview.chromium.org/30593003 git-svn-id: http://skia.googlecode.com/svn/trunk@11933 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
e9821871ecebbeed06aaef54741a71607ccc9720 |
|
24-Oct-2013 |
scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "Apply matrix early in draw bitmap" This reverts commit 4c446c8eb50b7a6e6f917fae7b4c4ffe5658a949. Fix build. git-svn-id: http://skia.googlecode.com/svn/trunk@11932 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
25e5a20e656a3d895753b61be3fc3645039c57ab |
|
23-Oct-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Apply matrix early in draw bitmap R=robertphillips@google.com, senorblanco@chromium.org Author: bsalomon@google.com Review URL: https://codereview.chromium.org/30593003 git-svn-id: http://skia.googlecode.com/svn/trunk@11930 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
fbcd415aa01801df5f554963d7463649b49ead73 |
|
23-Oct-2013 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove GrContext from SkXfermode::[Aa]sNewEffectOrCoeff() and all subclasses, since it's unused. R=bsalomon@google.com Review URL: https://codereview.chromium.org/31853003 git-svn-id: http://skia.googlecode.com/svn/trunk@11913 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
a34995e18b1f0a7d8c9f23451718bb30ff0105b0 |
|
23-Oct-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Implement SkColorFilter as a GrGLEffect Adds GrEffect::willUseInputColor() which indicates whether or not the input color affects the output of the effect. This is needed for certain Xfermodes, such as kSrc_Mode. For these modes the color filter will not use the input color. An effect with GrEffect::willUseInputColor() true will cause all color or coverage effects before it to be discarded, as their computations cannot affect the output. In these cases program is marked as having white input color. This fixes an assert when Skia is compiled in a mode that prefers using uniforms instead of attributes for constants. (Flags GR_GL_USE_NV_PATH_RENDERING or GR_GL_NO_CONSTANT_ATTRIBUTES). Using attributes hides the problem where the fragment shader does not need input color for color filters that ignore DST part of the filter. The assert would be hit when uniform manager tries to bind an uniform which has been optimized away by the shader compiler. Adds specific GrGLSLExpr4 and GrGLSLExpr1 classes. This way the GLSL expressions like "(v - src.a)" can remain somewhat readable in form of "(v - src.a())". The GrGLSLExpr<typename> template implements the generic functionality, GrGLSLExprX is the specialization that exposes the type-safe interface to this functionality. Also adds operators so that GLSL binary operators of the form "(float * vecX)" can be expressed in C++. Before only the equivalent "(vecX * float)" was possible. This reverts the common blending calculations to more conventional order, such as "(1-a) * c" instead of "c * (1-a)". Changes GrGLSLExpr1::OnesStr from 1 to 1.0 in order to preserve the color filter blending formula string the same (with the exception of variable name change). Shaders change in case of input color being needed: - vec4 filteredColor; - filteredColor = (((1.0 - uFilterColor.a) * output_Stage0) + uFilterColor); - fsColorOut = filteredColor; + vec4 output_Stage1; + { // Stage 1: ModeColorFilterEffect + output_Stage1 = (((1.0 - uFilterColor_Stage1.a) * output_Stage0) + uFilterColor_Stage1); + } + fsColorOut = output_Stage1; Shaders change in case of input color being not needed: -uniform vec4 uFilterColor; -in vec4 vColor; +uniform vec4 uFilterColor_Stage0; out vec4 fsColorOut; void main() { - vec4 filteredColor; - filteredColor = uFilterColor; - fsColorOut = filteredColor; + vec4 output_Stage0; + { // Stage 0: ModeColorFilterEffect + output_Stage0 = uFilterColor_Stage0; + } + fsColorOut = output_Stage0; } R=bsalomon@google.com, robertphillips@google.com, jvanverth@google.com Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/25023003 git-svn-id: http://skia.googlecode.com/svn/trunk@11912 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
dbbe1d437d9ea07d1ccd98e753944d35bd7546c3 |
|
21-Oct-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r11880 (Apply matrix early in draw bitmap - https://codereview.chromium.org/30593003) due to layout test failure git-svn-id: http://skia.googlecode.com/svn/trunk@11899 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
15455b2a13e9c673ea41a32ca9205bbc21415abc |
|
21-Oct-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Apply matrix early in draw bitmap R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/30593003 git-svn-id: http://skia.googlecode.com/svn/trunk@11880 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
383a697692cf46951fd451f6f4c3d03634a6a1cb |
|
21-Oct-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
store SkAlphaType inside SkBitmap, on road to support unpremul BUG= R=bsalomon@google.com, scroggo@google.com Review URL: https://codereview.chromium.org/25275004 git-svn-id: http://skia.googlecode.com/svn/trunk@11877 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
c7a40fad0b4c243087ad1adb14ebc2184d42cac0 |
|
16-Oct-2013 |
jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Split out GrBitmapTextContext from GrTextContext. This is a stepping stone to having a variety of different text context types (bitmaps, distance fields, NV path rendering). R=bsalomon@google.com Review URL: https://codereview.chromium.org/27199002 git-svn-id: http://skia.googlecode.com/svn/trunk@11820 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
6397217b300ec18704d49c54f5b30119dc799923 |
|
16-Oct-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
detach blur result texture when it is the same texture used to render path mask R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/26968006 git-svn-id: http://skia.googlecode.com/svn/trunk@11805 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
0d0bb83c05f5b12cae529ebe1911645062a175cb |
|
15-Oct-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
remove clipstack/region bounds assertion BUG=skia_1720 R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/26237010 git-svn-id: http://skia.googlecode.com/svn/trunk@11772 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
6b7938f9cb250086a7c6325cf31576f894ca4a1b |
|
15-Oct-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
separate state for msaa renderability R=robertphillips@google.com, brian@thesalomons.net Author: bsalomon@google.com Review URL: https://codereview.chromium.org/26695005 git-svn-id: http://skia.googlecode.com/svn/trunk@11770 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
c5e57bd0a3e1b3b8d2d11307c6de1886656ca9fd |
|
20-Sep-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
silence the error test to be a better citizen BUG= R=caryclark@google.com, bsalomon@google.com, tfarina@chromium.org, mtklein@google.com Author: humper@google.com Review URL: https://chromiumcodereview.appspot.com/23481012 git-svn-id: http://skia.googlecode.com/svn/trunk@11409 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
07f81a57ba5720fd65563077114bd9e5ba840151 |
|
17-Sep-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Baby step in making SkGpuDevice no longer derive from SkBitmapDevice https://codereview.chromium.org/23641008/ git-svn-id: http://skia.googlecode.com/svn/trunk@11311 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
91a798f121a2238639f8e2d08cc776d4f0236ceb |
|
06-Sep-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
alpha threshold bitmap shader Committed: http://code.google.com/p/skia/source/detail?r=11122 R=reed@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/23707019 git-svn-id: http://skia.googlecode.com/svn/trunk@11131 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
67db510c9c7f006fb4ec5027e5c859cfd71f42c0 |
|
06-Sep-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "alpha threshold bitmap shader" This reverts commit r11122. git-svn-id: http://skia.googlecode.com/svn/trunk@11123 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
4ec4cf93b7822e0000102b165852ad623afcb84e |
|
05-Sep-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
alpha threshold bitmap shader R=reed@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/23707019 git-svn-id: http://skia.googlecode.com/svn/trunk@11122 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1f2f338e23789f3eef168dcbd8171a28820ba6c1 |
|
29-Aug-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Split SkDevice into SkBaseDevice and SkBitmapDevice https://codereview.chromium.org/22978012/ git-svn-id: http://skia.googlecode.com/svn/trunk@10995 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
fbaea5336690ffc4fd9ee695608e9457da10eeab |
|
27-Aug-2013 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
In image filters, apply the CTM and offset to the crop rect. This is necessary to compensate for both clipping applied by the compositor (communicated via the CTM) and for cropping applied in upstream image filters (communicated via the offset). This requires a few ugly conversions, since the crop rect is an SkIRect, and the ctm is an SkMatrix. I also had to offset the matrix passed to filter evaluation by drawSprite() and internalDrawBitmap() by the primitive position. This is the same offset that is applied when drawing the primitive, to compensate for the internal saveLayer(). Also apply the total matrix to the filter params in asNewEffect(), so that (for example) lighting params are offset by both the compositor clipping and upstream crop rects. R=reed@google.com Review URL: https://codereview.chromium.org/23295017 git-svn-id: http://skia.googlecode.com/svn/trunk@10961 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
b74bdf024930e71ca1be8f874ed49dd0b31449b1 |
|
21-Aug-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@10842 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
9b051a375ba6d6b61cea98f35834cd032aaa5347 |
|
20-Aug-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r10830 (Split SkDevice out of SkRasterDevice) until we can get Chromium ready. git-svn-id: http://skia.googlecode.com/svn/trunk@10835 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
3055b700189afdd02486ed8f2279cea1d8897243 |
|
20-Aug-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Split SkDevice out of SkBitmapDevice https://codereview.chromium.org/22978012/ git-svn-id: http://skia.googlecode.com/svn/trunk@10830 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
2cc0b47a9b37e4727f3025ddb080ff98b1dc162c |
|
20-Aug-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Third (and hopefully final) change to support bleed flag in Ganesh https://codereview.chromium.org/23172013/ git-svn-id: http://skia.googlecode.com/svn/trunk@10826 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
31acc11977815402e4ef2681350f8559285bec97 |
|
20-Aug-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix name of "bleed" flag https://codereview.chromium.org/22812014/ git-svn-id: http://skia.googlecode.com/svn/trunk@10805 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d7ca66176fb2397b1120e945e38f8ac0fb2d0508 |
|
20-Aug-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Update tiled bitmap path to respect bleed flag https://codereview.chromium.org/23261003/ git-svn-id: http://skia.googlecode.com/svn/trunk@10803 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f6de475e5cbd143f348ff7738919e397b7fe7f57 |
|
17-Aug-2013 |
tfarina@chromium.org <tfarina@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replace uses of GrAssert by SkASSERT. R=bsalomon@google.com Review URL: https://codereview.chromium.org/22850006 git-svn-id: http://skia.googlecode.com/svn/trunk@10789 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
eed779d866e1e239bfb9ebc6a225b7345a41adf9 |
|
16-Aug-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
This CL plumbs in the drawBitmapRectToRect "bleed" flag and makes it live on the simplest GPU path. R=bsalomon@google.com, reed@google.com, edisonn@google.com, scroggo@google.com, jvanverth@google.com, mtklein@google.com Author: robertphillips@google.com Review URL: https://chromiumcodereview.appspot.com/20806003 git-svn-id: http://skia.googlecode.com/svn/trunk@10765 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1aa54bf6696afc7d06fc8ecc63dad2840a4d6179 |
|
05-Aug-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Added ctm matrix to GPU path There should be no changes in behavior caused by this cl, it just adds the ctm matrix to filterImageGPU so that it may be used for scaling on all platforms when it is implemented on the blink side. BUG= R=senorblanco@google.com, senorblanco@chromium.org Author: sugoi@chromium.org Review URL: https://chromiumcodereview.appspot.com/22209002 git-svn-id: http://skia.googlecode.com/svn/trunk@10536 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
24202c7a9aa81e3d85508267ced94697a38cdaf0 |
|
01-Aug-2013 |
djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert "Don't call SkGpuDevice::drawVertices from drawPoints when AA is required." This reverts commit r10489. Review URL: https://codereview.chromium.org/21496003 git-svn-id: http://skia.googlecode.com/svn/trunk@10492 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
c048de0162da7ce03d0e1f32a340293b232c2ffb |
|
01-Aug-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Don't call SkGpuDevice::drawVertices from drawPoints when AA is required. R=jvanverth@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/12943007 git-svn-id: http://skia.googlecode.com/svn/trunk@10489 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
956b310f13c7412c035406c658ff16ca85eac656 |
|
26-Jul-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@10385 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f9ed6fe6c5a1d05d49925de3798397e2fbb1c185 |
|
25-Jul-2013 |
humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
fix android build git-svn-id: http://skia.googlecode.com/svn/trunk@10369 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
b86add1ad37776818e1f730359ec587c9fdbff5f |
|
25-Jul-2013 |
humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
make the filter mode for GrTextureAccess an enum so we can plumb down the paint's filter modes to the GPU BUG= R=bsalomon@google.com Review URL: https://codereview.chromium.org/20362002 git-svn-id: http://skia.googlecode.com/svn/trunk@10368 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
9bf380ce7f848dfb5886dd52b82746521454b739 |
|
25-Jul-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
drawBitmap* cleanup https://codereview.chromium.org/19977003/ git-svn-id: http://skia.googlecode.com/svn/trunk@10342 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
194d775edcf5fa6e82098a97ad53018d70db1155 |
|
25-Jul-2013 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
This patch implements a crop rect for SkImageFilter. It has been implemented for SkColorFilterImageFilter and SkBlurImageFilter as examples. In order to preserve the immutability of SkImageFilters, the crop rect is passed as a constructor parameter. If NULL (the default), the bounds of the input image are used, as before. This also tightens up the boundary handling for SkImageBlurFilter on the GPU backend. Where we were previously using clamping semantics, we now respect decal semantics (so we don't oversaturate the edges). This brings the GPU and raster backends into closer alignment, but will require some new baselines for the GPU tests. At a minimum, the following tests will need new baselines: imageblur, imagefiltersbase, imagefilterscropped, spritebitmap. R=reed@google.com Committed: https://code.google.com/p/skia/source/detail?r=10251 Review URL: https://codereview.chromium.org/19775006 git-svn-id: http://skia.googlecode.com/svn/trunk@10338 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
58c856a54a75e703aa3c82a0cd4e1affd9bd8ffc |
|
24-Jul-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reverting r10251 (Implement crop rect for SkImageFilter) due to Chromium-side unit test failures git-svn-id: http://skia.googlecode.com/svn/trunk@10304 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
ccf225cebb68f9dbd8e353ba0ded247f7e8915ec |
|
22-Jul-2013 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
This patch implements a crop rect for SkImageFilter. It has been implemented for SkColorFilterImageFilter and SkBlurImageFilter as examples. In order to preserve the immutability of SkImageFilters, the crop rect is passed as a constructor parameter. If NULL (the default), the bounds of the input image are used, as before. This also tightens up the boundary handling for SkImageBlurFilter on the GPU backend. Where we were previously using clamping semantics, we now respect decal semantics (so we don't oversaturate the edges). This brings the GPU and raster backends into closer alignment, but will require some new baselines for the GPU tests. At a minimum, the following tests will need new baselines: imageblur, imagefiltersbase, imagefilterscropped, spritebitmap. R=reed@google.com Review URL: https://codereview.chromium.org/19775006 git-svn-id: http://skia.googlecode.com/svn/trunk@10251 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
97e49e97b6379cd2abb6c55b9e16246db0dad552 |
|
18-Jul-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Hold on to image-filtered texture in SkGpuDevice R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/19729006 git-svn-id: http://skia.googlecode.com/svn/trunk@10156 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
fd03d4a829efe2d77a712fd991927c55f59a2ffe |
|
17-Jul-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replace all instances of GrRect with SkRect. And remove the typedef in GrRect.h. The same with GrIRect. R=robertphillips@google.com Author: tfarina@chromium.org Review URL: https://chromiumcodereview.appspot.com/19449002 git-svn-id: http://skia.googlecode.com/svn/trunk@10130 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
42dacab4e7366d9f53989558cc8d045c3d065bcd |
|
13-Jul-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make GrPaint have a variable sized array of color and coverage stages rather than a fixed size. R=robertphillips@google.com, jvanverth@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/18686007 git-svn-id: http://skia.googlecode.com/svn/trunk@10062 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
31a40ef58b8eda59fd12b5e172683d8882acdc60 |
|
11-Jul-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Win7/8 compiler warnings/errors fix for r9980 git-svn-id: http://skia.googlecode.com/svn/trunk@9991 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
7b320703d47ff2b242ae74faba5e4b0af3560d71 |
|
10-Jul-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Implement offset for GPU filter path. Although we can't yet use this in Blink for FEOffset, due to SVG semantics, we can use it to support crop rect (upcoming patch). This patch adds the parameter to the filterImageGPU() signature, plumbs through the code on the GPU side, and implements support for it in SkXfermodeImageFilter for both raster and GPU. Of the remaining filters with GPU implementations, Blur, Morphology, Bicubic and Displacement work fine; they're commutative wrt offset and can simply pass it up the chain. Blend is not, but will be removed shortly anyway (has been replaced with SkXfermodeImageFilter in Blink). R=reed@google.com, bsalomon@google.com Author: senorblanco@chromium.org Review URL: https://chromiumcodereview.appspot.com/15995026 git-svn-id: http://skia.googlecode.com/svn/trunk@9977 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1842adf01320f9197b449de7375d08ccac43f389 |
|
04-Jul-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@9900 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
491493119c11206c5823b76eb6420a705be243a1 |
|
03-Jul-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add canFilterMaskGPU & filterMaskGPU to SkMaskFilter https://codereview.chromium.org/18110012/ git-svn-id: http://skia.googlecode.com/svn/trunk@9888 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
b8d00db075b5ea09e353508a26ef5ced50722a6c |
|
26-Jun-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Change undefined SkGpuRenderTarget and SkGpuTexture forward declares to GrRenderTarget and GrTexture. R=robertphillips@google.com, reed@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/17269003 git-svn-id: http://skia.googlecode.com/svn/trunk@9775 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
7f4ad5a30ff745e666579d2b518dfd0c1aa49596 |
|
07-May-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reland r9043 with fix. git-svn-id: http://skia.googlecode.com/svn/trunk@9046 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
4bb235bf0c685558760b8ffb28b737aa47eee4f5 |
|
07-May-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
revert 9043 git-svn-id: http://skia.googlecode.com/svn/trunk@9044 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
7df1bb76d376b1869e4db9812e1f1cecc3ad7e1d |
|
07-May-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
SkGpuDevice: Delay locking bitmap pixels until we have a known texture cache miss. Reivew URL: https://codereview.chromium.org/15035004/ git-svn-id: http://skia.googlecode.com/svn/trunk@9043 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
4b140b5fbedcb75d0b9587fa9d232ce54d9c7eb5 |
|
02-May-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add geometry-based rotated AA rect drawing path https://codereview.chromium.org/14854005/ git-svn-id: http://skia.googlecode.com/svn/trunk@8961 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
37d883d9d3c5945e9d121830bdcd1935160fd53b |
|
02-May-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Disable AA for ovals and roundrects if MSAA is enabled. Also remove GrPaint from a number of methods -- we only use it to get the AA state. R=bsalomon@google.com Author: jvanverth@google.com Review URL: https://chromiumcodereview.appspot.com/14109033 git-svn-id: http://skia.googlecode.com/svn/trunk@8954 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f2bfd54de32ffbcf90ddcd0e249aaebb1559d9c2 |
|
25-Apr-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add GPU support for roundrects This uses the OvalRenderer to render roundrects as "stretched ovals." It adds an additional shader that handles the straight edges of ellipsoid roundrects better, and uses the circle shader for roundrects where the two radii are the same. Only axis-aligned, simple roundrects are supported. Handles fill, stroke and hairline. R=bsalomon@google.com, robertphillips@google.com, reed@google.com Author: jvanverth@google.com Review URL: https://chromiumcodereview.appspot.com/13852049 git-svn-id: http://skia.googlecode.com/svn/trunk@8859 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
5920ac276877b36624e07baf97c7768e80a07f98 |
|
19-Apr-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Perform coverage blend with the dst in the shader when using a dst-reading xfermode. Review URL: https://codereview.chromium.org/14233006 git-svn-id: http://skia.googlecode.com/svn/trunk@8762 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
df3695e5c72b3b4401e71ff259827d87bfe8a06f |
|
09-Apr-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
First pass at Rect Effect https://codereview.chromium.org/13521006/ git-svn-id: http://skia.googlecode.com/svn/trunk@8571 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d043ccee3788ea4192806bd8c94484ed003fa828 |
|
08-Apr-2013 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Allow single-pass filters (which use asNewEffect()) to participate in the image filter DAG. This was done by introducing the SkSinglePassImageFilter abstract base class, which implements canFilterImageGPU() and filterImageGPU() on behalf of the derived class. The derived class still only needs to asNewEffect(). This allows us to recurse on the filter input in SkSinglePassImageFilter::onFilterImageGPU(). It also allows us to remove any knowledge of single-pass image filters from SkGpuDevice and from the SkImageFilter base class as well. BUG= Review URL: https://codereview.chromium.org/13602013 git-svn-id: http://skia.googlecode.com/svn/trunk@8563 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
26e18b593ab65e4d92dfbce92579d8bc180d4c2c |
|
29-Mar-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add support for reading the dst pixel value in an effect. Use in a new effect for the kDarken xfer mode. The current implementation is to always make a copy of the entire dst before the draw. It will only succeed if the RT is also a texture. Obviously, there is lots of room for improvement. Review URL: https://codereview.chromium.org/13314002 git-svn-id: http://skia.googlecode.com/svn/trunk@8449 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
123ac1d4eab757052407064623643fdc59f85363 |
|
28-Mar-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make GM render to render targets that are also textures. Review URL: https://codereview.chromium.org/13211002 git-svn-id: http://skia.googlecode.com/svn/trunk@8438 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
73818dce9340c9d7be372d44e8bba305c915c89a |
|
28-Mar-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add GrPaint stage for xfermodes. Review URL: https://codereview.chromium.org/12918032 git-svn-id: http://skia.googlecode.com/svn/trunk@8425 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
db4462566af6698bd919e24bf44591533a22b9c2 |
|
27-Mar-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix assertion failure in SkGpuDevice from 8412. git-svn-id: http://skia.googlecode.com/svn/trunk@8413 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f51c01328dc52a87c07e056d6fc4eb7452ccac7a |
|
27-Mar-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add interface to SkXfermode to return a GrEffect and blend coeffs. Review URL: https://codereview.chromium.org/13097006 git-svn-id: http://skia.googlecode.com/svn/trunk@8412 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
b58772f86659cfe0e8d9247fcee878dddd8fdad9 |
|
08-Mar-2013 |
epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
PDF: add support for named destinations. Landing patchset 7 from https://codereview.appspot.com/7374052 for dml@google.com Review URL: https://codereview.chromium.org/12533009 git-svn-id: http://skia.googlecode.com/svn/trunk@8034 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
812b6f59fafc213260a56a4a4264ebf23646f662 |
|
06-Mar-2013 |
epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r8000 due to failures on some buildbots git-svn-id: http://skia.googlecode.com/svn/trunk@8001 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1cad898916c9e4a21429b5325c834a51fa6f361e |
|
06-Mar-2013 |
epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
PDF: add support for named destinations Imported from https://codereview.appspot.com/7374052/ on behalf of dml@google.com Review URL: https://codereview.chromium.org/12466008 git-svn-id: http://skia.googlecode.com/svn/trunk@8000 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
fec0bc3fc13481f5bcb341ab2d2d695911f39bd4 |
|
07-Feb-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove legacy names no longer referenced in Chrome and WebKit. Review URL: https://codereview.appspot.com/7311055 git-svn-id: http://skia.googlecode.com/svn/trunk@7640 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
8d3cd7a170c810e3816bf00220cbef51e7b16795 |
|
30-Jan-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
clone of https://codereview.appspot.com/7208043/ Review URL: https://codereview.appspot.com/7232062 git-svn-id: http://skia.googlecode.com/svn/trunk@7476 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
c2594f41066102d7a8a73effd3c574142a018b9a |
|
30-Jan-2013 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
This changes the signature of SkImageFilter::filterImageGPU() to use SkBitmaps for input and output, and removes the rect param. This allows us to return textures which are larger than the actual result, such as when GrAutoScratchTextures are used. The SkBitmap's size represents the active region, while the GrTexture's size is the full texture size. This fixes the bicubic image filter GM on the GPU, which otherwise draws garbage outside the filtered region. It also moves us closer to unifying the signatures of SkImageFilter::onFilterImage() and SkImageFilter::filterImageGPU(). Review URL: https://codereview.appspot.com/7180048 git-svn-id: http://skia.googlecode.com/svn/trunk@7467 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
32cf29eed59e9e0af74ca239b1ff53b55f37a9c7 |
|
25-Jan-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Only clear the part of the texture used by the device (duh!) R=robertphillips@google.com Review URL: https://codereview.appspot.com/7205055 git-svn-id: http://skia.googlecode.com/svn/trunk@7393 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
4bbdeac58cc928dc66296bde3bd06e78070d96b7 |
|
24-Jan-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
add optional cull-rect to patheffects, so they can do less work if their results lie outside of the current clip-bounds (the cull rect). Review URL: https://codereview.appspot.com/7206044 git-svn-id: http://skia.googlecode.com/svn/trunk@7378 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
95ed55adc6b8f0cee063c2cf2e14782773b0087f |
|
24-Jan-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make all GrContext members that return a texture also ref the texture for the caller. Review URL: https://codereview.appspot.com/7198049 git-svn-id: http://skia.googlecode.com/svn/trunk@7362 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
6340a41108633ac1ce5941e5cd30538630c4c55b |
|
22-Jan-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Let them eat GrEffectRef. Changes the remaining existing code that operates on naked GrEffects to GrEffectRef. Review URL: https://codereview.appspot.com/7124058 git-svn-id: http://skia.googlecode.com/svn/trunk@7321 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
46d3d39e65e0b3ea2ad7c91c176ccafb4df0fa24 |
|
22-Jan-2013 |
jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add GPU support for axis-aligned ovals: - Add drawOval base function to SkDevice, and override in SkGpuDevice - Move isSimilarityMatrix to SkMatrix (renamed to isSimilarity) and fixed up unit test - Since both SkGpuDevice::drawOval() and GrContext::drawPath() can try to draw ovals, added GrContext::canDrawOval() and GrContext::internalDrawOval() to avoid duplicate code - Hooked in axis-aligned oval fill shader - Enabled GPU stroked circles - Added stroked circle bench test Review URL: https://codereview.appspot.com/7137050 git-svn-id: http://skia.googlecode.com/svn/trunk@7304 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
514b922236aa9308827e50ec32b1ee6102deff60 |
|
18-Jan-2013 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Partial revert of r7287 to green up the bots. git-svn-id: http://skia.googlecode.com/svn/trunk@7290 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
3f2d45aff69260fcf39d4eea8586387ed44402bb |
|
18-Jan-2013 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
(Relanding r7275 with assert fix, plus fixes from r7276, r7280, r7283.) Implement a bicubic resampling image filter, with raster and GPU backends. In order to get this to work on the GPU side, I had to modify the width and height of the drawn texture in drawSprite() and drawDevice() to use the filtered texture's dimensions, instead of the source texture. (This wasn't a problem before since all other image filters produce results the same dimensions as their input texture.) For now, this implementation only does axis-aligned scaling (same as the Lanczos-3 implementation in Chrome). It's also done for correctness and clarity, not speed, so there are lots of opportunities for speedups. Committed: https://code.google.com/p/skia/source/detail?r=7275 Review URL: https://codereview.appspot.com/7033049 git-svn-id: http://skia.googlecode.com/svn/trunk@7287 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
c51f752554f1f84d8f49b8cc00537b7d4cdb355b |
|
18-Jan-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reverting chain of SkBicubicImageFilter changes (7275, 7276, 7280 & 7283) git-svn-id: http://skia.googlecode.com/svn/trunk@7285 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
744820e6576ec255c9454a561f21e2ef94e891ba |
|
18-Jan-2013 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Implement a bicubic resampling image filter, with raster and GPU backends. In order to get this to work on the GPU side, I had to modify the width and height of the drawn texture in drawSprite() and drawDevice() to use the filtered texture's dimensions, instead of the source texture. (This wasn't a problem before since all other image filters produce results the same dimensions as their input texture.) For now, this implementation only does axis-aligned scaling (same as the Lanczos-3 implementation in Chrome). It's also done for correctness and clarity, not speed, so there are lots of opportunities for speedups. Review URL: https://codereview.appspot.com/7033049 git-svn-id: http://skia.googlecode.com/svn/trunk@7275 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
68b58c95384dd6c2fd389a5b4bbf8fc468819454 |
|
17-Jan-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove default implementation of GrEffect::isEqual. Make GrSingleTextureEffect abstract. Review URL: https://codereview.appspot.com/7142049 git-svn-id: http://skia.googlecode.com/svn/trunk@7254 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
0ac6af49975c54c2debf41e9200af416ecd2d973 |
|
16-Jan-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Wrap GrEffects in GrEffectPtr. This is the first step towards automatic recycling of scratch resouces in the cache via ref-cnts. R=robertphillips@google.com Review URL: https://codereview.appspot.com/7092061 git-svn-id: http://skia.googlecode.com/svn/trunk@7222 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
e197cbf9a3e66bab926bc5e51962752dad5221a0 |
|
14-Jan-2013 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Change signature of SkShader::asNewEffect(), implement for SkBitmapProcShader. Review URL: https://codereview.appspot.com/7086051 git-svn-id: http://skia.googlecode.com/svn/trunk@7153 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
171f5c76b95da85ff7341f6cb0dcdac868101de7 |
|
10-Jan-2013 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Rename onFilterImageGPU to filterImageGPU(), to match skia convention. No change in functionality. (Note that this does mean that clients must override onFilterImage() to implement the raster path, but filterImageGPU() to implement the GPU path.) Review URL: https://codereview.appspot.com/7058078 git-svn-id: http://skia.googlecode.com/svn/trunk@7123 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
4e73aa1566f2ee9a2525942cab4e885cb51b855c |
|
09-Jan-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@7099 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
9aaf36de60c2a2e7a6b441bb7db9521a4fd59e08 |
|
08-Jan-2013 |
humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
fix GPU drawing for 8 bit alpha bitmaps BUG= Review URL: https://codereview.appspot.com/7070052 git-svn-id: http://skia.googlecode.com/svn/trunk@7081 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
05af1afd429808913683da75644e48bece12e820 |
|
07-Jan-2013 |
humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
eliminate all warnings in non-thirdparty code on mac Most of these issues were due to functions whose definitions appear in header files; I changed those functions to be 'static inline' instead of just 'static' or 'inline', which kills the warning for such functions. Other functions that were static or anonymous-namespaced but were unused in cpp files were probably called at some point but are no longer; someone who knows more than I do should probably scrub all the functions I either deleted or #if 0'ed out and make sure that the right thing is happening here. Lots of unused variables removed, and one nasty const issue handled. There remains a single warning in thirdparty/externals/cityhash/src/city.cc on line 146 related to a signed/unsigned mismatch. I don't know if we have control over this library so I didn't fix this one, but perhaps someone could do something about that one. BUG= Review URL: https://codereview.appspot.com/7067044 git-svn-id: http://skia.googlecode.com/svn/trunk@7051 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
0797c2cceadd7dfc2e7f9efa30b611d18efcdcdd |
|
20-Dec-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reland 6914 w/ fixes. git-svn-id: http://skia.googlecode.com/svn/trunk@6916 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
0b6ad2297fbf43466950690102c1c9c150f2a972 |
|
20-Dec-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert 6914 to fix build issues. git-svn-id: http://skia.googlecode.com/svn/trunk@6915 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
4b86e3428b115202e82d49a0914ea8ab6dc25940 |
|
20-Dec-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Simplify cache IDs and keys. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6954047 git-svn-id: http://skia.googlecode.com/svn/trunk@6914 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
5f74cf8c49701f514b69dc6f1a8b5c0ffd78af0a |
|
17-Dec-2012 |
sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Follow up on the previous patch : - Moved the SkStrokeRec class in its own file - Replaced SkStroke by SkStrokeRec in Ganesh - Moved path stroking to the Ganesh level in some cases (everytime it isn't required to do it directly in SkGpuDevice). PathEffect and MaskFilter still require path stroking at the SkGpuDevice for now. - Renamed static functions in SkPath with proper names * No functionality shold have changed with this patch. This is a step towards enabling Ganesh Path Renderers to decide whether or not to stroke the path rather than always receiving the stroked path as an input argument. BUG=chromium:135111 TEST=Try path rendering tests from the gm Review URL: https://codereview.appspot.com/6946072 git-svn-id: http://skia.googlecode.com/svn/trunk@6861 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
dbfac8a72393eaf01670aeb3244de0e18d8faf98 |
|
06-Dec-2012 |
junov@google.com <junov@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Defining new color constat for transparent color Review URL: https://codereview.appspot.com/6901044 git-svn-id: http://skia.googlecode.com/svn/trunk@6696 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
12b4e27ae1a29460e91a59f38122483e1faec697 |
|
06-Dec-2012 |
sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
As part of preliminary groundwork for a chromium fix, this changelist is deprecating GrPathFill so that SkPath::FillType is used everywhere in order to remove some code duplication between Skia and Ganesh. BUG=chromium:135111 TEST=Try path rendering tests from the gm Review URL: https://codereview.appspot.com/6875058 git-svn-id: http://skia.googlecode.com/svn/trunk@6693 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
5f0add3ad6e1d6129307276c81ba6624f92ca112 |
|
26-Nov-2012 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
remove legacy build-guards, now that webkit has rebaselined these. SK_DISABLE_FAST_AA_STROKE_RECT SK_IGNORE_FAST_BLURRECT SK_DISABLE_EXTRACTSUBSET_OPAQUE_FIX SK_IGNORE_CF_OPTIMIZATION SK_IGNORE_NEW_STROKERECT SK_DISABLE_GPU_BLUR SK_IGNORE_ROTATED_FREETYPE_FIX The changes should all be: remove code for #ifdef remove guard for #ifndef Review URL: https://codereview.appspot.com/6858073 git-svn-id: http://skia.googlecode.com/svn/trunk@6546 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
7b7cdd147f5528865238e5ed98c79e6d319fde9b |
|
07-Nov-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Some improvements to reduce the number of pixels touched in generating alpha clip masks Review URL: https://codereview.appspot.com/6828043 git-svn-id: http://skia.googlecode.com/svn/trunk@6329 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
dbe49f735484f8862e378b63d0a074a301093dd0 |
|
05-Nov-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove default texture coords / texture matrix Review URL: https://codereview.appspot.com/6775100 git-svn-id: http://skia.googlecode.com/svn/trunk@6293 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
ea5d8af9fb20096f350d2f313935ba37a592c160 |
|
02-Nov-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix for 2 parallel gpu rendering issues (bigbitmaprect & image-surface) https://codereview.appspot.com/6816079/ git-svn-id: http://skia.googlecode.com/svn/trunk@6266 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
b9086a026844e4cfd08b219e49ce3f12294cba98 |
|
01-Nov-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replace GrMatrix with SkMatrix. Review URL: https://codereview.appspot.com/6814067 git-svn-id: http://skia.googlecode.com/svn/trunk@6247 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
81712883419f76e25d2ffec38a9438284a45a48d |
|
01-Nov-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove GrScalar, replace with SkScalar. Review URL: https://codereview.appspot.com/6812064 git-svn-id: http://skia.googlecode.com/svn/trunk@6243 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d8b5faca043100d7a1e4594b4d10e462532af390 |
|
01-Nov-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reland r6233 with fix. git-svn-id: http://skia.googlecode.com/svn/trunk@6241 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
115b06f3d51902a122621e897360ba80153527b3 |
|
01-Nov-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Re-revert r6233. git-svn-id: http://skia.googlecode.com/svn/trunk@6239 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
c3a58f345de16c185db3a20578c7ddf52bc89d38 |
|
01-Nov-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reland r6233 with fix for config conversion texture matrices. git-svn-id: http://skia.googlecode.com/svn/trunk@6238 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
66e534da8e2b3de928f7ce132da61947a73ab7cb |
|
01-Nov-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r6233 while investigating bot failures. git-svn-id: http://skia.googlecode.com/svn/trunk@6235 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
ce49e16d3b4a5b554d75a609e4ac8973c23c17e2 |
|
01-Nov-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Checkpoint in moving texture matrices out of GrGLProgram and into GrGLEffect. Review URL: https://codereview.appspot.com/6818064 git-svn-id: http://skia.googlecode.com/svn/trunk@6233 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f94b3a4cebd4adab09c40ebe23c02a615e10c394 |
|
31-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make SkShader store localM directly rather than as a separate alloc. May cause very slight GM changes in gpu two pt radial/conical radients. Review URL: https://codereview.appspot.com/6821056 git-svn-id: http://skia.googlecode.com/svn/trunk@6221 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d3eb336d56b2ad989229c8fb21ea20f5a7b14a32 |
|
31-Oct-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add validation check to GrGpu::createTexture & minor SkGpuDevice cleanup https://codereview.appspot.com/6821055/ git-svn-id: http://skia.googlecode.com/svn/trunk@6213 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
08283afc265f1153834256fc1012519813ba6b73 |
|
26-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Rename GrSamplerState to GrEffectStage. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6777053 git-svn-id: http://skia.googlecode.com/svn/trunk@6135 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
021fc736f89fddac4f26b3f32f50263ff8fe3279 |
|
25-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
GrCustomStage Renaming Part 5 Stuff found by searching for "stage". R=robertphillips@google.com Review URL: https://codereview.appspot.com/6772043 git-svn-id: http://skia.googlecode.com/svn/trunk@6089 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
8ea78d83dc4e8243c16eedf8100a3987c54123fa |
|
24-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
GrCustomStage Renaming Part 4 Rename a bunch of things found by searching for "custom". Review URL: https://codereview.appspot.com/6765048 git-svn-id: http://skia.googlecode.com/svn/trunk@6085 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f271cc7183fe48ac64d2d9a454eb013c91b42d53 |
|
24-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
GrCustomStage Renaming Part 3 Rename all things *CUSTOM_STAGE*, customStage*, and other miscellany R=robertphillips@google.com Review URL: https://codereview.appspot.com/6769048 git-svn-id: http://skia.googlecode.com/svn/trunk@6081 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
6f261bed0252e3f3caa595798364e0bf12a2573a |
|
24-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
GrCustomStage Renaming Part 2 GrSamplerState member rename GrCustomStageUnitTest rename some comment updates Review URL: https://codereview.appspot.com/6771043 git-svn-id: http://skia.googlecode.com/svn/trunk@6078 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
a469c28c3c16214733a25201a286970f57b3d944 |
|
24-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
CustomStage Renaming Part 1 Search and replace: GrCustomStage->GrEffect GrCustomStageTestFactory->GrEffectTestFactory renamed the cpp/h files from customStage->effect reordered gypi, #includes, forward decls to maintain alphabetical sort. manually fixed up some whitespace and linewraps deleted a commented out #include R=robertphillips@google.com Review URL: https://codereview.appspot.com/6758046 git-svn-id: http://skia.googlecode.com/svn/trunk@6076 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
985fa79141a82ec5e9bb5b01d9090aef76fac234 |
|
24-Oct-2012 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Protect filter_texture() against render target change. Fix blend filters when input textures are "sloppy" (approx scratch texture match) Add a new test case to gm/imagefiltersgraph, and reduce its size. NOTE: this will require new baselines for the imagefiltersgraph GM. BUG=950 Review URL: https://codereview.appspot.com/6769043 git-svn-id: http://skia.googlecode.com/svn/trunk@6073 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
055f9086a83423b33d69dda5b2c847b2c7c09718 |
|
24-Oct-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reset clip in ~SkGpuDevice https://codereview.appspot.com/6763044/ git-svn-id: http://skia.googlecode.com/svn/trunk@6070 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
7d1267539f952e1a53fdb3257eea97e6737c8a84 |
|
19-Oct-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
GPU: add failure checks for the scratch textures used in Gaussian blur. https://codereview.appspot.com/6744047/ On behalf of senorblanco git-svn-id: http://skia.googlecode.com/svn/trunk@6014 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
b2ad101313cfba9c06a3a4dc06531766bcbec73b |
|
17-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make table color filter use asNewCustomStage. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6713051 git-svn-id: http://skia.googlecode.com/svn/trunk@5976 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
67e78c9e47c38a51816412a24a10f4fe2db142a3 |
|
17-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Use GrCustomStage to implement color matrix. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6716044 git-svn-id: http://skia.googlecode.com/svn/trunk@5975 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
dfdb7e5240276493077b7c6e1f3cc8b8a0e195ba |
|
16-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reland r5963 with two fixes: Missing ref in GrSweepGradient::TestCreate. Must reset() the sampler in setup_drawstate_aaclip() to avoid hitting a (dubious) assert. git-svn-id: http://skia.googlecode.com/svn/trunk@5964 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f6eac8af585e44d56e6b18d269e6c34f9917ea88 |
|
16-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r5962 because of failures. git-svn-id: http://skia.googlecode.com/svn/trunk@5963 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
b022177777c3602c47bb71c07920e63a261c5038 |
|
16-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Require matrix for custom stage to be set when custom stage is installed. Review URL: https://codereview.appspot.com/6696044 git-svn-id: http://skia.googlecode.com/svn/trunk@5962 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f57c01bdcfdf1c923b9a473974bfe6f8c66eca3e |
|
13-Oct-2012 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@5943 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
3cbaa2d4da8bc39a99bf3afaaab43cc6dc481723 |
|
12-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Beef up GrContext::AutoMatrix to handle doing GrPaint matrix adjustments. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6656047 git-svn-id: http://skia.googlecode.com/svn/trunk@5918 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
3ab43d5c5b4d77f46dd0266618f92e5fefce2021 |
|
11-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Minimize use of SkDraw's matrix in SkGpuDevice. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6604068 git-svn-id: http://skia.googlecode.com/svn/trunk@5906 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
5dc26b97366934ba0f896cea02a3fec027d5d5c1 |
|
11-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
SkTCopyOnFirstWrite R=reed@google.com Review URL: https://codereview.appspot.com/6650047 git-svn-id: http://skia.googlecode.com/svn/trunk@5905 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
a6926b1f0352916c31cda66f2239a25d52f09315 |
|
10-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reland r5861 but leave setMatrixClip virtual on SkDevice (IOW this is a partial revert of r5871 which reverted r5861). Unreviewed Review URL: https://codereview.appspot.com/6631062 git-svn-id: http://skia.googlecode.com/svn/trunk@5881 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
3fffb2ee9fa01ae61efb2395973eb7575eda4c96 |
|
10-Oct-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reverting r5861 (remove gainfocus and setMatixClip) due to Chrome compilation issues git-svn-id: http://skia.googlecode.com/svn/trunk@5871 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
a1c3d78f224874833920c8017f4287a3ec538779 |
|
09-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove gainFocus() and setMatrixClip() virtuals from SkDevice. R=reed@google.com,robertphillips@google.com Review URL: https://codereview.appspot.com/6636050 git-svn-id: http://skia.googlecode.com/svn/trunk@5861 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
0e354aacd84d3bede3f97cbde35a54ba62a89533 |
|
08-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove external matrix feature. We haven't been testing this for nearly two years. R=reed@google.com Review URL: https://codereview.appspot.com/6640044 git-svn-id: http://skia.googlecode.com/svn/trunk@5857 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
0f11e1ab5b6e53f6176dde2dbb25a8e3ae34858f |
|
08-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove translate param from GrContext::drawPath (and subsequent calls). Review URL: https://codereview.appspot.com/6615062 git-svn-id: http://skia.googlecode.com/svn/trunk@5852 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
c7448cef098b835d6f9adf8a365fde9de076f178 |
|
05-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
GrPaint encapsulation. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6624052 git-svn-id: http://skia.googlecode.com/svn/trunk@5838 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
88becf450f015007d785f2b5aa7fe4690e295868 |
|
05-Oct-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Rename GrPaint fields/enums/members texture->color mask->coverage. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6615046 git-svn-id: http://skia.googlecode.com/svn/trunk@5827 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
ae75d25d888c6df432ef05712123723bb11fbfd1 |
|
02-Oct-2012 |
caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Oops, forgot a file Review URL: https://codereview.appspot.com/6593064 git-svn-id: http://skia.googlecode.com/svn/trunk@5777 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
dc3a4e5fa8c42bd0313af547bc15db2e6554a217 |
|
02-Oct-2012 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@5762 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
ccb39504096db647dafdb254cae59ae172969b8e |
|
01-Oct-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Speculative render target ref/unref fixes https://codereview.appspot.com/6592051/ git-svn-id: http://skia.googlecode.com/svn/trunk@5754 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
ffad46b264de469b2dd51aab6caaef71099fdbbf |
|
01-Oct-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fixed bug in drawing of large bitmaps https://codereview.appspot.com/6595047/ git-svn-id: http://skia.googlecode.com/svn/trunk@5745 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
22b460cef604c4737b9e221901e1940681255c01 |
|
29-Sep-2012 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@5735 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
bac6b0575a28792a6be350af44c0b05975d2a66b |
|
28-Sep-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Update Ganesh to support fractional rects in drawBitmapRect https://codereview.appspot.com/6561070/ git-svn-id: http://skia.googlecode.com/svn/trunk@5724 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
9c39744a00573b7133fc765b0a9d50a0ceace7b8 |
|
27-Sep-2012 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix recursive GPU processing for SkImageFilter. Plumb through the SkImageFilter::Proxy parameter to the GPU recursion path. Extract DeviceImageFilterProxy from SkCanvas.cpp into its own .h, and rename it. https://codereview.appspot.com/6575059/ git-svn-id: http://skia.googlecode.com/svn/trunk@5720 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
7064e9a3fc2fe54856d66ede84eddee2cace01b9 |
|
26-Sep-2012 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@5678 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
ccaa002dd81a6a8bd5acb7a2fa69a2437873c1fd |
|
25-Sep-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix some linux build warnings Review URL: https://codereview.appspot.com/6571050 git-svn-id: http://skia.googlecode.com/svn/trunk@5675 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
33535f3c48bf723c46f334a93d4a06d782dad30e |
|
25-Sep-2012 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reimplement drawBitmapRectToRect to correctly handle fraction srcRect. The prev impl relied on drawBitmap "deducing" the destination rect by applying the computed matrix to the bitmap's bounds. This cannot be done if the srcRect is fractional, and therefore not representable w/ a bitmap. The new impl computes the same matrix, but calls down to the device via drawRect + a bitmap_shader. This allows us to specfiy the dstRect explicitly. The possible down-side is that we now rely on the device subclass to efficiently handle draRect+shader, instead of calling its drawBitmap entry-point. To give the device the chance to handle this differently, I now call through to a new device virtual: drawBitmapRect. The default impl is to create the shader and call drawRect, but a subclass can intercept that. For now, the GPU override of drawBitmapRect is mimicing the old behavior (by rounding the srcRect to an iRect). This preserves its ability to call drawBitmap which handles very-large textures, but shows some gittering/imprecision, due to the rounding. ... this is the same GPU behavior we have before this CL. Review URL: https://codereview.appspot.com/6542065 git-svn-id: http://skia.googlecode.com/svn/trunk@5663 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
5b5bba36dcbc69b0033c2acc9981734956394816 |
|
24-Sep-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Addressed xcode analysis complaints http://codereview.appspot.com/6558048/ git-svn-id: http://skia.googlecode.com/svn/trunk@5646 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1ce49fc91714ce8974d11246d29ebe7b97b5fe98 |
|
18-Sep-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move GrTextureParams from GrSamplerState to GrTextureAccess Review URL: https://codereview.appspot.com/6496135/ git-svn-id: http://skia.googlecode.com/svn/trunk@5582 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
8090e651fc1055e0a36f5f17c851faafda949b2c |
|
28-Aug-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make the SkGrPixelRef be responsible for unlocking device's scratch texture in the cache Review URL: https://codereview.appspot.com/6498046/ git-svn-id: http://skia.googlecode.com/svn/trunk@5313 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
a292112154f803feb9f5cc002bbfab559f7cb633 |
|
28-Aug-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove SkGpuDevice::fTexture, use new pixel ref class name Review URL: https://codereview.appspot.com/6474068/ git-svn-id: http://skia.googlecode.com/svn/trunk@5307 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d6176b0dcacb124539e0cfd051e6d93a9782f020 |
|
23-Aug-2012 |
rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) This CL is part II of IV (I broke down the 1280 files into 4 CLs). Review URL: https://codereview.appspot.com/6474054 git-svn-id: http://skia.googlecode.com/svn/trunk@5263 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
e8e7d5f2753fe93b96cba46be589744caf8af62e |
|
22-Aug-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove unnecessary flush from SkGpuDevice Review URL: http://codereview.appspot.com/6476046/ git-svn-id: http://skia.googlecode.com/svn/trunk@5224 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
cae9529cfb878d2842f584defedc0928bf230409 |
|
22-Aug-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert 5213. WK r126226 has landed in Chromium and the workaround is no longer necessary. git-svn-id: http://skia.googlecode.com/svn/trunk@5223 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
5b5919862fa9114b76ed9c2e9429739dec06fee7 |
|
21-Aug-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Flush in ~SkGpuDevice to unblock Skia roll Review URL: http://codereview.appspot.com/6453160/ git-svn-id: http://skia.googlecode.com/svn/trunk@5213 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
0342a85091fd430c90a142d155dc9642aa729d9e |
|
20-Aug-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove _UPM_ GrPixelConfigs Review URL: http://codereview.appspot.com/6460113/ git-svn-id: http://skia.googlecode.com/svn/trunk@5196 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
0d944821934145055f293fc717418d25208b9836 |
|
16-Aug-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix uninitialized color filter data on GrPaint Review URL: http://codereview.appspot.com/6443135/ git-svn-id: http://skia.googlecode.com/svn/trunk@5125 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1f47f4f7325971dd53991e2bb02da94fa7c6d962 |
|
16-Aug-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replaced TextureCacheEntry with GrTexture* and a back pointer to GrResourceEntry (in GrTexture) http://codereview.appspot.com/6460089/ git-svn-id: http://skia.googlecode.com/svn/trunk@5122 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
9c2ea846351a29208cb4a36301ee611e7fb384ea |
|
13-Aug-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Split cache-specific fields out of GrTextureDesc http://codereview.appspot.com/6448143/ git-svn-id: http://skia.googlecode.com/svn/trunk@5065 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
82aa7482cbf55ce6d42c692550cadee5e23146e4 |
|
13-Aug-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add a zoom filter to Skia. This will be used on ChromeOS to implement the screen magnifier. Committed on behalf of zork@chromium.org Review URL: http://codereview.appspot.com/6354065/ git-svn-id: http://skia.googlecode.com/svn/trunk@5056 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
46f935002c2b25331e552520dc7b1a912e12dfdc |
|
07-Aug-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Added SkClipStack portion of new clip mask caching system http://codereview.appspot.com/6449089/ git-svn-id: http://skia.googlecode.com/svn/trunk@4978 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
768fee8b6e9ae0a849ed45ab377fc9079b5db11e |
|
02-Aug-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fixed oversized SkRegion bound problem for complexclip_aa GM http://codereview.appspot.com/6447076/ git-svn-id: http://skia.googlecode.com/svn/trunk@4906 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
302cffba86a188373c99833d83392f33e6014542 |
|
01-Aug-2012 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replace the asAFoo() functions in SkImageFilter with canFilterImageGPU() and onFilterImageGPU() virtuals. This allows each filter to implement its own GPU processing code, even for multi-pass filters. Review URL: http://codereview.appspot.com/6449075/ git-svn-id: http://skia.googlecode.com/svn/trunk@4900 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
641f8b19a6799b6d73ac17b9c2d2f8a5e6f5ad4d |
|
31-Jul-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replace GrClip with SkClipStack http://codereview.appspot.com/6449070/ git-svn-id: http://skia.googlecode.com/svn/trunk@4865 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
7b11289b4e4d117bbcee6d2460b057d0fcf6e437 |
|
31-Jul-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Added dev- & canv- prefixes to Ganesh bounding boxes to indicate coordinate space http://codereview.appspot.com/6457061/ git-svn-id: http://skia.googlecode.com/svn/trunk@4856 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f8d904a7eed435b9de68fd2eef6d7f3c59fcc9cc |
|
31-Jul-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
GrClip no longer translates its clips (to better mimic SkClipStack's behavior) http://codereview.appspot.com/6445052/ git-svn-id: http://skia.googlecode.com/svn/trunk@4848 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d7cc651b8da11d52ae90e910b948f5e2d15daaf9 |
|
27-Jul-2012 |
rileya@google.com <rileya@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move GPU gradients into src/effects/gradients. Review URL: https://codereview.appspot.com/6453055 git-svn-id: http://skia.googlecode.com/svn/trunk@4805 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1c31f633232df572f89a3bc1b0fee3e46d22cb5b |
|
26-Jul-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove texture/mask setters on GrPaint Review URL: http://codereview.appspot.com/6446052/ git-svn-id: http://skia.googlecode.com/svn/trunk@4790 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
beb1af78d016d2700c350487a383c6bcfa7e2e20 |
|
26-Jul-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Altered Ganesh's clip stack plumbing to pass down new GrClipData class http://codereview.appspot.com/6454047/ git-svn-id: http://skia.googlecode.com/svn/trunk@4788 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
b8670998a59d305cd22a3c0cbdc6e075b0a37a6e |
|
25-Jul-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move filter/wrap out of GrSamplerState into GrTextureParams Review URL: http://codereview.appspot.com/6440046/ git-svn-id: http://skia.googlecode.com/svn/trunk@4773 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
91f319c5dc4493384f0a52aaeef3dcc311ef6ed0 |
|
25-Jul-2012 |
rileya@google.com <rileya@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Use asNewCustomStage instead of asABitmap in SkGpuDevice, also removed now-unecessary twoPointRadialParams parameter from asABitmap. In SkGpuDevice we still fall back on using asABitmap for effects that don't have asNewCustomStage implemented, but it still simplifies things a fair amount. Review URL: https://codereview.appspot.com/6430060 git-svn-id: http://skia.googlecode.com/svn/trunk@4755 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
4c2a2f7c5e8ec77771153f94c454adf21fd33805 |
|
25-Jul-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Added isIntersectionOfRects to SkClipStack http://codereview.appspot.com/6434050/ git-svn-id: http://skia.googlecode.com/svn/trunk@4745 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
8f4fdc9968123d508d4bb17b5d15946a990613d4 |
|
24-Jul-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix npot bitmap tiling Review URL: http://codereview.appspot.com/6419073/ git-svn-id: http://skia.googlecode.com/svn/trunk@4736 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
607fe077c893fdb230e29631be096de614a14e2a |
|
24-Jul-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Added bound computation to SkClipStack http://codereview.appspot.com/6419048/ This will require re-baselining of complexclip* and filltypespersp git-svn-id: http://skia.googlecode.com/svn/trunk@4730 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
2683a4166a1b2e0ba09f43edb008cbaf785c3dc6 |
|
20-Jul-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix build break in r4694: move reset() call before setting custom stage on sampler. Over-the-shoulder review by bsalomon@. http://codereview.appspot.com/6419061/ git-svn-id: http://skia.googlecode.com/svn/trunk@4700 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1e8f016305805d4d8cad74aba3a21b78486f9d6f |
|
20-Jul-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove easily-removable uses of setTexture(), instead creating a GrSingleTextureEffect - where feasible, through convenience function on GrDrawState. http://codereview.appspot.com/6425055/ git-svn-id: http://skia.googlecode.com/svn/trunk@4694 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
96291dfa7054545327b34016882ca57f40a1fc81 |
|
20-Jul-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove assertion when texture matrix is unused Review URL: http://codereview.appspot.com/6420054/ git-svn-id: http://skia.googlecode.com/svn/trunk@4693 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
cbd0ad90307c2d9d1fce0239476fb03dec8eca9b |
|
20-Jul-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix color filter LUT (install custom stage after reset of sampler). Over the shoulder review by TomH. git-svn-id: http://skia.googlecode.com/svn/trunk@4691 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
25f3e9bb6362a985bb6ac82c0b28a00d9d00f4e9 |
|
20-Jul-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Work around unused matrix uniform assertion for color filter LUT. Review URL: http://codereview.appspot.com/6420054/ git-svn-id: http://skia.googlecode.com/svn/trunk@4690 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
e3d3216fe17b6afb2e613271b5246a2766e12df6 |
|
20-Jul-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove stage masks Review URL: http://codereview.appspot.com/6422047/ git-svn-id: http://skia.googlecode.com/svn/trunk@4688 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
5ce42ca157c134977f6b663612b838367d64bd69 |
|
19-Jul-2012 |
rileya@google.com <rileya@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make GPU linear gradients do bilinear filtering. This will require GM (and webkit) rebaselines. Review URL: https://codereview.appspot.com/6431048 git-svn-id: http://skia.googlecode.com/svn/trunk@4680 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
22e57f991628451c02f970beea379ad632bb6a10 |
|
19-Jul-2012 |
rileya@google.com <rileya@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
New subclasses for both Gr and GrGL gradient effect classes. This replaces GrSingleTextureEffect as the base for gradient effects (so we'll be able to do gradient effects without textures), and adds a base class to the GL gradient custom stage implementations (which will soon handle generating the appropriate code to pass colors in and lerp instead of using a cached texture for simpler gradient cases). Also added a custom stage for linear gradients. Review URL: https://codereview.appspot.com/6426049 git-svn-id: http://skia.googlecode.com/svn/trunk@4674 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
24f3ad1bbb44916cae33f5d3cf2a20af4bbc381f |
|
18-Jul-2012 |
rileya@google.com <rileya@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move texture lock/unlock functions from SkGpuDevice into SkGr as global functions, also removed inconsistent "SkGr" class. Review URL: https://codereview.appspot.com/6420048 git-svn-id: http://skia.googlecode.com/svn/trunk@4664 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
580711694654b8edc70028d09c4211445b661466 |
|
18-Jul-2012 |
twiz@google.com <twiz@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
This CL implements the Ganesh path for the SkTable_ColorFilter color transformation. A new texture stage dedicated to color transforms has been added, along with the new custom stage implementing the LUT. Review URL: https://codereview.appspot.com/6351081 git-svn-id: http://skia.googlecode.com/svn/trunk@4663 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1e95d715d06c5125ef6e5439e953fd0353be92b2 |
|
18-Jul-2012 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Clean up the use of AutoScratchTexture in the gaussian blur and morphology filters. Instead of passing in AutoScratchTextures for temporaries, we allocate them inside the function and detach() after rendering. Since the functions now return a ref()'ed texture, we no longer ref() the result in filter_texture(). Also, the imageblur gm was passing a paint with an image filter both to saveLayer()/restore(), and to every text draw call. Back when only restore() was applying filters, this was fine, but since we're now applying filters on all draw calls, this means we're double-blurring in this GM. I've reverted the Mac baselines for the imageblur GM to their previous versions; hopefully this will be correct. git-svn-id: http://skia.googlecode.com/svn/trunk@4659 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
2f68e7684bb2ecdf0c03a513c31d0626d2caf752 |
|
17-Jul-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move texture domains onto a GrCustomStage, off of GrSamplerState. This will require gyp changes to roll into Chrome. http://codereview.appspot.com/6405050/ git-svn-id: http://skia.googlecode.com/svn/trunk@4641 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
e742bf0ab19659145325ac894f7e0b78c8efbd89 |
|
13-Jul-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Start removing calls to GrDrawState::setTexture() (and GrPaint::setTexture()?) when there's a GrSingleTextureEffect involved holding the texture. http://codereview.appspot.com/6353094/ git-svn-id: http://skia.googlecode.com/svn/trunk@4608 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
40a1ae4df28810aa5aa5cf2627d8387b2dfb867a |
|
13-Jul-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Added SkDevice onAttachToCanvas & onDetachFromCanvas methods http://codereview.appspot.com/6348100/ git-svn-id: http://skia.googlecode.com/svn/trunk@4598 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d0c1a06cb98dd4a009dfa79e37ba6ca23a8c180b |
|
12-Jul-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Introduces new SingleTextureEffect base class for GrCustomStage objects. This class tracks the texture that the object uses. A future commit will get rid of the GrTexture pointer currenty stored in the GrDrawState, allowing us to have CustomStages *without* textures. Requires gyp change on next roll. http://codereview.appspot.com/6306097/ git-svn-id: http://skia.googlecode.com/svn/trunk@4576 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
56c79b10377e358b8092d9c6ab3e1aacf2cd60e5 |
|
11-Jul-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Added GrContext::AutoClipStack to encapsulate setting\resetting of clip stack http://codereview.appspot.com/6343097/ git-svn-id: http://skia.googlecode.com/svn/trunk@4558 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
b0a34d80c5c7b06db8083a547f8e499781a9c169 |
|
11-Jul-2012 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
idea: add annotation to SkPaint Review URL: https://codereview.appspot.com/6355050 git-svn-id: http://skia.googlecode.com/svn/trunk@4555 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
fea85ac3e31842f80493e2df8a93a28f21cd815f |
|
11-Jul-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Minor refactoring to make GrAutoMatrix a nested sub-class of GrContext http://codereview.appspot.com/6356092/ git-svn-id: http://skia.googlecode.com/svn/trunk@4549 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
bca1c5de48f45a8c73dff00e60c4fa1821e2f79d |
|
11-Jul-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fixed merge error in r4545 git-svn-id: http://skia.googlecode.com/svn/trunk@4546 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
3e11c0bd92fbd12f59080c3f9450201d6105db83 |
|
11-Jul-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Forced GrClip to always have conservative bounds http://codereview.appspot.com/6353089/ git-svn-id: http://skia.googlecode.com/svn/trunk@4545 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
894790d77c56cd4bae8070331d275c6d2897e33c |
|
11-Jul-2012 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
This patch implements the diffuse and specular lighting filters in Ganesh. There are three light types for each: distant, point and spot, whose code generation lives in a GrGLLight class hierarchy. This similar to the CPU implementation, where each light type provides a function to compute the vector from the surface plane to the light (surfaceToLight) and to compute the light colour (emitLightColour). Instead of templated member functions, as in the CPU implementation, these are virtual functions to emit the light-specific GLSL code. All of the code for the GPU path lives in the same file as that for the CPU path, SkLightingImageFilter.cpp. In order to provide Ganesh a hook to access it, SkImageFilter now has a asNewCustomStage() virtual, which allows an image filter to return a GrCustomStage representing that filter. Note that this patch does not handle the border conditions correctly (the [top|bottom][Left|Right]Normal() functions in the CPU implementation). That will come in a future patch. Review URL: http://codereview.appspot.com/6345081/ git-svn-id: http://skia.googlecode.com/svn/trunk@4535 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
c377baf406996aed18d82d328029c82dbc3b8dda |
|
09-Jul-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add placement new macros to SkPostConfig, call SkNEW* from Ganesh. TODO: unify with the placement new implementation in SkTemplatesPriv.h, once various issues there are overcome. reed@ should be taking the lead there. http://codereview.appspot.com/6384043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4492 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
3e33258cd15faae4a2906ddcc586e4008ee20e68 |
|
03-Jul-2012 |
rileya@google.com <rileya@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Added GPU implementation of 2-point conical gradient. Review URL: https://codereview.appspot.com/6354062 git-svn-id: http://skia.googlecode.com/svn/trunk@4442 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
375ff85e96cf0f8438ea0b11be67e85474e42c29 |
|
29-Jun-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Un-trifurcate GrTextContext: get rid of Default and Batched subclasses, folding their functionality back into the base class. Requires gyp changes. http://codereview.appspot.com/6357048/ git-svn-id: http://skia.googlecode.com/svn/trunk@4411 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
e9c0469a491ddcbe5f1f90d0ac9f4337aa231c8b |
|
29-Jun-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Pseudo-reverted r4396 (SkGrPixelRef files are still in source pool but are unused) git-svn-id: http://skia.googlecode.com/svn/trunk@4402 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
5088eb49fedac4180e2d5822e2636b3c6edeef9a |
|
28-Jun-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Moved SkGrTexturePixelRef to SkGrPixelRef http://codereview.appspot.com/6344054/ git-svn-id: http://skia.googlecode.com/svn/trunk@4397 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d881bc194d7c24294029b5c08e6e549a9fd9b6f3 |
|
28-Jun-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Collapsed SkGrTexturePixelRef and SkGrRenderTargetPixelRef into SkGrPixelRef using new GrSurface class http://codereview.appspot.com/6359045/ git-svn-id: http://skia.googlecode.com/svn/trunk@4396 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
26344cfaffa6a78c545c3e2253ec26cc277f82c9 |
|
27-Jun-2012 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
add explicit purgeAll() so we don't get foiled by the min cache-limit call unref instead of delete on the GrFontScaler Review URL: https://codereview.appspot.com/6353045 git-svn-id: http://skia.googlecode.com/svn/trunk@4366 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
fa35e3ddcc9d130ce87c927218bdf27879c38711 |
|
26-Jun-2012 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
plumb SkInstCnt to all subclasses of GrRefCnt git-svn-id: http://skia.googlecode.com/svn/trunk@4353 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f13f58804659175925042a291304d483a4fd9278 |
|
25-Jun-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add GrPaint::*StageEnabled() and GrDrawState::stageEnabled() functions. These wrap the question of "is this stage of the shader enabled?" so that we can change the semantics - previously iff there was a texture, now if there is a texture OR a GrCustomStage, soon (post-cl 6306097) iff there is a GrCustomStage, which at that point will hold whatever texture is necessary. http://codereview.appspot.com/6306104/ git-svn-id: http://skia.googlecode.com/svn/trunk@4325 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
07fc0d178e20f74a88dd78384f817b53204e625f |
|
22-Jun-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r4287. Large numbers of textures created by random gradients can cause poor driver performance (at least on Mac) BUG=670 git-svn-id: http://skia.googlecode.com/svn/trunk@4306 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
9ec075366ed94802a142fc5e948d19a774f85b43 |
|
22-Jun-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Altered GrDrawState to always ref texture and render target http://codereview.appspot.com/6251049/ git-svn-id: http://skia.googlecode.com/svn/trunk@4298 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
c82a8b7aa4ec19fba508c394920a9e88d3e5bd12 |
|
21-Jun-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fixed two bugs in SW-only clip mask generation http://codereview.appspot.com/6306086/ git-svn-id: http://skia.googlecode.com/svn/trunk@4290 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
8f7e1dac5c92bf1f53feb603a9bd249d53afa81a |
|
21-Jun-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove count budget from resource cache Review URL: http://codereview.appspot.com/6312052/ git-svn-id: http://skia.googlecode.com/svn/trunk@4287 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
b702c0fcc0d5c85cb326b38fd34d535b9352512e |
|
18-Jun-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
GPU would ignore the path effect when its stroke is zero, fix it Committed on behalf of Guanqun.Lu@gmail.com Review URL: http://codereview.appspot.com/6301092 git-svn-id: http://skia.googlecode.com/svn/trunk@4273 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
56f2244dca1d0bc187370c35e9a74d5b73d1e2ca |
|
08-Jun-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix for r4201 performance regression (http://code.google.com/p/skia/issues/detail?id=640) http://codereview.appspot.com/6299060/ git-svn-id: http://skia.googlecode.com/svn/trunk@4212 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
75b3c9633cb9a594dab0ccf51dab1e694c149a18 |
|
07-Jun-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move clientID into texture desc http://codereview.appspot.com/6305044/ git-svn-id: http://skia.googlecode.com/svn/trunk@4201 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
47059542e7aa153926377456a6c611e55c8e428c |
|
06-Jun-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Search and replace change. Some Gr enum value names didn't have a "Gr" in their suffix. Verbal LGTM from TomH git-svn-id: http://skia.googlecode.com/svn/trunk@4198 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
3a5dab4e5e66545e78f0972fe3a448fab1fcca26 |
|
04-Jun-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Always filter gradient textures [GMs could possibly need rebaselining] Review URL: http://codereview.appspot.com/6286048/ git-svn-id: http://skia.googlecode.com/svn/trunk@4151 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
a1e5795279bd085496fa04c59e588f440bf30457 |
|
04-Jun-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
GrTexture can now create its own cache key http://codereview.appspot.com/6269047/ git-svn-id: http://skia.googlecode.com/svn/trunk@4148 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
83e5eb8d0272da6c990aae399ab9390d2090a955 |
|
04-Jun-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Clean up likely reference leak in Ganesh custom stages. http://codereview.appspot.com/6286047/ git-svn-id: http://skia.googlecode.com/svn/trunk@4146 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
898e7b568f535fc62a92acda3c22a68cb6e04dcc |
|
01-Jun-2012 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Flip the switch to turn on GrCustomStage implementation of gradients; remove old implementation, including enums & state on various structs. http://codereview.appspot.com/6245078/ git-svn-id: http://skia.googlecode.com/svn/trunk@4129 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
b505a128efae9debcaa9642bade90bab5525d477 |
|
31-May-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Implement morphology as a custom effect Review URL: http://codereview.appspot.com/6250073/ git-svn-id: http://skia.googlecode.com/svn/trunk@4102 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
c077d1eaa8322087f3cc954c3b2e9af7fef103fc |
|
28-May-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Rolling back 4053 git-svn-id: http://skia.googlecode.com/svn/trunk@4054 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
ab303ef6e86089ae28f30a52149f1dae177e1468 |
|
28-May-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Speculative fix for Android Debug only crash in r4049 http://codereview.appspot.com/6251049/ git-svn-id: http://skia.googlecode.com/svn/trunk@4053 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
ac2c666e2777cbcf414391da8f0bd7d6ad2bb99b |
|
25-May-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Rolling back r4049 git-svn-id: http://skia.googlecode.com/svn/trunk@4051 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
837576bf89e946544943fc12b6f002a9b56a9652 |
|
25-May-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Altered GrDrawState to always ref textures and render target http://codereview.appspot.com/6251049/ git-svn-id: http://skia.googlecode.com/svn/trunk@4049 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
5af56069010b33562d337a4f76543d898ca8d485 |
|
27-Apr-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
convert float to SkScalar changes http://codereview.appspot.com/6071043/ Submitted on behalf of Guanqun.Lu@gmail.com git-svn-id: http://skia.googlecode.com/svn/trunk@3779 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
7d30a213156bcf50d05dbf60401cc7ab98d286c6 |
|
25-Apr-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fixes matrix inconsistency in GPU draws with filters. Also adds a GM test. May make GM go red on bots, will rebaseline. Committed on behalf of Guanqun.Lu@gmail.com Review URL: http://codereview.appspot.com/6049046/ git-svn-id: http://skia.googlecode.com/svn/trunk@3764 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
99a5ac0b67a14048a1db3f429878775854d29397 |
|
10-Apr-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Updated blur to use A8/R8 (instead of RGBA8) when available - this provides a performance gain for large blurs http://codereview.appspot.com/5988071/ git-svn-id: http://skia.googlecode.com/svn/trunk@3647 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
8637a365518a82901d313d61eecd83a0c5102fe9 |
|
10-Apr-2012 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Minor Windows compiler complaint fixes http://codereview.appspot.com/5988072/ git-svn-id: http://skia.googlecode.com/svn/trunk@3644 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1b3ac8b5f0b8ba89fb6ddf2d38fda4dcde7e8490 |
|
09-Apr-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Don't use the usage flag to determine whether an SkGpuDevice needs to be cleared. Fixes regression in testimagefilters introduced by r3565. Also add baselines for testimagefilters gm on windows. git-svn-id: http://skia.googlecode.com/svn/trunk@3635 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
419400bf6e475dfbaa424ef0155598a3422cfa67 |
|
06-Apr-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
remove extra parameter ctm in skPaint2GrPaintShader() Comitted on behalf of Guanqun.Lu@gmail.com Review URL: http://codereview.appspot.com/5990048/ git-svn-id: http://skia.googlecode.com/svn/trunk@3625 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
aad7e2781de16e081833fcd896a02f6a9c89ca73 |
|
04-Apr-2012 |
junov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fixing blurred shadows of hairline paths when rendered on the GPU BUG=http://code.google.com/p/chromium/issues/detail?id=121251 REVIEW=http://codereview.appspot.com/5972064/ git-svn-id: http://skia.googlecode.com/svn/trunk@3607 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
2ac4ef5e6e0c9c95c9200408ba25a95ca758eac2 |
|
04-Apr-2012 |
junov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fixing the drawing of blurred shodows for hairline paths with software rendering BUG=http://code.google.com/p/chromium/issues/detail?id=121251 REVIEW=http://codereview.appspot.com/5981053/ git-svn-id: http://skia.googlecode.com/svn/trunk@3592 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
730ca3b5d943eda8438e3e2b3c57df916fc32151 |
|
03-Apr-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix NULL as SkColor warning on clang. git-svn-id: http://skia.googlecode.com/svn/trunk@3582 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
06cd732eff09d8f417ced2779e216d6ce6420f59 |
|
30-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reland 3563 git-svn-id: http://skia.googlecode.com/svn/trunk@3565 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
18bbb8be02f3c4cd93cd4b2c1a5d744ac6854d8c |
|
30-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revet 3563 due to mac bot failure git-svn-id: http://skia.googlecode.com/svn/trunk@3564 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
423d6d9070c99dacb46a8b5d120b348550316b01 |
|
30-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Improve save layer handling in SkGpuDevice http://codereview.appspot.com/5966048/ git-svn-id: http://skia.googlecode.com/svn/trunk@3563 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
b9014f4f2e6e2bb13f63006cecf34b848d95b0f3 |
|
30-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove deprecated names from Gr (WK is no longer using them) Review URL: http://codereview.appspot.com/5969046/ git-svn-id: http://skia.googlecode.com/svn/trunk@3553 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
8500322537c5158a4632be6805b0c4210a20558b |
|
28-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
disable GPU blur on small paths Change originally by Guanqun.Lu@gmail.com with minor edits and sample added by me COULD POSSIBLY CHANGE GPU RESULTS OF GM SLIDES WITH BLUR, WILL REBASILINE IF SO. Review URL: https://codereview.appspot.com/5940045/ git-svn-id: http://skia.googlecode.com/svn/trunk@3514 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
22f42b71fc7f120e995b6e90e9fca8584438192c |
|
26-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
[GPU] when paint has patheffect, it should fallback to path render Comitted on behalf of Guanqun.Lu@gmail.com THIS MAY CAUSE GM TO GO RED, WILL REBASELINE. Review URL: http://codereview.appspot.com/5885057/ git-svn-id: http://skia.googlecode.com/svn/trunk@3487 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
8926b169f6a0dfa4c2129a98ec2aee205f0c8527 |
|
23-Mar-2012 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
apply imagefilter to all draw calls Review URL: https://codereview.appspot.com/5856048 git-svn-id: http://skia.googlecode.com/svn/trunk@3476 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f8aa18c08d97cdc98a85a0422d3415822a73949c |
|
19-Mar-2012 |
bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Compile with c++0x. http://codereview.appspot.com/5841074/ git-svn-id: http://skia.googlecode.com/svn/trunk@3434 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f32a9b60ff14bbae260b2934512efc38476e4c68 |
|
16-Mar-2012 |
junov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
GPU blit speedup: avoid texture filtering and texture domain when not necessary BUG=crbug.com/102284 REVIEW=http://codereview.appspot.com/5836047/ TEST=code path already covered by gm/nocolorbleed gm/bitmapfilters and others git-svn-id: http://skia.googlecode.com/svn/trunk@3421 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f4a9c82918767865ebb265f82b0201ecc2b1511b |
|
16-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Split GrTextContext into baseclass and subclass This is a step towards enabling alternate text rendering code paths (GLyphy in particular) Committed on behalf of baranowski@chromium.org Review URL: http://codereview.appspot.com/5796071/ git-svn-id: http://skia.googlecode.com/svn/trunk@3412 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
9183216a7c16a69759edad409c004fc167ca2bf5 |
|
08-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
use floats to compute texture matrix / coords Review URL: http://codereview.appspot.com/5781059/ git-svn-id: http://skia.googlecode.com/svn/trunk@3347 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
3b4dd90282932c9cd695d13f3876f98c9c6d6d5e |
|
05-Mar-2012 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Refactor Gaussian blur and morphology from SkGpuDevice into GrContext. Review URL: http://codereview.appspot.com/5720060/ git-svn-id: http://skia.googlecode.com/svn/trunk@3327 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
84405e095c063eec819e6daec699f22e5449c1cf |
|
05-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
make skpaint2grpaint functions be local to skgpudevice.cpp Review URL: http://codereview.appspot.com/5726061/ git-svn-id: http://skia.googlecode.com/svn/trunk@3322 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
8c0a0d36541d8385b3e8bddea802c5542800c9a4 |
|
05-Mar-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Avoid hairline coverage mul when possible Review URL: http://codereview.appspot.com/5727062/ git-svn-id: http://skia.googlecode.com/svn/trunk@3315 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
05054f1a78a697b507580d0025db6c90423e033f |
|
02-Mar-2012 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Erode and dilate image filter effects, CPU and GPU implementations. Review URL: http://codereview.appspot.com/5656067/ git-svn-id: http://skia.googlecode.com/svn/trunk@3310 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
8b58c4d29773bf8f3d522daa6bde63953c11405f |
|
13-Feb-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
path effect on a very thin line should not be discarded Review URL: http://codereview.appspot.com/5649069/ git-svn-id: http://skia.googlecode.com/svn/trunk@3171 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
75f9f25d8bf2adc0494f9afbbd5965809ee13aca |
|
31-Jan-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add code path for Gr client to resolve an Gr-created MSAA render target. Review URL: http://codereview.appspot.com/5580049/ git-svn-id: http://skia.googlecode.com/svn/trunk@3112 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
78d6cf9f434d3351b19de14f1eab424c23f0ab6d |
|
30-Jan-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove GrAALevel enum, use explicit sample count Review URL: http://codereview.appspot.com/5600045/ git-svn-id: http://skia.googlecode.com/svn/trunk@3106 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
74b461961607fa57a150a9282c410ef0cab38764 |
|
28-Jan-2012 |
vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Formatting cleanup: remove extra whitespace Change by arthurhsu@chromium.org, original CL: http://codereview.appspot.com/5587049/ Review URL: https://codereview.appspot.com/5594043 git-svn-id: http://skia.googlecode.com/svn/trunk@3098 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d9ce125ec83a8facf049dc092dd8dddb17cbc9ae |
|
24-Jan-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Prefer a texture pixel ref to a render target pixel ref when creating an SkGpuDevice Review URL: http://codereview.appspot.com/5570050/ git-svn-id: http://skia.googlecode.com/svn/trunk@3081 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
dd1be60702b3622f49d97651e31d13eaf2175cf8 |
|
18-Jan-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Pull xfer mode test out of generic draw-as-hairline test. Use coverage rather than alpha to draw hairlines < 1pix wide in GPU. Review URL: http://codereview.appspot.com/5528112/ git-svn-id: http://skia.googlecode.com/svn/trunk@3070 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
dafde9e2c1f048328a53f426927a142bc7d2adb8 |
|
11-Jan-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove shadersupport caps bit Review URL: http://codereview.appspot.com/5528076/ git-svn-id: http://skia.googlecode.com/svn/trunk@3015 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
15865a710ab11963bb6fdb8e21af5e1dd11630be |
|
11-Jan-2012 |
bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Correct GPU glyph positioning. http://codereview.appspot.com/5522050/ git-svn-id: http://skia.googlecode.com/svn/trunk@3010 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
547e5be01ca99961df5bb1f3802f4b82f15ba0d3 |
|
10-Jan-2012 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove accidentally checked in printf git-svn-id: http://skia.googlecode.com/svn/trunk@2997 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
76dd277b1fa021c42fc3acdd8d61e7dc05f9c267 |
|
05-Jan-2012 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
add filterImage() entry-point to SkDevice, to allow it to specialize on subclasses of SkImageFilter. If that returns false, then the filter itself is invoked. git-svn-id: http://skia.googlecode.com/svn/trunk@2977 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
b3c20fa9a9cf453354c36d99c279bc033c594da2 |
|
03-Jan-2012 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Speculative fix to please the skia buildbots. I couldn't repro the failure locally, but I did get valgrind to point out some uninitialized data, which this fix suppresses. Build fix; unreviewed. git-svn-id: http://skia.googlecode.com/svn/trunk@2950 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
50bdad85db2fe6be4d0bf0c5b6473f712b1bdd32 |
|
03-Jan-2012 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Implement the color matrix filter in Ganesh. Also, fix and enable the color matrix test slide. This was basically implemented in the same places where the blending-based color filter was being done. The shader simply does a mat4 matrix multiply and a vec4 add. Review URL: http://codereview.appspot.com/5489107/ git-svn-id: http://skia.googlecode.com/svn/trunk@2948 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
88939aee055760550cc105c69034d77b8997f9de |
|
14-Dec-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r2872 git-svn-id: http://skia.googlecode.com/svn/trunk@2873 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
9a4c389258dad60f3eb50accc63be395f460d1e8 |
|
14-Dec-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
two loops for setting stage descs Review URL: http://codereview.appspot.com/5486054/ git-svn-id: http://skia.googlecode.com/svn/trunk@2872 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
aa814fe4a148b05f9160a5f77cb4e630406ea62d |
|
12-Dec-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Access sampler matrices directly, cleanup GrSamplerState::reset()s Review URL: http://codereview.appspot.com/5488048/ git-svn-id: http://skia.googlecode.com/svn/trunk@2854 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1fadb20c50c2302565f73ae12057a6f5d22192c7 |
|
12-Dec-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove static initiazled gClampNearest in gpu backend Review URL: http://codereview.appspot.com/5487044/ git-svn-id: http://skia.googlecode.com/svn/trunk@2851 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
75d939b549a2cc4c587ce77c4ba7b17582db30ed |
|
07-Dec-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
add SK_OVERRIDEs, move impl of virtuals into .cpp git-svn-id: http://skia.googlecode.com/svn/trunk@2819 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
9791291347db8b5e92f16b139df30e28186626c8 |
|
06-Dec-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Prep for GrDrawState as a class Part 2 Review URL: http://codereview.appspot.com/5450105/ git-svn-id: http://skia.googlecode.com/svn/trunk@2810 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
39ee0ffa72fbd5df6d3ec6db4fdad0c1bc3946fd |
|
06-Dec-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Prep #1 for making GrDrawState a class Review URL: http://codereview.appspot.com/5437138/ git-svn-id: http://skia.googlecode.com/svn/trunk@2808 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
5bc34f04fe70cdde702ac3bff1fea0ccb275d4a5 |
|
06-Dec-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove fConfig/fFormat union in GrTextureDesc Review URL: http://codereview.appspot.com/5448116/ git-svn-id: http://skia.googlecode.com/svn/trunk@2806 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
fb30951cd9346a7a2d36e7d5f81f9e7ee792b669 |
|
30-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
[GPU] tile when large bitmap pased drawBitmap and only a small fraction is used Review URL: http://codereview.appspot.com/5450048/ git-svn-id: http://skia.googlecode.com/svn/trunk@2760 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
be2aa2aa1f8bf73d974bdd9438fc741bbf0cfbe6 |
|
17-Nov-2011 |
mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
use AsMode instead of deprecated IsMode git-svn-id: http://skia.googlecode.com/svn/trunk@2705 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
6f3795105b2b458079e53a721c1735c9518f6bb5 |
|
16-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make all pixel ops go thru ctx so we can correctly flush. Unify two texture upload code paths. Review URL: http://codereview.appspot.com/5373108/ git-svn-id: http://skia.googlecode.com/svn/trunk@2701 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
74b98715a375e5e4863115d681386c9f5ec194f5 |
|
11-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Do writepixels alpha-premul using gpu Review URL: http://codereview.appspot.com/5373064/ git-svn-id: http://skia.googlecode.com/svn/trunk@2668 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d58a1cd00b969a7755c375f55cf80f4d49d3047b |
|
10-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add config8888 support to writePixels Review URL: http://codereview.appspot.com/5374052/ git-svn-id: http://skia.googlecode.com/svn/trunk@2662 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f74ad8c91aef4f328dbcbcebae9e436c00a35140 |
|
09-Nov-2011 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Removes warnings generated by gcc and clang. git-svn-id: http://skia.googlecode.com/svn/trunk@2651 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
60014ca38710d3fc265f4376b05c0fefd0e044cf |
|
09-Nov-2011 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Implement Gaussian blurs for images. The caller creates an an SkBlurImageFilter, sets it on an SkPaint, passes that paint to saveLayer(), draws the primitives which are to be blurred, then calls restore(), which applies the blur. The blurs have separate sizes in the horizontal and vertical direction. This feature is GPU-only for now. NB: Due to the clipping change, there are slight pixel differences on the blurs_gpu and shadows_gpu tests, so those will require rebaselining on all platforms, as will some of the WebKit layout tests (TBD). Review URL: http://codereview.appspot.com/5322068/ git-svn-id: http://skia.googlecode.com/svn/trunk@2643 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
c43649962221c348d656d425a3fa9b29c78231d4 |
|
07-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
[GPU] Add explicit byte order and PM vs. UPM 8888 configs Review URL: http://codereview.appspot.com/5347042/ git-svn-id: http://skia.googlecode.com/svn/trunk@2618 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
979432ba2621b617f5e85a9ff48c6b6cd1504a0d |
|
05-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Turn off annoying printfs git-svn-id: http://skia.googlecode.com/svn/trunk@2610 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
6850eab42ba4c2a7033a99824b02a2846ce0ef2a |
|
03-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Override 32BPP format in SkCanvas::readPixels Review URL: http://codereview.appspot.com/5330073/ git-svn-id: http://skia.googlecode.com/svn/trunk@2600 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
910267dde2d036b6298f62943f019bda3d662eb2 |
|
02-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make SkDevice::onReadPixels take a const& rather than const* git-svn-id: http://skia.googlecode.com/svn/trunk@2587 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
c69809745e6496564639e42ef998ad39adf7dfb8 |
|
02-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Recommit r2584 with gpu pass of the new ReadPixels test disabled in fixed pt (gpu code doesn't work in general in fixed pt). git-svn-id: http://skia.googlecode.com/svn/trunk@2586 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
ace7bd5623354ffabbd224d5b76550bab159c296 |
|
02-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r2584 (new test fails in fixed pt builds) git-svn-id: http://skia.googlecode.com/svn/trunk@2585 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1a8ddf0a35bfb6c21a1184f81d2fdd50053acf31 |
|
02-Nov-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Changes the SkCanvas::readPixels API. Allows caller to read into prealloced bitmap pixels. Changes how clipping to device bounds is handled. Review URL: http://codereview.appspot.com/5307077/ git-svn-id: http://skia.googlecode.com/svn/trunk@2584 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
452943d9b74ac66a2d99539eaa1cae48cb5de187 |
|
31-Oct-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
internalDrawBitmap is using kShaderTextureIdx. It should be kBitmapTextureIdx. No functional change, both are names for 0. git-svn-id: http://skia.googlecode.com/svn/trunk@2571 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
02f55841854ae32f21a13417e9ee711463e488cf |
|
04-Oct-2011 |
bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Change SkAutoMaskImage so that we're less likely to write leaky code. http://codereview.appspot.com/5180047/ git-svn-id: http://skia.googlecode.com/svn/trunk@2409 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
9d12f5c11b56ef51ba2c95db721ae7e5bab27023 |
|
29-Sep-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix some VS2010 warnings Review URL: http://codereview.appspot.com/5155043 git-svn-id: http://skia.googlecode.com/svn/trunk@2380 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
fe626383572fabd9baf9ce935e12435057897bca |
|
21-Sep-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
use common code for treating thin lines as hairlines (much faster) git-svn-id: http://skia.googlecode.com/svn/trunk@2296 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
8a0b0291ae4260ef2a46f4341c18a702c0ce3f8b |
|
13-Sep-2011 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r2250 - removal of setMatrixClip() - because Chrome makes heavy use of those functions in a way we're not yet ready to clean up. git-svn-id: http://skia.googlecode.com/svn/trunk@2254 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
66d57255ad984f8926e4ed9d45bfb00cdfc90f4e |
|
12-Sep-2011 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Replaces SkDevice::setMatrixClip() with markMatrixDirty() and markClipDirty(), which require no arguments and so may be called without requiring the matrix and clip to be completely evaluated. De-inlines virtual functions in SkDevice interface. git-svn-id: http://skia.googlecode.com/svn/trunk@2250 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
7d4679a2e1aaa1953bc20d668135c517ee488c11 |
|
03-Sep-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Rename existing nonpreserving reallocs to reset, add reset to SkAutoMalloc, use reset in GrBufferAllocPool Review URL: http://codereview.appspot.com/4951058/ git-svn-id: http://skia.googlecode.com/svn/trunk@2215 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
dd5f7442f65813c1023a59c3380f4446583ccd5d |
|
30-Aug-2011 |
tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add SkMatrix::getPerspectiveTypeMaskOnly() and SkMatrix::isTriviallyIdentity(). Reduces profile time in setConcat() and computeTypeMask() for demos that do a lot of matrix concatenation. git-svn-id: http://skia.googlecode.com/svn/trunk@2191 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1f221a70214fa1ab87b8a32dd66facf485f318ee |
|
23-Aug-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
More prep work in Gr for landing AA hairline renderer. Review URL: http://codereview.appspot.com/4944045 git-svn-id: http://skia.googlecode.com/svn/trunk@2164 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
971d0c8049c6bfc7a58f0b41f8f59f9ec9ca077b |
|
19-Aug-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Get rid of createRenderTargetFrom3DAPIState and associated glGets necessary to support it. Review URL: http://codereview.appspot.com/4928041/ git-svn-id: http://skia.googlecode.com/svn/trunk@2144 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
498776ad9f5ac78f4a6d0a4ef967921c42bc3e3f |
|
16-Aug-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove GrContext::drawCustomVertices Review URL: http://codereview.appspot.com/4910042/ git-svn-id: http://skia.googlecode.com/svn/trunk@2124 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
178d41e750b31248575752c8824c6035e234982f |
|
16-Aug-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove unneeded sk/gr conversion code Review URL: http://codereview.appspot.com/4876055/ git-svn-id: http://skia.googlecode.com/svn/trunk@2123 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
633722ec44ad28261dfaee38a3a8acebefb3ce68 |
|
09-Aug-2011 |
bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Small miter limit check on Gr::drawRect. http://codereview.appspot.com/4838057/ git-svn-id: http://skia.googlecode.com/svn/trunk@2086 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
a44f7003e5f9d1353bc9274268fb5302e69fc94a |
|
09-Aug-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix some ref leaks Review URL: http://codereview.appspot.com/4837068/ git-svn-id: http://skia.googlecode.com/svn/trunk@2082 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
68c4d1288aeda7810b74f44e066f9534216148b1 |
|
01-Aug-2011 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Clip GPU blur against clip bounds. Clip the size of the FBOs used for blurs to the bounds of the clipping region, inflated by the blur radius. This is a little tricky, since we want the rect we use for downsampling to be an integer multiple of the scale factor, so we scale down the clip rect to downsampled space, inflate by the (scaled) kernel width, and intersect the rects there. Also check the blur radius against 0 and abort early, to prevent the fuzzer blowing up on a missing uniform. Review URL: http://codereview.appspot.com/4841043/ git-svn-id: http://skia.googlecode.com/svn/trunk@2020 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1d32978f7e927cb39da480c3bdce18363967313a |
|
28-Jul-2011 |
junov@google.com <junov@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fixing the ignore transform flag in Ganesh with mask filter and drawBitmap TEST=SampleApp/Texture Domain BUG=http://code.google.com/p/skia/issues/detail?id=335 REVIEW=http://codereview.appspot.com/4803052/ git-svn-id: http://skia.googlecode.com/svn/trunk@1987 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976e |
|
28-Jul-2011 |
epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Automatic update of all copyright notices to reflect new license terms. I have manually examined all of these diffs and restored a few files that seem to require manual adjustment. The following files still need to be modified manually, in a separate CL: android_sample/SampleApp/AndroidManifest.xml android_sample/SampleApp/res/layout/layout.xml android_sample/SampleApp/res/menu/sample.xml android_sample/SampleApp/res/values/strings.xml android_sample/SampleApp/src/com/skia/sampleapp/SampleApp.java android_sample/SampleApp/src/com/skia/sampleapp/SampleView.java experimental/CiCarbonSampleMain.c experimental/CocoaDebugger/main.m experimental/FileReaderApp/main.m experimental/SimpleCocoaApp/main.m experimental/iOSSampleApp/Shared/SkAlertPrompt.h experimental/iOSSampleApp/Shared/SkAlertPrompt.m experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig experimental/iOSSampleApp/SkiOSSampleApp-Debug.xcconfig experimental/iOSSampleApp/SkiOSSampleApp-Release.xcconfig gpu/src/android/GrGLDefaultInterface_android.cpp gyp/common.gypi gyp_skia include/ports/SkHarfBuzzFont.h include/views/SkOSWindow_wxwidgets.h make.bat make.py src/opts/memset.arm.S src/opts/memset16_neon.S src/opts/memset32_neon.S src/opts/opts_check_arm.cpp src/ports/SkDebug_brew.cpp src/ports/SkMemory_brew.cpp src/ports/SkOSFile_brew.cpp src/ports/SkXMLParser_empty.cpp src/utils/ios/SkImageDecoder_iOS.mm src/utils/ios/SkOSFile_iOS.mm src/utils/ios/SkStream_NSData.mm tests/FillPathTest.cpp Review URL: http://codereview.appspot.com/4816058 git-svn-id: http://skia.googlecode.com/svn/trunk@1982 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
50398bf7f1953e640e5529616e710cf540799731 |
|
26-Jul-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make GrTextureCache into a generic GrResource cache. Also some GrContext texture interface cleanup. http://codereview.appspot.com/4815055/ git-svn-id: http://skia.googlecode.com/svn/trunk@1965 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
2ce9a04b27f29d618e70a9b6ae535e17d73910e0 |
|
22-Jul-2011 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Improve GPU blur performance by clearing only when necessary. This gives a 1.8X speedup on the Blurs sample, and 2.3X on the BigBlur sample. We don't need to clear while downsampling, since each step reads only the pixels written in the previous step. We can avoid destination clears before convolution by disabling blending. We also don't need to clear when upsampling, since the upsample step also only reads pixels written by the convolution. The only clears we then need to do are on each side of the srcRect used for convolution, and a 1-pixel border for bilinear upsampling. Since our srcRect is always offset to (0, 0), we only need to clear on the right and bottom. Review URL: http://codereview.appspot.com/4803048/ git-svn-id: http://skia.googlecode.com/svn/trunk@1941 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
fdaf2b9f8b812b5ca594fd5cdc66c0218ebd8b60 |
|
22-Jul-2011 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Revert r1937 while I try to figure out the GM failures. (Unreviewed; build fix). git-svn-id: http://skia.googlecode.com/svn/trunk@1938 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
b7f28d6ecd07eb97fdd069fb166c1fdd9ce24f27 |
|
22-Jul-2011 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Improve GPU blur speed by clearing only when necessary. This gives a 1.8X speedup on the Blurs sample, and 2.3X on the BigBlur sample. We don't need to clear while downsampling, since each step reads only the pixels written in the previous step. We can avoid destination clears before convolution by disabling blending. We also don't need to clear when upsampling, since the upsample step also only reads pixels written by the convolution. The only clears we then need to do are on each side of the srcRect used for convolution. Since our srcRect is always offset to (0, 0), we only need to clear on the right and bottom. Review URL: http://codereview.appspot.com/4803048/ git-svn-id: http://skia.googlecode.com/svn/trunk@1937 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
422b67d745afc6e3b02c489dc6f0cd3ae856dd32 |
|
19-Jul-2011 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix GPU blur cacheing bug. Sometimes, the texture cache serves us textures of different sizes for srcTexture and dstTexture (this is fair; they're supposed to be approximate). Code was assuming otherwise while downsampling; fix is to reapply the scale on each downsample. (Yes, I could cache these reciprocals if and when they prove to be a hot spot). Also, use setIDiv(w,h) everywhere for conciseness. Review URL: http://codereview.appspot.com/4798041/ git-svn-id: http://skia.googlecode.com/svn/trunk@1907 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
a479fc75ada61d7aab6f734b6ac1664c453e12b8 |
|
19-Jul-2011 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Enable the GPU-based blur by default in Skia, and provide a #define to disable it (SK_DISABLE_GPU_BLUR). Note: this change will break some the GM test results. I've attempted to rebaseline MacPro float results; more to come. Review URL: http://codereview.appspot.com/4784043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1901 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
4a947d264b2764685e5f82b2e5d328a50e9612ea |
|
18-Jul-2011 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix kernel width calculation in GPU-based Gaussian blur. When converting the sigma value to a kernel width, it should be rounded up. Otherwise, for small sigmas, the edge pixels of the kernel may be missing. git-svn-id: http://skia.googlecode.com/svn/trunk@1891 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
79bd8772aaee8a5bc245aa3e7d43b61d1322802b |
|
18-Jul-2011 |
bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
GPU strokeAndFill only does the fill http://codereview.appspot.com/4743047/ git-svn-id: http://skia.googlecode.com/svn/trunk@1884 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
e36ddf01311802dd5c5fe85d47a9bd84b2b84565 |
|
15-Jul-2011 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
More GPU blur fixes. - clamp the max. radius to 128, as the software path does - use a more accurate radius-to-sigma conversion (0.6 instead of 0.6666) - make SampleBlur derive from SampleView, not SkView, so benchmark mode ('f') works - implement a new BigBlur sample to test large radii Review URL: http://codereview.appspot.com/4726043 git-svn-id: http://skia.googlecode.com/svn/trunk@1871 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
eb2aa1d0a2e4ac6dd596c4f678aff3e55d6f39ad |
|
14-Jul-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make CPU->GPU blur path use texture cache Review URL: http://codereview.appspot.com/4730041/ git-svn-id: http://skia.googlecode.com/svn/trunk@1860 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
42dd0f94417d2aeb12d6497f81b3a993270104c4 |
|
14-Jul-2011 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix clipping problem in GPU-based blur. The FBOs used for the fast Gaussian blur were being clipped to the size of the output window, causing the blurred primitive to be truncated if the FBO was larger than the output window. Clip them to the srcRect instead, and restore when done. Review URL: http://codereview.appspot.com/4695057/ git-svn-id: http://skia.googlecode.com/svn/trunk@1859 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
0b96a84ca1c5168363ac8ce7a500bf5850870ad2 |
|
13-Jul-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove unused SkGpuDevice functions, add GrRenderTarget handle getters Code Review: http://codereview.appspot.com/4718041/ git-svn-id: http://skia.googlecode.com/svn/trunk@1854 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
aadd9f8b193aa70e3dc30cbe5c4e1bc5c1d047ba |
|
12-Jul-2011 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
GPU-based blur cleanup. Clean up some issues raised in code review: - convolveRect() is too low-level; made it private and exposed convolveInX() and convolveInY() instead - added GrAutoTextureEntry to automatically unlock a texture entry - the clipping and bounder checks were returning false from drawWithGPUMaskFilter(), causing the software blur to kick in; return true instead - the Windows build was giving a spurious warning about reading an uninitialized variable; rearrange the code to fix it Review URL: http://codereview.appspot.com/4710042/ git-svn-id: http://skia.googlecode.com/svn/trunk@1842 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
adec446b75fa3beec33c23fb8a7ad33c84d49afd |
|
12-Jul-2011 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix windows build (unreviewed). git-svn-id: http://skia.googlecode.com/svn/trunk@1840 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
b08ea1b68060c3c3db706b2cf830a1ed312075e4 |
|
12-Jul-2011 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Implement blur types for GPU-based Gaussian blur. Implements the remaining blur types (inner, outer, solid) in the GPU-based Gaussian blur. They are implemented using a post-upsampling blending pass. Also includes some code cleanup and comments. Review URL: http://codereview.appspot.com/4664075/ git-svn-id: http://skia.googlecode.com/svn/trunk@1839 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
027de5f922e8ad1acc5402829f716b8c513fdd8d |
|
08-Jul-2011 |
senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
GPU-based Gaussian blur. This is a first stab at implementing a GPU-based Gaussian blur in Ganesh. The convolution shader is implemented as a new filtering mode. There are several known issues: - no support for blur types other than "normal" - FBO truncation problem at high zoom values - uses bilinear for upsampling instead of Mitchell Review URL: http://codereview.appspot.com/4645082/ git-svn-id: http://skia.googlecode.com/svn/trunk@1830 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
cd9cfd7de39f8e7696cdb6b72931294d9da7839f |
|
08-Jul-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Modulate color shader's alpha with paint alpha when setting up gpu paint (fixes SampleTinyBitmap) Review URL: http://codereview.appspot.com/4648076/ git-svn-id: http://skia.googlecode.com/svn/trunk@1828 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
9c49bc3e643c435677727c1c0904c4a7cb7a6907 |
|
07-Jul-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Allow texture-backed bitmaps to perform a read-back when lockPixels is called. This means we have to be even more cautious about when we call lock, and we should always check getTexture() first if we can handle a texture directly, rather than forcing the read-back to get the bits. git-svn-id: http://skia.googlecode.com/svn/trunk@1815 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
2be9e8b407624fa696854b78b407b97a01dbb703 |
|
06-Jul-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
ColorShaders report no bitmaps, but only a color_gradient, which we now detect on the gpu side. git-svn-id: http://skia.googlecode.com/svn/trunk@1810 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
cde92111d50a96b6d0f3e166fbac7c9bc6eca349 |
|
06-Jul-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
remove SkDeviceFactory from the collective consciousness, now that devices know how to create compatible siblings. git-svn-id: http://skia.googlecode.com/svn/trunk@1808 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
3ef80cf14c3222f705c291123106991e52061678 |
|
05-Jul-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
suppress printfs git-svn-id: http://skia.googlecode.com/svn/trunk@1793 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
b5c97895f31a280f4848fd138a692c26289021e8 |
|
05-Jul-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
don't call setContext on shader (not necessary), since now gradients ensure that their bitmap will be built with opaque colors. Also, this avoids calling lockPixels on the shader's bitmap (if it has one), which is usually not needed or desired, given that we're a gpu device. git-svn-id: http://skia.googlecode.com/svn/trunk@1790 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
9ef2d8382f5238cc54d211e3cc228def7a93b133 |
|
01-Jul-2011 |
epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Reverting r1775 at Mike and Brian's request git-svn-id: http://skia.googlecode.com/svn/trunk@1786 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
22c8bb8ebddcf695035b7f9c7f47405ae160b485 |
|
01-Jul-2011 |
junov@google.com <junov@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fixing several issues with rendering blurred bitmaps with Ganesh BUG=http://code.google.com/p/skia/issues/detail?id=305 REVIEW=http://codereview.appspot.com/4630073/ git-svn-id: http://skia.googlecode.com/svn/trunk@1775 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
4ee7ae5dcfe2055cfcfc21bf2cec1d790330eb4a |
|
30-Jun-2011 |
junov@google.com <junov@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Adding the notion of a volatile bitmap to SkBitmap. Volatility is a hint that indicates that the contents of a bitmap are ephemeral. SkGpuDevice will not preserve volatile bitmaps in its texture cache, and will use textures from a pool of keyless (recyclable) textures to avoid the performance hit of texture allocation and release. A subsequent change is required in webkit in order to take advantage of this optimization. putImageData, and other methods that create temporary bitmaps will have to mark their bitmaps as volatile. before rendering them through skia. git-svn-id: http://skia.googlecode.com/svn/trunk@1769 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d935cfbd79f7b78e1957c09a279eed1d7acd8b70 |
|
27-Jun-2011 |
junov@google.com <junov@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Adding support for shadows when drawing bitmaps with skia gpu device Added code to handle this case in SkGpuDevice::drawBitmap Added test to cover this use case in SampleTextureDomain.cpp BUG=http://code.google.com/p/chromium/issues/detail?id=83440 REVIEW=http://codereview.appspot.com/4530068/ git-svn-id: http://skia.googlecode.com/svn/trunk@1730 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f9046fef90bcdd3614148347091e792737788831 |
|
17-Jun-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add GrRenderTexture cons for gpu dev. Remove factory from gpu device. Review URL: http://codereview.appspot.com/4631046/ git-svn-id: http://skia.googlecode.com/svn/trunk@1634 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
e97f0856a8044866b12527819d14cdfbcdfd96f2 |
|
17-Jun-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add createNewCompatibleDevice. Allow devices to have a NULL factory and saveLayer will fall back on createNewCompatibleDevice. Review URL: http://codereview.appspot.com/4633044/ git-svn-id: http://skia.googlecode.com/svn/trunk@1625 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
af951c9bc4cbb6e60b430194fe5127ebe99c53fb |
|
16-Jun-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
make SkDevice constructors explicit between offscreen and on/direct http://codereview.appspot.com/4632044/ git-svn-id: http://skia.googlecode.com/svn/trunk@1620 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
b5b3168a645802f66233234a06dd5a3764f18018 |
|
16-Jun-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
First pass at improving temporary tex/rt reuse Review URL: http://codereview.appspot.com/4625043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1616 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
919583674bd5daeb60327c0bc1ce8aaa80d54e13 |
|
13-Jun-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Consider hw render target limit for offscreen supersample and tile Review URL: http://codereview.appspot.com/4575041/ git-svn-id: http://skia.googlecode.com/svn/trunk@1568 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
3b139f5888e81a6b6b97e5250ac2a61888bb9770 |
|
07-Jun-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
round Y baseline for text, as we do in the raster case http://code.google.com/p/chromium/issues/detail?id=83934 git-svn-id: http://skia.googlecode.com/svn/trunk@1528 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
67db6644ab692748b421f48fedf759b67019e8ef |
|
26-May-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
draw rotated rects as paths if we're antialiasing, until we extend our rect-aa code to handle that case. git-svn-id: http://skia.googlecode.com/svn/trunk@1430 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
26c2d0a69e66f1656d2dc23953a6f153e5d5009f |
|
17-May-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Use coverage stages for supersample AA resolve, edgeAA, and glyph masks. Expose a mask stage through GrPaint Review URL: http://codereview.appspot.com/4548048/ git-svn-id: http://skia.googlecode.com/svn/trunk@1356 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
bb7f076c0c72ea7c70e75674d3aa07b3acb645d4 |
|
17-May-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix enums in code path that uses uncached GrRenderTargets behind SkGpuDevices Review URL: http://codereview.appspot.com/4535081/ git-svn-id: http://skia.googlecode.com/svn/trunk@1352 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
6acc9b3d2b26d11d3da5eb81775d67a0410d1ae7 |
|
16-May-2011 |
junov@google.com <junov@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fixed color bleeding issue when drawing a sub region of a bitmap with filtering enabled. Problem was resolved by adding the notion of a custom texture domain in generated shaders, when necessary. git-svn-id: http://skia.googlecode.com/svn/trunk@1337 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
07f3ee10d34f09342abb93d758b5e151ff78f7a5 |
|
16-May-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
use SkPath for GrPath, removing GrPathIter entirely http://codereview.appspot.com/4515071/ git-svn-id: http://skia.googlecode.com/svn/trunk@1335 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d757df2b1b770ec8eb206973f74076875b41b137 |
|
16-May-2011 |
Scroggo <Scroggo@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Optimize colorfilter path when using a constant color.\nReviewed at http://codereview.appspot.com/4548041/ git-svn-id: http://skia.googlecode.com/svn/trunk@1328 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f475a331463de6ba2a27dee5c58f523902d7e4c6 |
|
11-May-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove dead debug code. Review URL: http://codereview.appspot.com/4521056/ git-svn-id: http://skia.googlecode.com/svn/trunk@1300 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
97c88c255cff3dbb8343c5d090526fdbedad6dd6 |
|
11-May-2011 |
Scroggo <Scroggo@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add color filters to gpu path. git-svn-id: http://skia.googlecode.com/svn/trunk@1297 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
cc4dac3dac215dc0dd56f7b30d07cc304671b033 |
|
10-May-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make GrMatrix an alias of SkMatrix. Add new methods to SkMatrix. Review URL: http://codereview.appspot.com/4538043/ Checked in on behalf of reed@ with some additional work (remove the do-nother sk->gr matrix converter). git-svn-id: http://skia.googlecode.com/svn/trunk@1289 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
20efde71b4fd28691b10c8f1cfe15cb2aafddaea |
|
09-May-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Share code with SkRect http://codereview.appspot.com/4523046/ git-svn-id: http://skia.googlecode.com/svn/trunk@1277 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
6aef1fb4ebf8b8b2ed352eb81e961565fbbd56cb |
|
05-May-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add 4x4 downsample filter with 4 bilinear texture reads, use for ssaa. Review URL: http://codereview.appspot.com/4483042/ git-svn-id: http://skia.googlecode.com/svn/trunk@1250 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
31a5840ac8cf83b9453f3937a02101661cc8fc7f |
|
27-Apr-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Accidentally omitted this file from r1203, :( git-svn-id: http://skia.googlecode.com/svn/trunk@1204 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
a39f404c87e9957947e3341e46056e4f589c91ad |
|
26-Apr-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove sampler state param from lockKeylessTexture. It didn't serve any function and gave the false impression that tiling modes were handled on APIs with npot limitations. http://codereview.appspot.com/4444061/ git-svn-id: http://skia.googlecode.com/svn/trunk@1181 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
ea4ac97dec2eb291139bd906939e0d2e05cdd7ef |
|
26-Apr-2011 |
mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
make SkDeviceFactory reference counted git-svn-id: http://skia.googlecode.com/svn/trunk@1180 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
fea37b5e532dfe776269253afb9951e763c3b205 |
|
25-Apr-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add lockKeylessTexture() for caching texture without a content key. Review URL: http://codereview.appspot.com/4440065/ git-svn-id: http://skia.googlecode.com/svn/trunk@1172 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
205d46067ace24bd4b111cf44efc96caff6c4d30 |
|
25-Apr-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Move alpha-ramp AA to GrContext, detect cases when AA is applied via other methods (smooth lines, MSAA) or rect falls on integer coords and skip the alpha ramp path. Use pre-fab index buffer for alpha-ramped fill rects and stroke rects. Review URL: http://codereview.appspot.com/4449047/ git-svn-id: http://skia.googlecode.com/svn/trunk@1169 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
398109cc3e56b8122ad21c4d43a74a83be5b42a8 |
|
14-Apr-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
rename SkDevice::eraseColor to clear and make virtual. Properly flush in GrContext before calling GrGpu::clear() Review URL: http://codereview.appspot.com/4419043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1130 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
ea2ee8a8540049048e0285519bbd99ebc1fa6aec |
|
12-Apr-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix missing assignment of fContext in new SkGpuDevice cons. git-svn-id: http://skia.googlecode.com/svn/trunk@1114 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
a7bf6e26658e47c9364330da1a6cfaea2378c10d |
|
11-Apr-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Review URL: http://codereview.appspot.com/4360049/ git-svn-id: http://skia.googlecode.com/svn/trunk@1107 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
5877ffd5ea71a3ea70096d5c11c843798defa690 |
|
11-Apr-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add APIs and plumbing for external rendertaret-textures w/ and w/out MSAA. Review URL: http://codereview.appspot.com/4388049/ git-svn-id: http://skia.googlecode.com/svn/trunk@1102 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
39ce0ac09a375aab18659b1a4ed0c503b0b81a4c |
|
08-Apr-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
unbias fy in the gpu glyphproc, since skia has pre-added 1/2 to the value (assuming we would call floor to get a rounded value.) apply finalFYMask not to the initial fy, but to the fyMask (so it is always applied in the loop) in drawText. git-svn-id: http://skia.googlecode.com/svn/trunk@1084 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
eb1760377d1f0895260acfd763d1bd122472c84b |
|
07-Apr-2011 |
Scroggo <Scroggo@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix a typo in my prior commit. git-svn-id: http://skia.googlecode.com/svn/trunk@1078 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
813c33c86bf35c0f9e0768ef01a179f90a6e1462 |
|
07-Apr-2011 |
Scroggo <Scroggo@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Borg git-svn-id: http://skia.googlecode.com/svn/trunk@1077 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
7de5fc22e69ffc64ae73c3a1605c45823f77fec3 |
|
06-Apr-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
re-re-enable antialiased rects for gpu git-svn-id: http://skia.googlecode.com/svn/trunk@1065 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f1f4a67e0d98a3385c21b50a8641a98fa5184948 |
|
06-Apr-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
eeek, revert last CL until I fix texture matrix git-svn-id: http://skia.googlecode.com/svn/trunk@1064 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
bf86c630657175278115c2099d2012039538fd07 |
|
06-Apr-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
enable antialiased rects git-svn-id: http://skia.googlecode.com/svn/trunk@1063 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
c9aa587f4aa204b1af0665546d151f121ed0532b |
|
05-Apr-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
check-point (disabled) for antialiased rects git-svn-id: http://skia.googlecode.com/svn/trunk@1060 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
669fdc4ed8ed461a141cb97d0afdd9ef72a82be1 |
|
05-Apr-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Adds read pixels to GrTexture and GrRenderTarget Adds SkGrRenderTargetPixelRef for SkBitmaps that are backed by RTs that aren't textures. Adds onReadPixels implementations for SkGr pixel ref types git-svn-id: http://skia.googlecode.com/svn/trunk@1056 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
62ab7addb06bbc5b93460eaf2f70a9f8399308d3 |
|
05-Apr-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
export SkDraw::ComputeRectType() and share that with SkGpuDevice git-svn-id: http://skia.googlecode.com/svn/trunk@1055 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
04de782d7c716eade6998d1739bae437ac1280fc |
|
25-Mar-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Hairline stroke 1px wide paths. Review URL: http://codereview.appspot.com/4317041/ git-svn-id: http://skia.googlecode.com/svn/trunk@1008 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
f67e4cf4c18cd228738a11372859ee0280bce1d7 |
|
15-Mar-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
add filterTextFlags() to SkDevice (virtual) to allow device subclasses to filter what text features we try to use. The filtering allows for implementation limitations to dictate when we turn off certain text features. git-svn-id: http://skia.googlecode.com/svn/trunk@943 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1da0746fa155cdca982ae8deb68cc64f540c92df |
|
10-Mar-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Delete GL tex ID when last of GrGLTexture or GrGLRenderTarget that reference it is destroyed git-svn-id: http://skia.googlecode.com/svn/trunk@915 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
6f8f292aa768869a9e85c314b124875f57504f2c |
|
04-Mar-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
add origin to device used for interpreting the clipstack when a device is a layer git-svn-id: http://skia.googlecode.com/svn/trunk@894 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
5aaa69e4339e229adfb05e96084a8ec0a590238b |
|
04-Mar-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fixups for clipstack, convexity test for paths. Review URL http://codereview.appspot.com/4250056/ git-svn-id: http://skia.googlecode.com/svn/trunk@891 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d302f1401b3c9aea094804bad4e76de98782cfe8 |
|
03-Mar-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add support for clipstack to Gr. GrClip is now a list of rects and paths with set operations to combine them. The stencil buffer is used to perform the set operations to put the clip into the stencil buffer. Building Gr's clip from Skia's clipStack is currently disabled due to the fact that Skia's clipStack is relative to the root layer not the current layer. This will be fixed in a subsequent CL. git-svn-id: http://skia.googlecode.com/svn/trunk@878 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
d3ae77965e94e0efda496f5461cbec4533cb5b16 |
|
24-Feb-2011 |
vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add asAGradient shader extraction API. Store initial gradient parameters. Add compile asserts in GPU code for BitmapType ordering. Review URL: http://codereview.appspot.com/4178063 git-svn-id: http://skia.googlecode.com/svn/trunk@845 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
46799cd9f0bded51a189d77731b25af159ab4609 |
|
22-Feb-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
change virtual setMatrixClip() to take a SkClipStack parameter. git-svn-id: http://skia.googlecode.com/svn/trunk@831 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
ffca400ef6f96a280c3e2c09210f950af64a1f24 |
|
22-Feb-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Make a separate path renderer object. Move enum types to GrTypes.h Review URL http://codereview.appspot.com/4167067/ git-svn-id: http://skia.googlecode.com/svn/trunk@829 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
c6cf72381b212eb21e61d5c5e14247b483a77753 |
|
17-Feb-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Hide alloc size vs content size below API Remove old gl shaders class Move texture matrix to sampler class git-svn-id: http://skia.googlecode.com/svn/trunk@808 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
e344564ae832bcad0d0cb234d6f9e527f7f76b44 |
|
17-Feb-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
need to apply the prepathmatrix (or perhaps push it on our mv stack) git-svn-id: http://skia.googlecode.com/svn/trunk@804 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
0c219b68eb8e07c9d74eddac77867bdd373300f2 |
|
16-Feb-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
upload generated mask for maskfilter to gpu (does not work with complex-paints yet) git-svn-id: http://skia.googlecode.com/svn/trunk@802 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
6930285b73b260f81aa6bd1e30f33e12869c1fe5 |
|
16-Feb-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
first steps for supporting maskfilters (disabled right now) git-svn-id: http://skia.googlecode.com/svn/trunk@801 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1962832771a435426a0ed6a1cf5069c45918b141 |
|
03-Feb-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix warnings on linux build (strict aliasing, cons init order, vars used only in asserts) git-svn-id: http://skia.googlecode.com/svn/trunk@756 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
0748f217ba21f764401757886cda3bdb395a360d |
|
01-Feb-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Attempt to simplify NPOT texture caps. Also fixes case where textures would unnecessarily be bloated to POT. Adds setting of sampler's filter setting in paint conversion. git-svn-id: http://skia.googlecode.com/svn/trunk@751 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
6f7fbc9fbb584b9b9fa6ed3a677d71ecd49aafce |
|
01-Feb-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Adds ability to draw rects using a unit square vertex buffer. Useful when matrix/uniform changes are less expensive than sending new verts. Adds optional matrix parameters to GrContext drawRect and drawRectToRect so that non-axis-aligned matrices can be drawn using these functions. codereview Issue 4105049 git-svn-id: http://skia.googlecode.com/svn/trunk@749 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
02a7e6c117b25762627923de11c94d773444a03d |
|
28-Jan-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
fix slow performance on desktops by uping our max-texture-dim from 512 to whatever the gpu itself broadcasts. git-svn-id: http://skia.googlecode.com/svn/trunk@742 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1a2e8d233d91cc4c6622ff3d975ab7d50604c923 |
|
21-Jan-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
make xfermode warning printf be debug-only git-svn-id: http://skia.googlecode.com/svn/trunk@720 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
5782d712ffc31557d0cb12d5a220cebb783f6895 |
|
21-Jan-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Rev the GrContext interface. Context has draw* functions that take a new GrPaint object. Removed many of the lower-level GrGpu function call-throughs on context. Remove unused/unsupported point size (we don't draw non-hairline points using GL points). Change current* getter functions to get* for consistency. Fix bounds when drawing inverse-filled paths. git-svn-id: http://skia.googlecode.com/svn/trunk@718 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
2e7b43d33cc495663cb814a7a9d1ecdc09c31828 |
|
18-Jan-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Remove notion of default rendertarget. This doesn't map well to usage patterns outside sample app. Make binding between SkGpuDevice and a GrRenderTarget more explicit. Create method on GrContext to wrap the current target in the 3D API with a GrRenderTarget. git-svn-id: http://skia.googlecode.com/svn/trunk@706 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
8531c1cea2a9cf7702ef314ccd0a6cd1dd33c76c |
|
13-Jan-2011 |
bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Towards issue #106 Adds notion of texture multiple stages but currently just uses 1. git-svn-id: http://skia.googlecode.com/svn/trunk@694 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
7b201d22541957b128528bc481c6fd4ef0ed2258 |
|
11-Jan-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
expose gpu-device-factory use that factory in gpucanvas, rather than overriding createDevice note: I think we now don't need the canvas parameter in device-factory git-svn-id: http://skia.googlecode.com/svn/trunk@684 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
1fcd51e6b2a210a37b9b9c2cfb82e1be7196e42a |
|
05-Jan-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
add template macro to "safely" perform casts w/o breaking strict-aliasing fix aliasing warnings git-svn-id: http://skia.googlecode.com/svn/trunk@674 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
72cf4927e503f49c4bd07369e85764ddde57071b |
|
04-Jan-2011 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
fix build for scalar==fixed git-svn-id: http://skia.googlecode.com/svn/trunk@671 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|
873cb1e23b64e4b2d11749352b626bcef204bdd7 |
|
23-Dec-2010 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
add gpu to the default makefile move skia-gpu files into skia/src/gpu git-svn-id: http://skia.googlecode.com/svn/trunk@653 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/gpu/SkGpuDevice.cpp
|