Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
skqp
/
a91e923874ca0565b4f4816b5697dfdcd337b889
/
src
/
gpu
/
gl
/
GrGpuGL.h
a91e923
GPU device preserves pixel values across read/write/read of unpremul pixel values
by bsalomon@google.com
· 13 years ago
f7fa806
Make GLCaps be standalone and be a member of GrGLContextInfo
by bsalomon@google.com
· 13 years ago
9639994
Use GrGLContextInfo in shader generator
by bsalomon@google.com
· 13 years ago
dd182cb
Move GL-specific source code to make room for D3D back end.
by tomhudson@google.com
· 13 years ago
[Renamed (97%) from src/gpu/GrGpuGL.h]
89ec61e
Add GrGLContextInfo
by bsalomon@google.com
· 13 years ago
4bcb0c6
Reland 3144 with assertion fix.
by bsalomon@google.com
· 13 years ago
0439e56
revert 3144
by bsalomon@google.com
· 13 years ago
aa67735
Allow chrome to limit the number of FBO status checks
by bsalomon@google.com
· 13 years ago
75f9f25
Add code path for Gr client to resolve an Gr-created MSAA render target.
by bsalomon@google.com
· 13 years ago
78d6cf9
Remove GrAALevel enum, use explicit sample count
by bsalomon@google.com
· 13 years ago
b1caea0
Rip out GrPlatformSurface (has been deprecated for some time, use GrPlatformTexture or GrPlatformRenderTarget instead)
by bsalomon@google.com
· 13 years ago
280e99f
Add support for GL texture storage
by bsalomon@google.com
· 13 years ago
88939ae
Revert r2872
by bsalomon@google.com
· 13 years ago
9a4c389
two loops for setting stage descs
by bsalomon@google.com
· 13 years ago
07dd2bf
Add support for GL_ANGLE_texture_usage
by bsalomon@google.com
· 13 years ago
56d11e0
Add support for GL_ANGLE_pack_reverse_row_order
by bsalomon@google.com
· 13 years ago
1e0e607
Add missing return statement.
by bsalomon@google.com
· 13 years ago
136f55b
Detect teximage2d failure
by bsalomon@google.com
· 13 years ago
8ef3fd0
Add support for GL_CHROMIUM_flipy
by bsalomon@google.com
· 13 years ago
a85449d
Resubmit 2717 w/ fix workaround OS X GL bug.
by bsalomon@google.com
· 13 years ago
484be2b
Revert 2717
by bsalomon@google.com
· 13 years ago
5c56e34
Recommit r2714 with clip fix
by bsalomon@google.com
· 13 years ago
e1d3127
Revert 2714 for debugging of test failure
by bsalomon@google.com
· 13 years ago
598a1ff
Write direct to RT/Tex when possible, use BGRA rather than RGBA intermediate texture on ANGLE
by bsalomon@google.com
· 13 years ago
6f37951
Make all pixel ops go thru ctx so we can correctly flush. Unify two texture upload code paths.
by bsalomon@google.com
· 13 years ago
9962108
Remove allocated size vs content size in textures
by bsalomon@google.com
· 13 years ago
7107fa7
Add support for GL_EXT_unpack_subimage
by bsalomon@google.com
· 13 years ago
0a97be2
When GL_RGBA readPixels are slow do swizzle using a draw then readPixels with GL_BGRA
by bsalomon@google.com
· 13 years ago
c436499
[GPU] Add explicit byte order and PM vs. UPM 8888 configs
by bsalomon@google.com
· 13 years ago
85b505b
Add support for GL_ARB_texture_swizzle
by bsalomon@google.com
· 13 years ago
e269f21
Recommit r2611 with fix for gm
by bsalomon@google.com
· 13 years ago
b87d2b5
Revert r2611 until windows gm can be debugged
by bsalomon@google.com
· 13 years ago
6d9adae
Add replacement APIs for createPlatformSurface: createPlatformTexture and createPlatformRenderTarget
by bsalomon@google.com
· 13 years ago
1bf1c21
Add reset context count to GrGpu
by bsalomon@google.com
· 13 years ago
c698097
Recommit r2584 with gpu pass of the new ReadPixels test disabled in fixed pt (gpu code doesn't work in general in fixed pt).
by bsalomon@google.com
· 13 years ago
ace7bd5
Revert r2584 (new test fails in fixed pt builds)
by bsalomon@google.com
· 13 years ago
1a8ddf0
Changes the SkCanvas::readPixels API. Allows caller to read into prealloced bitmap pixels. Changes how clipping to device bounds is handled.
by bsalomon@google.com
· 13 years ago
9381363
Extract GrDrawTarget::DrState into independent GrDrawState struct.
by tomhudson@google.com
· 13 years ago
d38f137
Move gpu/include/* to include/gpu and gpu/src/* to src/gpu
by bsalomon@google.com
· 13 years ago
[Renamed from gpu/src/GrGpuGL.h]
86c1f71
Gpu blend optimizations, handle more xfer modes with fractional pixel coverage
by bsalomon@google.com
· 13 years ago
18c9c19
Put caps in a struct, move up to GrDrawTarget
by bsalomon@google.com
· 13 years ago
c82b889
Cleanup handling of GL versions, fix function names
by bsalomon@google.com
· 13 years ago
4fa6694
Resubmit 2289 with fix for glsl version
by bsalomon@google.com
· 13 years ago
1fac5ca
Revert 2289. GLSL version detection not robust enough. May think we don't have GLSL 1.50 support based on OpenGL version. We have to look at the available extensions, not just GL version.
by bsalomon@google.com
· 13 years ago
98874cd
[GPU] Use new Var type for inputs/outputs of FS and VS
by bsalomon@google.com
· 13 years ago
49313f6
GrTArray->SkTArray & docs
by bsalomon@google.com
· 13 years ago
ab3dee5
Fix GPU assumption that clipstack begins with intersect or replace.
by bsalomon@google.com
· 13 years ago
471d471
Correctly determine whether HW AA lines can be used
by bsalomon@google.com
· 13 years ago
971d0c8
Get rid of createRenderTargetFrom3DAPIState and associated glGets necessary to support it.
by bsalomon@google.com
· 13 years ago
0b77d68
Make GrGLInterface a per-GrContext refcounted object rather than a global
by bsalomon@google.com
· 13 years ago
edc177d
Fixes for iOS / Ganesh (consistent fs/vs uni precision decl and don't use stencil-only fbo for clear)
by bsalomon@google.com
· 13 years ago
81c3f8d
Add GrStencilBuffer as a separate resource type from render target
by bsalomon@google.com
· 13 years ago
4043ae2
Revert r2026 due to bot failures
by bsalomon@google.com
· 13 years ago
a16d650
Create a separate GrStencilBuffer class apart from GrRenderTarget.
by bsalomon@google.com
· 13 years ago
71f341a
Split texture upload out from onCreateTexture
by bsalomon@google.com
· 13 years ago
ec3ed6a
Automatic update of all copyright notices to reflect new license terms.
by epoger@google.com
· 13 years ago
2c17fcd
Reduce gets of ext string and check validity of stencil format enums
by bsalomon@google.com
· 13 years ago
25fb21f
Refactor GrDrawTarget vertex/index api
by bsalomon@google.com
· 13 years ago
fe67652
Remember last successful stencil format
by bsalomon@google.com
· 13 years ago
271cffc
Add dual source blending support for proper blending with coverage.
by bsalomon@google.com
· 13 years ago
2368f6f
Remove createPlatformRenderTarget, undeprecate createRenderTargetFrom3DAPIState
by bsalomon@google.com
· 13 years ago
ef3913b
Batch up draws into triangle fans as large as possible when drawing convex
by senorblanco@chromium.org
· 13 years ago
8295dc1
4x4 SSAA with improvements in determination of when to apply. Still disabled at compile time.
by bsalomon@google.com
· 13 years ago
6aa25c3
Make Gr clear take a rect for a partial-clear
by bsalomon@google.com
· 13 years ago
fea37b5
Add lockKeylessTexture() for caching texture without a content key.
by bsalomon@google.com
· 13 years ago
398109c
rename SkDevice::eraseColor to clear and make virtual.
by bsalomon@google.com
· 13 years ago
bcdbbe6
by bsalomon@google.com
· 13 years ago
5877ffd
Add APIs and plumbing for external rendertaret-textures w/ and w/out MSAA.
by bsalomon@google.com
· 13 years ago
0650e81
fix use of smooth lines Review URL:http://codereview.appspot.com/4370050/
by bsalomon@google.com
· 13 years ago
f954d8d
Add isMultisampled() to GrRenderTarget. Cleanup MSAA vs smooth lines logic in GrGpuGL.
by bsalomon@google.com
· 13 years ago
669fdc4
Adds read pixels to GrTexture and GrRenderTarget
by bsalomon@google.com
· 13 years ago
f987d1b
Remove dependence on platform GL headers. Remove code that attempts to infer GL function pointers on various platforms. Instead add platform-specific implementations for Windows and Mac. (GLX coming)
by bsalomon@google.com
· 13 years ago
a9ecdad
Add GL_CHROMIUM_framebuffer_multisample support.
by bsalomon@google.com
· 13 years ago
d1e43353
Remove IMG multisample texture support.
by bsalomon@google.com
· 13 years ago
0f31ca7
by twiz@google.com
· 14 years ago
080773c
Add blend constant color and use it for lcd text common case (no fancy blend or shaded text)
by bsalomon@google.com
· 14 years ago
59a190b
by twiz@google.com
· 14 years ago
1da0746
Delete GL tex ID when last of GrGLTexture or GrGLRenderTarget that reference it is destroyed
by bsalomon@google.com
· 14 years ago
a7f84e1
Make flush discardable and lazily reset context
by bsalomon@google.com
· 14 years ago
d302f14
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.
by bsalomon@google.com
· 14 years ago
ffca400
Make a separate path renderer object. Move enum types to GrTypes.h
by bsalomon@google.com
· 14 years ago
8895a7a
Reduce glGets for stencil bits.
by bsalomon@google.com
· 14 years ago
c6cf723
Hide alloc size vs content size below API
by bsalomon@google.com
· 14 years ago
1c13c96
Refactor how Gr handles vertex and index data. GrGpu and GrInOrderDrawBuffer both GrBufferAllocPool to manage reserved and set-to-array vertex and index data.
by bsalomon@google.com
· 14 years ago
7acdb8e
by bsalomon@google.com
· 14 years ago
c921843
fixes for some warnings:
by reed@google.com
· 14 years ago
5782d71
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.
by bsalomon@google.com
· 14 years ago
2e7b43d
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.
by bsalomon@google.com
· 14 years ago
8531c1c
Towards issue #106
by bsalomon@google.com
· 14 years ago
8195f67
rename DrawState to DrState -- MS decided to #define DrawState, complicating
by reed@google.com
· 14 years ago
ac20fb9
add helpers to initialize our var-int args before calling GL. Some drivers
by reed@google.com
· 14 years ago
da96ea0
Stop using GrSamplerState to track the texture parameters for GL textures. It has become larger and now holds state that isn't tracked per-texture by GL. Also remove unused setSamplerStateImm from GrGpuGL
by bsalomon@google.com
· 14 years ago
ac10a2d
add gpu backend (not hooked up yet)
by reed@google.com
· 14 years ago