aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu/include
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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* Remove unneeded #defineGravatar bsalomon@google.com2011-09-02
| | | | | | | Review URL: http://codereview.appspot.com/4973053/ git-svn-id: http://skia.googlecode.com/svn/trunk@2213 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix some warnings when including some Skia headers in Chromium code under ↵Gravatar bsalomon@google.com2011-09-01
| | | | | | | | | | VS2008. Review URL: http://codereview.appspot.com/4956058/ git-svn-id: http://skia.googlecode.com/svn/trunk@2209 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add optional per-gl-func client callback.Gravatar bsalomon@google.com2011-09-01
| | | | | | | | Review URL: http://codereview.appspot.com/4964055/ git-svn-id: http://skia.googlecode.com/svn/trunk@2207 2bbb7eff-a529-9590-31e7-b0007b416f81
* Compile option to perform GL logging by default debug.Gravatar bsalomon@google.com2011-08-31
| | | | | | | | Review URL: http://codereview.appspot.com/4964054/ git-svn-id: http://skia.googlecode.com/svn/trunk@2205 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix multi-line macro by adding line continuation.Gravatar bsalomon@google.com2011-08-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2195 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix GPU assumption that clipstack begins with intersect or replace.Gravatar bsalomon@google.com2011-08-29
| | | | | | | | Review URL: http://codereview.appspot.com/4977043/ git-svn-id: http://skia.googlecode.com/svn/trunk@2183 2bbb7eff-a529-9590-31e7-b0007b416f81
* More prep work in Gr for landing AA hairline renderer.Gravatar bsalomon@google.com2011-08-23
| | | | | | | | Review URL: http://codereview.appspot.com/4944045 git-svn-id: http://skia.googlecode.com/svn/trunk@2164 2bbb7eff-a529-9590-31e7-b0007b416f81
* Correctly determine whether HW AA lines can be usedGravatar bsalomon@google.com2011-08-23
| | | | | | | | Review URL: http://codereview.appspot.com/4937049/ git-svn-id: http://skia.googlecode.com/svn/trunk@2162 2bbb7eff-a529-9590-31e7-b0007b416f81
* Get rid of createRenderTargetFrom3DAPIState and associated glGets necessary ↵Gravatar bsalomon@google.com2011-08-19
| | | | | | | | | | 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
* Use a prioritized list of path renderers in Gr.Gravatar bsalomon@google.com2011-08-19
| | | | | | | | http://codereview.appspot.com/4867058 git-svn-id: http://skia.googlecode.com/svn/trunk@2143 2bbb7eff-a529-9590-31e7-b0007b416f81
* Change GrSafeUnref / GrSafeRef from static inlines to #defines. Chrome buid ↵Gravatar bsalomon@google.com2011-08-19
| | | | | | | | | | is choking on defined but not use warnings. Review URL: http://codereview.appspot.com/4929041/ git-svn-id: http://skia.googlecode.com/svn/trunk@2142 2bbb7eff-a529-9590-31e7-b0007b416f81
* Include GrRenderTarget.h in GrContext.h to unblock skia roll due to WK ↵Gravatar bsalomon@google.com2011-08-19
| | | | | | | | | dependency on this include Review URL: http://codereview.appspot.com/4927041/ git-svn-id: http://skia.googlecode.com/svn/trunk@2141 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make GrGLInterface a per-GrContext refcounted object rather than a globalGravatar bsalomon@google.com2011-08-19
| | | | | | | | Review URL: http://codereview.appspot.com/4901046/ git-svn-id: http://skia.googlecode.com/svn/trunk@2140 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed r2125. Identical change but also moves GrTesselatedPathRenderer.h to ↵Gravatar bsalomon@google.com2011-08-17
| | | | | | | | | | src dir. Verbal SGTM from Tom who reviewed the original version at: http://codereview.appspot.com/4894050/ git-svn-id: http://skia.googlecode.com/svn/trunk@2129 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert "Make GrDrawTarget.h and GrPathRenderer.h be private headers"Gravatar vandebo@chromium.org2011-08-16
| | | | | | | | | | | | This reverts commit r2125 Looks like GrPathRenderer.h is used from gpu/include/GrTesselatedPathRenderer.h There also seems to be a dependency tracking problem, because r2125 didn't go red, but the next revision did. Review URL: http://codereview.appspot.com/4896048 git-svn-id: http://skia.googlecode.com/svn/trunk@2127 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make GrDrawTarget.h and GrPathRenderer.h be private headersGravatar bsalomon@google.com2011-08-16
| | | | | | | | Review URL: http://codereview.appspot.com/4894050/ git-svn-id: http://skia.googlecode.com/svn/trunk@2125 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove GrContext::drawCustomVerticesGravatar bsalomon@google.com2011-08-16
| | | | | | | | Review URL: http://codereview.appspot.com/4910042/ git-svn-id: http://skia.googlecode.com/svn/trunk@2124 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move some gpu headers out of the public include dirGravatar bsalomon@google.com2011-08-16
| | | | | | | | | Review URL: http://codereview.appspot.com/4902045/ git-svn-id: http://skia.googlecode.com/svn/trunk@2119 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use a single stencil buffer for a given width,height,samplecountGravatar bsalomon@google.com2011-08-08
| | | | | | | Review URL: http://codereview.appspot.com/4854044/ git-svn-id: http://skia.googlecode.com/svn/trunk@2061 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make RT & TEX base classes aware of NPOT/min-RT bloated sizeGravatar bsalomon@google.com2011-08-08
| | | | | | | Review URL: http://codereview.appspot.com/4849045/ git-svn-id: http://skia.googlecode.com/svn/trunk@2057 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fail draws when can't get geom into vb/ib.Gravatar bsalomon@google.com2011-08-05
| | | | | | | | Review URL: http://codereview.appspot.com/4837059/ git-svn-id: http://skia.googlecode.com/svn/trunk@2053 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixes for iOS / Ganesh (consistent fs/vs uni precision decl and don't use ↵Gravatar bsalomon@google.com2011-08-05
| | | | | | | | | stencil-only fbo for clear) Review URL: http://codereview.appspot.com/4850043/ git-svn-id: http://skia.googlecode.com/svn/trunk@2050 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add GrStencilBuffer as a separate resource type from render targetGravatar bsalomon@google.com2011-08-03
| | | | | | | | | This is a resubmission of the changes in r2026 with fixes for FBO completeness issues. Review URL: http://codereview.appspot.com/4837046/ git-svn-id: http://skia.googlecode.com/svn/trunk@2035 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add glReadBuffer to GrGLInterface.Gravatar bsalomon@google.com2011-08-03
| | | | | | | | | | Review URL: http://codereview.appspot.com/4841048/ git-svn-id: http://skia.googlecode.com/svn/trunk@2034 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add glDrawBuffer(s) to GrGLInterfaceGravatar bsalomon@google.com2011-08-02
| | | | | | | | Review URL: http://codereview.appspot.com/4841046/ git-svn-id: http://skia.googlecode.com/svn/trunk@2032 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r2026 due to bot failuresGravatar bsalomon@google.com2011-08-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2027 2bbb7eff-a529-9590-31e7-b0007b416f81
* Create a separate GrStencilBuffer class apart from GrRenderTarget.Gravatar bsalomon@google.com2011-08-02
| | | | | | | | Review URL: http://codereview.appspot.com/4837046/ git-svn-id: http://skia.googlecode.com/svn/trunk@2026 2bbb7eff-a529-9590-31e7-b0007b416f81
* iOS SampleApp menu related changesGravatar yangsu@google.com2011-08-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2023 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix comment alignmentGravatar bsalomon@google.com2011-08-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2014 2bbb7eff-a529-9590-31e7-b0007b416f81