OSDN Git Service

Abstract LLVM types to enable emulation.
[android-x86/external-swiftshader.git] / extensions / CHROMIUM_texture_filtering_hint.txt
1 Name
2
3     CHROMIUM_texture_filtering_hint
4
5 Name Strings
6
7     GL_CHROMIUM_texture_filtering_hint
8
9 Contributors
10
11     Alexis Hetu, Google Inc.
12     Nicolas Capens, Google Inc.
13     Shannon Woods, Google Inc.
14
15 Contact
16
17     Alexis Hetu, Google Inc. (sugoi 'at' chromium 'dot' org)
18
19 Version
20
21     Last Modifed Date: July 18, 2017
22
23 Dependencies
24
25     This extension is written against the OpenGL ES 2.0 specification.
26
27     OpenGL ES 2.0 is required.
28
29 Overview
30
31     This extension defines a way to request high precision texture filtering
32     using a new value to Hint.
33
34     When this extension is enabled, TEXTURE_FILTERING_HINT_CHROMIUM can be used
35     by the implementation as a means to distinguish between a performance
36     focused implementation, using FASTEST, or a precision focused
37     implementation, using NICEST.
38
39     Like other hints, either option is spec compliant and the behavior of
40     DONT_CARE is implementation specific.
41
42 New Tokens
43
44     Accepted by the <pname> parameter of GetIntegerv, GetFloatv and GetBooleanv
45     and by the <target> parameter of Hint:
46
47     TEXTURE_FILTERING_HINT_CHROMIUM      0x8AF0
48
49 New Procedures and Functions
50
51     None.
52
53 Errors
54
55     None.
56
57 New State
58
59     None.
60
61 Issues
62
63     1) When does the hint take effect?
64
65        At the time of the next draw call, and all subsequent draw calls.
66   
67     2) Does the first draw call after the filtering hint is changed use the
68        updated filtering method?
69
70        Yes
71  
72     3) Can I switch it back and forth between every draw call, multiple times
73        during a single frame?
74
75        Yes
76  
77     4) Do program objects which were created before the filtering hint was
78        changed and which contain sampling instructions use the filtering method
79        from when they were created, or the method at the time of draw call?
80
81        At the time of draw call.
82
83 Revision History
84
85     2/7/2014    Documented the extension