Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • libANGLE
  • GLES1Shaders.inc
Find file
BlameHistoryPermalink
  • Lingfeng Yang's avatar
    GLES1: GL_OES_draw_texture · 0df813c3
    Lingfeng Yang authored Jul 12, 2018
    BUG=angleproject:2306
    
    This implements GL_OES_draw_texture using a few bits of new state
    in the renderer and adding a code path for it in the shader, using
    gl_VertexID to draw the quad backing the texture draw. This allows us
    to avoid allocating a separate vertex array for the texture draw and
    reuses the current shader as much as possible, plugging in to the
    existing multitexturing pipeline.
    
    - Add unit test and sample
    - No new test expectations, but advertising GL_OES_draw_texture makes
    the DrawTex GLES1 conformance test non-trivial and actually test
    glDrawTex*.
    
    Change-Id: I1485098249fe44d46a01cab4bb7b2c39d0492923
    Reviewed-on: https://chromium-review.googlesource.com/1135930Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Commit-Queue: Lingfeng Yang <lfy@google.com>
    0df813c3
GLES1Shaders.inc 30.8 KB
EditWeb IDE
×

Replace GLES1Shaders.inc

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.