AcademySoftwareFoundation / AcademySoftwareFoundation/OpenShadingLanguage
RendererServices::good() no longer used when generating textures
- Lingua principale
- C++
- Stelle
- 2.3k
- Fork
- 414
- Merge medio
- 3g 1h
- PR unite (30g)
- 10
Descrizione
### Problem
While doing some texture work I noticed that the RendererServices::good() function is no longer being called when generating textures. The function serves as an interface to validate texture handles retrieved from RendererServices::get_texture_handle(). This was removed as of a5d8381afbe1ad3c16cd3db7f6e1ddf5c50e0b1f and the texture handle is now just checked if it is non NULL. What are the plans for this API moving forward? If it is no longer going to be used there should probably be some indication that it is deprecated.
### Versions
* OSL branch/version: master - 1.11.0
* OS: All
* C++ compiler: N/A
* LLVM version: N/A
* OIIO version: N/A
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia tracciando RendererServices::good() e il percorso di generazione dei texture-handle, quindi confronta il comportamento attuale con il commit a5d8381afbe1ad3c16cd3db7f6e1ddf5c50e0b1f. Determina se ci si aspetta ancora che l’API convalidi gli handle e documenta il comportamento risultante o lo stato di deprecazione; l’issue non indica file o test.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp
- Ambito
- computer-graphics
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100