Rev the GrContext interface. Context has draw* functions that take a new GrPaint...
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 21 Jan 2011 21:03:59 +0000 (21:03 +0000)
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 21 Jan 2011 21:03:59 +0000 (21:03 +0000)
commit5782d712ffc31557d0cb12d5a220cebb783f6895
treecdc0b2fb6d9b60ddca81eb7fb6a3906035d29875
parent70915f0210a8749553cbb93b12b2963cf350fff6
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
22 files changed:
gpu/include/GrContext.h
gpu/include/GrContext_impl.h [new file with mode: 0644]
gpu/include/GrDrawTarget.h
gpu/include/GrPaint.h [new file with mode: 0644]
gpu/include/GrSamplerState.h
gpu/include/GrTextContext.h
gpu/src/GrContext.cpp
gpu/src/GrDrawTarget.cpp
gpu/src/GrGpuGL.cpp
gpu/src/GrGpuGL.h
gpu/src/GrGpuGLFixed.cpp
gpu/src/GrTextContext.cpp
include/gpu/SkGpuDevice.h
include/gpu/SkGr.h
samplecode/SampleApp.cpp
src/gpu/SkGpuDevice.cpp
src/gpu/SkGr.cpp
src/utils/mac/SkOSWindow_Mac.cpp
src/utils/win/SkOSWindow_Win.cpp
vs/SampleApp/SampleApp.vcxproj
xcode/gpu/gpu.xcodeproj/project.pbxproj
xcode/sampleapp/SampleApp.xcodeproj/project.pbxproj