aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu/src/GrGLInterface.cpp
Commit message (Collapse)AuthorAge
* Fix validation (glTexEnvi is fixed pipe only)Gravatar bsalomon@google.com2011-05-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1241 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add all ES2 glUniform functions to GrGLInterface. Add interface validation ↵Gravatar bsalomon@google.com2011-05-04
| | | | | | | | | | for fixed pipe or shader pipe use. Review URL: http://codereview.appspot.com/4435082/ git-svn-id: http://skia.googlecode.com/svn/trunk@1234 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove dependence on platform GL headers. Remove code that attempts to infer ↵Gravatar bsalomon@google.com2011-04-04
| | | | | | | | GL function pointers on various platforms. Instead add platform-specific implementations for Windows and Mac. (GLX coming) Review URL: http://codereview.appspot.com/4354048/ git-svn-id: http://skia.googlecode.com/svn/trunk@1045 2bbb7eff-a529-9590-31e7-b0007b416f81
* This CL implements a tesselated path renderer, using GLU's libtess. All of theGravatar senorblanco@chromium.org2011-03-28
| | | | | | | | | | | | | | | | | | | | | fill modes except hairline are supported. Note that the path renderer is not enabled by default; to enable it, replace "GrCreatePathRenderer_none.cpp" with "GrCreatePathRenderer_tesselated.cpp" in skia.gyp, and run gyp_skia, and build. This change also contains a number of build fixes for Win32 (for building SampleApp on VS2008) and Mac (for my ancient Mac Pro which supports GL_EXT_framebuffer_object but not GL_ARB_framebuffer_object). Also, priorityq-heap.c was removed from the SampleApp build, since it's #included by priorityq.c (weird, I know). NB: When this change is rolled into chrome, some modifications to chromium's skia.gyp will be necessary. Review URL: http://codereview.appspot.com/4289072/ git-svn-id: http://skia.googlecode.com/svn/trunk@1012 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add GL_CHROMIUM_framebuffer_multisample support.Gravatar bsalomon@google.com2011-03-23
| | | | | | | | Review URL: http://codereview.appspot.com/4287072/ git-svn-id: http://skia.googlecode.com/svn/trunk@984 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove IMG multisample texture support.Gravatar bsalomon@google.com2011-03-21
| | | | | | | | | This never worked correctly. The texture loses multisample status when the resolve occurs. We never had code to re-establish it. Also, we'd have to handle the case where you resolve but then want to render to it again without clearing. Review URL: http://codereview.appspot.com/4274074/ git-svn-id: http://skia.googlecode.com/svn/trunk@974 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add GR_DLL builds to Ganesh (minimal exports for Chrome multi-dll for now).Gravatar bsalomon@google.com2011-03-21
| | | | | | | | | Review URL: http://codereview.appspot.com/4301044/ git-svn-id: http://skia.googlecode.com/svn/trunk@970 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove the compile-time selection of the GL implementation based on theGravatar twiz@google.com2011-03-18
| | | | | | | | | | | | | GR_SUPPORT_GLDESKTOP family of macros. Support for the platform is configured dynamically, by querying the fBindingsExported member of active GrGLInterface instance. Review: http://codereview.appspot.com/4298048/ git-svn-id: http://skia.googlecode.com/svn/trunk@960 2bbb7eff-a529-9590-31e7-b0007b416f81
* This CL removes all dependencies on GL headers across all of Ganesh. NewGravatar twiz@google.com2011-03-18
| | | | | | | | | | | GrGLint, etc. types are introduced, and new GR_GL_XXXX constants for use at all GL call-sites. Review: http://codereview.appspot.com/4272061/ git-svn-id: http://skia.googlecode.com/svn/trunk@959 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add blend constant color and use it for lcd text common case (no fancy blend ↵Gravatar bsalomon@google.com2011-03-15
| | | | | | | | or shaded text) Review URL: http://codereview.appspot.com/4274057/ git-svn-id: http://skia.googlecode.com/svn/trunk@941 2bbb7eff-a529-9590-31e7-b0007b416f81
* Correction of GLES build issue introduced by in revision: Gravatar twiz@google.com2011-03-15
| | | | | | | | | | | http://code.google.com/p/skia/source/detail?r=937 Issue: http://code.google.com/p/skia/issues/detail?id=174 Review: http://codereview.appspot.com/4288047/ git-svn-id: http://skia.googlecode.com/svn/trunk@940 2bbb7eff-a529-9590-31e7-b0007b416f81
* Implementation of a GL-virtualization layer for Skia. This allows forGravatar twiz@google.com2011-03-14
environments using skia to specify a GL implementation at run-time, instead of relying on the linker to pull in the appropriate GL impl. A new structure, GrGLInterface is exposed. This struct contains a set of function pointers that should point to an appropriate GL implementation. This change also removes the reliance on GLew on windows builds. Review: http://codereview.appspot.com/4254059/ git-svn-id: http://skia.googlecode.com/svn/trunk@937 2bbb7eff-a529-9590-31e7-b0007b416f81