aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu
Commit message (Collapse)AuthorAge
* Move gpu/include/* to include/gpu and gpu/src/* to src/gpuGravatar bsalomon@google.com2011-10-12
| | | | | | | | Review URL: http://codereview.appspot.com/5250070/ git-svn-id: http://skia.googlecode.com/svn/trunk@2471 2bbb7eff-a529-9590-31e7-b0007b416f81
* Set SDK for Mac build to 10.6, ignore gyp/build, fixup gpu files to compile ↵Gravatar bsalomon@google.com2011-10-12
| | | | | | | | | | against 10.5 if needed Review URL: http://codereview.appspot.com/5260041/ git-svn-id: http://skia.googlecode.com/svn/trunk@2470 2bbb7eff-a529-9590-31e7-b0007b416f81
* Gpu blend optimizations, handle more xfer modes with fractional pixel coverageGravatar bsalomon@google.com2011-10-12
| | | | | | | | Review URL: http://codereview.appspot.com/5237062/ git-svn-id: http://skia.googlecode.com/svn/trunk@2464 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix per-vertex coverage on Macs with aligned attrib bugGravatar bsalomon@google.com2011-10-11
| | | | | | | | Review URL: http://codereview.appspot.com/5250067 git-svn-id: http://skia.googlecode.com/svn/trunk@2458 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add semicolon back that was accidentally deleted in r2444Gravatar bsalomon@google.com2011-10-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2445 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make a bunch of GrPrintfs be debug-onlyGravatar bsalomon@google.com2011-10-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2444 2bbb7eff-a529-9590-31e7-b0007b416f81
* When we're not using the NULL buffer data hint update with glBufferData ↵Gravatar bsalomon@google.com2011-10-10
| | | | | | | | | | | rather than glBufferSubData. Review URL: http://codereview.appspot.com/5253047/ git-svn-id: http://skia.googlecode.com/svn/trunk@2443 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add per-vertex coverage field, use in AA rects when alpha tweak is not ↵Gravatar bsalomon@google.com2011-10-10
| | | | | | | | | | valid, add relevant sample/gm Review URL: http://codereview.appspot.com/5181044/ git-svn-id: http://skia.googlecode.com/svn/trunk@2440 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add newlines to debug error stringsGravatar bsalomon@google.com2011-10-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2431 2bbb7eff-a529-9590-31e7-b0007b416f81
* Directly assign glBindTexture in windows gl interface rather than ↵Gravatar bsalomon@google.com2011-10-07
| | | | | | wglGetProcAddress since it is a GL 1.1 function and isn't exported as a ptr in the ATI driver. git-svn-id: http://skia.googlecode.com/svn/trunk@2430 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixup rendering of empty paths (including inverted fills)Gravatar bsalomon@google.com2011-10-05
| | | | | | | | | | Add GM and Sample that draw empty paths with various styles and fills Review URL: http://codereview.appspot.com/5185047/ git-svn-id: http://skia.googlecode.com/svn/trunk@2414 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix calculation and assert for grmask -> bytes-per-pixelGravatar reed@google.com2011-10-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2407 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix nitsGravatar bsalomon@google.com2011-10-03
| | | | | | | | | Review URL: http://codereview.appspot.com/5155043/ git-svn-id: http://skia.googlecode.com/svn/trunk@2393 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix some VS2010 warningsGravatar bsalomon@google.com2011-09-29
| | | | | | | | | Review URL: http://codereview.appspot.com/5155043 git-svn-id: http://skia.googlecode.com/svn/trunk@2380 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix GLPrograms unit test, only set fExperimentalGS if driver support is Gravatar bsalomon@google.com2011-09-29
| | | | | | | | available git-svn-id: http://skia.googlecode.com/svn/trunk@2367 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add licenseGravatar bsalomon@google.com2011-09-29
| | | | | | | Review URL: http://codereview.appspot.com/5154044/ git-svn-id: http://skia.googlecode.com/svn/trunk@2366 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add experimental geometry shader code to gpu backendGravatar bsalomon@google.com2011-09-29
| | | | | | | Review URL: http://codereview.appspot.com/5129047/ git-svn-id: http://skia.googlecode.com/svn/trunk@2365 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix gl error debug print.Gravatar bsalomon@google.com2011-09-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2356 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add GrSTAllocator subclass, hide cons in GrTAllocator that takes ptrGravatar bsalomon@google.com2011-09-28
| | | | | | | Review URL: http://codereview.appspot.com/5147045/ git-svn-id: http://skia.googlecode.com/svn/trunk@2355 2bbb7eff-a529-9590-31e7-b0007b416f81
* Turn off AA when coverage can't be handled correctly.Gravatar bsalomon@google.com2011-09-28
| | | | | | | | | | This may make some gms go red if bots don't have dual source blend. Will rebase if so. Review URL: http://codereview.appspot.com/5146049/ git-svn-id: http://skia.googlecode.com/svn/trunk@2347 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add SkSTArray, hide stack storage cons in SkTArray, unify SkTArray init logicGravatar bsalomon@google.com2011-09-27
| | | | | | | | Review URL: http://codereview.appspot.com/5127044/ git-svn-id: http://skia.googlecode.com/svn/trunk@2342 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix override issue, rebase win hairmodes_gpu, complexclip_gpuGravatar bsalomon@google.com2011-09-26
| | | | | | | | | | | Mac gm bot will go red until I can remote in to mac mini and fix the baseline Review URL: http://codereview.appspot.com/5131042/ git-svn-id: http://skia.googlecode.com/svn/trunk@2328 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add detection of when partial pixel coverage (for aa or otherwise) will ↵Gravatar bsalomon@google.com2011-09-23
| | | | | | | | | | cause incorrect blend Review URL http://codereview.appspot.com/5112042/ git-svn-id: http://skia.googlecode.com/svn/trunk@2323 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix signed/unsigned warning in GLCaps::printGravatar bsalomon@google.com2011-09-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2319 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use GrAAHairlineRenderer for line segments only if FS derivs not availGravatar bsalomon@google.com2011-09-23
| | | | | | | | | | | Rebaseline complexclip_gpu for windows Note: complexclip_gpu gm will go red on mac and linux until I update them Review URL: http://codereview.appspot.com/5109041/ git-svn-id: http://skia.googlecode.com/svn/trunk@2316 2bbb7eff-a529-9590-31e7-b0007b416f81
* Put caps in a struct, move up to GrDrawTargetGravatar bsalomon@google.com2011-09-22
| | | | | | | | Review URL: http://codereview.appspot.com/5088049 git-svn-id: http://skia.googlecode.com/svn/trunk@2314 2bbb7eff-a529-9590-31e7-b0007b416f81
* Change GrGLVersion from typedef GrFixed to uint32_tGravatar bsalomon@google.com2011-09-22
| | | | | | | Review URL: http://codereview.appspot.com/5097044 git-svn-id: http://skia.googlecode.com/svn/trunk@2309 2bbb7eff-a529-9590-31e7-b0007b416f81
* Cleanup handling of GL versions, fix function namesGravatar bsalomon@google.com2011-09-22
| | | | | | | | Review URL: http://codereview.appspot.com/5097044/ git-svn-id: http://skia.googlecode.com/svn/trunk@2308 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix some warningsGravatar bsalomon@google.com2011-09-21
| | | | | | | | Review URL: http://codereview.appspot.com/5075049/ git-svn-id: http://skia.googlecode.com/svn/trunk@2304 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use BindFragDataLocation (rather than indexed variant) for FS color output.Gravatar bsalomon@google.com2011-09-21
| | | | | | | | Review URL: http://codereview.appspot.com/5098042/ git-svn-id: http://skia.googlecode.com/svn/trunk@2299 2bbb7eff-a529-9590-31e7-b0007b416f81
* Resubmit 2289 with fix for glsl versionGravatar bsalomon@google.com2011-09-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2291 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert 2289. GLSL version detection not robust enough. May think we don't ↵Gravatar bsalomon@google.com2011-09-20
| | | | | | have GLSL 1.50 support based on OpenGL version. We have to look at the available extensions, not just GL version. git-svn-id: http://skia.googlecode.com/svn/trunk@2290 2bbb7eff-a529-9590-31e7-b0007b416f81
* [GPU] Use new Var type for inputs/outputs of FS and VSGravatar bsalomon@google.com2011-09-20
| | | | | | | | Review URL: http://codereview.appspot.com/5056048/ git-svn-id: http://skia.googlecode.com/svn/trunk@2289 2bbb7eff-a529-9590-31e7-b0007b416f81
* Include GrGLInterface.h instead of forward declaring, since we have to get ↵Gravatar bsalomon@google.com2011-09-16
| | | | | | NULL defined anyway. git-svn-id: http://skia.googlecode.com/svn/trunk@2280 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix forward declGravatar bsalomon@google.com2011-09-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2279 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make GrGpuGL release its resources before GrGLInterface is released.Gravatar bsalomon@google.com2011-09-16
| | | | | | | | | Forward declare GrGLInterface in GrGLDefaultInterface_none file Review URL: http://codereview.appspot.com/5030049/ git-svn-id: http://skia.googlecode.com/svn/trunk@2278 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix some mac compilation errors generated when building utils withinGravatar seanpaul@google.com2011-09-16
| | | | | | | | | | chrome. BUG=364 TEST=Build skia on mac, ran bench. Ensured both behaved as expected. Review URL: http://codereview.appspot.com/5032045 git-svn-id: http://skia.googlecode.com/svn/trunk@2277 2bbb7eff-a529-9590-31e7-b0007b416f81
* Simplify specification of default interfaceGravatar bsalomon@google.com2011-09-16
| | | | | | | | Review URL: http://codereview.appspot.com/5036045/ git-svn-id: http://skia.googlecode.com/svn/trunk@2276 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix assertions in GrResourceCache::removeAll, don't reattached invalidated ↵Gravatar bsalomon@google.com2011-09-15
| | | | | | | | | | resources Review URL: http://codereview.appspot.com/5000048/ git-svn-id: http://skia.googlecode.com/svn/trunk@2272 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move edgeAA shader gen code to its own functionGravatar bsalomon@google.com2011-09-15
| | | | | | | Review URL: http://codereview.appspot.com/5015048/ git-svn-id: http://skia.googlecode.com/svn/trunk@2271 2bbb7eff-a529-9590-31e7-b0007b416f81
* enable OES derivatives extension in shaders that use itGravatar bsalomon@google.com2011-09-14
| | | | | | | | Review URL: http://codereview.appspot.com/5023043/ git-svn-id: http://skia.googlecode.com/svn/trunk@2269 2bbb7eff-a529-9590-31e7-b0007b416f81
* Workaround crash in cmd buffer validation code when GL shaders/programs failGravatar bsalomon@google.com2011-09-14
| | | | | | | | Review URL: http://codereview.appspot.com/5012046/ git-svn-id: http://skia.googlecode.com/svn/trunk@2267 2bbb7eff-a529-9590-31e7-b0007b416f81
* GrTArray->SkTArray & docsGravatar bsalomon@google.com2011-09-14
| | | | | | | | Review URL: http://codereview.appspot.com/5005045/ git-svn-id: http://skia.googlecode.com/svn/trunk@2265 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove unnecessary forward decl that was causing a warning.Gravatar bsalomon@google.com2011-09-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2264 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use push_back_n() in place of multiple push_back()sGravatar bsalomon@google.com2011-09-13
| | | | | | | Review URL: http://codereview.appspot.com/5018041/ git-svn-id: http://skia.googlecode.com/svn/trunk@2260 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix some issues in gpu device with perspective. Add a gm that would have ↵Gravatar bsalomon@google.com2011-09-13
| | | | | | | | | | caught them. Review URL: http://codereview.appspot.com/4994048/ git-svn-id: http://skia.googlecode.com/svn/trunk@2256 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add perspective support to the gpu aa hairline renderer.Gravatar bsalomon@google.com2011-09-12
| | | | | | | | Review URL: http://codereview.appspot.com/4969071/ git-svn-id: http://skia.googlecode.com/svn/trunk@2249 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add operator = to GrPaintGravatar bsalomon@google.com2011-09-12
| | | | | | | | Review URL: http://codereview.appspot.com/4997045/ git-svn-id: http://skia.googlecode.com/svn/trunk@2248 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix GrContext::drawPaint with perspective, also never apply AAGravatar bsalomon@google.com2011-09-12
| | | | | | | Review URL: http://codereview.appspot.com/4969074/ git-svn-id: http://skia.googlecode.com/svn/trunk@2247 2bbb7eff-a529-9590-31e7-b0007b416f81
* [gpu] Remove getMaxStretch for perspective, use mapRadius for perspective ↵Gravatar bsalomon@google.com2011-09-09
| | | | | | | | | | path subdiv tol, add test Review URL: http://codereview.appspot.com/4975063/ git-svn-id: http://skia.googlecode.com/svn/trunk@2246 2bbb7eff-a529-9590-31e7-b0007b416f81