aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu/src/GrGLInterface.cpp
Commit message (Collapse)AuthorAge
* Make GL calls go through macro (and therefore trigger callback function if ↵Gravatar bsalomon@google.com2011-09-06
| | | | | | | | | present) Review URL: http://codereview.appspot.com/4986043/ git-svn-id: http://skia.googlecode.com/svn/trunk@2223 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
* 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
* 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
* Automatic update of all copyright notices to reflect new license terms.Gravatar epoger@google.com2011-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have manually examined all of these diffs and restored a few files that seem to require manual adjustment. The following files still need to be modified manually, in a separate CL: android_sample/SampleApp/AndroidManifest.xml android_sample/SampleApp/res/layout/layout.xml android_sample/SampleApp/res/menu/sample.xml android_sample/SampleApp/res/values/strings.xml android_sample/SampleApp/src/com/skia/sampleapp/SampleApp.java android_sample/SampleApp/src/com/skia/sampleapp/SampleView.java experimental/CiCarbonSampleMain.c experimental/CocoaDebugger/main.m experimental/FileReaderApp/main.m experimental/SimpleCocoaApp/main.m experimental/iOSSampleApp/Shared/SkAlertPrompt.h experimental/iOSSampleApp/Shared/SkAlertPrompt.m experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig experimental/iOSSampleApp/SkiOSSampleApp-Debug.xcconfig experimental/iOSSampleApp/SkiOSSampleApp-Release.xcconfig gpu/src/android/GrGLDefaultInterface_android.cpp gyp/common.gypi gyp_skia include/ports/SkHarfBuzzFont.h include/views/SkOSWindow_wxwidgets.h make.bat make.py src/opts/memset.arm.S src/opts/memset16_neon.S src/opts/memset32_neon.S src/opts/opts_check_arm.cpp src/ports/SkDebug_brew.cpp src/ports/SkMemory_brew.cpp src/ports/SkOSFile_brew.cpp src/ports/SkXMLParser_empty.cpp src/utils/ios/SkImageDecoder_iOS.mm src/utils/ios/SkOSFile_iOS.mm src/utils/ios/SkStream_NSData.mm tests/FillPathTest.cpp Review URL: http://codereview.appspot.com/4816058 git-svn-id: http://skia.googlecode.com/svn/trunk@1982 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reapply r1951.Gravatar bsalomon@google.com2011-07-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1959 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert "Add sizeInBytes to GrResource, make GrRenderTarget aware of its ↵Gravatar vandebo@chromium.org2011-07-26
| | | | | | | | | | | | pixel config (r1951)" Temporarily revert this change in order to roll other changes into Chrome. TBR=bsalomon@google.com Review URL: http://codereview.appspot.com/4807051 git-svn-id: http://skia.googlecode.com/svn/trunk@1958 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add sizeInBytes to GrResource, make GrRenderTarget aware of its pixel configGravatar bsalomon@google.com2011-07-25
| | | | | | | | Review URL: http://codereview.appspot.com/4802058/ git-svn-id: http://skia.googlecode.com/svn/trunk@1951 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reduce gets of ext string and check validity of stencil format enumsGravatar bsalomon@google.com2011-07-06
| | | | | | | | Review URL: http://codereview.appspot.com/4678043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1801 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add dual source blending support for proper blending with coverage.Gravatar bsalomon@google.com2011-05-20
| | | | | | | | Review URL: http://codereview.appspot.com/4535088/ git-svn-id: http://skia.googlecode.com/svn/trunk@1390 2bbb7eff-a529-9590-31e7-b0007b416f81
* 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