Home | History | Annotate | Download | only in gl

Lines Matching defs:GrGpuGL

10 #include "GrGpuGL.h"
63 bool GrGpuGL::BlendCoeffReferencesConstant(GrBlendCoeff coeff) {
115 void GrGpuGL::AdjustTextureMatrix(const GrGLTexture* texture,
132 bool GrGpuGL::TextureMatrixIsIdentity(const GrGLTexture* texture,
180 GrGpuGL::GrGpuGL(const GrGLContextInfo& ctxInfo) : fGLContextInfo(ctxInfo) {
197 GrPrintf("------------------------- create GrGpuGL %p --------------\n",
213 GrGpuGL::~GrGpuGL() {
223 void GrGpuGL::initCaps() {
296 bool GrGpuGL::canPreserveReadWriteUnpremulPixels() {
375 GrPixelConfig GrGpuGL::preferredReadPixelsConfig(GrPixelConfig config) const {
383 GrPixelConfig GrGpuGL::preferredWritePixelsConfig(GrPixelConfig config) const {
391 bool GrGpuGL::fullReadPixelsIsFasterThanPartial() const {
395 void GrGpuGL::onResetContext() {
483 GrTexture* GrGpuGL::onCreatePlatformTexture(const GrPlatformTextureDesc& desc) {
523 GrRenderTarget* GrGpuGL::onCreatePlatformRenderTarget(const GrPlatformRenderTargetDesc& desc) {
558 void GrGpuGL::onWriteTexturePixels(GrTexture* texture,
609 bool GrGpuGL::uploadTexData(const GrGLTexture::Desc& desc,
781 bool GrGpuGL::createRenderTargetObjects(int width, int height,
891 GrTexture* GrGpuGL::onCreateTexture(const GrTextureDesc& desc,
1031 bool GrGpuGL::createStencilBufferForRenderTarget(GrRenderTarget* rt,
1096 bool GrGpuGL::attachStencilBufferToRenderTarget(GrStencilBuffer* sb,
1162 GrVertexBuffer* GrGpuGL::onCreateVertexBuffer(uint32_t size, bool dynamic) {
1190 GrIndexBuffer* GrGpuGL::onCreateIndexBuffer(uint32_t size, bool dynamic) {
1217 void GrGpuGL::flushScissor(const GrIRect* rect) {
1251 void GrGpuGL::onClear(const GrIRect* rect, GrColor color) {
1288 void GrGpuGL::clearStencil() {
1305 void GrGpuGL::clearStencilClip(const GrIRect& rect, bool insideClip) {
1339 void GrGpuGL::onForceRenderTargetFlush() {
1343 bool GrGpuGL::readPixelsWillPayForYFlip(GrRenderTarget* renderTarget,
1369 bool GrGpuGL::onReadPixels(GrRenderTarget* target,
1492 void GrGpuGL::flushRenderTarget(const GrIRect* bound) {
1507 GrPrintf("GrGpuGL::flushRenderTarget glCheckFramebufferStatus %x\n", status);
1553 void GrGpuGL::onGpuDrawIndexed(GrPrimitiveType type,
1585 void GrGpuGL::onGpuDrawNonIndexed(GrPrimitiveType type,
1614 void GrGpuGL::onResolveRenderTarget(GrRenderTarget* target) {
1702 void GrGpuGL::flushStencil() {
1840 void GrGpuGL::flushAAState(GrPrimitiveType type) {
1876 void GrGpuGL::flushBlend(GrPrimitiveType type,
1981 bool GrGpuGL::flushGLStateCommon(GrPrimitiveType type) {
2137 void GrGpuGL::notifyVertexBufferBind(const GrGLVertexBuffer* buffer) {
2144 void GrGpuGL::notifyVertexBufferDelete(const GrGLVertexBuffer* buffer) {
2152 void GrGpuGL::notifyIndexBufferBind(const GrGLIndexBuffer* buffer) {
2156 void GrGpuGL::notifyIndexBufferDelete(const GrGLIndexBuffer* buffer) {
2163 void GrGpuGL::notifyRenderTargetDelete(GrRenderTarget* renderTarget) {
2174 void GrGpuGL::notifyTextureDelete(GrGLTexture* texture) {
2187 bool GrGpuGL::configToGLFormats(GrPixelConfig config,
2289 void GrGpuGL::setTextureUnit(int unit) {
2297 void GrGpuGL::setSpareTextureUnit() {
2304 void GrGpuGL::resetDirtyFlags() {
2308 void GrGpuGL::setBuffers(bool indexed,
2370 int GrGpuGL::getMaxEdges() const {