aboutsummaryrefslogtreecommitdiff
path: root/tests/GLProgramsTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert of Move npot resizing out of GrContext and simplify GrContext texture ↵bsalomon2015-01-311-5/+5
| | | | | | | | | | | | | | | | | | | | | functions. (patchset #10 id:200001 of https://codereview.chromium.org/882223003/) Reason for revert: perf fix didn't fix the cr webgl conformance tests Original issue's description: > Move npot resizing out of GrContext and simplify GrContext texture functions. > > Committed: https://skia.googlesource.com/skia/+/8a8100349105c8c6de39fcb34e47679da7a67f54 > > Committed: https://skia.googlesource.com/skia/+/6c96672491b04cb782bce8fee778124df66524a0 TBR=robertphillips@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/887303002
* Move npot resizing out of GrContext and simplify GrContext texture functions.bsalomon2015-01-311-5/+5
| | | | | | Committed: https://skia.googlesource.com/skia/+/8a8100349105c8c6de39fcb34e47679da7a67f54 Review URL: https://codereview.chromium.org/882223003
* Revert of Move npot resizing out of GrContext and simplify GrContext texture ↵fmalita2015-01-311-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | functions. (patchset #9 id:160001 of https://codereview.chromium.org/882223003/) Reason for revert: webGL conformance failures: WebglConformance.conformance_textures_tex_image_and_sub_image_2d_with_video WebglConformance.conformance_textures_texture_npot_video https://codereview.chromium.org/892773003/ http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/29272 Original issue's description: > Move npot resizing out of GrContext and simplify GrContext texture functions. > > Committed: https://skia.googlesource.com/skia/+/8a8100349105c8c6de39fcb34e47679da7a67f54 TBR=robertphillips@google.com,bsalomon@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/868233005
* Move npot resizing out of GrContext and simplify GrContext texture functions.bsalomon2015-01-301-5/+5
| | | | Review URL: https://codereview.chromium.org/882223003
* Add specialized content key class for resources.bsalomon2015-01-231-14/+9
| | | | Review URL: https://codereview.chromium.org/858123002
* Rename GrOptDrawState to GrPipeline and GrDrawState to GrPipelineBuilderegdaniel2015-01-221-25/+26
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/858343002
* remove drawtypejoshualitt2015-01-211-5/+2
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/862933005
* remove drawType from optStatejoshualitt2015-01-211-3/+3
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/864853002
* BUG=skia:joshualitt2015-01-201-2/+9
| | | | Review URL: https://codereview.chromium.org/815643005
* Remove willReadDst from GrFragmentProcessor.egdaniel2015-01-201-6/+1
| | | | | | | | | | Since only XP's can read dst now, there is no reason to have this query on GrFP. This also triggered a chain reaction of cleaning up/removing unnecessary code elsewhere. BUG=skia: Review URL: https://codereview.chromium.org/851143003
* Make uncached textures uncached from the get go.bsalomon2015-01-141-2/+2
| | | | | | | | This avoids the problem of a newly created uncached texture causing a purge of cached resources. BUG=chromium:445885 Review URL: https://codereview.chromium.org/846303002
* More changes to bring together path / geo procsjoshualitt2015-01-141-1/+1
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/820783005
* Fix up all the easy virtual ... SK_OVERRIDE cases.mtklein2015-01-091-4/+4
| | | | | | | | | | | | This fixes every case where virtual and SK_OVERRIDE were on the same line, which should be the bulk of cases. We'll have to manually clean up the rest over time unless I level up in regexes. for f in (find . -type f); perl -p -i -e 's/virtual (.*)SK_OVERRIDE/\1SK_OVERRIDE/g' $f; end BUG=skia: Review URL: https://codereview.chromium.org/806653007
* Rename GrGpuGL -> GrGLGpujvanverth2014-12-221-1/+1
| | | | Review URL: https://codereview.chromium.org/824753002
* Stop creating GrODS for stencilPath commands.bsalomon2014-12-171-1/+1
| | | | Review URL: https://codereview.chromium.org/816513003
* Rename GrGpuGL to GrGLGpu for consistencybsalomon2014-12-161-3/+3
| | | | Review URL: https://codereview.chromium.org/808593003
* GLPrograms leak fixjoshualitt2014-12-131-6/+6
| | | | | | | | NOTREECHECKS=True TBR= BUG=skia: Review URL: https://codereview.chromium.org/799063005
* Remove GP from drawstate, revision of invariant output for GPjoshualitt2014-12-111-28/+21
| | | | | | | | BUG=skia: Committed: https://skia.googlesource.com/skia/+/c6bc58eded89b0c0a36b8e20e193c200f297a0da Review URL: https://codereview.chromium.org/791743003
* Create xfer processor backend.egdaniel2014-12-111-17/+12
| | | | | | | | | | | | | This includes: -Having an actual XP stage at the end of the gl pipeline. -All Blending work is handled by XP until actually setting GL blend states -GLPrograms test to test XP BUG=skia: Committed: https://skia.googlesource.com/skia/+/4dffc940c430eec66d4707490eace19c9b3f7904 Review URL: https://codereview.chromium.org/764643004
* Revert of Create xfer processor backend. (patchset #6 id:100001 of ↵joshualitt2014-12-101-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/764643004/) Reason for revert: CL breaks windows DM Original issue's description: > Create xfer processor backend. > > This includes: > -Having an actual XP stage at the end of the gl pipeline. > -All Blending work is handled by XP until actually setting GL blend states > -GLPrograms test to test XP > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/4dffc940c430eec66d4707490eace19c9b3f7904 TBR=bsalomon@google.com,joshualitt@chromium.org,egdaniel@google.com NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/789343002
* Revert of Remove GP from drawstate, revision of invariant output for GP ↵joshualitt2014-12-101-21/+21
| | | | | | | | | | | | | | | | | | | | | (patchset #9 id:160001 of https://codereview.chromium.org/791743003/) Reason for revert: breaks mac Original issue's description: > Remove GP from drawstate, revision of invariant output for GP > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/c6bc58eded89b0c0a36b8e20e193c200f297a0da TBR=bsalomon@google.com,egdaniel@google.com,joshualitt@chromium.org NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/794843002
* Remove GP from drawstate, revision of invariant output for GPjoshualitt2014-12-101-21/+21
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/791743003
* Create xfer processor backend.egdaniel2014-12-101-17/+12
| | | | | | | | | | | This includes: -Having an actual XP stage at the end of the gl pipeline. -All Blending work is handled by XP until actually setting GL blend states -GLPrograms test to test XP BUG=skia: Review URL: https://codereview.chromium.org/764643004
* This cl moves color and coverage off of drawstate. In an effort to keep ↵joshualitt2014-12-091-66/+7
| | | | | | | | | | this CL manageable, I have left the compute invariant input / output in a bit of a strange state(fixing this will be complicated). In addition, NVPR makes this very complicated, and I haven't quite figured out a good way to handle it, so for now color and coverage DO live on optstate, but I will figure out some way to refactor that in future CLs. BUG=skia: Review URL: https://codereview.chromium.org/783763002
* Make all blending up to GrOptDrawState be handled by the xp/xp factory.egdaniel2014-12-091-1/+4
| | | | | | | | | | | | In this cl the blending information is extracted for the xp and stored in the ODS which is then used as it currently is. In the follow up cl, an XP backend will be added and at that point all blending work will take place inside XP's. BUG=skia: Committed: https://skia.googlesource.com/skia/+/7c66342a399b529634bed0fabfaa562db2c0dbd4 Review URL: https://codereview.chromium.org/759713002
* Revert of Make all blending up to GrOptDrawState be handled by the xp/xp ↵egdaniel2014-12-081-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | factory. (patchset #7 id:140001 of https://codereview.chromium.org/759713002/) Reason for revert: break many gm's Original issue's description: > Make all blending up to GrOptDrawState be handled by the xp/xp factory. > > In this cl the blending information is extracted for the xp and stored in the ODS > which is then used as it currently is. In the follow up cl, an XP backend will be added > and at that point all blending work will take place inside XP's. > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/7c66342a399b529634bed0fabfaa562db2c0dbd4 TBR=bsalomon@google.com NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/766653008
* Make all blending up to GrOptDrawState be handled by the xp/xp factory.egdaniel2014-12-081-1/+4
| | | | | | | | | | In this cl the blending information is extracted for the xp and stored in the ODS which is then used as it currently is. In the follow up cl, an XP backend will be added and at that point all blending work will take place inside XP's. BUG=skia: Review URL: https://codereview.chromium.org/759713002
* Remove backend factoriesjoshualitt2014-12-041-29/+30
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/778453002
* move program descriptor generation to flushjoshualitt2014-12-041-2/+3
| | | | | | | | BUG=skia: Committed: https://skia.googlesource.com/skia/+/829e1b80b1020b17f2078020c990e079b70c077c Review URL: https://codereview.chromium.org/777673003
* Revert of move program descriptor generation to flush (patchset #7 id:120001 ↵joshualitt2014-12-041-3/+2
| | | | | | | | | | | | | | | | | | | | | of https://codereview.chromium.org/777673003/) Reason for revert: breaking linux build Original issue's description: > move program descriptor generation to flush > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/829e1b80b1020b17f2078020c990e079b70c077c TBR=egdaniel@google.com,bsalomon@google.com,joshualitt@chromium.org NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/776243005
* move program descriptor generation to flushjoshualitt2014-12-031-2/+3
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/777673003
* First step to moving vertex attributes to the geometryProcessorjoshualitt2014-12-031-79/+0
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/761563002
* remove proc keyjoshualitt2014-11-251-6/+1
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/755363002
* Create GrOptDrawState directly in the cmd buffer in GrIODB.bsalomon2014-11-241-4/+3
| | | | Review URL: https://codereview.chromium.org/746243002
* Don't use NULL GrOptDrawState to indicate that draw should be skipped.bsalomon2014-11-201-6/+3
| | | | Review URL: https://codereview.chromium.org/742853002
* scissor state on optstatejoshualitt2014-11-191-0/+4
| | | | | | | | waiting BUG=skia: Review URL: https://codereview.chromium.org/742763002
* Create GrOptDrawState before recording draw in GrInOrderDrawBufferbsalomon2014-11-191-2/+2
| | | | Review URL: https://codereview.chromium.org/739673002
* Drawstate on stackjoshualitt2014-11-171-16/+12
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/732693002
* Push creation of default GP to the callerjoshualitt2014-11-141-1/+1
| | | | | | | TBR= BUG=skia: Review URL: https://codereview.chromium.org/715903002
* Move GrInvariantOutput out of GrProcessor and into its own class.egdaniel2014-11-121-1/+2
| | | | | | | | This will help with the ability to subclass, add to, etc. GrInvariantOutput. Also it was simply getting a little too big to be a "supporting" subclass BUG=skia: Review URL: https://codereview.chromium.org/699943003
* Clip in grdrawtargetjoshualitt2014-11-061-47/+57
| | | | | | | NOTREECHECKS=true BUG=skia: Review URL: https://codereview.chromium.org/685883003
* Force input coverage to be only a byte in gpu shaders.egdaniel2014-11-031-1/+1
| | | | | | | | Prime coverage invariant output calculations with single component BUG=skia: Review URL: https://codereview.chromium.org/649783003
* cleanup reentrance logic in CMMjoshualitt2014-10-291-1/+1
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/684223002
* OptState owns program descriptorjoshualitt2014-10-281-18/+10
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/674543004
* rename GrTextureDesc->GrSurfaceDesc, GrTextureFlags->GrSurfaceFlagsbsalomon2014-10-281-5/+5
| | | | Review URL: https://codereview.chromium.org/682223002
* Some cleanup in processor header files.bsalomon2014-10-151-2/+2
| | | | | | R=joshualitt@google.com Review URL: https://codereview.chromium.org/659803004
* Push isEqual/onIsEqual down from GrProcessor to subclasses.bsalomon2014-10-151-1/+1
| | | | | | R=joshualitt@google.com Review URL: https://codereview.chromium.org/654273002
* Fix leak in GLPrograms test.bsalomon2014-10-121-8/+8
| | | | | | TBR=joshualitt@google.com Review URL: https://codereview.chromium.org/648063002
* Opt state takes a GP instead of a GeometryStagejoshualitt2014-10-101-15/+2
| | | | | | | | BUG=skia: Committed: https://skia.googlesource.com/skia/+/71856d520461ae025a0332aa0ce9735a096d9baf Review URL: https://codereview.chromium.org/637003003
* Revert of Opt state takes a GP instead of a GeometryStage (patchset #18 ↵joshualitt2014-10-101-2/+15
| | | | | | | | | | | | | | | | | | | | | id:1500001 of https://codereview.chromium.org/637003003/) Reason for revert: Revert because this may be causing a break in a chrome gpu test Original issue's description: > Opt state takes a GP instead of a GeometryStage > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/71856d520461ae025a0332aa0ce9735a096d9baf TBR=bsalomon@google.com,egdaniel@google.com,danakj@chromium.org NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/647183002