Home | History | Annotate | Download | only in gl

Lines Matching refs:GrGLGpu

9 #include "GrGLGpu.h"
108 bool GrGLGpu::BlendCoeffReferencesConstant(GrBlendCoeff coeff) {
162 GrGLGpu::GrGLGpu(const GrGLContext& ctx, GrContext* context)
179 SkDebugf("------------------------- create GrGLGpu %p --------------\n",
205 GrGLGpu::~GrGLGpu() {
226 void GrGLGpu::contextAbandoned() {
239 GrPixelConfig GrGLGpu::preferredReadPixelsConfig(GrPixelConfig readConfig,
262 GrPixelConfig GrGLGpu::preferredWritePixelsConfig(GrPixelConfig writeConfig,
271 bool GrGLGpu::canWriteTexturePixels(const GrTexture* texture, GrPixelConfig srcConfig) const {
294 bool GrGLGpu::fullReadPixelsIsFasterThanPartial() const {
298 void GrGLGpu::onResetContext(uint32_t resetBits) {
417 GrTexture* GrGLGpu::onWrapBackendTexture(const GrBackendTextureDesc& desc) {
472 GrRenderTarget* GrGLGpu
510 bool GrGLGpu::onWriteTexturePixels(GrTexture* texture,
524 // We check that config == desc.fConfig in GrGLGpu::canWriteTexturePixels()
576 bool GrGLGpu::uploadTexData(const GrSurfaceDesc& desc,
747 bool GrGLGpu::uploadCompressedTexData(const GrSurfaceDesc& desc,
853 bool GrGLGpu::createRenderTargetObjects(const GrSurfaceDesc& desc,
973 GrTexture* GrGLGpu::onCreateTexture(const GrSurfaceDesc& desc,
1053 GrTexture* GrGLGpu::onCreateCompressedTexture(const GrSurfaceDesc& desc,
1136 bool GrGLGpu::createStencilAttachmentForRenderTarget(GrRenderTarget* rt, int width, int height) {
1252 bool GrGLGpu::attachStencilAttachmentToRenderTarget(GrStencilAttachment* sb, GrRenderTarget* rt) {
1317 GrVertexBuffer* GrGLGpu::onCreateVertexBuffer(size_t size, bool dynamic) {
1349 GrIndexBuffer* GrGLGpu::onCreateIndexBuffer(size_t size, bool dynamic) {
1381 void GrGLGpu::flushScissor(const GrScissorState& scissorState,
1411 bool GrGLGpu::flushGLState(const DrawArgs& args) {
1452 void GrGLGpu::setupGeometry(const GrPrimitiveProcessor& primProc,
1505 void GrGLGpu::buildProgramDesc(GrProgramDesc* desc,
1514 void GrGLGpu::disableScissor() {
1522 void GrGLGpu::onClear(GrRenderTarget* target, const SkIRect* rect, GrColor color,
1565 void GrGLGpu::discard(GrRenderTarget* renderTarget) {
1615 void GrGLGpu::clearStencil(GrRenderTarget* target) {
1630 void GrGLGpu::onClearStencilClip(GrRenderTarget* target, const SkIRect& rect, bool insideClip) {
1668 bool GrGLGpu::readPixelsWillPayForYFlip(GrRenderTarget* renderTarget,
1699 bool GrGLGpu::onReadPixels(GrRenderTarget* target,
1827 void GrGLGpu::flushRenderTarget(GrGLRenderTarget* target, const SkIRect* bound) {
1844 SkDebugf("GrGLGpu::flushRenderTarget glCheckFramebufferStatus %x\n", status);
1896 void GrGLGpu::onDraw(const DrawArgs& args, const GrNonInstancedVertices& vertices) {
1936 void GrGLGpu::onStencilPath(const GrPath* path, const StencilPathState& state) {
1950 void GrGLGpu::onDrawPath(const DrawArgs& args, const GrPath* path,
1958 void GrGLGpu::onDrawPaths(const DrawArgs& args,
1973 void GrGLGpu::onResolveRenderTarget(GrRenderTarget* target) {
2067 void GrGLGpu::flushStencil(const GrStencilSettings& stencilSettings) {
2101 void GrGLGpu::flushHWAAState(GrRenderTarget* rt, bool useHWAA) {
2119 void GrGLGpu::flushBlend(const GrXferProcessor::BlendInfo& blendInfo) {
2186 void GrGLGpu::bindTexture(int unitIdx, const GrTextureParams& params, GrGLTexture* texture) {
2286 void GrGLGpu::flushDither(bool dither) {
2300 void GrGLGpu::flushColorWrite(bool writeColor) {
2315 void GrGLGpu::flushDrawFace(GrPipelineBuilder::DrawFace face) {
2336 bool GrGLGpu::configToGLFormats(GrPixelConfig config,
2502 void GrGLGpu::setTextureUnit(int unit) {
2510 void GrGLGpu::setScratchTextureUnit() {
2526 const GrGLGpu* gpu) {
2544 const GrGLGpu* gpu) {
2578 GrGLuint GrGLGpu::bindSurfaceAsFBO(GrSurface* surface, GrGLenum fboTarget, GrGLIRect* viewport,
2612 void GrGLGpu::unbindTextureFromFBO(GrGLenum fboTarget) {
2620 bool GrGLGpu::initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) {
2663 bool GrGLGpu::copySurface(GrSurface* dst,
2768 bool GrGLGpu::canCopySurface(const GrSurface* dst,
2790 void GrGLGpu::xferBarrier(GrRenderTarget* rt, GrXferBarrierType type) {
2812 void GrGLGpu::didAddGpuTraceMarker() {
2824 void GrGLGpu::didRemoveGpuTraceMarker() {
2836 GrGLAttribArrayState* GrGLGpu::HWGeometryState::bindArrayAndBuffersToDraw(
2837 GrGLGpu* gpu,